Changeset 1226 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Oct 21, 2016, 12:41:48 PM (9 years ago)
Author:
lfita
Message:

Adding different tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/model_graphics.py

    r1224 r1226  
    760760    Nzeros = len(str(Ntotfiles))
    761761    NStot = str(Ntotfiles).zfill(Nzeros)
    762 
    763762    # For that variables which require vertical interpolation 'p' suffix to the
    764763    #   file header is added
     
    38443843        ofiles = [odir+'/'+ofileorig, odir+'/'+ofileop]
    38453844
    3846         print fname + '; Lluis vn:', vn,'op:',op,'VnOpS:',VnOpS
    3847         print fname + '; Lluis ifiles:', ifiles
    3848         print fname + '; Lluis ofiles:', ofiles
    3849 
    3850 
    38513845        for iif in range(2):
    38523846            ifile = ifiles[iif]
     
    38683862                ModI = ModelInf(mod, mod, 'lon', 'lat', 'pres', 'time', 'depth',     \
    38693863                  'lon', 'lat', 'pres', 'time', 'depth', None)
    3870                 print fname + '; Lluis vn:', vn, 'values0:', values[0], 'values2:', values[2],' values3:', values[3]
     3864                if type(values) == type([1]):
     3865                  fileh = values[0]
     3866                else:
     3867                  fileh = values
     3868
     3869                if type(values) == type([1]):
     3870                  fileh = values[0]
     3871                else:
     3872                  fileh = values
     3873
    38713874                VarI = VariableInf(vn, values[0], values[2], values[3])
    38723875                usefs = {values[0]: ofileorig}
Note: See TracChangeset for help on using the changeset viewer.