rubem.configuration.model_configuration_file_v1
Configuration file format 1.0 (issues #179, #181, #182, #184; discussion #126).
The format is strict: unknown keys are rejected everywhere, and version
must be "1.0". It is not yet read by the loader nor exposed on the
command line; the model, its conversions from and to the legacy format and
the resolution of the raster series are prepared here.
Raster series may be given in three ways: a list of dated entries
(file_path, from, to), a monthly set of twelve rasters optionally
replaced by one raster from a given year on (monthly, yearly_from,
yearly_file_path), or a directory with a common file prefix (dir_path,
files_prefix). The dates from/to accept the JSON-pointer references
{"$ref": "#/simulation_period/start"} and {"$ref": "#/simulation_period/finish"}.
Classes
How the time series values are aggregated in space. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
A JSON-pointer reference to a simulation period bound. |
|
One raster valid from |
|
One raster per step, named |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Free-form description of the simulation (issue #182). |
|
The configuration file, format 1.0. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Twelve rasters repeated every year, optionally replaced from |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
ISO dates; |
|
Time series selection. |