netcdf-c icon indicating copy to clipboard operation
netcdf-c copied to clipboard

nc_redef called twice without error

Open jedwards4b opened this issue 2 years ago • 1 comments

using netcdf-4.8.1 and newer it appears that calling nc_redef twice no longer generates a NC_EINDEFINE error as documented.

It still works for netcdf_classic formats but not for netcdf4 formats. Is this expected and if so should the documentation be updated?

jedwards4b avatar Apr 26 '23 13:04 jedwards4b

Thanks @jedwards4b let me determine what we expect to happen; that should inform the fix. I have vague recollections around this but I need to refresh my memory. Thanks!

WardF avatar Apr 26 '23 16:04 WardF