Changeset 432 in lmdz_wrf


Ignore:
Timestamp:
May 26, 2015, 2:53:12 PM (10 years ago)
Author:
lfita
Message:

Fixing the same in a different way...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/nc_var_tools.py

    r431 r432  
    1115611156      'squared mean value within', 'standard deviation value within',                \
    1115711157      'accumulated value within']
    11158     Nsts = len(stsn)+1
     11158    Nsts = len(stsn)
    1115911159    statnames = []
    1116011160    cstatnames = []
     
    1122511225            rlatvals = np.ones(tuple([Ttraj,dimz,Nrad*2+1,Nrad*2+1]), dtype=np.float)
    1122611226
    11227             statvarvals = np.ones(tuple([Ttraj,dimz,Nsts]), dtype=np.float)
    11228             rstatvarvals = np.ones(tuple([Ttraj,dimz,Nsts]), dtype=np.float)
     11227# One dimension plus for the values at the center of the trajectory
     11228            statvarvals = np.ones(tuple([Ttraj,dimz,Nsts+1]), dtype=np.float)
     11229            rstatvarvals = np.ones(tuple([Ttraj,dimz,Nsts+1]), dtype=np.float)
    1122911230
    1123011231            for it in range(Ttraj):
     
    1147711478            rlatvals = np.ones(tuple([Ttraj,Nrad*2+1,Nrad*2+1]), dtype=np.float)
    1147811479
    11479             statvarvals = np.ones(tuple([Ttraj,Nsts]), dtype=np.float)
    11480             rstatvarvals = np.ones(tuple([Ttraj,Nsts]), dtype=np.float)
     11480# One dimension plus for the values at the center of the trajectory
     11481            statvarvals = np.ones(tuple([Ttraj,Nsts+1]), dtype=np.float)
     11482            rstatvarvals = np.ones(tuple([Ttraj,Nsts+1]), dtype=np.float)
    1148111483
    1148211484            for it in range(Ttraj):
Note: See TracChangeset for help on using the changeset viewer.