source: tags/LIM1D_v3.20/GRAPHICS/ALL_contours.pro @ 6

Last change on this file since 6 was 6, checked in by vancop, 8 years ago

initial import of v3.20 /Users/ioulianikolskaia/Boulot/CODES/LIM1D/ARCHIVE/TMP/LIM1D_v3.20/

File size: 36.3 KB
Line 
1;
2;---------------------------------------------------
3; This script makes plots of biological simulations
4; (c) Martin Vancoppenolle, UCL-ASTR, june 2007
5; reviewed may 2008
6; works for BARROW-ISPOL
7;---------------------------------------------------
8;
9
10;
11;------------------------------------------------------------------------------
12; Read input data in exp_id.dat
13;------------------------------------------------------------------------------
14;
15
16exp_id = 'E001'
17indir  = ''
18outdir = ''
19dt     = 86400
20c_bio_model = 'BFMSI'
21site        = 'TOURNAI'
22
23OPENR, 11, 'exp_id.dat'
24READF, 11, exp_id & READF, 11, indir & READF, 11, outdir & READF, 11, dt & READF, 11, c_bio_model & READF, 11, site & CLOSE, 11
25
26file_name = exp_id+'_contours.ps'
27
28numplot_x = 6       ; number of horizontal plots
29numplot_y = 3       ; number of vertical plots
30
31device = 'PS'       ; 'PS' or 'X'
32
33;
34;------------------------------------------------------------------------------
35; DEFINE OUTPUT PLOT
36;------------------------------------------------------------------------------
37;
38figuresize_x = numplot_x * 4.0 ; figure size on x direction
39figuresize_y = numplot_y * 5.0 ; figure size on y direction
40set_plot, device
41IF ( device EQ 'PS' ) THEN BEGIN
42   device, /COLOR, /LANDSCAPE, filename=outdir+file_name, $
43           XSIZE=figuresize_x,YSIZE=figuresize_y,FONT_SIZE=9.0
44ENDIF
45
46IF ( device EQ 'X' ) THEN BEGIN
47   xsize = 1200
48   ysize = 800
49   colorkey = 'rd'
50   init_graphics_x, xsize, ysize, colorkey
51ENDIF
52
53!X.MARGIN=[6,3]
54!Y.MARGIN=[6,3]
55
56;
57;------------------------------------------------------------------------------
58; Read files
59;------------------------------------------------------------------------------
60;
61
62 open_fields_v7, indir, exp_id, c_bio_model, $
63                 numt, doy, ts_d, ts_m,                        $
64                 h_i, h_s, z_ip, z_ib, s_i, t_i, e_i, PAR, Ra, $
65                 dhib, dhisu, dhisi,                           $
66                 AoCb, NO3b, PO4b, DSib, chla, eoCb,           $
67                 Argb, Argbub, $
68                 Oxyb, Oxybub, $
69                 DICb, Alkb, CO2b, CO2bub,                     $
70                 CO2aq, HCO3m, CO32m, pH, pCO2, Ikab,          $
71                 dFeb, aFeb, eFeb,                             $
72                 AoCt, NO3t, PO4t, DSit, eoCt, Argt,           $
73                 DICt, Alkt, CO2t, Ikat,                       $
74                 dFet, aFet, eFet,                             $
75                 FDAbd, FDAbpos, FDAsi,                        $
76                 FNO3, FNO3bpos, FNO3si,                       $
77                 FCO2_atm, FCO2_bub,                           $
78                 syn, rsp, lys, rem,                           $
79                 lim_lig, lim_no3, lim_po4, lim_dsi, lim_tem, lim_sal
80;DEVICE, /CLOSE
81;SET_PLOT, "X"
82;!P.MULTI=[0,2,2]
83;STOP
84               
85; conversion for carbon units if KRILL is used
86IF ( c_bio_model EQ 'KRILL' ) THEN BEGIN
87
88zunit = 12.
89AoCb = AoCb * zunit
90eoCb = eoCb * zunit
91AoCt = AoCt * zunit
92eoCt = eoCt * zunit
93syn    = syn       * zunit * 86400.
94lys    = lys       * zunit * 86400.
95rem    = rem       * zunit * 86400.
96
97ENDIF
98
99;
100;------------------------------------------------------------------------------
101; Extract size of arrays & time axis in months
102;------------------------------------------------------------------------------
103;
104zdummy = SIZE(z_ip)
105nlay = zdummy(1)
106
107zdummy = SIZE(z_ib)
108nlay_bio = zdummy(1)
109
110zdummy = SIZE(numt)
111PRINT, size(numt)
112nts = zdummy(1)
113numy = LONG ( (nts+364) / 365 )     ; number of years
114
115PRINT, ' nlay     : ', nlay
116PRINT, ' nlay_bio : ', nlay_bio
117PRINT, ' nts      : ', nts
118
119IF ( site EQ 'BARROW' ) THEN BEGIN
120   mon = numt * dt / 86400. / 30.4166 + 1 ; time axis (Barrow)
121ENDIF
122
123IF ( site EQ 'ISPOL' ) THEN BEGIN
124   mon = numt / 30.41666666 + 1
125ENDIF
126
127IF ( site EQ 'YROSIAE' ) THEN BEGIN
128   mon = numt / 30.41666666 + 1
129ENDIF
130
131;
132;------------------------------------------------------------------------------
133; OBS
134;------------------------------------------------------------------------------
135;
136;  OPEN FILE
137
138IF ( site EQ 'BARROW' ) THEN BEGIN
139
140   data_dir = '/Users/ioulianikolskaia/Boulot/SCIENCE/PLOT_SCRIPTS/LIM1D_BIO/IDL/DATA/'
141   file_name_2 = 'obs_barrow_seb.txt'
142   OPENR, 10, data_dir+file_name_2 ; 'ouverture de l'accès au fichier'
143   num_lines = 589 ; nombre de lignes
144   jd_obs    = FLTARR(num_lines)
145   annee_obs    = FLTARR(num_lines)
146   jour_entier = FLTARR(num_lines)
147   heure_obs    = FLTARR(num_lines)
148   hi_obs    = FLTARR(num_lines)
149   hs_obs    = FLTARR(num_lines)
150   
151   FOR i = 0, num_lines - 1 DO BEGIN
152      READF, 10, var1, var2, var3, var4, var5, var6
153      jd_obs   (i) = var1 & annee_obs   (i) = var2 & jour_entier(i) = var3
154      heure_obs   (i) = var4 & hs_obs   (i) = var5 & hi_obs   (i) = var6
155   ENDFOR
156   mon_obs    = jd_obs / 30.467 + 1
157   
158   CLOSE, 10
159
160ENDIF
161
162IF ( site EQ 'ISPOL' ) THEN BEGIN
163
164   data_dir = '/Users/ioulianikolskaia/Boulot/SCIENCE/PLOT_SCRIPTS/LIM1D_BIO/IDL/DATA/'
165   file_no = NCDF_OPEN(data_dir+'ISPOL.nc', /NOWRITE)
166   ;NCDF_VARGET, file_no, h_i_no, h_i
167   day_obs_no  = NCDF_VARID( file_no, 'nday'  )
168   hi_ulb_no   = NCDF_VARID( file_no, 'hi_ULB'  )
169   hs_ulb_no   = NCDF_VARID( file_no, 'hs_ULB'  )
170   hi_awi_no   = NCDF_VARID( file_no, 'hi_AWI'  )
171   hs_awi_no   = NCDF_VARID( file_no, 'hs_AWI'  )
172   dsi_obs_no  = NCDF_VARID( file_no, 'dsi' )
173   s_i_obs_no  = NCDF_VARID( file_no, 'sal_phy' )
174   
175   NCDF_VARGET, file_no, day_obs_no, day_obs
176   NCDF_VARGET, file_no, hi_ulb_no, hi_ulb
177   NCDF_VARGET, file_no, hs_ulb_no, hs_ulb
178   NCDF_VARGET, file_no, hi_awi_no, hi_awi
179   NCDF_VARGET, file_no, hs_awi_no, hs_awi
180   NCDF_VARGET, file_no, dsi_obs_no, dsi_obs
181   NCDF_VARGET, file_no, s_i_obs_no, s_i_obs
182   
183   NCDF_CLOSE, file_no
184   
185   hi_obs = ( hi_ulb + hi_awi ) / 2.0
186   hs_obs = ( hs_ulb + hs_awi ) / 2.0
187
188   mon_obs    = day_obs / 30.467 + 1
189
190ENDIF
191
192
193IF ( site EQ 'YROSIAE' ) THEN BEGIN
194   hi_obs =     [ 1.472, 1.609, 1.670, 1.690, 1.708, 1.714, 1.711, 1.677, 1.693 ]
195   hi_obs_std = [ 0.023, 0.014, 0.009, 0.011, 0.011, 0.009, 0.016, 0.024, 0.014 ]
196   hs_obs = REPLICATE(0.01, 9)
197   day_obs =[ 263, 279, 292, 299, 306, 312, 318, 327, 355 ]
198   mon_obs    = day_obs / 30.467 + 1
199ENDIF
200
201;
202;------------------------------------------------------------------------------
203; PLOTS
204;------------------------------------------------------------------------------
205;
206!P.MULTI=[0,numplot_x, numplot_y]
207
208; initialize plot positions
209i_plot = -1
210horpos = 0.02
211vertpos = 0.015
212dv = 1./FLOAT(numplot_y)
213dh = 1./FLOAT(numplot_x)
214leveling = 1
215cb_length = 0.8*dh
216
217
218IF ( site EQ 'ISPOL' ) THEN BEGIN
219   zmin = -1.30
220   zmax = 0.30
221ENDIF
222
223IF ( site EQ 'BARROW' ) THEN BEGIN
224   zmin = -1.5
225   zmax = 0.5
226ENDIF
227
228IF ( site EQ 'YROSIAE' ) THEN BEGIN
229   zmin = -2.0
230   zmax = 0.0
231ENDIF
232
233;-------------------
234; Salinity contours
235;-------------------
236i_plot   = i_plot + 1
237i_plot_h = i_plot MOD numplot_x
238i_plot_v = i_plot / numplot_x + 1
239
240; contour parameters
241nlevels = 13
242levels = [ 0,1,2,3,4,5,6,7,8,9,10,11,12]
243colors = [ 241,221,201,181,161,141,121,101,81,61,41,21,1]
244
245ct = 1 ; colortable
246tmin = MIN(mon)
247tmax = MAX(mon)
248
249title = ' Salinity '
250
251icecontour, s_i, h_i, h_s, nlevels, colors, levels, ct, z_ip, mon, nlay, nts, $
252            tmin, tmax, zmin, zmax, title
253
254LOADCT, 13
255oplot, mon_obs, -hi_obs, PSYM=1, SYMSIZE=1.0, THICK = 3, COLOR =255
256oplot, mon_obs, hs_obs, PSYM=1, SYMSIZE=1.0, THICK = 3, COLOR = 255
257LOADCT, ct
258
259; colorbar
260horpos   = 0.02 + i_plot_h * dh
261vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
262format='(f5.0)'
263colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
264
265;--------------
266; Brine volume
267;--------------
268i_plot = i_plot + 1
269i_plot_h = i_plot MOD numplot_x
270i_plot_v = i_plot / numplot_x + 1
271
272; contour parameters
273nlevels = 11
274levels = [   0.,   2.,  4.,   5.,   8.,  10.,  15.,20., 25., 30., 50.]
275colors = [   20,  60,  100,  150,  160,  170, 180, 190, 200, 210, 250 ]
276;colors = [  150, 140,  130,  100,   90,   80,  70,  50,  40,  30,  20 ]
277
278ct = 33 ; colortable
279title = ' Brine volume '
280
281icecontour, e_i, h_i, h_s, nlevels, colors, levels, ct, z_ip, mon, nlay, nts, $
282            tmin, tmax, zmin, zmax, title
283
284; colorbar
285horpos   = 0.02 + i_plot_h * dh
286vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
287format='(i3)'
288colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
289
290;
291;-----------------
292; Rayleigh number
293;-----------------
294;
295i_plot = i_plot + 1
296i_plot_h = i_plot MOD numplot_x
297i_plot_v = i_plot / numplot_x + 1
298
299; contour parameters
300nlevels = 11
301levels = [ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10. ]
302colors = [ 20,  40,   60,   80,  100,  160, 180, 200, 220, 240, 250 ]
303
304ct = 11 ; colortable
305title = ' Rayleigh number '
306
307; contours
308icecontour, Ra, h_i, h_s, nlevels, colors, levels, ct, z_ip, mon, nlay, nts, $
309            tmin, tmax, zmin, zmax, title
310; colorbar
311format='(i2)'
312horpos   = 0.02 + i_plot_h * dh
313vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
314colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
315
316;
317;--------------
318; PAR         
319;--------------
320;
321!P.MULTI=[0,numplot_x, numplot_y]
322i_plot = 0
323i_plot_h = i_plot MOD numplot_x
324i_plot_v = i_plot / numplot_x + 1
325
326; contour parameters
327nlevels = 10
328levels = [  0.0,0.015, 0.1,  1.0,  10.,  15.,  20.,  30., 50., 80.,120., 150. ]
329levels = [  0.0,0.015, 0.1,  1.0,  10.,  15.,  20.,  30., 40., 50., 60.,  70. ]
330levels = [  0.0,0.05, 0.1,  2.5,  5., 7.5,    10.,  12.5, 15., 17.5, 20. ]
331colors = [   20,  40,   60,   80,  140,  160, 180, 190, 200, 210,  220 ]
332
333ct = 3 ; colortable
334title = ' PAR (muE/m2/s)'
335
336icecontour, PAR , h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
337            tmin, tmax, zmin, zmax, title
338
339LOADCT, 1
340oplot, mon_obs, -hi_obs, PSYM=1, SYMSIZE=1.0, THICK = 3, COLOR = 150
341oplot, mon_obs, hs_obs, PSYM=1, SYMSIZE=1.0, THICK = 3, COLOR = 150
342LOADCT, ct
343
344; colorbar
345format='(f5.1)'
346horpos   = 0.02 + i_plot_h * dh
347vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
348colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
349
350;
351;----------------------
352; Temperature contours
353;----------------------
354;
355i_plot = i_plot + 1
356i_plot_h = i_plot MOD numplot_x
357i_plot_v = i_plot / numplot_x + 1
358
359; contour parameters
360nlevels = 10
361levels = [ -25., -18, -16., -14., -12., -10., -8., -6., -4., -2., 0. ]
362;levels = [ -10., -9.,  -8.,  -7.,  -6.,  -5., -4., -3., -2., -1., 0. ]
363colors = [   20,  40,   60,   80,  100,  120, 140, 160, 180, 200, 220 ]
364
365ct = 3 ; colortable
366title = ' Temperature '
367
368icecontour, t_i, h_i, h_s, nlevels, colors, levels, ct, z_ip, mon, nlay, nts, $
369            tmin, tmax, zmin, zmax, title
370
371; colorbar
372format='(f5.0)'
373horpos   = 0.02 + i_plot_h * dh
374vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
375colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
376
377;-------------------------
378; Brine Salinity contours
379;-------------------------
380;
381i_plot = i_plot + 1
382i_plot_h = i_plot MOD numplot_x
383i_plot_v = i_plot / numplot_x + 1
384
385sigma = s_i * 100. / e_i
386sigma = - t_i / 0.053
387
388nlevels = 10
389fmin = 0. & fmax = 300.
390cmin = 75 & cmax = 250
391do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
392
393levels(nlevels) = 400. ; trick trick to avoid meaningless huge values on ze plot
394
395ct = 1 ; colortable
396title = ' Brine Salinity '
397
398icecontour, sigma, h_i, h_s, nlevels, colors, levels, ct, z_ip, mon, nlay, nts, $
399            tmin, tmax, zmin, zmax, title
400
401levels(nlevels) = 300. ; trick trick
402
403; colorbar
404format='(i3)'
405horpos   = 0.02 + i_plot_h * dh
406vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
407colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
408
409;---------------
410; Dissolved NO3
411;---------------
412i_plot = i_plot + 1
413i_plot_h = i_plot MOD numplot_x
414i_plot_v = i_plot / numplot_x + 1
415
416; contour parameters
417nlevels = 10
418colors = [   20,  40,   60,   80,  100,  120, 140, 160, 180, 200, 220 ]
419IF ( site EQ 'BARROW' ) THEN BEGIN
420   levels = [   0.,   0.2,  0.4,   0.6,   0.8,  1.0,  1.2, 1.4, 1.6, 1.8, 2.0]
421ENDIF
422IF ( site EQ 'ISPOL' ) THEN BEGIN
423   levels = [   0.,     2.,   4.,    6.,    8.,  10.,   12.,14., 16., 18., 20.]
424   nlevels = 7.
425   levels = [ 0., 1.6, 4., 6., 8., 10., 12., 20.]
426   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
427ENDIF
428IF ( site EQ 'YROSIAE' ) THEN BEGIN
429   nlevels = 7.
430   levels = [ 0., 1.6, 4., 6., 8., 10., 12., 20.]
431   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
432ENDIF
433
434ct =  5 ; colortable
435title = ' NO3 (mmol/m3)'
436
437icecontour, no3b, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
438            tmin, tmax, zmin, zmax, title
439
440; colorbar
441format='(I2)'
442horpos   = 0.02 + i_plot_h * dh
443vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
444colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
445
446;---------------
447; Dissolved PO4
448;---------------
449i_plot = i_plot + 1
450i_plot_h = i_plot MOD numplot_x
451i_plot_v = i_plot / numplot_x + 1
452
453; contour parameters
454nlevels = 11
455IF ( site EQ 'BARROW' ) THEN BEGIN
456   levels = [   0.,   0.1,  0.2,   0.3,   0.4,  0.5,  0.6, 0.7, 0.8, 0.9, 1.0]
457   colors = [   20,  40,   60,   80,  100,  120, 140, 160, 180, 200, 220 ]
458ENDIF
459IF ( site EQ 'ISPOL' ) THEN BEGIN
460   levels = [   0.,   0.2,  0.4,   0.6,   0.8,  1.0,  1.2, 1.4, 1.6, 1.8, 2.0]
461   nlevels = 7
462   levels = [ 0., 0.24, 0.4, 0.6, 0.8, 1., 2. ]
463   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
464ENDIF
465IF ( site EQ 'YROSIAE' ) THEN BEGIN
466   nlevels = 7
467   levels = [ 0., 0.24, 0.4, 0.6, 0.8, 1., 2. ]
468   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
469ENDIF
470
471ct = 5 ; colortable
472title = ' PO4 (mmol/m3)'
473
474icecontour, PO4b, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
475            tmin, tmax, zmin, zmax, title
476
477; colorbar
478format='(f4.1)'
479horpos   = 0.02 + i_plot_h * dh
480vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
481colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
482
483;--------------
484; Dissolved Si
485;--------------
486i_plot = i_plot + 1
487i_plot_h = i_plot MOD numplot_x
488i_plot_v = i_plot / numplot_x + 1
489
490; contour parameters
491nlevels = 11
492;levels = [   0.,   2.,  4.,   6.,   8.,  10.,  12.,14., 16., 18., 20.]
493;levels = [   0.,     4.,   8.,   12.,   16.,  20.,   24.,28., 32., 36., 40.]
494levels = [   0.,   1.,  2.,   3.,   4.,  5.,  6., 7., 8., 9., 10.]
495IF ( site EQ 'BARROW' ) THEN BEGIN
496   levels = [   0., 0.5,   1.,  1.5,  2.0, 2.5, 3.0,3.5, 4., 4.5, 5.]
497   colors = [   20,  40,   60,   80,  100,  120, 140, 160, 180, 200, 220 ]
498ENDIF
499IF ( site EQ 'ISPOL' ) THEN BEGIN
500   levels = [   0.,   2.,  4.,   6.,   8.,  10.,  12.,14., 16., 18., 20.]
501   nlevels = 7.
502   levels = [ 0., 3.9, 8., 12., 16., 20., 24., 40.]
503   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
504ENDIF
505IF ( site EQ 'YROSIAE' ) THEN BEGIN
506   nlevels = 7.
507   levels = [ 0., 3.9, 8., 12., 16., 20., 24., 40.]
508   colors = [ 20, 60, 100, 140, 180, 220, 240 ]
509ENDIF
510
511ct = 5 ; colortable
512title = ' DSi (mmol/m3)'
513
514icecontour, dsib, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
515            tmin, tmax, zmin, zmax, title
516
517; colorbar
518format='(f4.1)'
519horpos   = 0.02 + i_plot_h * dh
520vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
521colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
522
523;
524;------------------
525; light limitation
526;------------------
527;
528i_plot = i_plot + 1
529i_plot_h = i_plot MOD numplot_x
530i_plot_v = i_plot / numplot_x + 1
531
532; contour parameters
533nlevels = 10
534fmin = 0.0 & fmax = 1.001
535cmin = 0 & cmax = 250
536do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
537
538ct = 3  ; colortable
539title = ' Light limitation '
540
541; contours
542icecontour, lim_lig, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
543            tmin, tmax, zmin, zmax, title
544
545; colorbar
546format='(f3.1)'
547horpos   = 0.02 + i_plot_h * dh
548vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
549colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
550
551;
552;------------------
553; Temp limitation
554;------------------
555;
556i_plot = i_plot + 1
557i_plot_h = i_plot MOD numplot_x
558i_plot_v = i_plot / numplot_x + 1
559
560; contour parameters
561nlevels = 10
562fmin = 0.0 & fmax = 1.0001
563cmin = 0 & cmax = 250
564do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
565
566ct = 3  ; colortable
567title = ' Temp limitation '
568
569; contours
570icecontour, lim_tem, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
571            tmin, tmax, zmin, zmax, title
572; colorbar
573format='(f3.1)'
574horpos   = 0.02 + i_plot_h * dh
575vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
576colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
577;
578;------------------
579; Salt limitation
580;------------------
581;
582
583i_plot = i_plot + 1
584i_plot_h = i_plot MOD numplot_x
585i_plot_v = i_plot / numplot_x + 1
586
587; contour parameters
588nlevels = 10
589fmin = 0.0 & fmax = 1.0001
590cmin = 0 & cmax = 250
591do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
592
593ct = 3  ; colortable
594title = ' Salt limitation '
595
596; contours
597icecontour, lim_sal, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
598            tmin, tmax, zmin, zmax, title
599; colorbar
600format='(f3.1)'
601horpos   = 0.02 + i_plot_h * dh
602vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
603colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
604
605;
606;------------------
607; NO3 limitation
608;------------------
609;
610i_plot = i_plot + 1
611i_plot_h = i_plot MOD numplot_x
612i_plot_v = i_plot / numplot_x + 1
613
614; contour parameters
615nlevels = 10
616fmin = 0.0 & fmax = 1.0001
617cmin = 0 & cmax = 250
618do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
619
620ct = 3 ; colortable
621title = ' NO3 limitation '
622
623; contours
624icecontour, lim_no3, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
625            tmin, tmax, zmin, zmax, title
626; colorbar
627format='(f3.1)'
628horpos   = 0.02 + i_plot_h * dh
629vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
630colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
631
632;
633;------------------
634; PO4 limitation
635;------------------
636;
637i_plot = i_plot + 1
638i_plot_h = i_plot MOD numplot_x
639i_plot_v = i_plot / numplot_x + 1
640
641; contour parameters
642nlevels = 10
643fmin = 0.0 & fmax = 1.0001
644cmin = 0 & cmax = 250
645do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
646
647ct = 3 ; colortable
648title = ' PO4 limitation '
649
650; contours
651icecontour, lim_po4, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
652            tmin, tmax, zmin, zmax, title
653; colorbar
654format='(f3.1)'
655horpos   = 0.02 + i_plot_h * dh
656vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
657colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
658
659;
660;------------------
661; DSI limitation
662;------------------
663;
664i_plot = i_plot + 1
665i_plot_h = i_plot MOD numplot_x
666i_plot_v = i_plot / numplot_x + 1
667
668; contour parameters
669nlevels = 10
670fmin = 0.0 & fmax = 1.0001
671cmin = 0 & cmax = 250
672do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
673
674ct = 3 ; colortable
675title = ' DSi limitation '
676
677; contours
678icecontour, lim_dsi, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
679            tmin, tmax, zmin, zmax, title
680; colorbar
681format='(f3.1)'
682horpos   = 0.02 + i_plot_h * dh
683vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
684colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
685
686;
687;------------------
688; 3-nut limitation
689;------------------
690;
691
692zlim_nut = FLTARR(nlay, nts)
693FOR i = 0, nts - 1 DO BEGIN
694   FOR layer = 0, nlay - 1 DO BEGIN
695      zlim_nut(layer,i) = MIN( [ lim_dsi(layer,i), lim_no3(layer,i), lim_po4(layer,i) ] )
696   ENDFOR
697ENDFOR
698
699i_plot = i_plot + 1
700i_plot_h = i_plot MOD numplot_x
701i_plot_v = i_plot / numplot_x + 1
702
703; contour parameters
704nlevels = 10
705fmin = 0.0 & fmax = 1.0001
706cmin = 0 & cmax = 250
707do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
708
709ct = 3 ; colortable
710title = ' Nutrient limitation '
711
712; contours
713icecontour, zlim_nut, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
714            tmin, tmax, zmin, zmax, title
715; colorbar
716format='(f3.1)'
717horpos   = 0.02 + i_plot_h * dh
718vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
719colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
720
721;
722;----------------------
723; Algal organic carbon
724;----------------------
725;
726i_plot = i_plot + 1
727i_plot_h = i_plot MOD numplot_x
728i_plot_v = i_plot / numplot_x + 1
729
730; contour parameters
731nlevels = 8
732fmin = 0.0 & fmax = MAX(AoCb)
733fmin = 0.0 & fmax = 1000.
734cmin = 255. & cmax = 80.
735do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
736
737ct = 8 ; colortable
738title = ' AoCb (mgC/m3)'
739
740; contours
741icecontour, AoCb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
742            tmin, tmax, zmin, zmax, title
743; colorbar
744format='(f5.0)'
745horpos   = 0.02 + i_plot_h * dh
746vertpos  = 0.0155 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
747colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
748
749;
750;-------------------------
751; Detrital organic carbon
752;-------------------------
753;
754i_plot = i_plot + 1
755i_plot_h = i_plot MOD numplot_x
756i_plot_v = i_plot / numplot_x + 1
757
758; contour parameters
759nlevels = 8
760fmin = 0.0 & fmax = MAX(eOCb)
761fmin = 0.0 & fmax = 1000.
762cmin = 255. & cmax = 80.
763do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
764
765ct = 8 ; colortable
766title = ' eoCb (mgC/m3)'
767
768; contours
769icecontour, eOCb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
770            tmin, tmax, zmin, zmax, title
771; colorbar
772format='(f5.0)'
773horpos   = 0.02 + i_plot_h * dh
774vertpos  = 0.0155 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
775colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
776
777
778;
779;-----------------
780; chla
781;-----------------
782;
783i_plot = i_plot + 1
784i_plot_h = i_plot MOD numplot_x
785i_plot_v = i_plot / numplot_x + 1
786; contour parameters
787nlevels = 10
788fmin = 0.0 & fmax = MAX(chla)
789fmin = 0.0 & fmax = 80.
790cmin = 255. & cmax = 80.
791do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
792
793IF ( site EQ 'ISPOL' ) THEN BEGIN
794;   zmax = 0.
795;    levels = [   0.,   5., 10.,  15.,  20.,  25.,  30., 35., 40., 45., 50.] ; CHL_LONG_001
796;   levels = [   0.,  2.5,  5.,  7.5,  10., 12.5,  15.,17.5, 20.,22.5, 25.] ; CTL_LONG_01
797;   levels = [   0.,  35., 70., 105., 140., 175., 210., 245., 280., 315., 350.] ; PCS_LON_008
798;   levels = [ 0., 10., 20., 30., 40., 50., 60., 70., 80., 90., 100. ] ; PCS_LONG_009
799;   levels = [ 0., 30., 60., 90., 120., 150., 180., 210., 240., 270., 300. ]
800ENDIF
801
802ct = 8 ; colortable
803title = ' chla (mg/m3) '
804
805; contours
806icecontour, chla, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
807            tmin, tmax, zmin, zmax, title
808; colorbar
809format='(f5.0)'
810horpos   = 0.02 + i_plot_h * dh
811vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
812colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
813
814;
815;-----------------
816; Synthesis
817;-----------------
818;
819i_plot = i_plot + 1
820i_plot_h = i_plot MOD numplot_x
821i_plot_v = i_plot / numplot_x + 1
822; contour parameters
823nlevels = 8
824fmin = 0.00 & fmax = MAX(syn) ; LONG(MAX(syn)) + 1
825cmin = 255 & cmax = 80
826do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
827
828ct = 8 ; colortable
829title = ' syn (mgC/m3/d) '
830
831; contours
832icecontour, syn, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
833            tmin, tmax, zmin, zmax, title
834; colorbar
835format='(f5.1)'
836horpos   = 0.02 + i_plot_h * dh
837vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
838colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
839
840;
841;-----------------
842; Lysis
843;-----------------
844;
845i_plot = i_plot + 1
846i_plot_h = i_plot MOD numplot_x
847i_plot_v = i_plot / numplot_x + 1
848; contour parameters
849nlevels = 8
850fmin = 0.0 & fmax = MAX(lys) ; LONG(MAX(lys)) + 1
851cmin = 255 & cmax = 80
852do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
853;IF ( zmax LE 0.0 ) THEN levels = [ 0, 1, 2, 3 ,4,5,6]
854
855ct = 8 ; colortable
856title = ' lys (mgC/m3/d) '
857
858; contours
859icecontour, lys, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
860            tmin, tmax, zmin, zmax, title
861; colorbar
862format='(f5.1)'
863horpos   = 0.02 + i_plot_h * dh
864vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
865colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
866
867;
868;--------------
869; Argon bulk
870;--------------
871;
872!P.MULTI=[0,numplot_x, numplot_y]
873i_plot = 0
874i_plot_h = i_plot MOD numplot_x
875i_plot_v = i_plot / numplot_x + 1
876
877; contour parameters
878nlevels = 10
879fmin = 0.0 & fmax = 10. ;MAX(Argb)
880cmin = 000 & cmax = 255
881do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
882
883ct = 1 ; colortable
884title = ' Arg (mmol/m3)'
885
886icecontour, Argb , h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
887            tmin, tmax, zmin, zmax, title
888
889; colorbar
890format='(I2)'
891horpos   = 0.02 + i_plot_h * dh
892vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
893colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
894
895;
896;---------------
897; Argon bubbles
898;---------------
899;
900i_plot = i_plot + 1
901i_plot_h = i_plot MOD numplot_x
902i_plot_v = i_plot / numplot_x + 1
903
904; contour parameters
905nlevels = 10
906fmin = 0.0 & fmax = 10. ; MAX(Argbub)
907cmin = 000 & cmax = 255
908do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
909
910ct = 1 ; colortable
911title = ' Arg bubbles (mmol/m3) '
912
913icecontour, Argbub, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
914            tmin, tmax, zmin, zmax, title
915
916; colorbar
917format='(I2)'
918horpos   = 0.02 + i_plot_h * dh
919vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
920colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
921
922;
923;--------------
924; Oxygen bulk
925;--------------
926;
927i_plot = i_plot + 1
928i_plot_h = i_plot MOD numplot_x
929i_plot_v = i_plot / numplot_x + 1
930
931; contour parameters
932nlevels = 10
933fmin = 0.0 & fmax = 200. ;MAX(Argb)
934cmin = 000 & cmax = 255
935do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
936
937ct = 1 ; colortable
938title = ' Oxy (mmol/m3)'
939
940icecontour, Oxyb , h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
941            tmin, tmax, zmin, zmax, title
942
943; colorbar
944format='(I3)'
945horpos   = 0.02 + i_plot_h * dh
946vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
947colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
948
949;
950;----------------
951; Oxygen bubbles
952;----------------
953;
954i_plot = i_plot + 1
955i_plot_h = i_plot MOD numplot_x
956i_plot_v = i_plot / numplot_x + 1
957
958; contour parameters
959nlevels = 10
960fmin = 0.0 & fmax = 200.; MAX(Argbub)
961cmin = 000 & cmax = 255
962do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
963
964ct = 1 ; colortable
965title = ' Oxy bubbles (mmol/m3) '
966
967icecontour, Oxybub, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
968            tmin, tmax, zmin, zmax, title
969
970; colorbar
971format='(I2)'
972horpos   = 0.02 + i_plot_h * dh
973vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
974colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
975
976
977;
978;---------------
979; DIC
980;---------------
981;
982i_plot = i_plot + 1
983i_plot_h = i_plot MOD numplot_x
984i_plot_v = i_plot / numplot_x + 1
985
986; contour parameters
987nlevels = 10
988fmin = 0.0 & fmax = 600. ; MAX(DICb)
989cmin = 000 & cmax = 255
990do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
991
992ct = 1 ; colortable
993title = ' DIC (mmol/m3) '
994
995icecontour, DICb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
996            tmin, tmax, zmin, zmax, title
997
998; colorbar
999format='(I4)'
1000horpos   = 0.02 + i_plot_h * dh
1001vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1002colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1003
1004;
1005;---------------
1006; CO2aq
1007;---------------
1008;
1009i_plot = i_plot + 1
1010i_plot_h = i_plot MOD numplot_x
1011i_plot_v = i_plot / numplot_x + 1
1012
1013; contour parameters
1014nlevels = 10
1015fmin = 0.0 & fmax = 20. ; MAX(CO2aq)
1016cmin = 000 & cmax = 255
1017do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1018
1019ct = 1 ; colortable
1020title = ' CO2aq (mmol/m3) '
1021
1022icecontour, CO2aq, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1023            tmin, tmax, zmin, zmax, title
1024
1025; colorbar
1026format='(I4)'
1027horpos   = 0.02 + i_plot_h * dh
1028vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1029colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1030
1031;
1032;---------------
1033; HCO3m
1034;---------------
1035;
1036i_plot = i_plot + 1
1037i_plot_h = i_plot MOD numplot_x
1038i_plot_v = i_plot / numplot_x + 1
1039
1040; contour parameters
1041nlevels = 10
1042fmin = 0.0 & fmax = 600.
1043cmin = 000 & cmax = 255
1044do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1045
1046ct = 1 ; colortable
1047title = ' HCO3m (mmol/m3) '
1048
1049icecontour, HCO3m, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1050            tmin, tmax, zmin, zmax, title
1051
1052; colorbar
1053format='(I4)'
1054horpos   = 0.02 + i_plot_h * dh
1055vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1056colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1057
1058;
1059;---------------
1060; CO32m
1061;---------------
1062;
1063i_plot = i_plot + 1
1064i_plot_h = i_plot MOD numplot_x
1065i_plot_v = i_plot / numplot_x + 1
1066
1067; contour parameters
1068nlevels = 10
1069fmin = 0.0 & fmax =  40.
1070cmin = 000 & cmax = 255
1071do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1072
1073ct = 1 ; colortable
1074title = ' CO32m (mmol/m3) '
1075
1076icecontour, CO32m, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1077            tmin, tmax, zmin, zmax, title
1078
1079; colorbar
1080format='(I4)'
1081horpos   = 0.02 + i_plot_h * dh
1082vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1083colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1084
1085;
1086;---------------
1087; pCO2
1088;---------------
1089;
1090i_plot = i_plot + 1
1091i_plot_h = i_plot MOD numplot_x
1092i_plot_v = i_plot / numplot_x + 1
1093
1094; contour parameters
1095nlevels = 5
1096fmin = 0.0 & fmax =12000.
1097cmin = 000 & cmax = 255
1098do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1099
1100ct = 1 ; colortable
1101title = ' pCO2 in brine (muatm) '
1102
1103icecontour, pCO2, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1104            tmin, tmax, zmin, zmax, title
1105
1106; colorbar
1107format='(E7.1)'
1108horpos   = 0.02 + i_plot_h * dh
1109vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1110colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1111
1112;---------------
1113; pH   
1114;---------------
1115;
1116i_plot = i_plot + 1
1117i_plot_h = i_plot MOD numplot_x
1118i_plot_v = i_plot / numplot_x + 1
1119
1120; contour parameters
1121nlevels = 10
1122fmin = 7.5 & fmax = 9.5
1123cmin = 000 & cmax = 255
1124do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1125
1126ct = 1 ; colortable
1127title = ' pH '
1128
1129icecontour, pH, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1130            tmin, tmax, zmin, zmax, title
1131
1132; colorbar
1133format='(F3.1)'
1134horpos   = 0.02 + i_plot_h * dh
1135vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1136colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1137
1138
1139;
1140;---------------
1141; Alk
1142;---------------
1143;
1144i_plot = i_plot + 1
1145i_plot_h = i_plot MOD numplot_x
1146i_plot_v = i_plot / numplot_x + 1
1147
1148; contour parameters
1149nlevels = 10
1150fmin = 0.0 & fmax = 600. ; MAX(Alkb)
1151cmin = 000 & cmax = 255
1152do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1153
1154ct = 1 ; colortable
1155title = ' Alk (mmol/m3) '
1156
1157icecontour, Alkb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1158            tmin, tmax, zmin, zmax, title
1159
1160; colorbar
1161format='(I4)'
1162horpos   = 0.02 + i_plot_h * dh
1163vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1164colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1165
1166;
1167;---------------
1168; Ika
1169;---------------
1170;
1171i_plot = i_plot + 1
1172i_plot_h = i_plot MOD numplot_x
1173i_plot_v = i_plot / numplot_x + 1
1174
1175; contour parameters
1176nlevels = 10
1177fmin =  0.0 & fmax = 120. ; MAX(Alkb)
1178cmin = 000 & cmax = 255
1179do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1180
1181ct = 1 ; colortable
1182title = ' Ika (mmol/m3) '
1183
1184icecontour, Ikab, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1185            tmin, tmax, zmin, zmax, title
1186
1187; colorbar
1188format='(I4)'
1189horpos   = 0.02 + i_plot_h * dh
1190vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1191colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1192
1193
1194; DEVICE, /CLOSE
1195; SET_PLOT, "X"
1196; !P.MULTI=[0,2,2]
1197; STOP
1198
1199;
1200;---------------
1201; CO2bub
1202;---------------
1203;
1204i_plot = i_plot + 1
1205i_plot_h = i_plot MOD numplot_x
1206i_plot_v = i_plot / numplot_x + 1
1207
1208; contour parameters
1209nlevels = 10
1210fmin = 0.0 & fmax =  60. ;  MAX(CO2bub) ;1.0
1211cmin = 000 & cmax = 255
1212do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1213
1214ct = 1 ; colortable
1215title = ' CO2bub (mmol/m3) '
1216
1217icecontour, CO2bub, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1218            tmin, tmax, zmin, zmax, title
1219
1220; colorbar
1221format='(F3.1)'
1222format='(I2)'
1223horpos   = 0.02 + i_plot_h * dh
1224vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1225colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1226
1227;
1228;--------------
1229; dFe         
1230;--------------
1231;
1232!P.MULTI=[0,numplot_x, numplot_y]
1233i_plot = 0
1234i_plot_h = i_plot MOD numplot_x
1235i_plot_v = i_plot / numplot_x + 1
1236
1237; contour parameters
1238nlevels = 10
1239nlevels = 10
1240fmin = 0.0 & fmax = MAX(dFeb) ;
1241cmin = 000 & cmax = 255
1242do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1243
1244ct = 3 ; colortable
1245title = ' dFe (mumol/m3)'
1246
1247icecontour, dFeb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1248            tmin, tmax, zmin, zmax, title
1249
1250; colorbar
1251format='(f5.1)'
1252horpos   = 0.02 + i_plot_h * dh
1253vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1254colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1255
1256;
1257;--------------
1258; aFe         
1259;--------------
1260;
1261i_plot = i_plot + 1
1262i_plot_h = i_plot MOD numplot_x
1263i_plot_v = i_plot / numplot_x + 1
1264
1265; contour parameters
1266nlevels = 10
1267nlevels = 10
1268fmin = 0.0 & fmax = MAX(aFeb) ;
1269cmin = 000 & cmax = 255
1270do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1271
1272ct = 3 ; colortable
1273title = ' aFe (mumol/m3)'
1274
1275icecontour, aFeb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1276            tmin, tmax, zmin, zmax, title
1277
1278; colorbar
1279format='(f5.1)'
1280horpos   = 0.02 + i_plot_h * dh
1281vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1282colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1283
1284;
1285;--------------
1286; eFe         
1287;--------------
1288;
1289i_plot = i_plot + 1
1290i_plot_h = i_plot MOD numplot_x
1291i_plot_v = i_plot / numplot_x + 1
1292
1293; contour parameters
1294nlevels = 10
1295nlevels = 10
1296fmin = 0.0 & fmax = MAX(eFeb) ;
1297cmin = 000 & cmax = 255
1298do_levels, fmin, fmax, cmin, cmax, nlevels, levels, colors
1299
1300ct = 3 ; colortable
1301title = ' eFe (mumol/m3)'
1302
1303icecontour, eFeb, h_i, h_s, nlevels, colors, levels, ct, z_ib, mon, nlay_bio, nts, $
1304            tmin, tmax, zmin, zmax, title
1305
1306; colorbar
1307format='(f5.1)'
1308horpos   = 0.02 + i_plot_h * dh
1309vertpos  = 0.015 + ( numplot_y - i_plot_v ) * dv ; position of colorbar.
1310colorbarn, horpos, vertpos, cb_length, 0.02, MIN(levels), MAX(levels), leveling, nlevels+1, levels, colors, format
1311
1312;
1313;------------------------------------------------------------------------------
1314; End of the script
1315;------------------------------------------------------------------------------
1316;
1317IF ( device EQ 'PS' ) THEN BEGIN
1318   DEVICE, /CLOSE
1319   SET_PLOT, "X"
1320   !P.MULTI=[0,2,2]
1321ENDIF
1322END
1323
Note: See TracBrowser for help on using the repository browser.