projects/maven/l2gen/
mvn_sta_cmn_d6_l2gen.pro
Routines
top source mvn_sta_cmn_d6_l2gen
mvn_sta_cmn_d6_l2gen, cmn_dat, otp_struct=otp_struct, directory=directory, no_compression=no_compression, _extra=_extra
NAME: mvn_sta_cmn_d6_l2gen.pro PURPOSE: turn a MAVEN STA RATES common block into a L2 CDF. CALLING SEQUENCE: mvn_sta_cmn_d6_l2gen, cmn_dat INPUT: cmn_dat = a structure with the data: PROJECT_NAME STRING 'MAVEN' SPACECRAFT STRING '0' DATA_NAME STRING 'd6 events' APID STRING 'd6' VALID INT Array[4926] QUALITY_FLAG INT Array[4926] TIME DOUBLE Array[4926] TDC_1 INT Array[4926] TDC_2 INT Array[4926] TDC_3 INT Array[4926] TDC_4 INT Array[4926] EVENT_CODE INT Array[4926] CYCLESTEP INT Array[4926] ENERGY FLOAT Array[4926] TDC1_CONV FLOAT 0.171116 TDC2_CONV FLOAT 0.171116 TDC3_CONV FLOAT 0.0569395 TDC4_CONV FLOAT 0.0557491 TDC1_OFFSET FLOAT 16.0000 TDC2_OFFSET FLOAT 22.0000 TDC3_OFFSET FLOAT 3.00000 TDC4_OFFSET FLOAT -0.500000 AN_BIN_TDC3 INT Array[16, 2] AN_BIN_TDC4 INT Array[16, 2] MS_BIAS_OFFSET INT Array[16] EVCONVLUT INT 255 TIMERST INT 10 ? don't know yet, but this is written from the SIS assuming that everything is in the structure except for n_elements All of this has to go into the CDF, also Epoch, tt200, MET time variables; some of the names are changed to titles given in the SIS Data is changed from double to float prior to output KEYWORDS: otp_struct = this is the structure that is passed into cdf_save_vars to create the file directory = Set this keyword to direct the output into this directory; the default is to populate the MAVEN STA database. /disks/data/maven/pfp/sta/l2 no_compression = if set, do not compress the CDF file HISTORY: 13-jun-2014, jmm, hacked from mvn_sta_cmn_l2gen.pro $LastChangedBy: jimm $ $LastChangedDate: 2014-11-10 14:01:32 -0800 (Mon, 10 Nov 2014) $ $LastChangedRevision: 16159 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/l2gen/mvn_sta_cmn_d6_l2gen.pro $
Parameters
- cmn_dat
Keywords
- otp_struct
- directory
- no_compression
- _extra
File attributes
Modification date: | Fri Nov 21 06:43:13 2014 |
Lines: | 298 |