Noah D. Brenowitz
Noah D. Brenowitz
Is this ready for review @spencerkclark ?
bfa925747329ad7e1387427cc41e4cbb4b9fa30d adds support for characters.
you can call set state/get state multiple times with different names to handle multiple inputs/outputs. you can “return a python value to fortran” by setting it in the state dictionary...
related to #3
I wouldn't be surprised if there is some error related to using lbound!=1. This is the relevant portion of the code: https://github.com/nbren12/call_py_fort/blob/b5f1ac561128c7920cf901c9274407b21ba8e706/src/callpy_mod.f90#L255.
Sorry about that. This regridding functionality doesn’t work. It requires access to some preexisting map files that aren’t in this repo. We are working on a tool with better regridding...
Our regridding library is out: https://github.com/Nvlabs/earth2grid. Would be a nice feature to add this back.
> 1. We delete the _channel_stds.py and instead use the model.scale in the perturbation. Not all models have .scale. It is not part of the TimeLoop interface defined here: https://github.com/NVIDIA/earth2mip/blob/86b11fe4ba2f19641802112e8b0ba6b962123130/earth2mip/time_loop.py#L43-L44...
I wonder if it is possible to get these from https://github.com/198808xc/Pangu-Weather#downloading-trained-models instead of ECWMF (at least when in the US).
Thanks for opening this issue. How about this solution? ``` ds = open_forecast(model_forecast_dir, group="mean.zarr").chunk(chunks) ```