[85] | 1 | pro ye, r, t |
---|
| 2 | |
---|
| 3 | ;; paper |
---|
| 4 | min_lt = 13. |
---|
| 5 | max_lt = 16. |
---|
| 6 | |
---|
| 7 | ;min_lt = 12. |
---|
| 8 | ;max_lt = 16. |
---|
| 9 | |
---|
| 10 | ;min_lt = 13. |
---|
| 11 | ;max_lt = 15. |
---|
| 12 | |
---|
| 13 | |
---|
| 14 | wherefiles='./REAL_50m_145_145_201_12km/' |
---|
| 15 | |
---|
| 16 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 17 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 18 | restore, filename=wherefiles+'case_A'+'/compturb.dat' |
---|
| 19 | restore, filename=wherefiles+'case_A'+'/getturb.dat' |
---|
| 20 | wspe = where( (localtime ge min_lt) and (localtime le max_lt) ) |
---|
| 21 | nspe = n_elements(wspe) |
---|
| 22 | r = TOTAL(a_wt_bot[*,wspe],2) |
---|
| 23 | t = TOTAL(a_h[*,wspe],2) |
---|
| 24 | rtot = [r] |
---|
| 25 | ttot = [t] |
---|
| 26 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 27 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 28 | restore, filename=wherefiles+'case_B'+'/compturb.dat' |
---|
| 29 | restore, filename=wherefiles+'case_B'+'/getturb.dat' |
---|
| 30 | r = TOTAL(a_wt_bot[*,wspe],2) |
---|
| 31 | t = TOTAL(a_h[*,wspe],2) |
---|
| 32 | rtot = [rtot,r] |
---|
| 33 | ttot = [ttot,t] |
---|
| 34 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 35 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 36 | restore, filename=wherefiles+'case_C'+'/compturb.dat' |
---|
| 37 | restore, filename=wherefiles+'case_C'+'/getturb.dat' |
---|
| 38 | r = TOTAL(a_wt_bot[*,wspe],2) |
---|
| 39 | t = TOTAL(a_h[*,wspe],2) |
---|
| 40 | rtot = [rtot,r] |
---|
| 41 | ttot = [ttot,t] |
---|
| 42 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 43 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 44 | restore, filename=wherefiles+'case_I'+'/compturb.dat' |
---|
| 45 | restore, filename=wherefiles+'case_I'+'/getturb.dat' |
---|
| 46 | r = TOTAL(a_wt_bot[*,wspe],2) |
---|
| 47 | t = TOTAL(a_h[*,wspe],2) |
---|
| 48 | rtot = [rtot,r] |
---|
| 49 | ttot = [ttot,t] |
---|
| 50 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 51 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 52 | restore, filename=wherefiles+'case_HIGH'+'/compturb.dat' |
---|
| 53 | restore, filename=wherefiles+'case_HIGH'+'/getturb.dat' |
---|
| 54 | r = TOTAL(a_wt_bot[*,wspe],2) |
---|
| 55 | t = TOTAL(a_h[*,wspe],2) |
---|
| 56 | rtot = [rtot,r] |
---|
| 57 | ttot = [ttot,t] |
---|
| 58 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 59 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | |
---|
| 63 | r = r / float(nspe) |
---|
| 64 | t = t / float(nspe) |
---|
| 65 | |
---|
| 66 | sssss = sort(t) |
---|
| 67 | r = r[sssss] |
---|
| 68 | t = t[sssss] |
---|
| 69 | |
---|
| 70 | ;; |
---|
| 71 | ;; OK |
---|
| 72 | ;; |
---|
| 73 | ;lim=0.30 & zelim=(-3.85/alog(lim)+0.07*alog(lim))*exp(-4.61*lim) |
---|
| 74 | ;up=1. & & zeup= - 1.55 * up + 1.27 |
---|
| 75 | ;slope = (zelim - zeup) / (lim - up) & ord = zeup - slope * up |
---|
| 76 | ;t1 = findgen(1001.)*lim/1000. & param1 = (-3.85/alog(t1)+0.07*alog(t1))*exp(-4.61*t1) |
---|
| 77 | ;t2 = lim + findgen(1001.)*(1.0 - lim)/1000. & param2 = slope * t2 + ord |
---|
| 78 | ; |
---|
| 79 | ;r = [param1, param2] |
---|
| 80 | ;t = [t1, t2] |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | end |
---|