projects/maven/l2gen/
mvn_sta_cmn_l2gen.pro
Routines
Routines from mvn_sta_cmn_l2gen.pro
result = temp_mvn_sta_eflux(cmn_dat)
mvn_sta_cmn_l2gen, cmn_dat, otp_struct=otp_struct, directory=directory, no_compression=no_compression, _extra=_extra
NAME: mvn_sta_cmn_l2gen.proPURPOSE: turn a MAVEN STA common block into a L2 CDF.
Routine details
top source mvn_sta_cmn_l2gen
mvn_sta_cmn_l2gen, cmn_dat, otp_struct=otp_struct, directory=directory, no_compression=no_compression, _extra=_extra
NAME: mvn_sta_cmn_l2gen.pro PURPOSE: turn a MAVEN STA common block into a L2 CDF. CALLING SEQUENCE: mvn_sta_cmn_l2gen, cmn_dat INPUT: cmn_dat = a structrue with the data: tags are: PROJECT_NAME STRING 'MAVEN' SPACECRAFT STRING '0' DATA_NAME STRING 'C6 Energy-Mass' APID STRING 'C6' UNITS_NAME STRING 'counts' UNITS_PROCEDURE STRING 'mvn_sta_convert_units' VALID INT Array[21600] QUALITY_FLAG INT Array[21600] TIME DOUBLE Array[21600] END_TIME DOUBLE Array[21600] INTEG_T DOUBLE Array[21600] MD INT Array[21600] MODE INT Array[21600] RATE INT Array[21600] SWP_IND INT Array[21600] MLUT_IND INT Array[21600] EFF_IND INT Array[21600] ATT_IND INT Array[21600] NENERGY INT 32 ENERGY FLOAT Array[9, 32, 64] DENERGY FLOAT Array[9, 32, 64] NBINS INT 1 BINS INT Array[1] NDEF INT 1 NANODE INT 1 THETA FLOAT 0.00000 DTHETA FLOAT 90.0000 PHI FLOAT 0.00000 DPHI FLOAT 360.000 DOMEGA FLOAT 8.88577 GF FLOAT Array[9, 32, 4] EFF FLOAT Array[128, 32, 64] GEOM_FACTOR FLOAT 0.000195673 NMASS INT 64 MASS FLOAT 0.0104389 MASS_ARR FLOAT Array[9, 32, 64] TOF_ARR FLOAT Array[5, 32, 64] TWT_ARR FLOAT Array[5, 32, 64] CHARGE FLOAT 1.00000 SC_POT FLOAT Array[21600] MAGF FLOAT Array[21600, 3] QUAT_SC FLOAT Array[21600, 4] QUAT_MSO FLOAT Array[21600, 4] BINS_SC LONG Array[21600] POS_SC_MSO FLOAT Array[21600, 3] BKG FLOAT Array[21600, 32, 64] DEAD FLOAT Array[21600, 32, 64] DATA DOUBLE Array[21600, 32, 64] 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 creat 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: 28-apr-2014, jmm, jimm@ssl.berkeley.edu jun-2014, jmm added compression - no_compression 10-jun-2014, jmm, added delete keyword,changed compression scheme 11-jun-2014, changed filenaming no more R value 18-jun-2014, added changes suggested by Bob McGuire, fixed epoch and tt200 attribute types 7-7-2014, jmm, deleted no_cdfconvert option, added md5sum 22-jul-2014, jmm, added revisoining 2-oct-2014, jmm, ISTP compliance 1-nov-2014, jmm, PDS compliance 6-nov-2014, jmm, Corrects clock drift $LastChangedBy: jimm $ $LastChangedDate: 2014-12-02 11:00:04 -0800 (Tue, 02 Dec 2014) $ $LastChangedRevision: 16335 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/l2gen/mvn_sta_cmn_l2gen.pro $
Parameters
- cmn_dat
Keywords
- otp_struct
- directory
- no_compression
- _extra
File attributes
Modification date: | Wed Dec 3 06:12:30 2014 |
Lines: | 556 |