Changeset 1423 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 20, 2017, 12:00:48 PM (8 years ago)
Author:
lfita
Message:

Adding `mthDYNAMICO' in 'ModelChar?'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r1421 r1423  
    1698716987    def __init__(self,model,ncfile):
    1698816988        fname = 'ModelChar'
    16989         models = ['WRF', 'LMDZ', 'WRF_LMDZ', 'DYNAMICO']
     16989        models = ['WRF', 'LMDZ', 'WRF_LMDZ', 'DYNAMICO', 'mthDYNAMICO']
    1699016990
    1699116991        if model == 'WRF' or model == 'WRF_LMDZ':
     
    1703717037        elif model == 'DYNAMICO':
    1703817038            self.name = 'DYNAMICO'
    17039             self.model = 'Laboratoire de M' + unichr(233) + 't' + unichr(233) +      \
    17040               'orologie Dynamique Zoom'
     17039            self.model = 'DYNAMICO'
    1704117040            self.dimxn = 'lon'
    1704217041            self.dimyn = 'lat'
     
    1704817047            self.vardzn = 'presnivs'
    1704917048            self.vardtn = 'time_counter'
     17049            self.vardsn = None
     17050
     17051            if ncfile is not None:
     17052                self.version = None
     17053
     17054        elif model == 'mthDYNAMICO':
     17055            self.name = 'DYNAMICO'
     17056            self.model = 'monthly means from DYNAMICO'
     17057            self.dimxn = 'lon'
     17058            self.dimyn = 'lat'
     17059            self.dimzn = 'presnivs'
     17060            self.dimtn = 'time_counter'
     17061            self.dimsn = None
     17062            self.vardxn = 'lon'
     17063            self.vardyn = 'lat'
     17064            self.vardzn = 'presnivs'
     17065            self.vardtn = 'time_centered'
    1705017066            self.vardsn = None
    1705117067
Note: See TracChangeset for help on using the changeset viewer.