Changeset 1457 in lmdz_wrf for trunk


Ignore:
Timestamp:
Feb 24, 2017, 7:34:05 PM (8 years ago)
Author:
lfita
Message:

Adding `float32' to 'slice_createArray'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1456 r1457  
    1901919019    elif typev == np.float:
    1902019020        arrayvalues = np.zeros(tuple(dimsize), dtype=np.float)
     19021    elif typev == np.float32:
     19022        arrayvalues = np.zeros(tuple(dimsize), dtype=np.float32)
    1902119023    elif typev == np.float64:
    1902219024        arrayvalues = np.zeros(tuple(dimsize), dtype=np.float64)
Note: See TracChangeset for help on using the changeset viewer.