xarray-simlab
xarray-simlab copied to clipboard
Xarray extension and framework for computer model simulations
A preliminary idea would be to provide a helper function that returns a callable that can be easily used with [scipy.optimize](https://docs.scipy.org/doc/scipy/reference/optimize.html) functions or with [scikit-optimize](https://scikit-optimize.github.io/). The returned callable would basically...
Besides Python API, a command line interface would be nice to have for things like: - inspecting models -> `xsimlab inspect` - automatically generating input files for a given model...
NOTE: these are preliminary notes. For some cases like time-independent simulations or runge-kutta time stepping schemes, the runtime workflow that is currently defined in the framework, i.e., ``initialize+master_clock*(run_step+finalize_step)+finalize`` may not...
Hello @benbovy. When a long run is performed, use of the progress bar often results in the following warning statement being sent to output repeatedly: IOPub message rate exceeded. The...
It may be useful for users to be able to add some metadata to a `xsimlab.Model` object, e.g., a description, comments, package versions... -> `xsimlab.Model({}, metadata={})` Using the xarray interface,...
`step_end` values passed as runtime context seem wrong. https://github.com/xarray-contrib/xarray-simlab/blob/33a4c83b3046153ff4a63c44925d67b54d42beb0/xsimlab/drivers.py#L175 the clock coordinate should rather be shifted by `-1`.
xref: https://github.com/fastscape-lem/fastscape/issues/26
``` =============================================================================================== FAILURES ================================================================================================ ______________________________________________________________________________ TestXarraySimulationDriver.test_multi_index ______________________________________________________________________________ self = in_dataset = Dimensions: (clock: 5, out: 3, dummy: 2) Coordinates: * clock (cl...dummy) int64 0 0 b (dummy) int64 1 2...