EcohydroLib  1.29
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ecohydrolib.metadata.ClimatePointStation Class Reference
Inheritance diagram for ecohydrolib.metadata.ClimatePointStation:
ecohydrolib.metadata.MetadataEntity ecohydrolib.metadata.MetadataEntity

Public Member Functions

def __init__ (self)
 
def writeToMetadata (self, context)
 Write ClimatePointStation data to climate point section of metadata for a given project directory. More...
 
def readFromMetadata (cls, context, fqId)
 Read ClimatePointStation data from climate point section of metadata for a given project directory. More...
 
def __init__ (self)
 
def writeToMetadata (self, context)
 Write ClimatePointStation data to climate point section of metadata for a given project directory. More...
 
def readFromMetadata (cls, context, fqId)
 Read ClimatePointStation data from climate point section of metadata for a given project directory. More...
 

Public Attributes

 type
 
 id
 
 longitude
 
 latitude
 
 elevation
 
 name
 
 startDate
 
 endDate
 
 variables
 
 data
 
 variablesData
 

Static Public Attributes

string VAR_PRECIP = 'prcp'
 
string VAR_SNOW = 'snow'
 
string VAR_TMIN = 'tmin'
 
string VAR_TMAX = 'tmax'
 
string VAR_RH = 'rh'
 
string VAR_PAR = 'par'
 
string VAR_WIND2M = 'wspd2m'
 

Constructor & Destructor Documentation

def ecohydrolib.metadata.ClimatePointStation.__init__ (   self)
def ecohydrolib.metadata.ClimatePointStation.__init__ (   self)

Member Function Documentation

def ecohydrolib.metadata.ClimatePointStation.readFromMetadata (   cls,
  context,
  fqId 
)

Read ClimatePointStation data from climate point section of metadata for a given project directory.

Parameters
contextContext object containing projectDir, the path of the project whose metadata store is to be read from
fqIdString representing the fully qualified station ID: <type>_<id>
Returns
A new ClimatePointStation instance with data populated from metadata

KeyError if required field is not in metadata

def ecohydrolib.metadata.ClimatePointStation.readFromMetadata (   cls,
  context,
  fqId 
)

Read ClimatePointStation data from climate point section of metadata for a given project directory.

Parameters
contextContext object containing projectDir, the path of the project whose metadata store is to be read from
fqIdString representing the fully qualified station ID: <type>_<id>
Returns
A new ClimatePointStation instance with data populated from metadata

KeyError if required field is not in metadata

def ecohydrolib.metadata.ClimatePointStation.writeToMetadata (   self,
  context 
)

Write ClimatePointStation data to climate point section of metadata for a given project directory.

Parameters
contextContext object containing projectDir, the path of the project whose metadata store is to be written to
def ecohydrolib.metadata.ClimatePointStation.writeToMetadata (   self,
  context 
)

Write ClimatePointStation data to climate point section of metadata for a given project directory.

Parameters
contextContext object containing projectDir, the path of the project whose metadata store is to be written to

Member Data Documentation

ecohydrolib.metadata.ClimatePointStation.data
ecohydrolib.metadata.ClimatePointStation.elevation
ecohydrolib.metadata.ClimatePointStation.endDate
ecohydrolib.metadata.ClimatePointStation.id
ecohydrolib.metadata.ClimatePointStation.latitude
ecohydrolib.metadata.ClimatePointStation.longitude
ecohydrolib.metadata.ClimatePointStation.name
ecohydrolib.metadata.ClimatePointStation.startDate
ecohydrolib.metadata.ClimatePointStation.type
string ecohydrolib.metadata.ClimatePointStation.VAR_PAR = 'par'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_PRECIP = 'prcp'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_RH = 'rh'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_SNOW = 'snow'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_TMAX = 'tmax'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_TMIN = 'tmin'
static
string ecohydrolib.metadata.ClimatePointStation.VAR_WIND2M = 'wspd2m'
static
ecohydrolib.metadata.ClimatePointStation.variables
ecohydrolib.metadata.ClimatePointStation.variablesData

The documentation for this class was generated from the following file: