NOAA-GFDL / CM4

8 stars 10 forks source link

Iceberg restarts trigger bug in some versions of netCDF #11

Open russfiedler opened 4 years ago

russfiedler commented 4 years ago

Just a heads up for people.

The iceberg restarts trigger a subtle bug mentioned here https://github.com/Unidata/netcdf-c/issues/1496

We can see this from the unlimited dimension and variable i

[raf599@gadi-login-02 runDir]$ ncdump -hs INPUT/icebergs.res.nc

netcdf icebergs.res { dimensions: i = UNLIMITED ; // (193312 currently) variables: int i ;

Fixed in netCDF 4.7.3

https://github.com/Unidata/netcdf-c/releases/tag/v4.7.3

thomas-robinson commented 4 years ago

Thanks for the info @russfiedler . Since this is fixed in netcdf 4.7.3, do you think we need to do anything about it?

@nikizadehgfdl do you think we need to notify anyone of this issue?

russfiedler commented 4 years ago

Looks like the problem was noticed a couple of years ago but the cause couldn't be found https://github.com/NOAA-GFDL/icebergs/issues/44

Probably worth putting a note in the README