Commit c2324f7f authored by Timothy Shippert's avatar Timothy Shippert
Browse files

Created by: 'db_export_dod -type hash -dod mfrsr7nchlangplot.c1-1.0 >...

Created by: 'db_export_dod -type hash -dod mfrsr7nchlangplot.c1-1.0 > mfrsr7nchlangplot.c1-1.0.dod'.
parent 39f8832a
%gDOD = (
'ds_class' => 'mfrsr7nchlangplot.c1',
'dod_version' => '1.0',
'dims' => [
{
'name' => 'time',
'length' => 0,
},
{
'name' => 'bound',
'length' => 2,
},
],
'atts' => [
{
'name' => 'command_line',
'type' => 'char',
},
{
'name' => 'Conventions',
'type' => 'char',
'value' => 'ARM-1.2',
},
{
'name' => 'process_version',
'type' => 'char',
},
{
'name' => 'dod_version',
'type' => 'char',
},
{
'name' => 'site_id',
'type' => 'char',
},
{
'name' => 'platform_id',
'type' => 'char',
},
{
'name' => 'facility_id',
'type' => 'char',
},
{
'name' => 'data_level',
'type' => 'char',
},
{
'name' => 'location_description',
'type' => 'char',
},
{
'name' => 'datastream',
'type' => 'char',
},
{
'name' => 'input_datastreams',
'type' => 'char',
},
{
'name' => 'Title',
'type' => 'char',
'value' => 'Plot information for Langley analysis from MFRSR',
},
{
'name' => 'Comment',
'type' => 'char',
'value' => 'The Langley VAP takes MFR (from SIRS, MFRSR, and NIMFR) data and does a Langley analysis on the seven narrowband channels. Two output platforms are created: an "analysis" platform with optical depths and solar constants, as well as flags for whether the given langley plot was rejected or not; and a "plot" platform with the time series information necessary to display a Langley plot (i.e. lnIs vs. airmasses). One Langley plot is performed for each half-day (i.e. between airmasses [2,6]). The analysis platform therefore contains two data points per day; the time stamps are for the median time sample within each Langley plot period. The plotting platform files hold only the information for one plot, so two plotting files are created per day. This is the "plot" file.',
},
{
'name' => 'barnard_algorithm_comment',
'type' => 'char',
'value' => 'A linear regression is done on all points between 2 and 6 air masses. All points which fall 2 sigma below the regression line are rejected. The regression/rejection is repeated until all points are within 2 sigma or until 20 regressions are completed. The result of the final regression is check against the acceptance criteria. If the regression fails, the Langley analysis is flagged as rejected.',
},
{
'name' => 'michalsky_algorithm_comment',
'type' => 'char',
'value' => 'Checks are done to remove bad points. Bad points are points which lie outside the 2 to 6 airmasses, points during cloud events, and all points determined to be outliers. A single linear regression is done on all good points. The result of the final regression is check against the acceptance criteria. If the regression fails, the Langley analysis is flagged as rejected.',
},
{
'name' => 'rejected_comment',
'type' => 'char',
'value' => '0 = not rejected, 1 = rejected',
},
{
'name' => 'doi',
'type' => 'char',
'value' => '10.5439/1599187',
},
{
'name' => 'history',
'type' => 'char',
},
],
'vars' => [
{
'name' => 'base_time',
'type' => 'int',
'dims' => '',
'atts' => [
{
'name' => 'string',
'type' => 'char',
},
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Base time in Epoch',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'seconds since 1970-1-1 0:00:00 0:00',
},
{
'name' => 'ancillary_variables',
'type' => 'char',
'value' => 'time_offset',
},
],
},
{
'name' => 'time_offset',
'type' => 'double',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Time offset from base_time',
},
{
'name' => 'units',
'type' => 'char',
},
{
'name' => 'ancillary_variables',
'type' => 'char',
'value' => 'base_time',
},
],
},
{
'name' => 'time',
'type' => 'double',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Time offset from midnight',
},
{
'name' => 'units',
'type' => 'char',
},
{
'name' => 'calendar',
'type' => 'char',
'value' => 'gregorian',
},
{
'name' => 'standard_name',
'type' => 'char',
'value' => 'time',
},
],
},
{
'name' => 'barnard_airmass',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Airmass, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => '1',
},
{
'name' => 'calculation',
'type' => 'char',
'value' => 'A = 1.0/(cos((90-zeta)*2*M_PI/360.0)+ 0.50572*exp(-1.6364*log(6.07995+zeta)))',
},
{
'name' => 'comment',
'type' => 'char',
'value' => 'zenith angle zeta from Nels Larson\'s solarposition() function',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_airmass',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Airmass, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => '1',
},
{
'name' => 'calculation',
'type' => 'char',
'value' => '1.0 / (cos(90-el) + 0.50572*(6.07995 + el) ** (-1.6364))',
},
{
'name' => 'comment',
'type' => 'char',
'value' => 'el in calculation is elevation angle in degrees, calculation via Joe Michalsky\'s sunae() function',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter1',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter1, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter2',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter2, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter3',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter3, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter4',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter4, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter5',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter5, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter6',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter6, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_lnI_filter7',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter7, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter1',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter1, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter2',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter2, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter3',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter3, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter4',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter4, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter5',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter5, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter6',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter6, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'michalsky_lnI_filter7',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Log(irradiance) for the Direct Narrowband Filter7, Michalsky',
},
{
'name' => 'units',
'type' => 'char',
'value' => 'ln(re W/(m^2 nm))',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
{
'name' => 'missing_value',
'type' => 'float',
'value' => '-9999',
},
],
},
{
'name' => 'barnard_rejected_filter1',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Rejected points for the final fit for the Direct Narrowband Filter1, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => '1',
},
{
'name' => 'actual_wavelength',
'type' => 'char',
},
],
},
{
'name' => 'barnard_rejected_filter2',
'type' => 'float',
'dims' => 'time',
'atts' => [
{
'name' => 'long_name',
'type' => 'char',
'value' => 'Rejected points for the final fit for the Direct Narrowband Filter2, Barnard',
},
{
'name' => 'units',
'type' => 'char',
'value' => '1',
},
{
'name' => 'actual_wavelength',
'type' => 'char',