Commit f83f2df
committed
Fix ESMF file loading by forcing netCDF4 engine for .nc files
Resolves scipy netCDF reader IndexError when reading ESMF files.
The scipy reader fails on certain netCDF files with 'index 0 is out
of bounds' error. Force netCDF4 engine for .nc files to ensure
robust file reading across all platforms.
Fixes:
- test/io/test_esmf.py::test_read_esmf
- test/io/test_io_common.py::TestIOCommon::test_return_type[grid_from_format4]1 parent 8449148 commit f83f2df
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| |||
0 commit comments