API reference#
The copan:LPJmL World-Earth Modeling (WEM) framework.
copan:LPJmL Component#
The copan:LPJmL model component offers the integration of the LPJmL model instance with copan:CORE at the model level.
|
An LPJmL-integrating mixin model component to build copan:LPJmL models. |
Entities#
World and Cell entities to integrate the LPJmL simulation space (World) and the smallest spatial unit (Cell) with the copan:CORE entities.
|
An LPJmL-integrating world entity. |
|
An LPJmL-integrating cell entity. |
Data handling#
Data array and meta data formats as well as reading functions to handle LPJmL data.
|
Class for single LPJmL data arrays (input, output, etc.) with meta data and defined dimensions (cell, band, time). |
|
Class for LPJmL data sets. |
|
Read netcdf file and return data as numpy array or xarray.DataArray. |
|
LPJmL meta data class that can be easily accessed, converted to a dictionary or written as a json file. |
|
Read meta data from json file and return as LPJmLMetaData object. |
|
Read header (any version) from LPJmL input/output file |
Configure simulations#
Configure LPJmL simulations to run standalone or integrated with copan:CORE.
|
LPJmL config class for easy access, conversion to a dictionary, or writing as a JSON file. |
|
Class to handle coupled model configurations. |
|
Read LPJmL configuration files and return as LpjmlConfig object or dict. |
Run simulations#
Run LPJmL standalone and integrated copan:LPJmL simulations locally or on HPC clusters.
|
Run LPJmL using a generated (class LpjmlConfig) config file. |
|
Submit LPJmL run to Slurm using lpjsubmit and a generated (class LpjmlConfig) config file. |
|
Check if config file is set correctly. |