New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
std_plot_all.pro in branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts – NEMO

source: branches/2013/dev_MERGE_2013/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_plot_all.pro @ 4320

Last change on this file since 4320 was 4320, checked in by flavoni, 10 years ago

update IDL_scripts for ORCA2_LIM and ORCA2_LIM3, add plot of max_mld output 5days, see ticket: #724

File size: 20.6 KB
RevLine 
[2751]1pro std_plot_all, doplot = doplot, _extra = ex
[2709]2
[2751]3  compile_opt idl2, strictarrsubs
[2709]4
[2751]5@common
6@std_common
7                                ; scripts for nemo v3_2 and v3_3
[2709]8
9  PRINT, ''
10  PRINT, '  ############################################'
11  PRINT, ''
12  PRINT, '                    LAUNCH of std_plots'
13  PRINT, ''
14  PRINT, '  ############################################'
15  PRINT, ''
[2751]16;
[4320]17  std_iodir_data    = isadirectory(getenv('DIR_DATA'),     title = 'path of data in NetCdf format')
18  std_iodir_climato = isadirectory(getenv('DIR_CLIMATO'),  title = 'path of climatological data')
19  std_iodir_mask    = isadirectory(getenv('DIR_MASK'),     title = 'path of mask files (ex: subbasins)')
[2751]20; meshmask
[4320]21  std_file_mesh = isafile(getenv('FILE_MESH_MASK'),        title = 'mesh_mask', iodir = std_iodir_mask)
[2751]22  std_file_msksub = isafile(getenv('FILE_MASK_SUBDOMAIN'), title = 'sub-bassin masks', iodir = std_iodir_mask)
[2709]23
[4320]24; climatologies
25  std_file_Levitus_T =  isafile(getenv('FILE_TEMP_3D'),    title = 'Levitus_T', iodir = std_iodir_climato)
26  std_file_Levitus_S =  isafile(getenv('FILE_SAL_3D'),     title = 'Levitus_S', iodir = std_iodir_climato)
27  std_file_reynolds  =  isafile(getenv('FILE_SST'),        title = 'Reynolds', iodir = std_iodir_climato)
28  std_file_oaflux    =  isafile(getenv('FILE_FLUX'),       title = 'oaflux', iodir = std_iodir_climato)
29  std_file_mld       =  isafile(getenv('FILE_MLD'),        title = 'Mixed layer depth', iodir = std_iodir_climato)
30  std_file_ice       =  isafile(getenv('FILE_ICE'),        title = 'ICE', iodir = std_iodir_climato)
31  std_file_snow_arc  =  isafile(getenv('FILE_SNOW_ARC'),   title = 'SNOW_ARC', iodir = std_iodir_climato)
32  std_file_snow_ant  =  isafile(getenv('FILE_SNOW_ANT'),   title = 'SNOW_ANT', iodir = std_iodir_climato)
[2709]33
[2751]34  IF strlowcase(getenv('FILE_GEOHEAT')) EQ 'no' THEN std_file_geoheat = 'no' $
35  ELSE std_file_geoheat =  isafile(getenv('FILE_GEOHEAT'), title = 'Geothermal heating', iodir = std_iodir_climato)
[2709]36;
[2751]37  allrec =  1 - keyword_set(long(getenv('READ_ONLY_FIRST_RECORD')))
[2709]38; Output run experience1
[2751]39  std_file1_T     = isafile(getenv('FILE1_T'), title = 'exp1 grid T input file', iodir = std_iodir_data)
40  std_file1_U     = isafile(getenv('FILE1_U'), title = 'exp1 grid U input file', iodir = std_iodir_data)
41  std_file1_V     = isafile(getenv('FILE1_V'), title = 'exp1 grid V input file', iodir = std_iodir_data)
42  std_file1_I     = isafile(getenv('FILE1_I'), title = 'exp1 ice    input file', iodir = std_iodir_data)
[2709]43 
44; Output run experience2
[2751]45  std_file2_T     = isafile(getenv('FILE2_T'), title = 'exp2 grid T input file', iodir = std_iodir_data)
46  std_file2_U     = isafile(getenv('FILE2_U'), title = 'exp2 grid U input file', iodir = std_iodir_data)
47  std_file2_V     = isafile(getenv('FILE2_V'), title = 'exp2 grid V input file', iodir = std_iodir_data)
48  std_file2_I     = isafile(getenv('FILE2_I'), title = 'exp2 ice    input file', iodir = std_iodir_data)
[2709]49
50  PRINT, ''
[2751]51  PRINT, '  std_iodir_data : ' + std_iodir_data
52  PRINT, '  std_file1T : ' + std_file1_T
53  PRINT, '  std_file1U : ' + std_file1_U
54  PRINT, '  std_file1V : ' + std_file1_V
55;  PRINT, ' std_file1W : ' + std_file1_W
56  PRINT, '  std_file2I : ' + std_file1_I
57  PRINT, '  std_file2T : ' + std_file2_T
58  PRINT, '  std_file2U : ' + std_file2_U
59  PRINT, '  std_file2V : ' + std_file2_V
60;  PRINT, ' std_file2W : ' + std_file2_W
61  PRINT, '  std_file2I : ' + std_file2_I
[2709]62  PRINT, ''
63
64;#########################################################################
[2751]65;##########################  Load Grids   ################################
66;#########################################################################
67; load the grid
68  load_orca, std_file_mesh 
[2709]69; reading variables
[2751]70  masknp = read_ncdf('tmaskutil', file = std_file_mesh, /nostruct, /cont_nofill)
71;#########################################################################
72;############################  Read Data  ################################
73;#########################################################################
74;
75  allrec =  1; - keyword_set(long(getenv('READ_ONLY_FIRST_RECORD')))
76;
[2709]77;;; 3D ;;;
78; temperature
[2751]79  T1 = read_ncdf(getenv('VAR1_T'), allrecords = allrec, direc = 't', filename = std_file1_T )
80  IF std_file2_T NE std_file1_T THEN BEGIN
81    T2 = read_ncdf(getenv('VAR2_T'), allrecords = allrec, direc = 't', filename = std_file2_T )
82  ENDIF ELSE T2 = {arr:-1}
83  TLev = read_ncdf(getenv('VAR_TEMP_3D'), filename = std_file_Levitus_T )
84  TRey = read_ncdf(getenv('VAR_SST'), filename = std_file_reynolds )
[2709]85
86; salinity
[2751]87  S1 = read_ncdf(getenv('VAR1_S'), allrecords = allrec, direc = 't', filename = std_file1_T )
88  IF std_file2_T NE std_file1_T THEN BEGIN
89    S2 = read_ncdf(getenv('VAR2_S'), allrecords = allrec, direc = 't', filename = std_file2_T )
90  ENDIF ELSE S2 = {arr:-1}
91  SLev = read_ncdf(getenv('VAR_SAL_3D'), filename = std_file_Levitus_S )
[2709]92
[2751]93;;; 2D ;;;
[2709]94; Net Downward heat flux
[2751]95  Q1 = read_ncdf(getenv('VAR1_QNET'), allrecords = allrec, direc = 't', filename = std_file1_T )
96  IF std_file2_T NE std_file1_T THEN BEGIN
97    Q2 = read_ncdf(getenv('VAR2_QNET'), allrecords = allrec, direc = 't', filename = std_file2_T )
98  ENDIF ELSE Q2 = {arr:-1}
99; Geothermal heating
100  IF std_file_geoheat EQ 'no' THEN geo = {arr:float(getenv('VAR_GEOHEAT'))} $
101  ELSE geo = read_ncdf(getenv('VAR_GEOHEAT'), filename =  std_file_geoheat )
102  geo = geo.arr*1.e-3          ; convert into W/m2
[2709]103;climatology
[2751]104  QNET = read_ncdf(getenv('VAR_FLUX'), filename = std_file_oaflux )
[2709]105
106; erp (evaporation damping)
[2751]107  ERP1 = read_ncdf(getenv('VAR1_ERP'), allrecords = allrec, direc = 't', filename = std_file1_T )
108  ERP1 = {arr:ERP1.arr * 86400., unit:'mm/day', grid:'T'}
109  IF std_file2_T NE std_file1_T THEN BEGIN
110    ERP2 = read_ncdf(getenv('VAR2_ERP'), allrecords = allrec, direc = 't', filename = std_file2_T )
111    ERP2 = {arr:ERP2.arr * 86400., unit:'mm/day', grid:'T'}
112  ENDIF ELSE ERP2 = {arr:-1}
[2709]113
114; emp (evaporation minus precipitation)
[2751]115  EMP1 = read_ncdf(getenv('VAR1_EMP'), allrecords = allrec, direc = 't', filename = std_file1_T )
116  EMP1 = {arr:EMP1.arr * 86400., unit:'mm/day', grid:'T'}
117  IF std_file2_T NE std_file1_T THEN BEGIN
118    EMP2 = read_ncdf(getenv('VAR2_EMP'), allrecords = allrec, direc = 't', filename = std_file2_T )
119    EMP2 = {arr:EMP2.arr * 86400., unit:'mm/day', grid:'T'}
120  ENDIF ELSE EMP2 = {arr:-1}
121 
[2709]122;mixed layer depth
[2751]123  MLD1 = read_ncdf(getenv('VAR1_MLD'), allrecords = allrec, direc = 't', filename = std_file1_T ) ; 10 m
124  IF std_file2_T NE std_file1_T THEN BEGIN
125    MLD2 = read_ncdf(getenv('VAR2_MLD'), allrecords = allrec, direc = 't', filename = std_file2_T ) ; 10 m
126  ENDIF ELSE MLD2 = {arr:-1}
[2709]127;climatology
[2751]128  MLD = read_ncdf(getenv('VAR_MLD'), filename = std_file_mld )
[2709]129
130; velocities
[2751]131  U1 = read_ncdf(getenv('VAR1_U'), allrecords = allrec, direc = 't', filename = std_file1_U )
132  IF strlowcase(getenv('VAR1_U')) EQ 'uocetr_eff' THEN BEGIN
133    U1.arr = U1.arr / e3u_3d(/e2) * umask()
134    U1.unit = 'm/s'
135  ENDIF
136  IF std_file2_U NE std_file1_U THEN BEGIN
137    U2 = read_ncdf(getenv('VAR2_U'), allrecords = allrec, direc = 't', filename = std_file2_U )
138    IF strlowcase(getenv('VAR2_U')) EQ 'uocetr_eff' THEN BEGIN
139      U2.arr = U2.arr / e3u_3d(/e2) * umask()
140      U2.unit = 'm/s'
141    ENDIF
142  ENDIF ELSE U2 = {arr:-1}
[2709]143;
[2751]144  V1 = read_ncdf(getenv('VAR1_V'), allrecords = allrec, direc = 't', filename = std_file1_V )
145  IF strlowcase(getenv('VAR1_V')) EQ 'vocetr_eff' THEN BEGIN
146    V1.arr = V1.arr / e3v_3d(/e1) * vmask()
147    V1.unit = 'm/s'
148  ENDIF
149  IF std_file2_V NE std_file1_V THEN BEGIN
150    V2 = read_ncdf(getenv('VAR2_V'), allrecords = allrec, direc = 't', filename = std_file2_V )
151    IF strlowcase(getenv('VAR2_V')) EQ 'vocetr_eff' THEN BEGIN
152      V2.arr = V2.arr / e3v_3d(/e1) * vmask()
153      V2.unit = 'm/s'
154    ENDIF
155  ENDIF ELSE V2 = {arr:-1}
[2709]156
157; ice
[2751]158  Ithi_1 = read_ncdf(getenv('VAR1_Ithick'), allrecords = allrec, filename = std_file1_I )
159  caldat, time, mm
[4320]160  april = where(mm EQ 4, cnt)
161  Ithi_april_1 = {arr:1./float(cnt) * total(reform(Ithi_1.arr[*, *, temporary(april)],nxt,nyt,cnt), 3), unit:Ithi_1.unit}
[2755]162  sept = where(mm EQ 9, cnt)
[4320]163  Ithi_sept_1 = {arr:1./float(cnt) * total(reform(Ithi_1.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Ithi_1.unit}
[2751]164  undefine, Ithi_1
165;
166  IF std_file2_I NE std_file1_I THEN BEGIN
[4320]167     Ithi_2 = read_ncdf(getenv('VAR2_Ithick'), allrecords = allrec, filename = std_file2_I )
168     caldat, time, mm
169     april = where(mm EQ 4, cnt)
170     Ithi_april_2 = {arr:1./float(cnt) * total(reform(Ithi_2.arr[*, *, temporary(april)],nxt,nyt,cnt), 3), unit:Ithi_2.unit}
171     sept = where(mm EQ 9, cnt)
172     Ithi_sept_2 = {arr:1./float(cnt) * total(reform(Ithi_2.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Ithi_2.unit}
173     undefine, Ithi_2
[2751]174  ENDIF ELSE BEGIN
[4320]175     Ithi_april_2 = {arr:-1}
176     Ithi_sept_2 = {arr:-1}
[2751]177  ENDELSE
178;
179  Ifra_1 = read_ncdf(getenv('VAR1_Ifrac'), allrecords = allrec, filename = std_file1_I )
[4320]180  help, Ifra_1.arr, jpi,jpj
[2751]181  caldat, time, mm
182  march = where(mm EQ 3, cnt)
[4320]183  Ifra_march_1 = {arr:1./float(cnt) * total(reform(Ifra_1.arr[*, *, temporary(march)],nxt,nyt,cnt), 3), unit:Ifra_1.unit}
[2751]184  sept = where(mm EQ 9, cnt)
[4320]185  Ifra_sept_1 = {arr:1./float(cnt) * total(reform(Ifra_1.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Ifra_1.unit}
[2751]186  undefine, Ifra_1
187;
188  IF std_file2_I NE std_file1_I THEN BEGIN
189    Ifra_2 = read_ncdf(getenv('VAR2_Ifrac'), allrecords = allrec, filename = std_file2_I )
190    caldat, time, mm
191    march = where(mm EQ 3, cnt)
[4320]192    Ifra_march_2 = {arr:1./float(cnt) * total(reform(Ifra_2.arr[*, *, temporary(march)],nxt,nyt,cnt), 3), unit:Ifra_2.unit}
[2751]193    sept = where(mm EQ 9, cnt)
[4320]194    Ifra_sept_2 = {arr:1./float(cnt) * total(reform(Ifra_2.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Ifra_2.unit}
[2751]195    undefine, Ifra_2
196  ENDIF ELSE BEGIN
197    Ifra_march_2 = {arr:-1}
198    Ifra_sept_2 = {arr:-1}
199  ENDELSE
200;
[4320]201;; Sf commentato perché non funziona snow
202;; Sf   Isnow_1 = read_ncdf(getenv('VAR1_Isnow'), allrecords = allrec, filename = std_file1_I )
203;; Sf   help, Isnow_1.arr, jpi,jpj
204;; Sf   caldat, time, mm
205;; Sf   april = where(mm EQ 4, cnt)
206;; Sf   Isnow_april_1 = {arr:1./float(cnt) * total(reform(Isnow_1.arr[*, *, temporary(april)],nxt,nyt,cnt), 3), unit:Isnow_1.unit}
207;; Sf   sept = where(mm EQ 9, cnt)
208;; Sf   Isnow_sept_1 = {arr:1./float(cnt) * total(reform(Isnow_1.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Isnow_1.unit}
209;; Sf   ;undefine, Isnow_1
210;; Sf ;
211;; Sf   IF std_file2_I NE std_file1_I THEN BEGIN
212;; Sf     Isnow_2 = read_ncdf(getenv('VAR2_Isnow'), allrecords = allrec, filename = std_file2_I )
213;; Sf     caldat, time, mm
214;; Sf     april = where(mm EQ 4, cnt)
215;; Sf     Isnow_april_2 = {arr:1./float(cnt) * total(reform(Isnow_2.arr[*, *, temporary(april)],nxt,nyt,cnt), 3), unit:Isnow_2.unit}
216;; Sf     sept = where(mm EQ 9, cnt)
217;; Sf     Isnow_sept_2 = {arr:1./float(cnt) * total(reform(Isnow_2.arr[*, *, temporary(sept)],nxt,nyt,cnt), 3), unit:Isnow_2.unit}
218;; Sf   ;  undefine, Isnow_2
219;; Sf   ENDIF ELSE BEGIN
220;; Sf     Isnow_april_2 = {arr:-1}
221;; Sf     Isnow_sept_2 = {arr:-1}
222;; Sf   ENDELSE
223;
[2751]224  jpt = 1
225;
226; shorter file names for legends...
227;
228  std_file1_T = file_basename(std_file1_T,'.nc')
229  std_file1_T = (strsplit(std_file1_T,'_grid_T',/extract,/regex))[0]
230  std_file2_T = file_basename(std_file2_T,'.nc')
231  std_file2_T = (strsplit(std_file2_T,'_grid_T',/extract,/regex))[0]
232  std_file1_U = file_basename(std_file1_U,'.nc')
233  std_file1_U = (strsplit(std_file1_U,'_grid_U',/extract,/regex))[0]
234  std_file2_U = file_basename(std_file2_U,'.nc')
235  std_file2_U = (strsplit(std_file2_U,'_grid_U',/extract,/regex))[0]
236  std_file1_V = file_basename(std_file1_V,'.nc')
237  std_file1_V = (strsplit(std_file1_V,'_grid_V',/extract,/regex))[0]
238  std_file2_V = file_basename(std_file2_V,'.nc')
239  std_file2_V = (strsplit(std_file2_V,'_grid_V',/extract,/regex))[0]
240  std_file1_I = file_basename(std_file1_I,'.nc')
241  std_file1_I = (strsplit(std_file1_I,'_icemod',/extract,/regex))[0]
242  std_file2_I = file_basename(std_file2_I,'.nc')
243  std_file2_I = (strsplit(std_file2_I,'_icemod',/extract,/regex))[0]
[2709]244
245;#########################################################################
246;######################  STANDARD PLOTS   ################################
247;#########################################################################
248
[2751]249  IF keyword_set(doplot) EQ 0 THEN doplot = 0
250
[2709]251; fixed color tabled
[2751]252  lct, 64
253  cnt = 0
254  htmltxt = ''
255;
256  cnt = cnt+1   &   blabla = 'Erp salinity damping term'
257  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_erp, ERP1, ERP2, _extra = ex
[2709]258
[2751]259  cnt = cnt+1   &   blabla = 'Evaporation - Precipitation - Runoff term'
260  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_emp, EMP1, EMP2, _extra = ex
[2709]261
[2751]262  cnt = cnt+1   &   blabla = 'Net heat flux'
263  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_qnet, Q1, Q2, QNET, _extra = ex
[2709]264
[2751]265  cnt = cnt+1   &   blabla = 'Meridionnal Heat Transport'
266  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_mht, Q1.arr+geo, Q2.arr+geo, masknp, std_file_msksub, _extra = ex
[2709]267
[2751]268  cnt = cnt+1   &   blabla = 'Global Barotropic stream Function'
269  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_bsf, U1, U2, _extra = ex
[2709]270
[2751]271  cnt = cnt+1   &   blabla = 'mean Temperature diff with New Reynolds'
272  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_sst, T1, T2, TRey, _extra = ex
[2709]273
[2751]274  cnt = cnt+1   &   blabla = 'mean Salinity diff with Levitus'
275  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_sss, S1, S2, SLev, _extra = ex
[2709]276
[2751]277  cnt = cnt+1   &   blabla = 'Arctic mean Salinity diff with Levitus'
278  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_ArcSal, S1, SLev, _extra = ex       
[2709]279
[2751]280  cnt = cnt+1   &   blabla = 'Arctic mean Salinity diff with Levitus and exp2'
281  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_ArcSal, S1, S2, SLev, _extra = ex
[2709]282
[2751]283  cnt = cnt+1   &   blabla = 'Arctic mean Salinity diff with Levitus at z=100 meters'
284  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_ArcSal, S1, SLev, /z100, _extra = ex       
285 
286  cnt = cnt+1   &   blabla = 'Arctic mean Salinity diff with Levitus and exp2 at z=100 meters'
287  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_ArcSal, S1, S2, SLev, /z100, _extra = ex
[2709]288
[2751]289  cnt = cnt+1   &   blabla = 'mean Temperature diff with Levitus at z=100 meters'
290  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_T100m, T1, T2, Tlev, _extra = ex
291 
292  cnt = cnt+1   &   blabla = 'mean Salinity diff with Levitus at z=100 meters'
293  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_S100m, S1, S2, SLev, _extra = ex
294 
295  cnt = cnt+1   &   blabla = 'Mixed layer depth'
296  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_mld, MLD1, MLD, _extra = ex
[2709]297
[2751]298  cnt = cnt+1   &   blabla = 'Mixed layer depth differences'
299  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_mld, MLD1, MLD2, MLD, _extra = ex
[2709]300
[2751]301  cnt = cnt+1   &   blabla = 'Zonal mean Mixed layer depth'
302  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_ZonMld, MLD1, MLD2, MLD, _extra = ex
303 
304  cnt = cnt+1   &   blabla = 'Zonal mean Temperature diff with Levitus: Global'
305  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_T, T1, T2, TLev, _extra = ex
[2709]306
[2751]307  cnt = cnt+1   &   blabla = 'Zonal mean Temperature diff with Levitus: Atlantic'
308  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_T, T1, T2, TLev, SUBBASIN = 'Atl', _extra = ex
309 
310  cnt = cnt+1   &   blabla = 'Zonal mean Temperature diff with Levitus: Indian'
311  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_T, T1, T2, TLev, SUBBASIN = 'Ind', _extra = ex
312 
313  cnt = cnt+1   &   blabla = 'Zonal mean Temperature diff with Levitus: Pacific'
314  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_T, T1, T2, TLev, SUBBASIN = 'Pac', _extra = ex
[2709]315
[2751]316  cnt = cnt+1   &   blabla = 'Zonal mean Salinity diff with Levitus: Global'
317  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_S, S1, S2, SLev, _extra = ex
318
319  cnt = cnt+1   &   blabla = 'Zonal mean Salinity diff with Levitus: Atlantic'
320  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_S, S1, S2, SLev, SUBBASIN = 'Atl', _extra = ex
321
322  cnt = cnt+1   &   blabla = 'Zonal mean Salinity diff with Levitus: Indian'
323  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_S, S1, S2, SLev, SUBBASIN = 'Ind', _extra = ex
324
325  cnt = cnt+1   &   blabla = 'Zonal mean Salinity diff with Levitus: Pacific'
326  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_zonal_S, S1, S2, SLev, SUBBASIN = 'Pac', _extra = ex
[2709]327 
[4320]328;  cnt = cnt+1   &   blabla = 'Arctic Ice Thickness: MARCH'
329;  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_march_1, Ithi_march_2, /ARC, /MARCH, _extra = ex
330
331  cnt = cnt+1   &   blabla = 'Arctic Ice Thickness: APRIL'
332  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_april_1, Ithi_april_2, /ARC, /APRIL, _extra = ex
333
[2751]334  cnt = cnt+1   &   blabla = 'Arctic Ice Thickness: SEPT'
335  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_sept_1, Ithi_sept_2, /ARC, /SEPT, _extra = ex
336 
[4320]337;  cnt = cnt+1   &   blabla = 'Antarctic Ice Thickness: MARCH'
338;  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_march_1, Ithi_march_2, /ANT, /MARCH, _extra = ex
[2709]339
[4320]340  cnt = cnt+1   &   blabla = 'Antarctic Ice Thickness: APRIL'
341  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_april_1, Ithi_april_2, /ANT, /APRIL, _extra = ex
342
[2751]343  cnt = cnt+1   &   blabla = 'Antarctic Ice Thickness: SEPT'
344  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceThick, Ithi_sept_1, Ithi_sept_2, /ANT, /SEPT, _extra = ex
[2709]345
[2751]346  cnt = cnt+1   &   blabla = 'Arctic Ice Fraction: MARCH'
347  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceFrac, Ifra_march_1, Ifra_march_2, /ARC, /MARCH, _extra = ex
[2709]348 
[2751]349  cnt = cnt+1   &   blabla = 'Arctic Ice Fraction: SEPT'
350  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceFrac, Ifra_sept_1, Ifra_sept_2, /ARC, /SEPT, _extra = ex
351 
352  cnt = cnt+1   &   blabla = 'Antarctic Ice Fraction: MARCH'
353  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceFrac, Ifra_march_1, Ifra_march_2, /ANT, /MARCH, _extra = ex
[2709]354
[2751]355  cnt = cnt+1   &   blabla = 'Antarctic Ice Fraction: SEPT'
356  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceFrac, Ifra_sept_1, Ifra_sept_2, /ANT, /SEPT, _extra = ex
[4320]357;; SF non funziona, dice che deve essere una struttura e non e!!!!
358;;SF  cnt = cnt+1   &   blabla = 'Arctic SNOW Thickness: APRIL'
359;;SF  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_SnowThick, Isnow_april_1, Isnow_april_2, /ARC, /APRIL, _extra = ex
360;; SF
361;; SF   cnt = cnt+1   &   blabla = 'Arctic SNOW Thickness: SEPT'
362;; SF   IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_SnowThick, Isnow_sept_1, Isnow_sept_2, /ARC, /SEPT, _extra = ex
363;; SF 
364;; SF   cnt = cnt+1   &   blabla = 'Antarctic SNOW Thickness: APRIL'
365;; SF   IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_SnowThick, Isnow_april_1, Isnow_april_2, /ANT, /APRIL, _extra = ex
366;; SF 
367;; SF   cnt = cnt+1   &   blabla = 'Antarctic SNOW Thickness: SEPT'
368;; SF   IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_SnowThick, Isnow_sept_1, Isnow_sept_2, /ANT, /SEPT, _extra = ex
369;
370;  cnt = cnt+1   &   blabla = 'Arctic Ice Extend: '
371;  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceExt, Ifra_1, Ifra_2, masknp, /ARC,  _extra = ex
372 
373;  cnt = cnt+1   &   blabla = 'Antarctic Ice Extend: '
374;  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_IceExt, Ifra_1, Ifra_2, masknp, /ANT,  _extra = ex
[2709]375
[2751]376  cnt = cnt+1   &   blabla = 'Meridional stream Function: Global (no Med)'
377  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_msf, V1, V2, SUBBASIN = 'GloNoMed', _extra = ex
[2709]378
[2751]379  cnt = cnt+1   &   blabla = 'Meridional stream Function: Atlantic'
380  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_msf, V1, V2, SUBBASIN = 'Atl', _extra = ex
[2709]381
[2751]382  cnt = cnt+1   &   blabla = 'Meridional stream Function: Indian'
383  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_msf, V1, V2, SUBBASIN = 'Ind', _extra = ex
[2709]384
[2751]385  cnt = cnt+1   &   blabla = 'Meridional stream Function: Indo-Pacific'
386  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_msf, V1, V2, SUBBASIN = 'IndoPac', _extra = ex
[2709]387
[2751]388  cnt = cnt+1   &   blabla = 'Equatorial Temperature'
389  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_EqT, T1, T2, Tlev, _extra = ex
[2709]390
[2751]391  cnt = cnt+1   &   blabla = 'Equatorial Salinity'
392  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_EqS, S1, S2, SLev, _extra = ex
[2709]393
[2751]394  cnt = cnt+1   &   blabla = 'Equatorial zonal velocity'
395  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_EqU, U1, U2, _extra = ex
[2709]396
[2751]397  cnt = cnt+1   &   blabla = 'Mediterranean salt tongue at depth=700'
398  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_Med_Sspread, S1, S2, SLev, 700, _extra = ex
[2709]399
[2751]400  cnt = cnt+1   &   blabla = 'Mediterranean salt tongue at depth=1000'
401  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_Med_Sspread, S1, S2, SLev, 1000, _extra = ex
[2709]402
[2751]403  cnt = cnt+1   &   blabla = 'Mediterranean water at lat=40°N'
404  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_Med_Sdepth, S1, S2, SLev, 40, _extra = ex
[2709]405
[2751]406  cnt = cnt+1   &   blabla = 'Mediterranean water at lat=38°N'
407  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_Med_Sdepth, S1, S2, SLev, 38, _extra = ex
408
409  cnt = cnt+1   &   blabla = 'Vertical Global mean T & S'
410  IF doplot EQ cnt OR doplot EQ 0 THEN std_plot_GlobMeanTS, T1, T2, TLev, S1, S2, SLev, _extra = ex
411
412  IF n_elements(htmltxt) GT 1 THEN putfile, psdir+'std_plot_html_body.txt', htmltxt[1:*]
413 
[2709]414  return
415END
Note: See TracBrowser for help on using the repository browser.