Skip to content

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

Closed

Description

@davidhassell

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.

Activity

  1. self-assigned this
    on Jan 28, 2020
  2. davidhassell commented on Jan 28, 2020

    @davidhassell
    ContributorAuthor

    This has been fixed and will go into version 1.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdataset readRelating to reading datasetsdataset writeRelating to writing datasets

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions