Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not write to 'NETCDF3_64BIT_OFFSET' and 'NETCDF3_64BIT_DATA' format files #9

Closed
davidhassell opened this issue Jan 28, 2020 · 1 comment · Fixed by #10
Closed
Assignees
Labels
bug Something isn't working netCDF read Relating to reading netCDF datasets netCDF write Relating to writing netCDF datasets

Comments

@davidhassell
Copy link
Contributor

Can not write to 'NETCDF3_64BIT_OFFSET' and 'NETCDF3_64BIT_DATA' format files:

In [1]: import cfdm                                                                                      

In [2]: cfdm.environment()                                                                               
Platform: Linux-4.15.0-72-generic-x86_64-with-debian-stretch-sid
python: 3.7.3
future: 0.17.1 
HDF5 library: 1.10.2
netcdf library: 4.6.1
netCDF4: 1.4.2 
numpy: 1.16.2
cfdm: 1.7.11

In [4]: f = cfdm.read('cfdm/test/test_file.nc')                                                          

In [6]: cfdm.write(f, 'out.nc', fmt='NETCDF3_64BIT_OFFSET')
<snip>
ValueError: Unknown output file format: NETCDF3_64BIT_OFFSET

In [7]: cfdm.write(f, 'out.nc', fmt='NETCDF3_64BIT_DATA')                                                
<snip>
ValueError: Unknown output file format: NETCDF3_64BIT_DATA

This should be possible, as per the documentation in cfdm.write.

@davidhassell
Copy link
Contributor Author

This has been fixed and will go into version 1.8.0

@davidhassell davidhassell added the netCDF write Relating to writing netCDF datasets label Nov 15, 2023
@davidhassell davidhassell linked a pull request Nov 15, 2023 that will close this issue
@davidhassell davidhassell added the netCDF read Relating to reading netCDF datasets label Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working netCDF read Relating to reading netCDF datasets netCDF write Relating to writing netCDF datasets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant