1 | ;;;;;*************************************** FOLDER |
---|
2 | folder = '/donnees/aslmd/MODELES/MESOSCALE/LMD_MM_MARS/mpi_64/WPS/' |
---|
3 | ;coord2d = 'false' ;; for non-regular projections ;;CHANGER windowx and windowy |
---|
4 | coord2d = 'polar' ;; for polar projection with map_set ;; utiliser use_lt=99 |
---|
5 | filename = folder + 'geo_em.d01.nc' |
---|
6 | ;filename = folder + 'paleo/geo_em.d01.nc' |
---|
7 | ini_utc = 6 ;; cf. name of file |
---|
8 | freq = 1 ;; cf. 1 output per ... hour |
---|
9 | save_ps = 'MOLA_topo' |
---|
10 | |
---|
11 | ;;;;;*************************************** LVL & FLD & TIME |
---|
12 | nlevel = 0 |
---|
13 | use_lt = 99 ;; cf. what user wants (99 pour tous) |
---|
14 | field1 = 'HGT_M' ;; comment to trace horizontal velocity |
---|
15 | ;field2 = 'PTOT' ;; contour |
---|
16 | ;no3d = 'true' |
---|
17 | overvector_x = 0 ;; comment out to get rid of vectors |
---|
18 | overvector_y = 0 ;; comment out to get rid of vectors |
---|
19 | fieldscoord = ['XLONG_M','XLAT_M','HGT_M'] |
---|
20 | |
---|
21 | ;;;;;*************************************** TWEAK VAR |
---|
22 | what_I_plot = what_I_plot / 1000. |
---|
23 | ;print, max(what_I_plot), min(what_I_plot) |
---|
24 | |
---|
25 | ;;;;;*************************************** PLOT TITLES |
---|
26 | title_user = 'MOLA Topography' |
---|
27 | title_axis = ['East longitude','North latitude'] |
---|
28 | ;subtitle_user = 'LMD_MM' |
---|
29 | ;;subtitle_user = subtitle_user + ' / LT = '+string(use_lt,'(I0)')+'h' |
---|
30 | ;;subtitle_user = subtitle_user + ' / UTC!D0!N = 06:00am' ;; pour les series |
---|
31 | ;subtitle_user = subtitle_user + ' / Ls = 120!Uo!N' |
---|
32 | ;subtitle_user = subtitle_user + ' / dx = 10km [S]' |
---|
33 | |
---|
34 | ;;;;;*************************************** COLOR TABLES |
---|
35 | flag_cb = 'true' |
---|
36 | poscb = 0.85 |
---|
37 | format = '(F4.1)' |
---|
38 | colors = 64 |
---|
39 | pal = 15 ;33 ;; GOOD: 4, 18, 22, 16, 37, 33, 39, 6, 11 |
---|
40 | |
---|
41 | ;;;;;*************************************** FILL LIMITS |
---|
42 | minfield_init = -6.0 |
---|
43 | maxfield_init = -2.5 |
---|
44 | ndiv = 7 |
---|
45 | |
---|
46 | ;;;;;*************************************** LIMIT TRICKS |
---|
47 | ;;;;;********************* must always follow FILL LIMITS |
---|
48 | missing_value=1.e30 |
---|
49 | lim_max = maxfield_init & w=where((what_I_plot ge lim_max) and (what_I_plot le 1e9)) & if (w[0] ne -1) then what_I_plot[w]=lim_max |
---|
50 | lim_min = minfield_init & w=where(what_I_plot le lim_min) & if (w[0] ne -1) then what_I_plot[w]=lim_min |
---|
51 | ;lim_blank = 0.05 & w=where(abs(what_I_plot) le lim_blank) & if (w[0] ne -1) then what_I_plot[w]=missing_value |
---|
52 | |
---|
53 | ;;;;;*************************************** WINDS |
---|
54 | windex = 30. ;; DEF: 20. |
---|
55 | stride = 3. ;; DEF: 5. |
---|
56 | |
---|
57 | ;;;;;*************************************** CONTOUR |
---|
58 | overcontour = overcontour/1000. |
---|
59 | lev = -10. + 0.5*findgen(30) |
---|
60 | |
---|
61 | ;;;;;*************************************** AXIS |
---|
62 | isotropic = 'true' |
---|
63 | intervalx = 30.0 |
---|
64 | intervaly = 05.0 |
---|
65 | |
---|
66 | ;;;;;*************************************** MAP LIMITS |
---|
67 | windowx = [-180.,180.] |
---|
68 | windowy = [70.,90.] |
---|
69 | |
---|
70 | ;;;;;***************************************;;;;; |
---|
71 | ;;;;;***************************************;;;;; |
---|
72 | ;;;;;***************************************;;;;; |
---|
73 | ;;;;;***************************************;;;;; |
---|
74 | |
---|
75 | ;;;;;*************************************** SETTING TIME (do not modify) |
---|
76 | if (n_elements(windowx) eq 0) then windowx = 0 |
---|
77 | utc_to_lt = mean(windowx) / 15. ;; cf. longitude -- LT = UTC + utc_to_lt |
---|
78 | use_utc = use_lt - utc_to_lt |
---|
79 | zentime = floor(((24 + use_utc - ini_utc) MOD 24)/freq) ;; TRUE IDL SUBSCRIPT... |
---|
80 | if (use_lt ne 99) then ntime = zentime else ntime = 99 ;; ou commenter pour avoir tous les pas de temps |
---|
81 | print, zentime, ntime |
---|
82 | |
---|
83 | ;;;;;*************************************** |
---|
84 | ;;;;;*************************************** |
---|
85 | ;;;;;*************************************** |
---|
86 | ;;;;;*************************************** |
---|
87 | |
---|
88 | ;;; |
---|
89 | ;;; VERTICAL SECTION LIMITS |
---|
90 | ;;; |
---|
91 | ;minalt=-5. ;; grepSEC |
---|
92 | ;maxalt=40. ;; grepSEC |
---|
93 | ;minspace=0.0 ;; grepSEC |
---|
94 | ;maxspace=35.0 ;; grepSEC |
---|
95 | |
---|
96 | ;;; |
---|
97 | ;;; METRIC UNITS FOR VERTICAL SECTION |
---|
98 | ;;; |
---|
99 | ;factor=10. ;; grepSEC |
---|
100 | ;space=space*60. & spacekm='true' ;; grepSEC |
---|
101 | ;minspace=minspace*60./factor ;; grepSEC |
---|
102 | ;maxspace=maxspace*60./factor ;; grepSEC |
---|
103 | ;intervalx=round(intervalx*60./factor) ;; grepSEC |
---|
104 | |
---|
105 | |
---|
106 | ;;; |
---|
107 | ;;; TRICKS |
---|
108 | ;;; |
---|
109 | |
---|
110 | ;; pour tracer juste les vecteurs sur un fond uni ou vide |
---|
111 | ;pal=0 ;; 1/4 grepMAP |
---|
112 | ;what_I_plot(*,*)=what_I_plot(*,*)*0.+0.2 ;; 2/4 grepMAP |
---|
113 | ;what_I_plot(0,0)=0. ;; 3/4 grepMAP |
---|
114 | ;flag_cb='false' ;; 4/4 grepMAP |
---|
115 | |
---|
116 | ;;; truc pour tracer juste les contours et une zone grisee de topo |
---|
117 | ;pal=0 ;; 1/9 grepALL |
---|
118 | ;w=where(abs(what_I_plot) lt missing_value) ;; 2/9 grepALL |
---|
119 | ;what_I_plot[w]=0. ;; 3/9 grepALL |
---|
120 | ;w=where(abs(what_I_plot) gt missing_value) ;; 4/9 grepALL |
---|
121 | ;what_I_plot[w]=0.75 ;; 5/9 grepALL |
---|
122 | ;w=where(what_I_plot eq 0.) ;; 6/9 grepALL |
---|
123 | ;what_I_plot[w]=missing_value ;; 7/9 grepALL |
---|
124 | ;what_I_plot(0,0)=1. & what_I_plot(1,0)=0. ;; 8/9 grepALL |
---|
125 | ;flag_cb='false' ;; 9/9 grepALL |
---|
126 | |
---|