| 
    MPAS-JEDI
    
   | 
 
Public Member Functions | |
| def | __init__ (self, conf) | 
| def | read (self, np=1) | 
| def | initAttributes (self) | 
| def | appendDF (self, newDiagDF) | 
| def | loc (self, locDict, var=None) | 
| def | __init__ (self, conf) | 
| def | read (self, np=1) | 
| def | initAttributes (self) | 
| def | appendDF (self, newDiagDF) | 
| def | loc (self, locDict, var=None) | 
Public Attributes | |
| DiagSpaceGrp | |
| Convert dsDict to DataFrame.  More... | |
| dfw | |
| varNames | |
| diagnostics (currently unused) self.containedDiagNames = self.dfw.levels('diagName')  More... | |
| chlist | |
| varUnitss | |
| extract units for each varName from varUnits DF column  More... | |
| allBinVals | |
| bin values --> combination of numerical and string, all stored as strings  More... | |
| binNumVals | |
| binNumVals2DasStr | |
Static Public Attributes | |
| available | |
| Examples of directory structures from which this container can extract statistics.  More... | |
| DiagSpaceName = File[len(FILEPREFIX0):-len('.nc')] | |
| logger | |
| firstCycleDTime = conf['firstCycleDTime'] | |
| lastCycleDTime = conf['lastCycleDTime'] | |
| cyTimeInc = conf['cyTimeInc'] | |
| fcTDeltaFirst = conf['fcTDeltaFirst'] | |
| fcTDeltaLast = conf['fcTDeltaLast'] | |
| fcTimeInc = conf['fcTimeInc'] | |
| expDirectory | |
| expLongNames | |
| expNames | |
| cntrlExpIndex | |
| cntrlExpName | |
| noncntrlExpNames | |
| DAMethods | |
| diagnosticConfigs | |
| statsFileSubDirs | |
| fcDirFormats = conf['fcDirFormats'] | |
| fcTDeltas | |
| fcTDeltas_dir | |
| fcTDeltas_totmin | |
| dumTimeDelta = fcTDeltaFirst | |
| hasFCLenDir | |
| cyDTimes_dir | |
| cyDTimes | |
| dumDateTime = firstCycleDTime | |
| string | cy_date_str = "{:04d}".format(dumDateTime.year) \ | 
| list | expsDiagSpaceNames = [] | 
| dateDir = self.cyDTimes_dir[0] | |
| string | dateDir = dateDir+'/'+self.fcTDeltas_dir[expName][0] | 
| string | FILEPREFIX0 = self.expDirectory+'/'+expLongName +'/'+dateDir+'/' \ | 
| list | DiagSpaceNames = [] | 
| availDiagSpaceNames | |
A container class for a pandas DataFrame of statistics from multiple cycle and/or forecast times.
Definition at line 82 of file StatisticsDatabase.py.
| def StatisticsDatabase.StatsDB.__init__ | ( | self, | |
| conf | |||
| ) | 
| def StatisticsDatabase.StatsDB.__init__ | ( | self, | |
| conf | |||
| ) | 
| def StatisticsDatabase.StatsDB.appendDF | ( | self, | |
| newDiagDF | |||
| ) | 
Definition at line 344 of file StatisticsDatabase.py.


| def StatisticsDatabase.StatsDB.appendDF | ( | self, | |
| newDiagDF | |||
| ) | 
| def StatisticsDatabase.StatsDB.initAttributes | ( | self | ) | 
| def StatisticsDatabase.StatsDB.initAttributes | ( | self | ) | 
Definition at line 288 of file StatisticsDatabase.py.


| def StatisticsDatabase.StatsDB.loc | ( | self, | |
| locDict, | |||
var = None  | 
        |||
| ) | 
| def StatisticsDatabase.StatsDB.loc | ( | self, | |
| locDict, | |||
var = None  | 
        |||
| ) | 
Definition at line 348 of file StatisticsDatabase.py.


| def StatisticsDatabase.StatsDB.read | ( | self, | |
np = 1  | 
        |||
| ) | 
| def StatisticsDatabase.StatsDB.read | ( | self, | |
np = 1  | 
        |||
| ) | 
| StatisticsDatabase.StatsDB.allBinVals | 
bin values --> combination of numerical and string, all stored as strings
Definition at line 329 of file StatisticsDatabase.py.
      
  | 
  static | 
Examples of directory structures from which this container can extract statistics.
The stats*.nc files are produced by writediagstats_obsspace.py during cycling experiments. ASCII statistics file examples for cycling runs (on cheyenne): (hasFCLenDir == True or self.fcTDeltas[-1] > self.fcTDeltas[0]): statFile = '/glade/scratch/user/pandac/FC/3dvar/2018041500/{fcDirFormats}/diagnostic_stats/stats_omb_amsua_n19.nc' | | | | | | | | | ^ ^ ^ ^ ^ ^ ^ ^ expDirectory expLongName cyDTime fcTDelta statsFileSubDir statsFilePrefix DAMethod DiagSpaceName
Definition at line 102 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 194 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.binNumVals | 
Definition at line 332 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.binNumVals2DasStr | 
Definition at line 333 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.chlist | 
Definition at line 311 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 124 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 125 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 159 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 156 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 155 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 111 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 130 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 178 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 180 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.dfw | 
Definition at line 281 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 132 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.DiagSpaceGrp | 
      
  | 
  static | 
Definition at line 105 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 186 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 157 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 141 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 121 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 122 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 123 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 175 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 136 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 115 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 116 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 138 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 139 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 140 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 117 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 182 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 109 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 152 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 110 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 106 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 126 of file StatisticsDatabase.py.
      
  | 
  static | 
Definition at line 134 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.varNames | 
diagnostics (currently unused) self.containedDiagNames = self.dfw.levels('diagName')
variables get varNames and sort alphabetically
Definition at line 310 of file StatisticsDatabase.py.
| StatisticsDatabase.StatsDB.varUnitss | 
extract units for each varName from varUnits DF column
Definition at line 314 of file StatisticsDatabase.py.