README for RSP NetCDF files. Any questions regarding this data set should be addressed to Brian Cairns -------------------- Dr. Brian Cairns Research Scientist Department of Applied Physics and Applied Mathematics Columbia University New York, NY 10025 Phone: (212) 678 5625 Fax: (212) 678 5552 Email: bc25@columbia.edu Data is available at: ftp://data.giss.nasa.gov/pub/rsp/MILAGRO For the MILAGRO campaign on the 3rd, 5th and 6th of March there was no LN2 available to cool the RSP instrument and the SWIR bands are therefore not valid (1590 nm, 1880 nm and 2250 nm; bands 7, 8 and 9). On the 5th, 6th and 10th during ground testing and because of operator (my) errors in flight some small files had no available GPS indicating aircraft orientation, height and location. These files were therefore not included with those archived here. There were only a few files to which this applied and they can be supplied on request, but absent the GPS information, or details of the ground calibration being done are not easily usable. DVDs of the data set can be supplied for those without a fast internet connection to download the data from the ftp site. The file naming convention used for these files is that of ICARTT and is defined as follows: dataID_locationID_YYYYMMDD[hh[mm[ss]]]_R#[_L#][_V#][_comments].extension, where the only allowed characters are: a-zA-Z0-9_.- (that is, upper case and lower case alphanumeric, underscore, period, and hyphen). All fields not in square brackets are required and are described as follows: dataID: RSP locationID: J31 YYYY: four-digit year MM: two-digit month DD: two-digit day hh: two-digit hour (UTC) mm: two-digit minute (UTC) ss: two-digit second (UTC) R: revision number of data V: optional volume number The primary data i1, i2, q and u have the units of a normalized radiance where the normalized radiance is defined to be: i1=I * PI /F0 with I the radiance and F0 the solar constant in W/m2/ƒÊm (contained in the Netcdf file - see below for its definition). These quantities can be turned into reflectance units as follows: RI= i1 * rdot^2 / cos(theta0) RQ= q * rdot^2 / cos(theta0) RU= u * rdot^2 / cos(theta0) where q and u are in the meridional plane defined by the RSP scan plane and theta0 is the solar zenith angle and rdot is the solar distance in AU. Table 1. This table gives the center wavelength, Rayleigh optical depth, ozone absorption coefficient (cm-atm^-1), nitrogen dioxide absorption coefficient (ppb^-1), real and imaginary refractive indices of ice and water and the logarithmic regression coefficients that can be used to provide a good estimate of water vapor optical depth in each band since the water vapor absorption is low in all bands except 6 and 8. Bnd Wavec Taur KO3 KNO2 NRIce NIIce NRWat NIWat alpha beta 1 0.41027 0.3263 0.000278 0.01286 1.3186 0 1.3386 0 0 1 2 0.46913 0.18795 0.010035 0.008135 1.3146 0 1.3362 0 0 1 3 0.55496 0.09414 0.09696 0.001827 1.3108 0 1.333 0 0.00026 0.990068 4 0.67001 0.04368 0.044982 0.000144 1.3076 0 1.331 0 0.00053 0.958742 5 0.86351 0.01568 0.00206 0 1.3038 0 1.33 0 0.00061 0.953774 6 0.96164 0.0102 0.000271 0 1.3022 0.000001 1.328 0.000003 0.31607 0.595575 7 1.58886 0.00136 0 0 1.2895 0.000318 1.3182 0.000104 0.00251 0.645347 8 1.88447 0.00068 0 0 1.2788 0.000317 1.3101 0.00088 3.23048 0.524502 9 2.26438 0.00033 0 0 1.2562 0.000254 1.2875 0.000419 0.01141 0.739948 The logarithmic regression coefficients are derived from the equation: OD = alpha * (wcm * airmass) ^ beta where wcm is the column water vapor in precipitable cm and the airmass for most conditions is the reciprocal of the cos(ƒÆ0). The coefficients are fitted for a range of 0.5 -> 5.0cm of water. The RSP is located along the axis of the aircraft and the plane of the scan is given by the heading variable, which may differ from the actual direction of travel of the aircraft. The angle of the RSP scan is given by the theta (in radians) variable with negative values pointing forward and positive values pointing backwards. Although unfortunate this convention is related to the fact that the RSP has always been mounted in the opposite direction in other aircraft. Below are the variable definitions used in generating the RSP NetCDF files which should provide sufficient information (dimensionality, description) about the variables for them to be used. ;Number of scans scanid=ncdf_dimdef(cdfid, 'scan_number', /unlimited) ;Number of spectral bands chid=ncdf_dimdef(cdfid, 'channels', nchannel) ;Number of available view angles sectorid=ncdf_dimdef(cdfid, 'sectors', nsector) ;Number of SWIR detector temperatures tempid=ncdf_dimdef(cdfid, 'temps', 7) ;Number of SWIR detector temperatures voltid=ncdf_dimdef(cdfid, 'volts', 8) ;* Global attributes: nd=string(processed_header.date[0],FORMAT='(I2.2)') nm=string(processed_header.date[1],FORMAT='(I2.2)') ny=string(processed_header.date[2],FORMAT='(I4.4)') date=nm+'-'+nd+'-'+ny Computer_Time=processed_header.time[0]+(processed_header.time[1]+processed_header.time[2]/60.0)/60.0 ncdf_attput, cdfid, /global, 'Original_Data_File_Header', string(processed_header.info) ncdf_attput, cdfid, /global, 'File_Creation_Time', 'File created on '+systime() ncdf_attput, cdfid, /global, 'File_Date', date ncdf_attput, cdfid, /global, 'Computer_Time', Computer_Time ncdf_attput, cdfid, /global, 'Absolute_Nadir', calibration.nadir ncdf_attput, cdfid, /global, 'Number_Sectors_In_Scan', processed_header.no_sector_in_scan ncdf_attput, cdfid, /global, 'Scan_Period', processed_header.trsp ncdf_attput, cdfid, /global, 'Pitch_Offset', pitch_offset ;* Variables and their attributes: ;* Scan angle vid=ncdf_vardef(cdfid, 'theta',[sectorid], /float) ncdf_attput, cdfid, vid, 'long_name', 'View Zenith' ncdf_attput, cdfid, vid, 'units', 'Radians' ncdf_attput, cdfid, vid, 'valid_min', ' -1.5' ncdf_attput, cdfid, vid, 'valid_max', ' 1.5' ;* Calibration: vid=ncdf_vardef(cdfid, 'soldist', /float) ncdf_attput, cdfid, vid, 'long_name', 'Solar Distance' ncdf_attput, cdfid, vid, 'units', 'AU' ncdf_attput, cdfid, vid, 'valid_min', '0.95' ncdf_attput, cdfid, vid, 'valid_max', '1.05' vid=ncdf_vardef(cdfid, 'nadir', /float) ncdf_attput, cdfid, vid, 'long_name', 'Nominal_Nadir (adjusted for skipped sectors)' ncdf_attput, cdfid, vid, 'units', 'Sectors' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 152.000' vid=ncdf_vardef(cdfid, 'solcon', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Solar Constant integrated over RSP bandpass' ncdf_attput, cdfid, vid, 'units', 'W/m2/ƒÊm' ncdf_attput, cdfid, vid, 'valid_min', ' 50.000' ncdf_attput, cdfid, vid, 'valid_max', '2500.000' vid=ncdf_vardef(cdfid, 'k1', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Relative Gain Pair 1' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.000' ncdf_attput, cdfid, vid, 'valid_max', '2.000' vid=ncdf_vardef(cdfid, 'k2', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Relative Gain Pair 2' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.000' ncdf_attput, cdfid, vid, 'valid_max', '2.000' vid=ncdf_vardef(cdfid, 'qscl', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Scale factor to calibrate q' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.500' ncdf_attput, cdfid, vid, 'valid_max', '1.500' vid=ncdf_vardef(cdfid, 'uscl', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Scale factor to calibrate u' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.500' ncdf_attput, cdfid, vid, 'valid_max', '1.500' vid=ncdf_vardef(cdfid, 'twoeps', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Correction angle for relative for Wollaston misalignment' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.500' ncdf_attput, cdfid, vid, 'valid_max', '1.500' vid=ncdf_vardef(cdfid, 'delta', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Correction angle for absolute for Wollaston misalignment' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', '0.500' ncdf_attput, cdfid, vid, 'valid_max', '1.500' vid=ncdf_vardef(cdfid, 'cal1', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Radiometric scale factor for telescopes 1' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', '30000.000' vid=ncdf_vardef(cdfid, 'cal2', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Radiometric scale factor for telescopes 2' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', '30000.000' vid=ncdf_vardef(cdfid, 'cal12', [chid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Relative gain factor between telescopes 1 and 2' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 2.000' ;* RSP Data: vid=ncdf_vardef(cdfid, 'i1', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Normalized Intensity - Telescope 1' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 2.000' ncdf_attput, cdfid, vid, 'comment', $ 'Normalization does not include correction for cosine solar zenith or solar distance' vid=ncdf_vardef(cdfid, 'i2', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Normalized Intensity - Telescope 2' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 2.000' ncdf_attput, cdfid, vid, 'comment', $ 'Normalization does not include correction for cosine solar zenith or solar distance' vid=ncdf_vardef(cdfid, 'q', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Normalized Polarized Intensity - Q' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' -2.000' ncdf_attput, cdfid, vid, 'valid_max', ' 2.000' ncdf_attput, cdfid, vid, 'comment', $ 'Normalization does not include correction for cosine solar zenith or solar distance' vid=ncdf_vardef(cdfid, 'u', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Normalized Polarized Intensity - U' ncdf_attput, cdfid, vid, 'units', 'dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' -2.000' ncdf_attput, cdfid, vid, 'valid_max', ' 2.000' ncdf_attput, cdfid, vid, 'comment', $ 'Normalization does not include correction for cosine solar zenith or solar distance' vid=ncdf_vardef(cdfid, 'P', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Degree of Linear Polarization' ncdf_attput, cdfid, vid, 'units', 'dimensionless (%)' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 100.000' vid=ncdf_vardef(cdfid, 'Chi', [chid,sectorid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Polarization Azimuth' ncdf_attput, cdfid, vid, 'units', 'Degrees' ncdf_attput, cdfid, vid, 'valid_min', ' -90.000' ncdf_attput, cdfid, vid, 'valid_max', ' 90.000' vid=ncdf_vardef(cdfid, 'da1L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Dark Count 1L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'da1R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Dark Count 1R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'da2L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Dark Count 2L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'da2R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Dark Count 2R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'dstd1L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Variability in Dark Count 1L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'dstd1R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Variability in Dark Count 1R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'dstd2L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Variability in Dark Count 2L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'dstd2R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Variability in Dark Count 2R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'pre1L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Pre restore Dark Count 1L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'pre1R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Pre restore Dark Count 1R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'pre2L', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Pre restore Dark Count 2L' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'pre2R', [chid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Pre restore Dark Count 2R' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 800.000' vid=ncdf_vardef(cdfid, 'qcgps', [scanid],/long) ncdf_attput, cdfid, vid, 'long_name', 'Quality of GPS (# Satellites)' ncdf_attput, cdfid, vid, 'units', 'DN' ncdf_attput, cdfid, vid, 'valid_min', ' 0' ncdf_attput, cdfid, vid, 'valid_max', ' 10' vid=ncdf_vardef(cdfid, 'lwflag', [scanid],/long) ncdf_attput, cdfid, vid, 'long_name', 'Land/Water Flag' ncdf_attput, cdfid, vid, 'units', 'Scaled Albedo' ncdf_attput, cdfid, vid, 'valid_min', ' 0' ncdf_attput, cdfid, vid, 'valid_max', ' 36800' vid=ncdf_vardef(cdfid, 'temp_swir_det', [tempid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'SWIR/Reference Detector Temperatures' ncdf_attput, cdfid, vid, 'units', 'Kelvin' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 400.000' vid=ncdf_vardef(cdfid, 'temp_err', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Error in Control Temperature' ncdf_attput, cdfid, vid, 'units', 'Kelvin' ncdf_attput, cdfid, vid, 'valid_min', ' -100.000' ncdf_attput, cdfid, vid, 'valid_max', ' 100.000' vid=ncdf_vardef(cdfid, 'temp_opt', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Optics Temperatures' ncdf_attput, cdfid, vid, 'units', 'C' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 400.000' vid=ncdf_vardef(cdfid, 'temp_elec', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Electronics Temperatures' ncdf_attput, cdfid, vid, 'units', 'C' ncdf_attput, cdfid, vid, 'valid_min', ' 0.000' ncdf_attput, cdfid, vid, 'valid_max', ' 400.000' vid=ncdf_vardef(cdfid, 'voltages', [voltid,scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Housekeeping Voltages' ncdf_attput, cdfid, vid, 'units', 'V' ncdf_attput, cdfid, vid, 'valid_min', ' -100.000' ncdf_attput, cdfid, vid, 'valid_max', ' 100.000' ;* GPS Data: vid=ncdf_vardef(cdfid, 'lat', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'Latitude' ncdf_attput, cdfid, vid, 'units', 'Degrees' ncdf_attput, cdfid, vid, 'valid_min', ' -90.000' ncdf_attput, cdfid, vid, 'valid_max', ' 90.000' vid=ncdf_vardef(cdfid, 'lon', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'Longitude' ncdf_attput, cdfid, vid, 'units', 'Degrees' ncdf_attput, cdfid, vid, 'valid_min', ' -180.000' ncdf_attput, cdfid, vid, 'valid_max', ' 180.000' vid=ncdf_vardef(cdfid, 'year', [scanid],/long) ncdf_attput, cdfid, vid, 'long_name', 'GPS Year' ncdf_attput, cdfid, vid, 'units', 'N/A' ncdf_attput, cdfid, vid, 'valid_min', ' 1980' ncdf_attput, cdfid, vid, 'valid_max', ' 2100' vid=ncdf_vardef(cdfid, 'jday', [scanid],/long) ncdf_attput, cdfid, vid, 'long_name', 'Julian Day' ncdf_attput, cdfid, vid, 'units', 'N/A' ncdf_attput, cdfid, vid, 'valid_min', ' 0' ncdf_attput, cdfid, vid, 'valid_max', ' 366' vid=ncdf_vardef(cdfid, 'fracday', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'Fraction of Day - UTC' ncdf_attput, cdfid, vid, 'units', 'Dimensionless' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 1.0' vid=ncdf_vardef(cdfid, 'seconds', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'UTC Seconds' ncdf_attput, cdfid, vid, 'units', 'Seconds' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 1.0' vid=ncdf_vardef(cdfid, 'speed', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Speed over ground' ncdf_attput, cdfid, vid, 'units', 'm/s' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 1000.0' vid=ncdf_vardef(cdfid, 'dirn', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Direction' ncdf_attput, cdfid, vid, 'units', 'Degrees' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 360.0' vid=ncdf_vardef(cdfid, 'alt', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Altitude (ASL)' ncdf_attput, cdfid, vid, 'units', 'meters' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 20000.0' ;* NavMet Data: vid=ncdf_vardef(cdfid, 'pitch', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Pitch' ncdf_attput, cdfid, vid, 'units', 'degrees' ncdf_attput, cdfid, vid, 'valid_min', ' -90.0' ncdf_attput, cdfid, vid, 'valid_max', ' 90.0' vid=ncdf_vardef(cdfid, 'roll', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Roll' ncdf_attput, cdfid, vid, 'units', 'degrees' ncdf_attput, cdfid, vid, 'valid_min', ' -90.0' ncdf_attput, cdfid, vid, 'valid_max', ' 90.0' vid=ncdf_vardef(cdfid, 'heading', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Heading' ncdf_attput, cdfid, vid, 'units', 'degrees' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 360.0' vid=ncdf_vardef(cdfid, 'track', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Ground Track' ncdf_attput, cdfid, vid, 'units', 'Degrees' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 360.0' vid=ncdf_vardef(cdfid, 'pressure', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Level Pressure' ncdf_attput, cdfid, vid, 'units', 'mbar' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 1100.0' vid=ncdf_vardef(cdfid, 'temp', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Level Temperature' ncdf_attput, cdfid, vid, 'units', 'Degrees C' ncdf_attput, cdfid, vid, 'valid_min', ' -100.0' ncdf_attput, cdfid, vid, 'valid_max', ' 100.0' vid=ncdf_vardef(cdfid, 'relhum', [scanid],/float) ncdf_attput, cdfid, vid, 'long_name', 'Aircraft Level Relative Humidity' ncdf_attput, cdfid, vid, 'units', '%' ncdf_attput, cdfid, vid, 'valid_min', ' 0.0' ncdf_attput, cdfid, vid, 'valid_max', ' 100.0' ;* Solar Geometry: vid=ncdf_vardef(cdfid, 'azi', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'Solar Azimuth' ncdf_attput, cdfid, vid, 'units', 'Radians' ncdf_attput, cdfid, vid, 'valid_min', ' 0.00' ncdf_attput, cdfid, vid, 'valid_max', ' 6.28' vid=ncdf_vardef(cdfid, 'zen', [scanid],/double) ncdf_attput, cdfid, vid, 'long_name', 'Solar Zenith' ncdf_attput, cdfid, vid, 'units', 'Radians' ncdf_attput, cdfid, vid, 'valid_min', ' 0.00' ncdf_attput, cdfid, vid, 'valid_max', ' 3.14' ;End of variable definitions ncdf_control, cdfid, /ENDEF