@@ -1305,25 +1305,23 @@ cdef class Variable:
1305
1305
var[start[0]:end[0], start[1]:end[1]] = buf
1306
1306
1307
1307
"""
1308
- if data is not None and all (arg is None for arg in [start, count, stride, num, imap]):
1308
+ if data is not None and all (arg is None for arg in [start, count, stride, imap]):
1309
1309
self ._put_var(data, collective = True , bufcount = bufcount, buftype = buftype)
1310
- elif all (arg is not None for arg in [data, start]) and all (arg is None for arg in [count, stride, num, imap]):
1310
+ elif all (arg is not None for arg in [data, start]) and all (arg is None for arg in [count, stride, imap]):
1311
1311
self ._put_var1(data, start, collective = True , bufcount = bufcount, buftype = buftype)
1312
- elif all (arg is not None for arg in [data, start, count]) and all (arg is None for arg in [stride, num, imap]):
1312
+ elif all (arg is not None for arg in [data, start, count]) and all (arg is None for arg in [stride, imap]):
1313
1313
self ._put_vara(start, count, data, collective = True , bufcount = bufcount, buftype = buftype)
1314
- elif all (arg is not None for arg in [data, start, count, stride]) and all (arg is None for arg in [num, imap]):
1314
+ elif all (arg is not None for arg in [data, start, count, stride]) and all (arg is None for arg in [imap]):
1315
1315
self ._put_vars(start, count, stride, data, collective = True , bufcount = bufcount, buftype = buftype)
1316
- elif all (arg is not None for arg in [data, start, count, num]) and all (arg is None for arg in [stride, imap]):
1317
- self ._put_varn(start, count, num, data, collective = True , bufcount = bufcount, buftype = buftype)
1318
- elif all (arg is not None for arg in [data, start, count, imap]) and all (arg is None for arg in [num]):
1316
+ elif all (arg is not None for arg in [data, start, count, imap]):
1319
1317
self ._put_varm(data, start, count, stride, imap, collective = True , bufcount = bufcount, buftype = buftype)
1320
1318
else :
1321
1319
raise ValueError (" Invalid input arguments for put_var_all" )
1322
1320
1323
1321
1324
- def put_var (self , data , start = None , count = None , stride = None , num = None , imap = None , bufcount = None , buftype = None ):
1322
+ def put_var (self , data , start = None , count = None , stride = None , imap = None , bufcount = None , buftype = None ):
1325
1323
"""
1326
- put_var(self, data, start=None, count=None, stride=None, num=None, imap=None, bufcount=None, buftype=None)
1324
+ put_var(self, data, start=None, count=None, stride=None, imap=None, bufcount=None, buftype=None)
1327
1325
1328
1326
Method to write in parallel to the netCDF variable in the independent
1329
1327
I/O mode. For the argument usage, please refer to method
0 commit comments