earth2mip icon indicating copy to clipboard operation
earth2mip copied to clipboard

🐛[BUG]: Using output_grid different than model grid results in an error

Open georg198 opened this issue 1 year ago • 2 comments

Version

Beta main

On which installation method(s) does this occur?

Source

Describe the issue

Running examples/01_ensemble_inference.py with a slightly changed config using "output_grid": "s2s" results in an AssertionError in line 40 of earth2mip/geometry.py I was expecting to be able to write other output grids to netcdf by defining the output_grid in the config

Environment details

No response

georg198 avatar Apr 28 '24 08:04 georg198

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 support. Until that is ready we should remove this functionality or provide a better error message.

nbren12 avatar Apr 30 '24 14:04 nbren12

Our regridding library is out: https://github.com/Nvlabs/earth2grid. Would be a nice feature to add this back.

nbren12 avatar Jun 10 '24 18:06 nbren12