******************************************************************************** * * * Readme file for the THORPEX ER2 MAS Data Set * * * ******************************************************************************** 1.0 Introduction This file contains information about the sample read software and data files for the NASA ER2 Moderate Resolution Imaging Spectroradiometer (MODIS) Airborne Simulator (MAS). This software will read the data set: THe Observing-system Research and Predictability EXperiment (THORPEX_ER2_MAS) The THORPEX_ER2_MAS data files range in size from 8 Mbytes to 1.1 Gbytes. The data files are written in netCDF (Common Data Format). NCSA's (National Center for Supercomputing Applications) HDF (Hierarchical Data Format) libraries with the netCDF extensions are required to build the read software. These libraries can be obtained via anonymous ftp from ftp.ncsa.uiuc.edu or via the World Wide Web at http://hdf.ncsa.uiuc.edu. This readme file includes the following sections: Section 2.0 - Data Set Description Section 3.0 - Format and Packaging Section 4.0 - Science Parameters Information Section 5.0 - Description of Sample Read Software Section 6.0 - Implementing Sample Read Software Section 7.0 - Sample Output Section 8.0 - Additional Data Information If you have any questions, please contact the Langley ASDC Science, Users and Data Services Office at: Atmospheric Sciences Data Center Science, Users and Data Services Office Mail Stop 157D 2 South Wright Street NASA Langley Research Center Hampton, Virginia 23681-2199 U.S.A. E-mail: support-asdc@earthdata.nasa.gov Phone: (757)864-8656 FAX: (757)864-8807 URL: http://eosweb.larc.nasa.gov 2.0 Data Set Description The MODIS Airborne Simulator (MAS) is an airborne scanning spectrometer that acquires high spatial resolution imagery of cloud and surface features from its vantage point on-board a NASA ER-2 high-altitude research aircraft. Data acquired by the MAS are helping to define, develop, and test algorithms for the Moderate Resolution Imaging Spectroradiometer (MODIS), a key sensor of NASA's Earth Observing System (EOS). The MODIS program will emphasize the use of remotely sensed data to monitor variation in environmental conditions for assessing both natural and human-induced global change. The MAS spectrometer acquires high spatial resolution imagery in the range of 0.55 to 14.3 microns. A total of 50 spectral bands are available in this range. Pre-1995 the digitizer was configured for each mission to record a pre-selected group of 12 bands during the flight. For most of these missions the digitizer was configured to record four 10-bit channels and seven 8-bit channels. A 50-channel digitizer which records all 50 spectral bands at 12 bit resolution became operational in January 1995. The MAS spectrometer is mated to a scanner sub-assembly which collects image data with an IFOV of 2.5 mrad, giving a ground resolution of 50 meters from 20000 meters altitude, and a cross track scan width of 85.92 degrees. For information about the THORPEX mission see: http://angler.larc.nasa.gov/thorpex/ and http://mas.arc.nasa.gov/data/deploy_html/thorpex_home.html 2.1 Instrumentation Description For a description of the MODIS Aircraft Simulator see: http://mas.arc.nasa.gov/ 2.2 Data Quality Note that spectral response curves used for processing raw MAS instrument counts to calibrated radiances were "atmospherically corrected" and smoothed. This atmospheric correction was done to the (approximate) 5 meter path between the source and the MAS instrument during the instrument's calibration. MAS calibrated radiances are not atmospherically corrected to account for atmospheric profiles, absorbing and emmitting gases, clouds, or aerosols in the sensor to Earth path. 2.3 Science Contact Questions pertaining to the data values contained within these files should be directed to: Michael Fitzgerald Airborne EOS Data Production Mgr. NASA Airborne Sensor Facility (SAIC) Ames Research Center Building 240, Room 219 Mail Stop 240-6 Moffett Field, CA 94035-1000 Office phone (650) 604 2872 Fax (650) 604 4987 E-mail mfitzgerald@mail.arc.nasa.gov 3.0 Format and Packaging The following files are defined for this distribution: Filename Format ---------------------- -------------------- thorpex_mas_read.c C Source Code thorpex_mas_read.f Fortan Source Code thorpex_mas_read_idl.pro IDL Source Code mas_constant.i Fortran Include File readme_thorpex_mas This readme file. Note: Both C and Fortran source code use the HDF libraries. The naming convention used for these files is: thorpex_mas_FFFFF_TT_YYYYMMDD_SSSS_EEEE_VNN.hdf where FFFFF - Flight Number TT - Track YYYY - Year MM - Month DD - Day SSSS - Start Time EEEE - End Time NN - Version For example: thorpex_mas_03931_01_20030310_2218_2245_V01.hdf This example is a Level 1B file on flight 03-931 track 01 on March 10, 2003 with a starting time of 22:18 and an ending time of 22:45 version 01. 4.0 Science Parameters Information For information about the MAS science parameters see: http://ltpwww.gsfc.nasa.gov/MODIS/MAS/masdug.html 5.0 Description of Sample Read Software There are three sample read programs developed for the THORPEX_ER2_MAS data set. One was written in the C programming language, another one was written in the Interactive Data Language (IDL) and the final one was written in Fortran. All programs have been tested on SGI under OS 6.5.11m. The IDL program was developed and tested using IDL 5.3 on an SGI system. Information about IDL can be obtained at the Research Systems, Inc. web site at: http://www.rsinc.com/ 5.1 The C Program The thorpex_mas_read.c program is meant to be an example program provided for the user's convenience. With minor modifications, the program can be compiled and executed on many different platforms. This read software is heavily based upon the NCSA distributed version of the netCDF utility "ncdump". In fact, the program should work for most, if not all, netCDF formatted files. Please see the program source code for copyright information. 5.2 The IDL Program The thorpex_mas_read_idl.pro program will read data from the input file and write it out in ASCII format to a file with the same name but with .rpt as the extension. Under Unix the user must have X-Windows running in order for the user interface to work properly. The user selects which file to use based on the selection chosen from a file dialog box. The application then prompts the user for global attributes and then for the selection of which data item(s) to dump to file. Special Note: Selecting a 0 will dump everything which will create a huge ASCII file. 5.3 The Fortran Program For the Fortran program two files are used to generate the Fortran read software: thorpex_mas_read.f and mas_constant.i. The Fortran read software is available at the Atmospheric Sciences Data Center or may be downloaded from the MAS URL at: http://ltpwww.gsfc.nasa.gov/MODIS/MAS/sw.html The thorpex_mas_read.f program is interactive in nature and allows the user to cycle through portions of the data file. Section 7.3 shows a sample session using this application. Also, there is a viewer for MAS Imagery called SHARP that is available at the following URL: http://cimss.ssec.wisc.edu/~gumley/sharp/sharp.html 6.0 Implementing Sample Read Software The following sections detail how to compile and link the various applications. 6.1 How to Compile the Sample Read Software The user can build the sample read program from the C or Fortran source files. 6.1.1 Compiling applications for SGI To build the executable for the SGI using the C source file at the UNIX commmand line prompt type: cc -64 -DNO_HAVE_PROTOTYPES -DNO_STDARG -o thorpex_mas_read_c -I/usr/lib/hdf41r2_64/include thorpex_mas_read.c -L/usr/lib/hdf41r2_64/lib -lmfhdf -ljpeg -ldf -lz -lm NOTE 1: The C compiler gives fifteen warnings that can be ignored. Also the linker gives two warnings about unused modules that also can be ignored. To build the executable for the SGI using the Fortran source files for the THORPEX_ER2_MAS data set, type: f77 -64 -DNO_HAVE_PROTOTYPES -DNO_STDARG -I/usr/lib/hdf41r2_64/include -o thorpex_mas_read_f thorpex_mas_read.f mas_constant.i -L/usr/lib/hdf41r2_64/lib -lmfhdf -ljpeg -ldf -lz -lm NOTE 2: The -I (include) and -L (library) hdf directory paths may differ on your system. Also the HDF libraries on your target machine may be 32 bit instead of 64 bit. NOTE 3: The include file mas_constant.i should be in the working directory. A warning is issued for line 55 of mas_constant.i for an unused variable. This does not effect the use of this program. NOTE 4: The linker gives three warnings that can be ignored. 6.1.2 Compiling programs for Sun 4 cc -DNO_HAVE_PROTOTYPES -DNO_STDARG thorpex_mas_read.c -g -I/usr/local/hdf/include -o thorpex_read_mas_c -L/usr/local/hdf/lib -lmfhdf -ldf -ljpeg -lz /usr/lib/libm.a f77 thorpex_mas_read.f -I/usr/local/hdf/include -o thorpex_mas_read_f -L/usr/local/HDF4.1r1/lib -lmfhdf -ldf -ljpeg -lz /usr/lib/libm.a 6.1.3 Compiling programs for HP cc -o thorpex_mas_read_c thorpex_mas_read.c -I/usr/local/hdf/include /usr/local/hdf/lib/libmfhdf.a /usr/local/hdf/lib/libdf.a /usr/local/hdf/lib/libjpeg.a /usr/local/hdf/lib/libz.a /usr/lib/libm.a f77 -O -o thorpex_mas_read_f thorpex_mas_read.f -I/usr/local/hdf/include /usr/local/hdf/lib/libmfhdf.a /usr/local/hdf/lib/libdf.a /usr/local/hdf/lib/libjpeg.a /usr/local/hdf/lib/libz.a /usr/lib/libm.a 6.2 How to Run the Sample Read Software This section illustrates the invocation of the various applications. 6.2.1 thorpex_mas_read_c Currently, the executable thorpex_mas_read_c program does not accept command line arguments. The output file name is automatically created by appending ".rpt" to the input file name. This code assumes that the data and code are located in the working directory. The report file generated will also be written to the working directory. After entering the filename, the user is presented with a parameter selection list. The user can select some of the parameters or all of the parameters to be written into the output file. At this point, the program generates the report file and exits. To begin program execution for the 'C' executable at the UNIX command line prompt, type : % thorpex_mas_read_c 6.2.2 thorpex_mas_read_idl The idl read software can be compiled and run through the IDL development environment. The idl read software can also be started by compiling and then executing the program. At the UNIX command line prompt, type: % idl IDL> thorpex_mas_read_idl 6.2.3 thorpex_mas_read_f Currently, the executable thorpex_mas_read_f program does not accept command line arguments. When the program is executed, it requests an input filename. An output filename is not automatically created. After entering the filename, the user must input a series of (carriage returns) or n - (no's) for a series of output requests. To begin program execution for the Fortran executable, at the UNIX command line prompt, type: % thorpex_mas_read_f A sample of the interactive program execution is provided in Section 7.3. 7.0 Sample Output 7.1 Output demonstration of C sample read software. ------------------------------------------------------------------------------------- % thorpex_mas_read_c This program reads THORPEX_ER2_MAS netCDF data. Please enter Q to Quit or C to continue c Please enter netCDF file name to read: thorpex_mas_03931_01_20030310_2218_2245_V01.hdf Report file name is: thorpex_mas_03931_01_20030310_2218_2245_V01.hdf.rpt Item Data Type Label(dimension lengths) ==== ========= ======================== 1 float Left50%ResponseWavelength(50) 2 float Central100%ResponseWavelength(50) 3 float Right50%ResponseWavelength(50) 4 float EffectiveCentralWavelength_IR_bands(50) 5 float TemperatureCorrectionSlope(50) 6 float TemperatureCorrectionIntercept(50) 7 float SolarSpectralIrradiance(50) 8 char DataSetHeader(129 X 80) 9 long ScanLineCounter(9999) 10 long GreenwichMeanTime(9999) 11 long YearMonthDay(9999) 12 short AircraftRollCount(9999) 13 short BlackBody1Temperature(9999) 14 short BlackBody2Temperature(9999) 15 float ScanRate(9999) Please choose the numbers of the data items you wish to dump Enter -1 to display additional items or zero to end selection process NOTE: if you enter 0 as very first entry, all variables will be displayed -1 Item Data Type Label(dimension lengths) ==== ========= ======================== 16 float ScanlineTime(9999) 17 float AircraftLatitude(9999) 18 float AircraftLongitude(9999) 19 float AircraftHeading(9999) 20 float AircraftAltitude(9999) 21 float AircraftPitch(9999) 22 float TBack(9999) 23 short AnalogGain(9999 X 50) 24 short AnalogOffset(9999 X 50) 25 short BlackBody1Counts(9999 X 50) 26 short BlackBody2Counts(9999 X 50) 27 short Head1Counts(9999 X 50) 28 short Head2Counts(9999 X 50) 29 float CalibrationSlope(9999 X 50) 30 float CalibrationIntercept(9999 X 50) Please choose the numbers of the data items you wish to dump Enter -1 to display additional items or zero to end selection process 0 Would you like the global attributes included in the report? (Y/N)y This is the report file for the thorpex_mas_03931_01_20030310_2218_2245_V01.hdf file ****************** START GLOBAL ATTRIBUTE SECTION ****************** CreationDate = 08-May-2003 13:38:55 AircraftPlatform = NASA ER-2 (809) NavFormatCode = Format (A-1) LocationCode = Inertial (INU) AltitudeCode = Inertial (INU) NavDataSource = ER2 navigation recorder NavDataPath = /nav/2003/er2/03-931 CalibrationName = THORpex_Jan23-Mar19 Reference = NCSA HDF Reference Manual, Version 4.1r4, 2000 title = MODIS Airborne Simulator (MAS) Level-1B Data ExperimentName = THORpex 2003 FlightNumber = 03-931 FlightDate = 10 Mar 2003 SiteLineRun = void GeographicArea = Nihau, Pacific Ocean SRF_FTP = ftp://asapdata.arc.nasa.gov/mas/srf/Mar_03/ SRF_dataset = /rarray/calibrat/mas/srf/Mar_03/ FlightLineNumber = 1s TotalFlightLines = 16s DataUsersGuideSource = http://ltpww.gsfc.nasa.gov/MAS/ SoftwareVersion = Level-1b Version 10.2.2 UR CalibrationVersion = Version 1.0 Calibration data_set = MAS THORpex 2003 day_night_flag = D granule_version = 1s metadata_version = 1.0.0 data_quality = Good Other_Aircraft_Sensors = NAST-M,NAST-I,SHIS,MVIS,LaRC03 Principal_Investigator = Smith, Moeller (UWisc) Navigational_Precision = Single lat_UL = 21.966675f lon_UL = -159.87024f lat_UR = 21.822910f lon_UR = -160.16431f lat_LL = 24.543898f lon_LL = -161.41069f lat_LR = 24.389648f lon_LR = -161.72411f begin_date = 20030310 221803 end_date = 20030310 224501 RunTime = 344,320 ms, or 34 ms/scanline CompletionDate = 08-May-2003 13:48:50 producer_granule_id = MASL1B_03931_01_20030310_2218_2245_V01.hdf granule_size = 898282583 ****************** END GLOBAL ATTRIBUTE SECTION ****************** Left50%ResponseWavelength units = microns 0.452 , 0.534 , 0.633 , 0.683 , 0.725 , 0.807 , 0.85 , 0.89 , 0.931 , 1.599 , 1.652 , 1.706 , 1.757 , 1.81 , 1.86 , 1.91 , 1.961 , 2.011 , 2.061 , 2.111 , 2.161 , 2.21 , 2.261 , 2.313 , 2.362 , 3.083 , 3.251 , 3.4 , 3.55 , 3.7 , 3.854 , 4.01 , 4.171 , 4.319 , 4.469 , 4.613 , 4.769 , 4.917 , 5.058 , 5.213 , 5.362 , 8.375 , 9.498 , 10.278 , 10.768 , 11.8 , 12.677 , 13.043 , 13.554 , 14.038 ; Central100%ResponseWavelength units = microns 0.471 , 0.553 , 0.659 , 0.705 , 0.743 , 0.827 , 0.871 , 0.909 , 0.953 , 1.623 , 1.678 , 1.73 , 1.781 , 1.834 , 1.883 , 1.934 , 1.985 , 2.036 , 2.086 , 2.135 , 2.185 , 2.236 , 2.286 , 2.338 , 2.388 , 3.166 , 3.326 , 3.471 , 3.626 , 3.766 , 3.931 , 4.086 , 4.243 , 4.391 , 4.541 , 4.691 , 4.846 , 4.991 , 5.126 , 5.276 , 5.4 , 8.602 , 9.714 , 10.532 , 11.001 , 12.042 , 12.901 , 13.3 , 13.821 , 14.281 ; Right50%ResponseWavelength units = microns 0.493 , 0.576 , 0.685 , 0.727 , 0.769 , 0.851 , 0.891 , 0.932 , 0.972 , 1.65 , 1.703 , 1.755 , 1.807 , 1.857 , 1.908 , 1.958 , 2.008 , 2.059 , 2.109 , 2.159 , 2.208 , 2.259 , 2.31 , 2.361 , 2.411 , 3.246 , 3.397 , 3.55 , 3.707 , 3.832 , 4.011 , 4.168 , 4.324 , 4.47 , 4.619 , 4.773 , 4.923 , 5.064 , 5.221 , 5.354 , 5.441 , 8.781 , 9.968 , 10.775 , 11.28 , 12.294 , 13.126 , 13.52 , 14.093 , 14.486 ; EffectiveCentralWavelength_IR_bands units = microns fill_value = -99.000000f -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , -99 , 3.160038 , 3.318108 , 3.469567 , 3.624044 , 3.767184 , 3.927947 , 4.086426 , 4.244993 , 4.390657 , 4.540184 , 4.691499 , 4.843247 , 4.988589 , 5.138233 , 5.282486 , 5.411148 , 8.565737 , 9.720565 , 10.51891 , 11.01866 , 12.03724 , 12.87855 , 13.28586 , 13.80745 , 14.26038 ; TemperatureCorrectionSlope units = (none) 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0.9989893 , 0.9992166 , 0.9992129 , 0.9992808 , 0.9993393 , 0.9993795 , 0.9993789 , 0.999498 , 0.9995148 , 0.999485 , 0.9995038 , 0.9995668 , 0.9996535 , 0.9996447 , 0.9997066 , 0.9996948 , 0.9992831 , 0.9993342 , 0.9994345 , 0.999486 , 0.9996012 , 0.9997028 , 0.9997124 , 0.999716 , 0.9998021 ; ... Data continues on ... ------------------------------------------------------------------------------------- 7.2 Output demonstration of IDL sample read software ------------------------------------------------------------------------------------- % idl IDL Version 5.3 (IRIX mipseb). (c) 1999, Research Systems, Inc. Installation number: 17659. Licensed for use by: NASA - Langley Research Center IDL> .compile thorpex_mas_read_idl % Compiled module: TEST_ISHDF. % Compiled module: THORPEX_MAS_READ_IDL. IDL> thorpex_mas_read_idl % Compiled module: PICKFILE. % Loaded DLM: HDF. Valid HDF file. Opening "thorpex_mas_03931_01_20030310_2218_2245_V01.hdf" Report file is called thorpex_mas_03931_01_20030310_2218_2245_V01.hdf.rpt Do you want the global attributes printed to the output file?y Dataset No. 1: Left50%ResponseWavelength Dataset No. 2: Central100%ResponseWavelength Dataset No. 3: Right50%ResponseWavelength Dataset No. 4: EffectiveCentralWavelength_IR_bands Dataset No. 5: TemperatureCorrectionSlope Dataset No. 6: TemperatureCorrectionIntercept Dataset No. 7: SolarSpectralIrradiance Dataset No. 8: DataSetHeader Dataset No. 9: ScanLineCounter Dataset No. 10: GreenwichMeanTime Dataset No. 11: YearMonthDay Dataset No. 12: AircraftRollCount Dataset No. 13: BlackBody1Temperature Dataset No. 14: BlackBody2Temperature Dataset No. 15: ScanRate Dataset No. 16: ScanlineTime Dataset No. 17: AircraftLatitude Dataset No. 18: AircraftLongitude Dataset No. 19: AircraftHeading Dataset No. 20: AircraftAltitude Dataset No. 21: AircraftPitch Dataset No. 22: TBack Dataset No. 23: AnalogGain Dataset No. 24: AnalogOffset Dataset No. 25: BlackBody1Counts Dataset No. 26: BlackBody2Counts Dataset No. 27: Head1Counts Dataset No. 28: Head2Counts Dataset No. 29: CalibrationSlope Dataset No. 30: CalibrationIntercept Dataset No. 31: PixelLatitude Dataset No. 32: PixelLongitude Dataset No. 33: SensorZenithAngle Dataset No. 34: SensorAzimuthAngle Dataset No. 35: SolarZenithAngle Dataset No. 36: SolarAzimuthAngle Dataset No. 37: CalibratedData Enter 0 for all datasets to be displayed or 1 to select datasets1 Enter dataset no. then or zero to end selection process25 Enter dataset no. then or zero to end selection process0 Reading data for BlackBody1Counts Read operation complete. IDL> The output file, which has the same name as the original file but with .rpt added is listed below: RESULTS OF IDL PROCESSING: This is a report file for thorpex_mas_03931_01_20030310_2218_2245_V01.hdf Reading number of datasets and file attributes in file ... No. of Datasets: 37 No. of File Attributes: 44 No. of Palettes: 0 Printing name of each file attribute... File Attribute No. 0: CreationDate CreationDate 08-May-2003 13:38:55 File Attribute No. 1: AircraftPlatform AircraftPlatform NASA ER-2 (809) File Attribute No. 2: NavFormatCode NavFormatCode Format (A-1) File Attribute No. 3: LocationCode LocationCode Inertial (INU) File Attribute No. 4: AltitudeCode AltitudeCode Inertial (INU) File Attribute No. 5: NavDataSource NavDataSource ER2 navigation recorder File Attribute No. 6: NavDataPath NavDataPath /nav/2003/er2/03-931 File Attribute No. 7: CalibrationName CalibrationName THORpex_Jan23-Mar19 File Attribute No. 8: Reference Reference NCSA HDF Reference Manual, Version 4.1r4, 2000 File Attribute No. 9: title title MODIS Airborne Simulator (MAS) Level-1B Data File Attribute No. 10: ExperimentName ExperimentName THORpex 2003 File Attribute No. 11: FlightNumber FlightNumber 03-931 File Attribute No. 12: FlightDate FlightDate 10 Mar 2003 File Attribute No. 13: SiteLineRun SiteLineRun void File Attribute No. 14: GeographicArea GeographicArea Nihau, Pacific Ocean File Attribute No. 15: SRF_FTP SRF_FTP ftp://asapdata.arc.nasa.gov/mas/srf/Mar_03/ File Attribute No. 16: SRF_dataset SRF_dataset /rarray/calibrat/mas/srf/Mar_03/ File Attribute No. 17: FlightLineNumber FlightLineNumber 1 File Attribute No. 18: TotalFlightLines TotalFlightLines 16 File Attribute No. 19: DataUsersGuideSource DataUsersGuideSource http://ltpww.gsfc.nasa.gov/MAS/ File Attribute No. 20: SoftwareVersion SoftwareVersion Level-1b Version 10.2.2 UR File Attribute No. 21: CalibrationVersion CalibrationVersion Version 1.0 Calibration File Attribute No. 22: data_set data_set MAS THORpex 2003 File Attribute No. 23: day_night_flag day_night_flag D File Attribute No. 24: granule_version granule_version 1 File Attribute No. 25: metadata_version metadata_version 1.0.0 File Attribute No. 26: data_quality data_quality Good File Attribute No. 27: Other_Aircraft_Sensors Other_Aircraft_Sensors NAST-M,NAST-I,SHIS,MVIS,LaRC03 File Attribute No. 28: Principal_Investigator Principal_Investigator Smith, Moeller (UWisc) File Attribute No. 29: Navigational_Precision Navigational_Precision Single File Attribute No. 30: lat_UL lat_UL 21.9667 File Attribute No. 31: lon_UL lon_UL -159.870 File Attribute No. 32: lat_UR lat_UR 21.8229 File Attribute No. 33: lon_UR lon_UR -160.164 File Attribute No. 34: lat_LL lat_LL 24.5439 File Attribute No. 35: lon_LL lon_LL -161.411 File Attribute No. 36: lat_LR lat_LR 24.3896 File Attribute No. 37: lon_LR lon_LR -161.724 File Attribute No. 38: begin_date begin_date 20030310 221803 File Attribute No. 39: end_date end_date 20030310 224501 File Attribute No. 40: RunTime RunTime 344,320 ms, or 34 ms/scanline File Attribute No. 41: CompletionDate CompletionDate 08-May-2003 13:48:50 File Attribute No. 42: producer_granule_id producer_granule_id MASL1B_03931_01_20030310_2218_2245_V01.hdf File Attribute No. 43: granule_size granule_size 898282583 Dataset No. 24: BlackBody1Counts Data Attribute: _FillValue NAME: 64537 Number of attributes: 1 4962 4946 4943 4951 4872 4935 4944 4941 4962 5467 4359 4326 4701 5487 5313 4306 4962 4027 3991 5089 4932 5036 5075 4149 5264 4915 5410 4710 4328 4170 4761 4226 4585 4188 4011 4260 4035 3944 4487 3879 4852 4408 5319 5097 5454 ... more data ... 4335 4200 4110 5691 4327 4118 3998 4524 5465 4543 4677 4495 4773 3924 4220 4520 4115 4500 4264 4735 3865 4347 3941 4264 4053 4724 4027 4726 4211 4052 4026 4859 4784 5263 5408 5681 4988 5061 4909 6194 7719 ------------------------------------------------------------------------------------- 7.3 Output demonstration of Fortran sample read software. Sample read software for thorpex_mas_read_f: ------------------------------------------------------------------------------------- % thorpex_mas_read_f WARNING: This version fixes a bug in HDF3.3r3 Enter HDF file name : thorpex_mas_03931_01_20030310_2218_2245_V01.hdf name=thorpex_mas_03931_01_20030310_2218_2245_V01.hdf HDF file id = 393216 # of Global Attributes = 44 # of Scientific Data Sets (SDS"s) = 37 Read Global Attributes ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = CreationDate Attribute Index = 0 Number_Type = 4 Count = 20 - - - Attribute Value - - - 08-May-2003 13:38:55 ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = AircraftPlatform Attribute Index = 1 Number_Type = 4 Count = 15 - - - Attribute Value - - - NASA ER-2 (809) ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = NavFormatCode Attribute Index = 2 Number_Type = 4 Count = 12 - - - Attribute Value - - - Format (A-1) ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = LocationCode Attribute Index = 3 Number_Type = 4 Count = 14 - - - Attribute Value - - - Inertial (INU) ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = AltitudeCode Attribute Index = 4 Number_Type = 4 Count = 14 - - - Attribute Value - - - Inertial (INU) ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = NavDataSource Attribute Index = 5 Number_Type = 4 Count = 23 - - - Attribute Value - - - ER2 navigation recorder ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = NavDataPath Attribute Index = 6 Number_Type = 4 Count = 20 - - - Attribute Value - - - /nav/2001/er2/03-931 ********************************** Continue ? ( or n ) : ******** GLOBAL ATTRIBUTE ********* Attribute_Name = CalibrationName Attribute Index = 7 Number_Type = 4 Count = 19 - - - Attribute Value - - - THORpex_Jan23-Mar19 ********************************** Continue ? ( or n ) : n Read Scientific Data Set"s (SDS"s) ? ( or n) : ************* Scientific Data Set ************** SDS_Name = Left50%ResponseWavelength Index = 0 SDS_ID = 262144 # of Dims = 1 DimSizes = 50 0 0 0 0 Number_Type = 5 Number of Attributes = 1 - - - Sample Data Value - - - 0.533999979 - - - - - - - - - - - - - - - Read SDS attribute string ? ( or n ) : -------- Local Attribute ----------- Attribute_Name = units Attribute Index = 0 Number_Type = 4 Count = 7 - - - Attribute Value - - - microns -------------------------------------- ************************************************ Continue ? ( or n ) : ************* Scientific Data Set ************** SDS_Name = Central100%ResponseWavelength Index = 1 SDS_ID = 262145 # of Dims = 1 DimSizes = 50 0 0 0 0 Number_Type = 5 Number of Attributes = 1 - - - Sample Data Value - - - 0.552999973 - - - - - - - - - - - - - - - Read SDS attribute string ? ( or n ) : -------- Local Attribute ----------- Attribute_Name = units Attribute Index = 1 Number_Type = 4 Count = 14 - - - Attribute Value - - - degree_Celsius -------------------------------------- ************************************************ Continue ? ( or n ) : n Dump Descaled Calibrated Radiances ? ( or n) : ************* Scientific Data Set ************** SDS_Name = CalibratedData Index = 36 SDS_ID = 262180 # of Dims = 3 DimSizes = 716 50 9999 0 0 Number_Type = 22 Number of Attributes = 3 -------- Local Attribute ----------- Attribute_Name = units Attribute Index = 1 Number_Type = 4 Count = 29 - - - Attribute Value - - - watts/meter2/steradian/micron -------- Local Attribute ----------- Attribute_Name = scale_factor Attribute Index = 2 Number_Type = 5 Count = 50 - - - Attribute Value - - - 0.10000 0.10000 0.10000 0.10000 0.10000 0.10000 0.10000 0.10000 0.10000 0.10000 0.01000 0.01000 0.01000 0.01000 0.01000 0.10000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.00100 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 0.01000 Enter Pixel(1-716), Record(1- 9999), Channel(1-12) ? 1,5,7 At Pixel = 1 Record = 5 For Channel = 7 Stored Value = 43 Scale Factor = 0.100 Calibrated Radiance = 4.3000001907 Another ? ( or n ) : n ------------------------------------------------------------------------------------- 8.0 Additional Data Information King, M. D., W. P. Menzel, P. S. Grant, J. S. Myers, G. T. Arnold, S. E. Platnick, L. E. Gumley, S. C. Tsay, C. C. Moeller, M. Fitzgerald, K. S. Brown and F. G. Osterwisch, 1996: Airborne scanning spectrometer for remote sensing of cloud, aerosol, water vapor and surface properties. J. Atmos. Oceanic Technol., 13, 777-794. Last Updated: