Changeset 1586 in lmdz_wrf


Ignore:
Timestamp:
Jun 12, 2017, 4:02:55 PM (8 years ago)
Author:
lfita
Message:

Adding the removing of the non-checking variables for 'prw'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diagnostics.py

    r1585 r1586  
    16291629        diagout, diagoutd, diagoutvd = compute_prw(var0, var1, dnamesvar,dvnamesvar)
    16301630
     1631        # Removing the nonChecking variable-dimensions from the initial list
     1632        varsadd = []
     1633        diagoutvd = list(dvnames)
     1634        for nonvd in NONchkvardims:
     1635            if gen.searchInlist(dvnames,nonvd): diagoutvd.remove(nonvd)
     1636            varsadd.append(nonvd)
    16311637        ncvar.insert_variable(ncobj, 'prw', diagout, diagoutd, diagoutvd, newnc)
    16321638
Note: See TracChangeset for help on using the changeset viewer.