Changeset 1705 in lmdz_wrf


Ignore:
Timestamp:
Dec 8, 2017, 8:33:01 PM (7 years ago)
Author:
lfita
Message:

Fixing `addvals' with extra 'gen' module calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1695 r1705  
    46744674            newvarobj = newnc.createVariable(vname, vkind, vdims, fill_value=fillval)
    46754675        elif vname == varN and addval == 'missing':
    4676             newvarobj = newnc.createVariable(vname, vkind, vdims, fill_value=typemod(addvaln, str(varinf.dtype)))
     4676            newvarobj = newnc.createVariable(vname, vkind, vdims,                    \
     4677              fill_value=gen.typemod(addvaln, str(varinf.dtype)))
    46774678        else:
    46784679            newvarobj = newnc.createVariable(vname, vkind, vdims)
Note: See TracChangeset for help on using the changeset viewer.