Changeset 1488 in lmdz_wrf


Ignore:
Timestamp:
Apr 2, 2017, 1:15:37 AM (8 years ago)
Author:
lfita
Message:

Adding help on `fgaddattr'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1487 r1488  
    15601560  ncfile = netCDF file name
    15611561  """
     1562  fname = 'fgaddattr'
     1563
     1564  if values == 'h':
     1565      print fname + '_____________________________________________________________'
     1566      print fgaddattr.__doc__
     1567      quit()
    15621568
    15631569  refnc = values
     
    1910719113    if typev == int:
    1910819114        arrayvalues = np.zeros(tuple(dimsize), dtype=int)
     19115    if typev == np.int32:
     19116        arrayvalues = np.zeros(tuple(dimsize), dtype=np.int32)
    1910919117    elif typev == np.float:
    1911019118        arrayvalues = np.zeros(tuple(dimsize), dtype=np.float)
Note: See TracChangeset for help on using the changeset viewer.