/** Standard distributed data header **/ struct units_text { char text[40] ; /* Description of data field */ } ; struct describe_text { char text[80] ; /* Description of data field */ } ; struct std_hdr { char filename[80] ; /* Name of file */ char satellite[20] ; /* Name of satellite */ char sensor[20] ; /* Name of sensor */ short satid ; /* Satellite ID */ short fields ; /* Number of (lo-res) fields */ short pixperscan ; /* Pixels per (lo-res) scanline */ short hifields ; /* Number of hi-res fields */ short hipixperscan ; /* Number of hi-res pixels per scan */ short missing_val ; /* Value for missing data */ float *scale ; /* Scaling factor for each field */ float *offset ; /* Offset value for each field */ struct units_text *units ; /* Units for each field */ struct describe_text *description ; /* Description for each field */ } ; /** Standard distributed scanline pixel data (stored in arrays) **/ struct std_data { long *itime ; /* Time in seconds since 1-1-1970 */ float *lat ; /* Decimal degs latitude */ float *lng ; /* Decimal degs longitude */ float **fielddata ; /* Data, dimensions [fields][pixels] */ } ;