Commit 38c9338c authored by James Harle's avatar James Harle
Browse files

Update dtype for the ncml read

parent f4fb9959
......@@ -225,7 +225,7 @@ class Variable(object):
retval = data_array.copyToNDJavaArray()
#TODO: copy it into numpy instead of Java array and then convert to numpy
# convert to numpy array
retval = np.asarray(retval)
retval = np.asarray(retval, dtype='float')
self.logger.info(retval.shape)
if np_input: #if an array is passed as selection
ret_dim_list = ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment