Changeset 3889 for branches/2012
- Timestamp:
- 2013-04-23T11:04:50+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/CONFIG/ORCA2_LIM/IDL_scripts/std_ts_ICE.pro
r3888 r3889 15 15 time_ice = ncdf_lec( std_file_ice, VAR='time' ) 16 16 time_ice = (time_ice - FLOOR(time_ice) ) * 12 17 time_ice = round(time_ice) ; arrondir a intero + vicino17 time_ice = round(time_ice) ; round to nearest integer 18 18 t1 = where(time_ice eq 0) 19 t1 = t1[0] ; gennaio19 t1 = t1[0] ; jannuary 20 20 t2 = where(time_ice eq 11, count) 21 t2 = t2[count-1] ; ultimo giorno di dicembre21 t2 = t2[count-1] ; last day of december 22 22 nyear = (t2-t1+1)/12 23 23 vICE_ext_NH = ncdf_lec(std_file_ice, VAR=getenv('VAR_ICE_EXT_NH') ) 24 24 vICE_ext_NH = vICE_ext_NH[t1:t2] 25 vICE_ext_NH = reform(vICE_ext_NH,12,nyear); put in 2darray26 vICE_ext_NH = total(vICE_ext_NH,2)/nyear ; faccio il totale sulla seconda dimensione (gli anni)25 vICE_ext_NH = reform(vICE_ext_NH,12,nyear); put in 2D array 26 vICE_ext_NH = total(vICE_ext_NH,2)/nyear ; total over 2th dimension (i.e.years) 27 27 ; 28 28 vICE_ext_SH = ncdf_lec(std_file_ice, VAR=getenv('VAR_ICE_EXT_SH') ) 29 29 vICE_ext_SH = vICE_ext_SH[t1:t2] 30 vICE_ext_SH = reform(vICE_ext_SH,12,nyear); put in 2darray31 vICE_ext_SH = total(vICE_ext_SH,2)/nyear ; faccio il totale sulla seconda dimensione (gli anni)30 vICE_ext_SH = reform(vICE_ext_SH,12,nyear); put in 2D array 31 vICE_ext_SH = total(vICE_ext_SH,2)/nyear ; total over 2th dimension (i.e.years) 32 32 ; 33 33 vICE_area_NH = ncdf_lec(std_file_ice, VAR=getenv('VAR_ICE_area_NH') ) 34 34 vICE_area_NH = vICE_area_NH[t1:t2] 35 vICE_area_NH = reform(vICE_area_NH,12,nyear); put in 2darray36 vICE_area_NH = total(vICE_area_NH,2)/nyear ; faccio il totale sulla seconda dimensione (gli anni)35 vICE_area_NH = reform(vICE_area_NH,12,nyear); put in 2D array 36 vICE_area_NH = total(vICE_area_NH,2)/nyear ; total over 2th dimension (i.e.years) 37 37 ; 38 38 vICE_area_SH = ncdf_lec(std_file_ice, VAR=getenv('VAR_ICE_area_SH') ) 39 39 vICE_area_SH = vICE_area_SH[t1:t2] 40 vICE_area_SH = reform(vICE_area_SH,12,nyear); put in 2darray41 vICE_area_SH = total(vICE_area_SH,2)/nyear ; faccio il totale sulla seconda dimensione (gli anni)40 vICE_area_SH = reform(vICE_area_SH,12,nyear); put in 2D array 41 vICE_area_SH = total(vICE_area_SH,2)/nyear ; total over 2th dimension (i.e.years) 42 42 ; 43 43 cdti3 = string(cnt, format = '(i3.3)') … … 50 50 ; 51 51 iodir = std_iodir_data 52 ; ICE Extent and Ice Extent minus 15%in NORTH Hemisphere52 ; ICE Extent in NORTH Hemisphere 53 53 domdef, 0, jpi-1, 30, 90, /xindex 54 54 ICE_N = rseries_ncdf(vICE1, date1, date2, prefix, suffix, FIRSTONLY = 1 - allrec) … … 59 59 ice_n = total(ice_n,2)/nyr 60 60 ICE_N = {arr:ICE_N * 1.e-12, unit : '10^12 m^2'} 61 ; extend di ghiaccio meno il 15%61 ; ICE EXTENT minus 15% in NORTH Hemisphere 62 62 ICE_N_15 = rseries_ncdf(vICE1, date1, date2, prefix, suffix, FIRSTONLY = 1 - allrec) 63 63 msk = ICE_N_15.arr gt 0.15 ; remove 0.15% for observations … … 69 69 ICE_N_15 = {arr:ICE_N_15 * 1.e-12, unit : '10^12 m^2'} 70 70 ; 71 ;ICE Extent and Ice Extent minus 15% in NORTH Hemisphere71 ;ICE Extent in SOUTH Hemisphere 72 72 domdef, 0, jpi-1, -90, -30, /xindex 73 73 ICE_S = rseries_ncdf(vICE1, date1, date2, prefix, suffix, FIRSTONLY = 1 - allrec) … … 78 78 ice_S = total(ice_S,2)/nyr 79 79 ICE_S = {arr:ICE_S * 1.e-12, unit : '10^12 m^2'} 80 ; 81 ;extend di ghiaccio meno il 15% 80 ; ICE EXTENT minus 15% in SOUTH Hemisphere 82 81 ICE_S_15 = rseries_ncdf(vICE1, date1, date2, prefix, suffix, FIRSTONLY = 1 - allrec) 83 82 msk = ICE_S_15.arr gt 0.15 ; remove 0.15% for observations … … 89 88 ICE_S_15 = {arr:ICE_S_15 * 1.e-12, unit : '10^12 m^2'} 90 89 ; 91 title = prefix+' '+d1_d2+'!C'+'Global Annual Mean Ice Area (North. Hemisp.) (Black SOLID simulation) and Extend minus 15% (Blue SOLID simulation)'+'!C'+'Observation (dashed)'90 title = prefix+' '+d1_d2+'!C'+'Global Annual Mean Ice Area (North. Hemisp.) (Black SOLID simulation)'+'!C'+ ' and Extend minus 15% (Blue SOLID simulation)'+'!C'+'Observation (dashed)' 92 91 jpt=12 93 92 time=julday(1,15,1900)+30*lindgen(12) 94 93 pltt, ICE_N, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT,MIN = 4., MAX = 16. $ 95 94 , small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 96 pltt, ICE_N_15, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT $ ; linee tratteggiateLINESTYLE=2 $95 pltt, ICE_N_15, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT $ ; dashed lines is LINESTYLE=2 $ 97 96 , /ov1d, COLOR = 100, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 98 pltt, vICE_area_NH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ ; linee tratteggiate $97 pltt, vICE_area_NH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ 99 98 , /ov1d, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 100 pltt, vICE_ext_NH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ ; linee tratteggiate $99 pltt, vICE_ext_NH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ 101 100 , /ov1d, COLOR = 100, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 102 ; ;;DA RIMETTERE?return103 title = prefix+' '+d1_d2+' - '+' Global Annual Mean Ice Area (South. Hemisp.) (Black) and Extend minus 15% (Blue)'+'!C'+'Observation (dashed)'101 ;return 102 title = prefix+' '+d1_d2+' - '+'!C'+'Global Annual Mean Ice Area (South. Hemisp.) (Black SOLID simulation)'+'!C'+ ' and Extend minus 15% (Blue SOLID simulation)'+'!C'+'Observation (dashed)' 104 103 pltt, ICE_S, 't', 0., 15.,19000101 ,19001231 , /REMPLI, /NOERASE , MIN = 0., MAX = 20. $ 105 104 , small = [1, 2, 2], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 106 pltt, ICE_S_15, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT $ ; linee tratteggiate LINESTYLE=2 $105 pltt, ICE_S_15, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT $ 107 106 , /ov1d, COLOR = 100, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 108 pltt, vICE_area_SH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ ; linee tratteggiate $107 pltt, vICE_area_SH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ 109 108 , /ov1d, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 110 pltt, vICE_ext_SH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ ; linee tratteggiate $109 pltt, vICE_ext_SH, 't', 0., 15., 19000101, 19001231, /REMPLI, /PORTRAIT, LINESTYLE=2 $ 111 110 , /ov1d, COLOR = 100, small = [1, 2, 1], YTITLE = '10^12 m^2 ', TITLE = title, _extra = ex 112 ; ;return111 ;return 113 112 htmltxt = [ htmltxt, '<hr>'+blabla, '<br><img width="80%" src='+filename+'.png /> ' ] 114 113 if KEYWORD_SET(postscript) then closeps … … 117 116 118 117 d1_d2_2 = '('+strtrim(date1_2, 1)+' - '+strtrim(date2_2, 1)+')' 119 120 118 tsave = time 121 119 domdef, 0, jpi-1, 30, 90, /xindex 120 ;ICE Extent in NORTH Hemisphere 122 121 ICE_N2 = rseries_ncdf(vICE2, date1_2, date2_2, prefix2, suffix2, FIRSTONLY = 1 - allrec) 123 122 ICE_N2 = grossemoyenne(ICE_N2.arr, 'xy', /integration, mask2d = masknp) … … 127 126 ICE_N2 = total(ICE_N2,2)/nyr 128 127 ICE_N2 = {arr:ICE_N2 * 1.e-12, unit : '10^12 m^2'} 129 ; extend di ghiaccio meno il 15%128 ;ICE Extent minus 15% in NORTH Hemisphere 130 129 ICE_N2_15 = rseries_ncdf(vICE2, date1_2, date2_2, prefix_2, suffix_2, FIRSTONLY = 1 - allrec) 131 130 msk = ICE_N2_15.arr gt 0.15 ; remove 0.15% for observations … … 136 135 ICE_N2_15 = total(ICE_N2_15,2)/nyr 137 136 ICE_N2_15 = {arr:ICE_N2_15 * 1.e-12, unit : '10^12 m^2'} 138 ;ICE Extent and Ice Extent minus 15% in NORTH Hemisphere137 ;ICE Extent in SOUTH Hemisphere 139 138 domdef, 0, jpi-1, -90, -30, /xindex 140 139 ICE_S2 = rseries_ncdf(vICE2, date1_2, date2_2, prefix_2, suffix_2, FIRSTONLY = 1 - allrec) … … 145 144 ICE_S2 = total(ICE_S2,2)/nyr 146 145 ICE_S2 = {arr:ICE_S2 * 1.e-12, unit : '10^12 m^2'} 147 ; 148 ;extend di ghiaccio meno il 15% 146 ;ICE Extent minus 15% in SOUTH Hemisphere 149 147 ICE_S2_15 = rseries_ncdf(vICE2, date1_2, date2_2, prefix_2, suffix_2, FIRSTONLY = 1 - allrec) 150 148 msk = ICE_S2_15.arr gt 0.15 ; remove 0.15% for observations
Note: See TracChangeset
for help on using the changeset viewer.