ASM #18341 AvnFPS: HDF5 climate NCDC data type conversion issue
Change-Id: If728efeec48dd74917a271a2351bf4bd777d3445 Former-commit-id: 8c9911836586c6760b7c4f844b54b2453be3a998
This commit is contained in:
parent
7ffc8d278e
commit
0e3ba5c5fc
1 changed files with 1 additions and 1 deletions
|
@ -466,7 +466,7 @@ required NCDC data.
|
|||
shape = f_col.descr._v_colObjects[col].shape[0] - 1
|
||||
#datum = datum + [self.__get_msng(f_col.type)]*(f_col.shape[0]-len(datum))
|
||||
datum = datum + [self.__get_msng(f_col.type)] * (f_col.descr._v_colObjects[col].shape[0] - len(datum))
|
||||
if len(numpy.array(datum)) != len(row[col]):
|
||||
if len(numpy.array(datum)) != len(row[col]):
|
||||
continue
|
||||
row[col] = numpy.array(datum).astype(f_col.type)
|
||||
except Exception, e:
|
||||
|
|
Loading…
Add table
Reference in a new issue