MPAS-JEDI
var_utils.py File Reference

Go to the source code of this file.

Namespaces

 var_utils
 

Functions

def var_utils.ensSuffix (member)
 
def var_utils.splitObsVarGrp (WholeVarGrp)
 
def var_utils.splitIntSuffix (var)
 
def var_utils.appendSuffix (var, suf)
 
def var_utils.varAttributes (var)
 
def var_utils.groupSLASHvar (var, group)
 
def var_utils.varATgroup (var, group)
 
def var_utils.base2dbVar (baseVar, varName, fileFormat, outerIter=None)
 
def var_utils.modelVarAttributes (var)
 

Variables

float var_utils.miss_f = -88888.8
 
int var_utils.miss_i = -88888
 
string var_utils.miss_s = 'null'
 
string var_utils.csvSEP = ';'
 
string var_utils.obsVarAlt = 'altitude'
 NC variable names for MPAS-JEDI. More...
 
string var_utils.obsVarACI = 'asymmetric_cloud_impact'
 
string var_utils.obsVarBT = 'brightness_temperature'
 
string var_utils.obsVarBTClear = obsVarBT+'_assuming_clear_sky'
 
string var_utils.obsVarCldFrac = 'cloud_area_fraction'
 
string var_utils.obsVarDT = 'datetime'
 
string var_utils.obsVarGlint = 'glint'
 
string var_utils.obsVarLT = 'LocalTime'
 
string var_utils.obsVarLandFrac = 'land_area_fraction'
 
string var_utils.obsVarLat = 'latitude'
 
string var_utils.obsVarLon = 'longitude'
 
string var_utils.obsVarNormErr = 'dσ\N{SUPERSCRIPT MINUS}\N{SUPERSCRIPT ONE}'
 
string var_utils.obsVarPrs = 'air_pressure'
 
string var_utils.obsVarQC = 'QCflag'
 
string var_utils.obsVarSCI = 'symmetric_cloud_impact'
 
string var_utils.obsVarSenZen = 'sensor_zenith_angle'
 
string var_utils.obsVarSenAzi = 'sensor_azimuth_angle'
 
string var_utils.obsVarSolZen = 'solar_zenith_angle'
 
string var_utils.obsVarSolAzi = 'solar_azimuth_angle'
 
string var_utils.degree = u'\N{DEGREE SIGN}'
 
dictionary var_utils.varDictObs
 
string var_utils.obsRegionBinVar = 'ObsRegion'
 
string var_utils.vNameStr = 'varName'
 
string var_utils.vChanStr = 'varCHAN'
 
string var_utils.hofxGroup = 'hofx'
 
string var_utils.qcGroup = 'EffectiveQC'
 
string var_utils.errorGroup = 'EffectiveError'
 
string var_utils.bgIter = '0'
 
string var_utils.obsGroup = 'ObsValue'
 
string var_utils.metaGroup = 'MetaData'
 
string var_utils.depGroup = 'depIter'
 
string var_utils.diagGroup = 'ObsDiag'
 
string var_utils.geoGroup = 'GeoVaLs'
 
string var_utils.selfObsValue = 'selfObsValue'
 
string var_utils.selfDepValue = 'selfDepValue'
 
string var_utils.selfHofXValue = 'selfHofXValue'
 
string var_utils.selfQCValue = 'selfQCValue'
 
string var_utils.selfErrorValue = 'selfErrorValue'
 
string var_utils.bgHofXValue = 'bgHofXValue'
 
string var_utils.altMeta = 'altMeta'
 
string var_utils.cldfracMeta = 'cldfracMeta'
 
string var_utils.datetimeMeta = 'datetimeMeta'
 
string var_utils.latMeta = 'latMeta'
 
string var_utils.lonMeta = 'lonMeta'
 
string var_utils.prsMeta = 'prsMeta'
 
string var_utils.senzenMeta = 'senzenMeta'
 
string var_utils.senaziMeta = 'senaziMeta'
 
string var_utils.solzenMeta = 'solzenMeta'
 
string var_utils.solaziMeta = 'solaziMeta'
 
string var_utils.landfracGeo = 'landfracGeo'
 
string var_utils.clrskyBTDiag = 'clrskyBTDiag'
 
dictionary var_utils.ObsGroups = {}
 
dictionary var_utils.ObsVars = {}
 
string var_utils.intSufSeparator = '_'
 
string var_utils.mean = 'mean'
 
string var_utils.ensemble = 'ensemble'
 
string var_utils.ensSuffixBase = "&&&mem"
 
string var_utils.ncFileFormat = 'nc'
 
string var_utils.hdfFileFormat = 'hdf'
 
dictionary var_utils.IODAVarCtors
 
dictionary var_utils.BaseVars = {}
 
string var_utils.modVarPrs = 'pressure_p'
 NC variable names for MPAS-Model modVarAlt = 'zgrid' # --> needs to be interpolated to nVertLevels instead of nVertLevelsP1. More...
 
string var_utils.modVarLat = 'latCell'
 
string var_utils.modVarLon = 'lonCell'
 
string var_utils.modVarLev = 'model_level'
 
string var_utils.kgm3 = 'kg/m\N{SUPERSCRIPT THREE}'
 
dictionary var_utils.varDictModel
 
string var_utils.noBinVar = 'all'
 add dummy variable for no binning More...
 
string var_utils.modelRegionBinVar = 'ModelRegion'
 
list var_utils.modVarNames2d = ['t2m','surface_pressure','q2','u10','v10']
 
list var_utils.modVarNames3d = ['theta','temperature','rho','pressure','uReconstructZonal','uReconstructMeridional','qv','w']
 
 var_utils.deg2rad = np.pi / np.float(180.0)
 
 var_utils.rad2deg = np.float(180.0) / np.pi
 
 var_utils.varDictAll = deepcopy(varDictObs)