Changeset 1644 in lmdz_wrf for trunk


Ignore:
Timestamp:
Sep 11, 2017, 12:52:55 PM (8 years ago)
Author:
lfita
Message:

Adding removal of non-checking variables on `RAINTOT'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.py

    r1586 r1644  
    14231423            dtime=1.
    14241424
     1425        # Removing the nonChecking variable-dimensions from the initial list
     1426        varsadd = []
     1427        for nonvd in NONchkvardims:
     1428            if gen.searchInlist(diagoutvd,nonvd): diagoutvd.remove(nonvd)
     1429            varsadd.append(nonvd)
     1430           
    14251431        ncvar.insert_variable(ncobj, 'pr', diagout/dtime, diagoutd, diagoutvd, newnc)
    14261432
Note: See TracChangeset for help on using the changeset viewer.