NVIDIA / earth2mip

Earth-2 Model Intercomparison Project (MIP) is a python framework that enables climate researchers and scientists to inter-compare AI models for weather and climate.
https://nvidia.github.io/earth2mip/
Apache License 2.0
187 stars 41 forks source link

🐛[BUG]: Outputting sub-domains of globe to NetCDF breaks #136

Open mariusaurus opened 9 months ago

mariusaurus commented 9 months ago

Version

0.2.0

On which installation method(s) does this occur?

Source

Describe the issue

outputting any domains other than full globe result in shape missmatch error. Error is in line 155 of earth2mip/netcdf.py, in which data should be replaced with regional_data: output = regional_data[:, index]

Environment details

No response