pycoupler.LPJmLMetaData#
- class pycoupler.LPJmLMetaData(meta_dict)[source]#
Bases:
objectLPJmL meta data class that can be easily accessed, converted to a dictionary or written as a json file.
- Parameters:
config_dict (dict) – Takes a dictionary (ideally LPJmL config dictionary) and builds up a nested LpjmLConfig class with corresponding fields
- Variables:
sim_name (str) – Name of the simulation.
source (str) – Source of the data.
history (str) – History of the data.
variable (str) – Variable of the data.
long_name (str) – Long name of the data.
unit (str) – Unit of the data.
nbands (int) – Number of bands.
band_names (list) – Names of the bands.
nyear (int) – Number of years.
firstyear (int) – First year of the data.
lastyear (int) – Last year of the data.
cellsize_lon (float) – Cell size in longitude.
cellsize_lat (float) – Cell size in latitude.
ncell (int) – Number of cells.
firstcell (int) – First cell of the data.
datatype (int) – Data type.
scalar (float) – Scalar value.
nstep (int) – Number of steps.
timestep (int) – Time step.