EcohydroLib
1.29
|
Handles metadata persistance. More...
Static Public Member Functions | |
def | getCommandLine () |
Return string representing original command line, as close as possible, used to run the command. More... | |
def | checkMetadataVersion (projectDir) |
Check if metadata store is compatible with current version of ecohydrolib. More... | |
def | deleteEntryFromSection |
Delete an entry from the given section of the metadata store for a given project. More... | |
def | writeEntryToSection |
Write an entry in the given section to the metadata store for a given project. More... | |
def | writeManifestEntry (context, key, value) |
Write a manifest entry to the metadata store for a given project. More... | |
def | writeStudyAreaEntry (context, key, value) |
Write a study area entry to the metadata store for a given project. More... | |
def | writeGRASSEntry (context, key, value) |
Write a GRASS entry to the metadata store for a given project. More... | |
def | writeClimatePointEntry (context, key, value) |
Write a point climate entry to the metadata store for a given project. More... | |
def | writeClimatePointEntries (context, keys, values) |
Write a point climate entries to the metadata store for a given project. More... | |
def | writeClimateGridEntry (context, key, value) |
Write a grid climate entry to the metadata store for a given project. More... | |
def | writeHydroShareEntry (context, key, value) |
Write a HydroShare entry to the metadata store for a given project. More... | |
def | deleteManifestEntry (context, key) |
Delete an entry from the manifest section of the metadata store for a given project. More... | |
def | deleteStudyAreaEntry (context, key) |
Delete an entry from the study area section of the metadata store for a given project. More... | |
def | deleteGRASSEntry (context, key) |
Delete an entry from the GRASS section of the metadata store for a given project. More... | |
def | deleteClimatePointEntry (context, key) |
Delete an entry from the point climate section of the metadata store for a given project. More... | |
def | deleteClimateGridEntry (context, key) |
Delete an entry from the grid climate section of the metadata store for a given project. More... | |
def | deleteHydroShareEntry (context, key) |
Delete an entry from the HydroShare section of the metadata store for a given project. More... | |
def | writeClimateGridEntries (context, keys, values) |
Write grid climate entries to the metadata store for a given project. More... | |
def | writeProvenanceEntry (context, key, value) |
Write a provenance entry to the metadata store for a given project. More... | |
def | writeModelRunEntries (context, keys, values) |
Write model run entries to the metadata store for a given project. More... | |
def | writeProvenanceEntries (context, keys, values) |
Write provenance entries to the metadata store for a given project. More... | |
def | readManifestEntries (context) |
Read all manifest entries from the metadata store for a given project. More... | |
def | readStudyAreaEntries (context) |
Read all study area entries from the metadata store for a given project. More... | |
def | readGRASSEntries (context) |
Read all GRASS entries from the metadata store for a given project. More... | |
def | readModelRunEntries (context) |
Read all point model run entries from the metadata store for a given project. More... | |
def | readModelRuns (context) |
Read all model runs from metadata and store in ModelRun instances. More... | |
def | readClimatePointEntries (context) |
Read all point climate entries from the metadata store for a given project. More... | |
def | readClimatePointStations (context) |
Read all climate point stations from metadata and store in ClimatePointStation instances. More... | |
def | readClimateGridEntries (context) |
Read all grid climate entries from the metadata store for a given project. More... | |
def | readHydroShareEntries (context) |
Read all HydroShare entries from the metadata store for a given project. More... | |
def | readProvenanceEntries (context) |
Read all provenance entries from the metadata store for a given project. More... | |
def | readAssetProvenanceObjects (context) |
Read all asset provenance objects from metadata and store in AssetProvenance instances. More... | |
def | getProcessingHistoryList (context) |
Get processing history stored in the project metadata. More... | |
def | appendProcessingHistoryItem (context, item) |
Write an item to the processing history stored in the project metadata. More... | |
def | getCommandLine () |
Return string representing original command line, as close as possible, used to run the command. More... | |
def | checkMetadataVersion (projectDir) |
Check if metadata store is compatible with current version of ecohydrolib. More... | |
def | deleteEntryFromSection |
Delete an entry from the given section of the metadata store for a given project. More... | |
def | writeEntryToSection |
Write an entry in the given section to the metadata store for a given project. More... | |
def | writeManifestEntry (context, key, value) |
Write a manifest entry to the metadata store for a given project. More... | |
def | writeStudyAreaEntry (context, key, value) |
Write a study area entry to the metadata store for a given project. More... | |
def | writeGRASSEntry (context, key, value) |
Write a GRASS entry to the metadata store for a given project. More... | |
def | writeClimatePointEntry (context, key, value) |
Write a point climate entry to the metadata store for a given project. More... | |
def | writeClimatePointEntries (context, keys, values) |
Write a point climate entries to the metadata store for a given project. More... | |
def | writeClimateGridEntry (context, key, value) |
Write a grid climate entry to the metadata store for a given project. More... | |
def | writeHydroShareEntry (context, key, value) |
Write a HydroShare entry to the metadata store for a given project. More... | |
def | deleteManifestEntry (context, key) |
Delete an entry from the manifest section of the metadata store for a given project. More... | |
def | deleteStudyAreaEntry (context, key) |
Delete an entry from the study area section of the metadata store for a given project. More... | |
def | deleteGRASSEntry (context, key) |
Delete an entry from the GRASS section of the metadata store for a given project. More... | |
def | deleteClimatePointEntry (context, key) |
Delete an entry from the point climate section of the metadata store for a given project. More... | |
def | deleteClimateGridEntry (context, key) |
Delete an entry from the grid climate section of the metadata store for a given project. More... | |
def | deleteHydroShareEntry (context, key) |
Delete an entry from the HydroShare section of the metadata store for a given project. More... | |
def | writeClimateGridEntries (context, keys, values) |
Write grid climate entries to the metadata store for a given project. More... | |
def | writeProvenanceEntry (context, key, value) |
Write a provenance entry to the metadata store for a given project. More... | |
def | writeModelRunEntries (context, keys, values) |
Write model run entries to the metadata store for a given project. More... | |
def | writeProvenanceEntries (context, keys, values) |
Write provenance entries to the metadata store for a given project. More... | |
def | readManifestEntries (context) |
Read all manifest entries from the metadata store for a given project. More... | |
def | readStudyAreaEntries (context) |
Read all study area entries from the metadata store for a given project. More... | |
def | readGRASSEntries (context) |
Read all GRASS entries from the metadata store for a given project. More... | |
def | readModelRunEntries (context) |
Read all point model run entries from the metadata store for a given project. More... | |
def | readModelRuns (context) |
Read all model runs from metadata and store in ModelRun instances. More... | |
def | readClimatePointEntries (context) |
Read all point climate entries from the metadata store for a given project. More... | |
def | readClimatePointStations (context) |
Read all climate point stations from metadata and store in ClimatePointStation instances. More... | |
def | readClimateGridEntries (context) |
Read all grid climate entries from the metadata store for a given project. More... | |
def | readHydroShareEntries (context) |
Read all HydroShare entries from the metadata store for a given project. More... | |
def | readProvenanceEntries (context) |
Read all provenance entries from the metadata store for a given project. More... | |
def | readAssetProvenanceObjects (context) |
Read all asset provenance objects from metadata and store in AssetProvenance instances. More... | |
def | getProcessingHistoryList (context) |
Get processing history stored in the project metadata. More... | |
def | appendProcessingHistoryItem (context, item) |
Write an item to the processing history stored in the project metadata. More... | |
Static Public Attributes | |
string | VALUE_DELIM = ',' |
string | KEY_SEP = '_' |
string | COMPOUND_KEY_SEP = '/' |
string | METADATA_FILENAME = 'metadata.txt' |
string | METADATA_LOCKFILE = 'metadata.txt.lock' |
string | VERSION_KEY = 'ecohydrolib_version' |
string | ECOHYDROLIB_SECION = 'ecohydrolib' |
string | MANIFEST_SECTION = 'manifest' |
string | PROVENANCE_SECTION = 'provenance' |
string | HISTORY_SECTION = 'history' |
string | STUDY_AREA_SECTION = 'study_area' |
string | GRASS_SECTION = 'grass' |
string | CLIMATE_POINT_SECTION = 'climate_point' |
string | CLIMATE_GRID_SECTION = 'climate_grid' |
string | MODEL_RUN_SECTION = 'model_run' |
string | HYDROSHARE_SECTION = 'hydroshare' |
list | SECTIONS |
string | HISTORY_PROTO = "processing%sstep%s" |
string | RASTER_TYPE_LC = 'landcover' |
string | RASTER_TYPE_ROOF = 'roof_connectivity' |
string | RASTER_TYPE_SOIL = 'soil' |
string | RASTER_TYPE_LAI = 'lai' |
string | RASTER_TYPE_PATCH = 'patch' |
string | RASTER_TYPE_ZONE = 'zone' |
string | RASTER_TYPE_ISOHYET = 'isohyet' |
string | RASTER_TYPE_LEAFC = 'leafc' |
string | RASTER_TYPE_ROOTDEPTH = 'rootdepth' |
string | RASTER_TYPE_ROAD = 'roads' |
string | RASTER_TYPE_STREAM_BURNED_DEM = 'stream_burned_dem' |
list | RASTER_TYPES |
list | MODEL_TYPES = [] |
Handles metadata persistance.
|
static |
Write an item to the processing history stored in the project metadata.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
item | String representing item to be written to processing history |
|
static |
Write an item to the processing history stored in the project metadata.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
item | String representing item to be written to processing history |
|
static |
Check if metadata store is compatible with current version of ecohydrolib.
Accepts project directory as this method is used in the constructor to the Context class.
projectDir,the | path of the project whose metadata store is to be written to MetadataVersionError if a version already exists in the metadata store and is different than GenericMetadata._ecohydrolibVersion |
|
static |
Check if metadata store is compatible with current version of ecohydrolib.
Accepts project directory as this method is used in the constructor to the Context class.
projectDir,the | path of the project whose metadata store is to be written to MetadataVersionError if a version already exists in the metadata store and is different than GenericMetadata._ecohydrolibVersion |
|
static |
Delete an entry from the grid climate section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the grid climate section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the point climate section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the point climate section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the given section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
section | The section the key is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
callback | A function that should be called before deleting the entry. The function takes as input the config object. |
IOError(errno.EACCES) if the metadata store for the project is not writable Exception if section is not a valid GenericMetadata section MetadataVersionError if existing version information in metadata store does not match version of currently running EcohydroLib.
|
static |
Delete an entry from the given section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
section | The section the key is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
callback | A function that should be called before deleting the entry. The function takes as input the config object. |
IOError(errno.EACCES) if the metadata store for the project is not writable Exception if section is not a valid GenericMetadata section MetadataVersionError if existing version information in metadata store does not match version of currently running EcohydroLib.
|
static |
Delete an entry from the GRASS section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the GRASS section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the HydroShare section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the HydroShare section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the manifest section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the manifest section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the study area section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Delete an entry from the study area section of the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be deleted from |
key | The key to be deleted from the given section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Return string representing original command line, as close as possible, used to run the command.
Will convert all paths in the command line to absolute path, if a non-path element has spaces in it, they will be quoted.
|
static |
Return string representing original command line, as close as possible, used to run the command.
Will convert all paths in the command line to absolute path, if a non-path element has spaces in it, they will be quoted.
|
static |
Get processing history stored in the project metadata.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
|
static |
Get processing history stored in the project metadata.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
|
static |
Read all asset provenance objects from metadata and store in AssetProvenance instances.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all asset provenance objects from metadata and store in AssetProvenance instances.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all grid climate entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all grid climate entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all point climate entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all point climate entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all climate point stations from metadata and store in ClimatePointStation instances.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all climate point stations from metadata and store in ClimatePointStation instances.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all GRASS entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all GRASS entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all HydroShare entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all HydroShare entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all manifest entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all manifest entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all point model run entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all point model run entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
|
static |
|
static |
Read all provenance entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all provenance entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all study area entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Read all study area entries from the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
|
static |
Write grid climate entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
key | List of keys to be written to the grid climate section of the project metadata |
value | List of values to be written for keys stored in the grid climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write grid climate entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
key | List of keys to be written to the grid climate section of the project metadata |
value | List of values to be written for keys stored in the grid climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write a grid climate entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
key | The key to be written to the grid climate section of the project metadata |
value | The value to be written for key stored in the grid climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a grid climate entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be read from |
key | The key to be written to the grid climate section of the project metadata |
value | The value to be written for key stored in the grid climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a point climate entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | List of keys to be written to the point climate section of the project metadata |
values | List of values to be written for keys stored in the point climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write a point climate entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | List of keys to be written to the point climate section of the project metadata |
values | List of values to be written for keys stored in the point climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write a point climate entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the point climate section of the project metadata |
value | The value to be written for key stored in the point climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a point climate entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the point climate section of the project metadata |
value | The value to be written for key stored in the point climate section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write an entry in the given section to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
section | The section the key is to be written to |
key | The key to be written to the given section of the project metadata |
value | The value to be written for key stored in the given section of the project metadata |
callback | A function that should be called before writing the entry. The function takes as input the config object. |
IOError(errno.EACCES) if the metadata store for the project is not writable Exception if section is not a valid GenericMetadata section MetadataVersionError if existing version information in metadata store does not match version of currently running EcohydroLib.
|
static |
Write an entry in the given section to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
section | The section the key is to be written to |
key | The key to be written to the given section of the project metadata |
value | The value to be written for key stored in the given section of the project metadata |
callback | A function that should be called before writing the entry. The function takes as input the config object. |
IOError(errno.EACCES) if the metadata store for the project is not writable Exception if section is not a valid GenericMetadata section MetadataVersionError if existing version information in metadata store does not match version of currently running EcohydroLib.
|
static |
Write a GRASS entry to the metadata store for a given project.
Typically used to record the location within a project directory of a GRASS location and mapset, as well as to note the existence of particular datasets stored in the mapset
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the GRASS section of the project metadata |
value | The value to be written for key stored in the GRASS section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a GRASS entry to the metadata store for a given project.
Typically used to record the location within a project directory of a GRASS location and mapset, as well as to note the existence of particular datasets stored in the mapset
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the GRASS section of the project metadata |
value | The value to be written for key stored in the GRASS section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a HydroShare entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the study area section of the project metadata |
value | The value to be written for key stored in the HydroShare section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a HydroShare entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the study area section of the project metadata |
value | The value to be written for key stored in the HydroShare section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a manifest entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the manifest section of the project metadata |
value | The value to be written for key stored in the manifest section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a manifest entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the manifest section of the project metadata |
value | The value to be written for key stored in the manifest section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write model run entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | The keys to be written to the model run section of the project metadata |
values | The values to be written for keys stored in the model run section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write model run entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | The keys to be written to the model run section of the project metadata |
values | The values to be written for keys stored in the model run section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write provenance entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | The keys to be written to the provenance section of the project metadata |
values | The values to be written for keys stored in the provenance section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write provenance entries to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
keys | The keys to be written to the provenance section of the project metadata |
values | The values to be written for keys stored in the provenance section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
Exception | if len(keys) != len(values) |
|
static |
Write a provenance entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the provenance section of the project metadata |
value | The value to be written for key stored in the provenance section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a provenance entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the provenance section of the project metadata |
value | The value to be written for key stored in the provenance section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a study area entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the study area section of the project metadata |
value | The value to be written for key stored in the study area section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
Write a study area entry to the metadata store for a given project.
context | Context object containing projectDir, the path of the project whose metadata store is to be written to |
key | The key to be written to the study area section of the project metadata |
value | The value to be written for key stored in the study area section of the project metadata |
IOError(errno.EACCES) | if the metadata store for the project is not writable |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |