Changeset 304
- Timestamp:
- 12/10/09 11:53:28
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sodar/branches/raw2proc-dev/billymitchell_config_20090623.py
r299 r304 14 14 'sfas' : { 'id' : 'sodar', 15 15 'description' : 'Wind profile data', 16 'raw_dir' : '/seacoos/data/nccoos/level0/billymitchell/sodar1', 16 'raw_dir' : '/seacoos/data/nccoos/level0/' 17 'billymitchell/sodar1/mnd', 17 18 'raw_file_glob' : '*.mnd', 18 'proc_dir' : '/seacoos/data/nccoos/level1/billymitchell/sodar1', 19 'proc_dir' : '/seacoos/data/nccoos/level1/' 20 'billymitchell/sodar1', 19 21 'process_module' : 'proc_remtech_rawdata_pa0', 20 22 'utc_offset' : 5, # hours offset to utc … … 27 29 }, 28 30 } 29 sodar/branches/raw2proc-dev/proc_scintec_maindata_sfas.py
r303 r304 136 136 '_FillValue' : -99999., 137 137 } 138 138 139 139 var_atts = { 140 140 # coordinate variables … … 198 198 }, 199 199 } 200 200 201 201 # dimension names use tuple so order of initialization is maintained 202 202 dim_inits = ( … … 225 225 ('error', pycdf.NC.INT, ('ntime', 'nz')), 226 226 ) 227 227 228 228 # subset data only to month being processed (see raw2proc.process()) 229 229 i = data['in'] … … 242 242 ('error', data['error'][i]), 243 243 ) 244 244 245 245 return (global_atts, var_atts, dim_inits, var_inits, var_data) 246 246 … … 255 255 'modification_date' : nowDt.strftime("%Y-%m-%d %H:%M:%S"), 256 256 } 257 257 258 258 # data variables 259 259 # update any variable attributes like range, min, max … … 262 262 # subset data only to month being processed (see raw2proc.process()) 263 263 i = data['in'] 264 264 265 265 # data 266 266 var_data = ( … … 273 273 ('error', data['error'][i]), 274 274 ) 275 275 276 276 return (global_atts, var_atts, var_data)