earth2mip icon indicating copy to clipboard operation
earth2mip copied to clipboard

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

Open mariusaurus opened this issue 2 years ago • 0 comments

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

mariusaurus avatar Dec 04 '23 15:12 mariusaurus