RHESSysWorkflows  1.33
Namespaces | Variables
PatchToCumulativeValues.py File Reference

Namespaces

 PatchToCumulativeValues
 Tool for printing cummulative values of patch-scale RHESSys output variables.
 

Variables

tuple PatchToCumulativeValues.parser = argparse.ArgumentParser(description='Generate cummulative map of patch-scale RHESSys output variables')
 
string PatchToCumulativeValues.help = 'The configuration file.'
 
tuple PatchToCumulativeValues.args = parser.parse_args()
 
 PatchToCumulativeValues.startDate = None
 
 PatchToCumulativeValues.endDate = None
 
list PatchToCumulativeValues.patchDailyFilepaths = []
 
list PatchToCumulativeValues.variables = ['patchID']
 
tuple PatchToCumulativeValues.scenario = os.path.basename( os.path.dirname(patchDailyFilepath) )
 
tuple PatchToCumulativeValues.f = open(patchDailyFilepath)
 
tuple PatchToCumulativeValues.data = RHESSysOutput.readColumnsFromPatchDailyFile(f, variables)
 
dictionary PatchToCumulativeValues.variablesDict = {}
 
 PatchToCumulativeValues.patchIDs = None
 
 PatchToCumulativeValues.variable = None
 
list PatchToCumulativeValues.dataForDate = data[key]
 
dictionary PatchToCumulativeValues.vars = {}
 
list PatchToCumulativeValues.dataForPatch = variablesDict[p]
 
tuple PatchToCumulativeValues.patchIdx = np.where( patchIDs == p )
 
list PatchToCumulativeValues.tmp_data = dataForPatch[var]
 
tuple PatchToCumulativeValues.p_tmp = np.array( dataForPatch[var] )