Changeset 519 in lmdz_wrf for trunk/tools
- Timestamp:
- Jun 19, 2015, 4:11:33 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/validation_sim.py
r518 r519 1393 1393 ftrjs[ip,it] = np.mean(trjs[ip,intv[0]:intv[1]]) 1394 1394 for iz in range(2*Ng+1): 1395 for iy in range dd(2*Ng+1):1396 for ix in range dd(2*Ng+1):1397 fsoSvalues[it,iz,iy,ix] = np.mean v(soSvalues[intv[0]:\1395 for iy in range(2*Ng+1): 1396 for ix in range(2*Ng+1): 1397 fsoSvalues[it,iz,iy,ix] = np.mean(soSvalues[intv[0]: \ 1398 1398 intv[1],iz,iy,ix]) 1399 1399 else: … … 1401 1401 for ip in range(3): 1402 1402 ftrjs[ip,it] = np.mean(trjs[ip,intv[0]:intv[1]]) 1403 for iy in rangedd(2*Ng+1): 1404 for ix in rangedd(2*Ng+1): 1405 fsoSvalues[it,iy,ix] = np.meanv(soSvalues[intv[0]:intv[1], \ 1403 for iy in range(2*Ng+1): 1404 for ix in range(2*Ng+1): 1405 print iy,ix,':',soSvalues[intv[0]:intv[1],iy,ix] 1406 fsoSvalues[it,iy,ix] = np.mean(soSvalues[intv[0]:intv[1], \ 1406 1407 iy,ix]) 1407 1408 print fsoSvalues[it,] 1408 print 'soTvalues________________' 1409 print soTvalues[intv[0]:intv[1]] 1410 print 'soTtvalues________________' 1411 print soTtvalues[intv[0]:intv[1],:] 1409 print 'soTvalues________________',type(soTvalues) 1410 for itt in range(intv[0],intv[1]): 1411 print soTvalues[str(itt)] 1412 fsoTtvalues[it,0] = soTtvalues[intv[0],0] 1413 fsoTtvalues[it,1] = soTtvalues[intv[1],0] 1414 print fsoTtvalues[it,:] 1412 1415 quit() 1416 1413 1417 1414 1418 elif kvals == 'tbackwardOmean':
Note: See TracChangeset
for help on using the changeset viewer.