Skip to content
Snippets Groups Projects
Commit 238875f8 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

int64 option added

parent 5adfec50
No related branches found
No related tags found
No related merge requests found
......@@ -307,6 +307,8 @@ class CT_CDF(netCDF4.Dataset):
if datadict.has_key('dtype'):
if datadict['dtype'] == 'int':
var = self.createVariable(datadict['name'],'i4',datadict['dims'])#,fill_value=datadict['_FillValue'])
elif datadict['dtype'] == 'int64':
var = self.createVariable(datadict['name'],'i8',datadict['dims'])#,fill_value=datadict['_FillValue'])
elif datadict['dtype'] == 'char':
var = self.createVariable(datadict['name'],'S1',datadict['dims'],fill_value='x')
elif datadict['dtype'] == 'float':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment