Reading value of an object


#1

Hello,
I am quite new to HDF and cannot easily find an answer in the manual.
MODIS (hdf4) files contain objects that look like e.g.

“\n”,

"  OBJECT                 = LONGNAME\n",

"    NUM_VAL              = 1\n",

"    VALUE                = \"MODIS/Terra Aerosol 5-Min L2 Swath 10km\"\n",

"  END_OBJECT             = LONGNAME\n",

"\n",

"END_GROUP              = ARCHIVEDMETADATA\n",

"\n",

"END\n",

How to obtain the value of object “LONGNAME” in fortran?

Thanks,

Mark