Changeset 2350 in lmdz_wrf
- Timestamp:
- Feb 18, 2019, 9:50:13 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/nc_var_tools.py
r2349 r2350 29182 29182 29183 29183 # Checking 29184 i = 2 29185 j = 5 29186 k = 8 29187 chijk = [i,j,k] 29188 it = 1 29189 slicesvals = [] 29190 idd = 0 29191 for dnn in Ndims: 29192 scvv = slicesinf[dnn.split('-')[1]] 29193 sccvvv = scvv[3] 29194 slicesvals.append(sccvvv[chijk[idd]]) 29195 idd = idd + 1 29184 #i = 2 29185 #j = 5 29186 #k = 8 29187 #chijk = [i,j,k] 29188 #it = 1 29189 #slicesvals = [] 29190 #idd = 0 29191 #for dnn in Ndims: 29192 # N_ = dnn.count('_') 29193 # if N_ == 1: 29194 # scvv = slicesinf[dnn.split('_')[1]] 29195 # else: 29196 # vvvvn = '_'.join(dnn.split('_')[1:N_+1]) 29197 # scvv = slicesinf[vvvvn] 29198 # sccvvv = scvv[3] 29199 # slicesvals.append(sccvvv[chijk[idd]]) 29200 # idd = idd + 1 29196 29201 29197 29202 for varn in varns:
Note: See TracChangeset
for help on using the changeset viewer.