|
| def | __init__ |
| |
| def | writeToMetadata (self, context) |
| | Write ModelRun data to model run section of metadata for a given project directory. More...
|
| |
| def | readFromMetadata (cls, context, fqId) |
| | Read ModelRun data from model run section of metadata for a given project directory. More...
|
| |
| def | __init__ |
| |
| def | writeToMetadata (self, context) |
| | Write ModelRun data to model run section of metadata for a given project directory. More...
|
| |
| def | readFromMetadata (cls, context, fqId) |
| | Read ModelRun data from model run section of metadata for a given project directory. More...
|
| |
| def | writeToMetadata (self, context) |
| | Write structured entity to metadata store for a given project directory. More...
|
| |
| def | readFromMetadata (cls, context, fqId) |
| | Read structured entity from metadata store for a given project directory. More...
|
| |
| def | writeToMetadata (self, context) |
| | Write structured entity to metadata store for a given project directory. More...
|
| |
| def | readFromMetadata (cls, context, fqId) |
| | Read structured entity from metadata store for a given project directory. More...
|
| |
| def ecohydrolib.metadata.ModelRun.__init__ |
( |
|
self, |
|
|
|
modelType = None |
|
) |
| |
| def ecohydrolib.metadata.ModelRun.__init__ |
( |
|
self, |
|
|
|
modelType = None |
|
) |
| |
| def ecohydrolib.metadata.ModelRun.readFromMetadata |
( |
|
cls, |
|
|
|
context, |
|
|
|
fqId |
|
) |
| |
Read ModelRun data from model run section of metadata for a given project directory.
- Parameters
-
| context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
| fqId | String representing the fully qualified ID of the model run: <model_type>_<run_number> |
- Returns
- A new ModelRun instance with data populated from metadata
KeyError if required field is not in metadata
| def ecohydrolib.metadata.ModelRun.readFromMetadata |
( |
|
cls, |
|
|
|
context, |
|
|
|
fqId |
|
) |
| |
Read ModelRun data from model run section of metadata for a given project directory.
- Parameters
-
| context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
| fqId | String representing the fully qualified ID of the model run: <model_type>_<run_number> |
- Returns
- A new ModelRun instance with data populated from metadata
KeyError if required field is not in metadata
| def ecohydrolib.metadata.ModelRun.writeToMetadata |
( |
|
self, |
|
|
|
context |
|
) |
| |
Write ModelRun data to model run section of metadata for a given project directory.
- Note
- Will set run number to value to be stored in metadata
- Parameters
-
| context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
- Exceptions
-
| Exception | if model type has not known |
| Exception | if section is not a valid GenericMetadata section |
| def ecohydrolib.metadata.ModelRun.writeToMetadata |
( |
|
self, |
|
|
|
context |
|
) |
| |
Write ModelRun data to model run section of metadata for a given project directory.
- Note
- Will set run number to value to be stored in metadata
- Parameters
-
| context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
- Exceptions
-
| Exception | if model type has not known |
| Exception | if section is not a valid GenericMetadata section |
| ecohydrolib.metadata.ModelRun.command |
| ecohydrolib.metadata.ModelRun.date |
| ecohydrolib.metadata.ModelRun.description |
| ecohydrolib.metadata.ModelRun.modelType |
| ecohydrolib.metadata.ModelRun.output |
| ecohydrolib.metadata.ModelRun.runNumber |
The documentation for this class was generated from the following file: