Skip to content

Commit 14bc618

Browse files
authored
Merge pull request #40 from Parallel-NetCDF/rename_file_format
rename file format strings
2 parents 39c4f41 + 7ad150e commit 14bc618

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+64
-64
lines changed

examples/collective_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def pnetcdf_io(comm, filename, file_format, length):
174174
if args.q: verbose = False
175175

176176
if args.k:
177-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
177+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
178178
file_format = kind_dict[args.k]
179179

180180
if args.l and int(args.l) > 0:

examples/flexible_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ def pnetcdf_io(filename, file_format):
250250
if args.q: verbose = False
251251

252252
if args.k:
253-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
253+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
254254
file_format = kind_dict[args.k]
255255

256256
filename = args.dir

examples/get_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def pnetcdf_io(filename):
6464
print("{}: example of getting MPI-IO hints".format(os.path.basename(__file__)))
6565

6666
# create a new file using clobber "w" mode
67-
f = pnetcdf.File(filename=filename, mode = 'w', file_format = "64BIT_DATA", comm=comm, info=None)
67+
f = pnetcdf.File(filename=filename, mode = 'w', file_format = "NETCDF3_64BIT_DATA", comm=comm, info=None)
6868

6969
# exit the define mode
7070
f.enddef()

examples/get_vara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def pnetcdf_io(filename, file_format):
132132
if args.q: verbose = False
133133

134134
if args.k:
135-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
135+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
136136
file_format = kind_dict[args.k]
137137

138138
filename = args.dir

examples/ghost_cell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ def pnetcdf_io(filename, file_format, length):
173173

174174
file_format = None
175175
if args.k:
176-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
176+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
177177
file_format = kind_dict[args.k]
178178

179179
length = 4

examples/global_attribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def pnetcdf_io(filename, file_format):
131131

132132
file_format = None
133133
if args.k:
134-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
134+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
135135
file_format = kind_dict[args.k]
136136

137137
try:

examples/hints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def pnetcdf_io(filename):
103103
info1.Set("nc_header_read_chunk_size", "256")
104104

105105
# create a new file for writing
106-
f = pnetcdf.File(filename=filename, mode = 'w', file_format = "64BIT_DATA", comm=comm, info=info1)
106+
f = pnetcdf.File(filename=filename, mode = 'w', file_format = "NETCDF3_64BIT_DATA", comm=comm, info=info1)
107107

108108
# define dimensions
109109
dim_z = f.def_dim('Z', NZ*nprocs)

examples/nonblocking_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def pnetcdf_io(filename, length):
9191

9292
# Create the file
9393
try:
94-
f = pnetcdf.File(filename=filename, mode = 'w', format = "64BIT_DATA", comm=comm, info=None)
94+
f = pnetcdf.File(filename=filename, mode = 'w', format = "NETCDF3_64BIT_DATA", comm=comm, info=None)
9595
except OSError as e:
9696
print("Error at {}:{} ncmpi_create() file {} ({})".format(__file__,inspect.currentframe().f_back.f_lineno, filename, e))
9797
comm.Abort()

examples/nonblocking_write_def.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def pnetcdf_io(file_name, length):
9292
write_timing = MPI.Wtime()
9393

9494
# Create the file
95-
f = pnetcdf.File(filename=filename, mode = 'w', format = "64BIT_DATA", comm=comm, info=None)
95+
f = pnetcdf.File(filename=filename, mode = 'w', format = "NETCDF3_64BIT_DATA", comm=comm, info=None)
9696

9797
# Define dimensions
9898
dims = []

examples/put_vara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def pnetcdf_io(filename, file_format):
149149

150150
file_format = None
151151
if args.k:
152-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
152+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
153153
file_format = kind_dict[args.k]
154154

155155
filename = args.dir

examples/put_varn_int.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def pnetcdf_io(file_name, file_format):
175175

176176
file_format = None
177177
if args.k:
178-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
178+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
179179
file_format = kind_dict[args.k]
180180

181181
filename = args.dir

examples/transpose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def pnetcdf_io(filename, file_format, length):
181181

182182
file_format = None
183183
if args.k:
184-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
184+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
185185
file_format = kind_dict[args.k]
186186

187187
length = 10

examples/transpose2D.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def pnetcdf_io(filename, file_format, length):
167167

168168
file_format = None
169169
if args.k:
170-
kind_dict = {'1':None, '2':"64BIT_OFFSET", '5':"64BIT_DATA"}
170+
kind_dict = {'1':None, '2':"NETCDF3_64BIT_OFFSET", '5':"NETCDF3_64BIT_DATA"}
171171
file_format = kind_dict[args.k]
172172

173173
length = 2

src/pnetcdf/_File.pyx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ctypedef MPI.Info Info
3636
cdef class File:
3737
def __init__(self, filename, mode="w", format=None, Comm comm=None, Info info=None, **kwargs):
3838
"""
39-
__init__(self, filename, format='64BIT_OFFSET', mode="w", Comm comm=None, Info info=None, **kwargs)
39+
__init__(self, filename, format=None, mode="w", Comm comm=None, Info info=None, **kwargs)
4040
4141
The constructor for :class:`pnetcdf.File`.
4242
@@ -53,9 +53,9 @@ cdef class File:
5353
5454
:param format: underlying file format. Only relevant when creating file
5555
56-
- ``64BIT_OFFSET``: CDF-2 format
57-
- ``64BIT_DATA``: CDF-5 format
58-
- `None` defaults to default file format (CDF-1 format)
56+
- ``NETCDF3_64BIT_OFFSET`` or ``NC_64BIT_OFFSET``: CDF-2 format
57+
- ``NETCDF3_64BIT_DATA`` or ``NC_64BIT_DATA``: CDF-5 format
58+
- ``NETCDF3_CLASSIC`` or `None` defaults to default file format (CDF-1 format)
5959
6060
:type format: str
6161
@@ -79,9 +79,9 @@ cdef class File:
7979
bytestr = _strencode(filename, encoding=encoding)
8080
path = bytestr
8181
if format:
82-
supported_formats = ["64BIT_OFFSET", "64BIT_DATA"]
82+
supported_formats = ["NETCDF3_64BIT_OFFSET", "NETCDF3_64BIT_DATA", "NETCDF3_CLASSIC", "NC_64BIT_OFFSET", "NC_64BIT_DATA"]
8383
if format not in supported_formats:
84-
msg="underlying file format must be one of `'64BIT_OFFSET'` or `'64BIT_DATA'`"
84+
msg="underlying file format must be one of `'NETCDF3_CLASSIC'`, `'NETCDF3_64BIT_OFFSET'` (same as `'NC_64BIT_OFFSET'`) or `'NETCDF3_64BIT_DATA'` (same as `'NC_64BIT_DATA'`)"
8585
raise ValueError(msg)
8686

8787
clobber = True
@@ -94,8 +94,8 @@ cdef class File:
9494
cmode = 0
9595
if not clobber:
9696
cmode = NC_NOCLOBBER
97-
if format in ['64BIT_OFFSET', '64BIT_DATA']:
98-
file_cmode = NC_64BIT_OFFSET_C if format == '64BIT_OFFSET' else NC_64BIT_DATA_C
97+
if format in ['NETCDF3_64BIT_OFFSET', 'NETCDF3_64BIT_DATA', 'NC_64BIT_OFFSET', 'NC_64BIT_DATA']:
98+
file_cmode = NC_64BIT_OFFSET_C if format in ['NETCDF3_64BIT_OFFSET', 'NC_64BIT_OFFSET'] else NC_64BIT_DATA_C
9999
cmode = cmode | file_cmode
100100
with nogil:
101101
ierr = ncmpi_create(mpicomm, path, cmode, mpiinfo, &ncid)

test/tst_atts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
'emptystratt':EMPTYSTRATT,'intatt':INTATT}
4545

4646
NUM_TESTS = 3
47-
file_formats = [fmt for fmt in ['64BIT_DATA', '64BIT_OFFSET', None] for i in range(NUM_TESTS)]
47+
file_formats = [fmt for fmt in ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None] for i in range(NUM_TESTS)]
4848

4949
class AttrTestCase(unittest.TestCase):
5050

test/tst_default_format.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def setUp(self):
5555
# inquiry current default (for testing)
5656
self.new_default = inq_default_format()
5757
# create CDF-2 netCDF files by overwriting default
58-
f = pnetcdf.File(filename=self.file_paths[1], mode = 'w', format = "64BIT_OFFSET", comm=comm, info=None)
58+
f = pnetcdf.File(filename=self.file_paths[1], mode = 'w', format = "NC_64BIT_OFFSET", comm=comm, info=None)
5959
f.close()
6060
assert validate_nc_file(os.environ.get('PNETCDF_DIR'), self.file_paths[1]) == 0 if os.environ.get('PNETCDF_DIR') is not None else True
6161
# change default file format back to "CLASSIC"

test/tst_dims.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
NUM_TESTS = 5
18-
file_formats = [fmt for fmt in ['64BIT_DATA', '64BIT_OFFSET', None] for i in range(NUM_TESTS)]
18+
file_formats = [fmt for fmt in ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None] for i in range(NUM_TESTS)]
1919
FILE_NAME = "tst_dims.nc"
2020

2121
LAT_NAME="lat"

test/tst_file_fill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_file_fill.nc"
2525

2626

test/tst_file_inq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import io
2525

2626
seed(0)
27-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
27+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2828
file_name = "tst_file_inq.nc"
2929
xdim=9; ydim=10; zdim = 11
3030

test/tst_file_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
seed(0)
2626
# Format of the data file we will create (64BIT_DATA for CDF-5 and 64BIT_OFFSET for CDF-2 and None for CDF-1)
27-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
27+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2828
# Name of the test data file
2929
file_name = "tst_file_mode.nc"
3030
xdim = 9

test/tst_rename.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
seed(0)
2424
# Format of the data file we will create (64BIT_DATA for CDF-5 and 64BIT_OFFSET for CDF-2 and None for CDF-1)
25-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
25+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2626
# Name of the test data file
2727
file_name = "tst_rename.nc"
2828

test/tst_var_bput_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import io
2323

2424
seed(0)
25-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
25+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2626
file_name = "tst_var_bput_var.nc"
2727
xdim=9; ydim=10; zdim=11
2828
data = randint(0,10, size=(xdim,ydim,zdim)).astype('i4')

test/tst_var_bput_var1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io
2424

2525
seed(0)
26-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
26+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2727
file_name = "tst_var_bput_var1.nc"
2828

2929
comm = MPI.COMM_WORLD

test/tst_var_bput_vara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import io
2323

2424
seed(0)
25-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
25+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2626
file_name = "tst_var_bput_vara.nc"
2727

2828
comm = MPI.COMM_WORLD

test/tst_var_bput_varm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import io
2424

2525
seed(0)
26-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
26+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2727
file_name = "tst_var_bput_varm.nc"
2828

2929
comm = MPI.COMM_WORLD

test/tst_var_bput_varn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def run_test(format):
211211

212212
if __name__ == '__main__':
213213
# test CDF-1, CDF-2, CDF-5 classic NetCDF file formats
214-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
214+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
215215
for i in range(len(file_formats)):
216216
try:
217217
run_test(file_formats[i])

test/tst_var_bput_vars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import io
2323

2424
seed(0)
25-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
25+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2626
file_name = "tst_var_bput_vars.nc"
2727

2828
comm = MPI.COMM_WORLD

test/tst_var_def_fill.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import numpy.ma as ma
2525

2626
seed(0)
27-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
27+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2828
file_name = "tst_var_def_fill.nc"
2929

3030
# file value to be set for each variable

test/tst_var_get_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import io
1919

2020
seed(0)
21-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
21+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2222
file_name = "tst_var_get_var.nc"
2323
xdim=9; ydim=10; zdim=11
2424
# generate numpy array to write to the netCDF variable

test/tst_var_get_var1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import io
1919

2020
seed(0)
21-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
21+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2222
file_name = "tst_var_get_var1.nc"
2323

2424
comm = MPI.COMM_WORLD

test/tst_var_get_vara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import io
1919

2020
seed(0)
21-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
21+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2222
file_name = "tst_var_get_vara.nc"
2323

2424

test/tst_var_get_varm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
seed(0)
2121
# Format of the data file we will create (64BIT_DATA for CDF-5 and 64BIT_OFFSET for CDF-2)
22-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
22+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2323
# Name of the test data file
2424
file_name = "tst_var_get_varm.nc"
2525

test/tst_var_get_varn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import argparse
1515

1616

17-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
17+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
1818
file_name = "tst_var_get_varn.nc"
1919

2020

test/tst_var_get_vars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import io
2020

2121
seed(0)
22-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
22+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2323
file_name = "tst_var_get_vars.nc"
2424

2525

test/tst_var_iget_var.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_var.nc"
2525
xdim=9; ydim=10; zdim=11
2626
# values to be written to netCDF variables

test/tst_var_iget_var1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_var1.nc"
2525

2626
comm = MPI.COMM_WORLD

test/tst_var_iget_vara.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_vara.nc"
2525

2626
comm = MPI.COMM_WORLD

test/tst_var_iget_varm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_varm.nc"
2525

2626
comm = MPI.COMM_WORLD

test/tst_var_iget_varn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_varn.nc"
2525

2626
comm = MPI.COMM_WORLD

test/tst_var_iget_vars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import io
2121

2222
seed(0)
23-
file_formats = ['64BIT_DATA', '64BIT_OFFSET', None]
23+
file_formats = ['NC_64BIT_DATA', 'NC_64BIT_OFFSET', None]
2424
file_name = "tst_var_iget_vars.nc"
2525

2626
comm = MPI.COMM_WORLD

0 commit comments

Comments
 (0)