xarray-contrib / xarray-simlab

Xarray extension and framework for computer model simulations
http://xarray-simlab.readthedocs.io
BSD 3-Clause "New" or "Revised" License
73 stars 9 forks source link

RuntimeContext: wrong `step_end` values #194

Open benbovy opened 8 months ago

benbovy commented 8 months ago

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.