This page provides an auto-generated summary of xarray-simlab's API. For more details and examples, refer to the relevant sections in the main part of the documentation.
.. currentmodule:: xsimlab
.. autosummary:: :toctree: _api_generated/ create_setup
This accessor extends :py:class:`xarray.Dataset` with all the methods and properties listed below. Proper use of this accessor should be like:
>>> import xarray as xr # first import xarray
>>> import xsimlab # import xsimlab (the 'xsimlab' accessor is registered)
>>> ds = xr.Dataset() # create or load an xarray Dataset
>>> ds.xsimlab.<meth_or_prop> # access to the methods and properties listed below
.. currentmodule:: xarray
Properties
.. autosummary:: :toctree: _api_generated/ :template: autosummary/accessor_attribute.rst Dataset.xsimlab.clock_coords Dataset.xsimlab.master_clock_dim Dataset.xsimlab.output_vars
Methods
.. autosummary:: :toctree: _api_generated/ :template: autosummary/accessor_method.rst Dataset.xsimlab.update_clocks Dataset.xsimlab.update_vars Dataset.xsimlab.filter_vars Dataset.xsimlab.run
.. currentmodule:: xsimlab
.. autosummary:: :toctree: _api_generated/ Model
.. autosummary:: :toctree: _api_generated/ Model.clone Model.update_processes Model.drop_processes
Model
implements an immutable mapping interface where keys are
process names and values are objects of Process
subclasses
(attribute-style access is also supported).
.. autosummary:: :toctree: _api_generated/ Model.all_vars Model.all_vars_dict Model.input_vars Model.input_vars_dict Model.dependent_processes Model.visualize
In most cases, the methods listed below should not be used directly.
For running simulations, it is preferable to use the
Dataset.xsimlab
accessor instead. These methods might be useful
though, e.g., for debugging or for using Model
objects with other
interfaces.
.. autosummary:: :toctree: _api_generated/ Model.initialize Model.run_step Model.finalize_step Model.finalize
.. autosummary:: :toctree: _api_generated/ process
.. autosummary:: :toctree: _api_generated/ process_info variable_info filter_variables
.. autosummary:: :toctree: _api_generated/ variable foreign group on_demand