Unidata / netcdf4-python

netcdf4-python: python/numpy interface to the netCDF C library
http://unidata.github.io/netcdf4-python
MIT License
744 stars 260 forks source link

Variable created with ENUM type can't be read after reopen #1308

Open kmuehlbauer opened 7 months ago

kmuehlbauer commented 7 months ago

To report a non-security related issue, please provide:

I'm assuming that the enum type is not discovered on read as it is in the other group and the variable is silently dropped because of this.

It would be more fitting if an error would be raised when trying to create a variable with a type which is not accessible by the software.

jswhit commented 7 months ago

as you noted, the problem is occuring in netcdf-c. I suggest opening a ticket at https://github.com/Unidata/netcdf-c

kmuehlbauer commented 7 months ago

Thanks @jswhit, would it be possible to transfer the issue to netcdf-c repo?

jswhit commented 7 months ago

@kmuehlbauer other than via copy and paste, I don't know of any way to do that.

kmuehlbauer commented 7 months ago

@jswhit Thanks! Within the same organization issues can be transferred to another repo. See: https://docs.github.com/en/issues/tracking-your-work-with-issues/transferring-an-issue-to-another-repository. If that doesn't work for some reason, I'll copy and paste.

jswhit commented 7 months ago

@kmuehlbauer sorry but the option to transfer an issue to Unidata/netcdf-c is not available for me.

kmuehlbauer commented 7 months ago

@jswhit Thanks for trying and no worries. I'll create a new issue over at netcdf-c.

kmuehlbauer commented 7 months ago

I've opened a discussion over at netcdf-c https://github.com/Unidata/netcdf-c/discussions/2846.