Changeset 527 in lmdz_wrf
- Timestamp:
- Jun 22, 2015, 4:07:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/validation_sim.py
r526 r527 1194 1194 dimtf = len(uniqt) 1195 1195 print ' initially we got',dimt,'values which will become',dimtf 1196 print ' ==== NOT READY === ' 1197 quit(-1) 1196 1198 else: 1197 1199 print errormsg … … 1398 1400 fsoTtvalues[it,1] = soTtvalues[intv[1],0] 1399 1401 1400 return sovalues, soSvalues, soTtvalues,trjs1402 return fsovalues, fsoSvalues, fsoTtvalues, ftrjs 1401 1403 1402 1404 elif kvals == 'tbackwardOmean': … … 1405 1407 dimtf = len(uniqt) 1406 1408 print ' initially we got',dimt,'values which will become',dimtf 1407 1408 1409 1409 1410 return … … 1938 1939 oFillValue = None 1939 1940 1941 simstats = np.zeros((Nstsim,5), dtype=np.float) 1942 obsstats = np.zeros((Nstsim,5), dtype=np.float) 1943 simobsstats = np.zeros((Nstsim,13), dtype=np.float) 1944 aroundstats = np.zeros((5,dimt), dtype=np.float) 1945 1940 1946 for kst in range(Nstsim): 1941 1947 timedn = prestdescsim[kst] + 'time' … … 2024 2030 2025 2031 # statisics sim 2026 simstats = np.zeros((Nstsim,5), dtype=np.float)2027 2032 simstats[kst,0] = np.min(arrayvals[:,0]) 2028 2033 simstats[kst,1] = np.max(arrayvals[:,0]) … … 2039 2044 obsmask2 = obsmask*obsmask 2040 2045 2041 obsstats = np.zeros((Nstsim,5), dtype=np.float)2042 2046 obsstats[kst,0] = obsmask.min() 2043 2047 obsstats[kst,1] = obsmask.max() … … 2047 2051 2048 2052 # Statistics sim-obs 2049 simobsstats = np.zeros((Nstsim,13), dtype=np.float)2050 2053 diffvals = np.zeros((dimt), dtype=np.float) 2051 2054 … … 2102 2105 2103 2106 # Statistics around sim values 2104 aroundstats = np.zeros((5,dimt), dtype=np.float)2105 2107 for it in range(dimt): 2106 2108 aroundstats[0,it] = np.min(simobsSvalues[it,])
Note: See TracChangeset
for help on using the changeset viewer.