64 USE modi_gltools_avevai
66 USE modi_gltools_outdia
67 #if ! defined in_surfex
68 USE modi_gltools_dynami
70 #if ! defined in_arpege
74 USE modi_gltools_glterr
77 TYPE(t_glt),
INTENT(inout) :: &
83 yfname,ymess,yfdef,ylnam
86 LOGICAL,
DIMENSION(nx,ny) :: &
89 zai,zaj,zcslat,zdilat,zdilon,zdjlat,zdjlon,zw
90 REAL,
DIMENSION(1,1) :: &
91 zehn,zehs,zshn,zshs,zvhn,zvhs,zwhn,zwhs, &
92 zfram,zbering,zncwest,znceast,znorthb
93 REAL,
DIMENSION(nx,ny) :: &
94 zfsit,zhsit,zhsnt,zmsnt
95 REAL,
DIMENSION(nx,ny) :: &
97 REAL,
DIMENSION(nt,nx,ny) :: &
103 TYPE(t_dom),
DIMENSION(nx,ny) :: &
105 TYPE(t_mxl),
DIMENSION(nx,ny) :: &
107 TYPE(t_tfl),
DIMENSION(nx,ny) :: &
109 TYPE(t_blk),
DIMENSION(nx,ny) :: &
111 TYPE(t_blk),
DIMENSION(nt,nx,ny) :: &
113 TYPE(t_sit),
DIMENSION(nt,nx,ny) :: &
115 TYPE(t_bud),
DIMENSION(nx,ny) :: &
117 TYPE(t_dia),
DIMENSION(nx,ny) :: &
119 REAL,
DIMENSION(ndiamax,1,1) :: &
121 REAL,
DIMENSION(ndiamax,nx,ny) :: &
133 zcumdia0 = tpglt%cdia0
150 IF(lp1)
WRITE(noutlu,*)
' '
151 IF(lp1)
WRITE(noutlu,*)
' *** LEVEL 3 - SUBROUTINE WRIDIA_AR5'
152 IF(lp1)
WRITE(noutlu,*)
' '
153 IF(lp1)
WRITE(noutlu,*)
' --> Write diagnostic files'
165 tzind%nts = tzind%nts + 1
176 tzdia(:,:)%sic = tzdia(:,:)%sic + zfsit(:,:)
177 tzdia(:,:)%sit = tzdia(:,:)%sit + zhsit(:,:)
178 tzdia(:,:)%snd = tzdia(:,:)%snd + zhsnt(:,:)
185 IF ( ndiap1==1 )
THEN
194 "Sea Ice Area Fraction", &
195 "sea_ice_area_fraction", &
196 "sic",
"%",
"T",
"SCALAR" )
197 zwork2(:,:) = 100.*zfsit(:,:)
201 "Sea Ice Thickness", &
202 "sea_ice_thickness", &
203 "sit",
"m",
"T",
"SCALAR" )
204 zwork2(:,:) = zhsit(:,:)
208 "Frozen Water Mass", &
210 "sim",
"kg.m-2",
"T",
"SCALAR" )
211 zwork2(:,:) = ( rhoice*zhsit(:,:) + zmsnt(:,:) )
218 sum( tzsit(:,:,:)%fsi*tzblki(:,:,:)%eva, dim=1 )
220 "Water Evaporation Flux from Sea Ice", &
221 "water_evaporation_flux", &
222 "evap",
"kg.m-2.s-1",
"T",
"SCALAR" )
227 "surface_snow_thickness", &
228 "snd",
"m",
"T",
"SCALAR" )
229 zwork2(:,:) = zhsnt(:,:)
235 "Snow Layer Density", &
236 "snow_layer_density", &
237 "rhosn",
"kg.m-3",
"T",
"SCALAR" )
238 zwork2(:,:) = zmsnt(:,:)
246 "Bare Sea Ice Albedo", &
247 "bare_sea_ice_albedo", &
248 "ialb",
"1",
"T",
"SCALAR" )
249 zwork2(:,:) = tzdia(:,:)%asi
257 "Melt pond Albedo", &
258 "melt_pond_albedo", &
259 "mpalb",
"1",
"T",
"SCALAR" )
260 zwork2(:,:) = tzdia(:,:)%amp
267 "Surface Temperature of Sea Ice", &
268 "surface_temperature_of_sea_ice", &
269 "tsice",
"K",
"T",
"SCALAR" )
270 zwork2(:,:) = sum( tzsit(:,:,:)%fsi*(tzsit(:,:,:)%tsf+t0deg),dim=1 )
278 "Temperature at Interface Between Sea Ice and Snow", &
279 "temperature_at_interface_between_sea_ice_and_snow", &
280 "tsnint",
"K",
"T",
"SCALAR" )
281 zwork2(:,:) = tzdia(:,:)%tin
286 "Surface Rainfall Rate into the Sea Ice Portion of the Grid Cell", &
287 "surface_rainfall_rate_into_the_sea_ice_portion_of_the_grid_cell", &
288 "pr",
"kg.m-2.s-1",
"T",
"SCALAR" )
289 zwork2(:,:) = tzdia(:,:)%lip
293 "Surface Snowfall Rate into the Sea Ice Portion of the Grid Cell", &
294 "surface_snowfall_rate_into_the_sea_ice_portion_of_the_grid_cell", &
295 "prsn",
"kg.m-2.s-1",
"T",
"SCALAR" )
296 zwork2(:,:) = tzdia(:,:)%sop
300 "Frazil Sea Ice Growth (Leads) Rate", &
301 "frazil_sea_ice_growth_(leads)_rate", &
302 "grFrazil",
"kg.m-2.s-1",
"T",
"SCALAR" )
303 zwork2(:,:) = tzdia(:,:)%lsi
307 "Congelation Sea Ice Growth Rate", &
308 "congelation_sea_ice_growth_rate", &
309 "grCongel",
"kg.m-2.s-1",
"T",
"SCALAR" )
310 zwork2(:,:) = tzdia(:,:)%cgl
314 "Lateral Sea Ice Growth Rate", &
315 "lateral_sea_ice_growth_rate", &
316 "grLateral",
"kg.m-2.s-1",
"T",
"SCALAR" )
317 zwork2(:,:) = tzdia(:,:)%mrl
321 "Ice Formation Rate from snow-ice formation", &
322 "ice_formation_rate_from_Snow-Ice_Formation", &
323 "snoToIce",
"kg.m-2.s-1",
"T",
"SCALAR" )
324 zwork2(:,:) = tzdia(:,:)%sni
330 "snomelt",
"kg.m-2.s-1",
"T",
"SCALAR" )
331 zwork2(:,:) = tzdia(:,:)%snm
335 "Snow Melt Rate due to lateral ice erosion", &
336 "snow_melt_rate_Due_to_Lateral_Ice_Erosion", &
337 "latsnomelt",
"kg.m-2.s-1",
"T",
"SCALAR" )
338 zwork2(:,:) = tzdia(:,:)%snml
342 "Rate of Melt at Upper Surface of Sea Ice", &
343 "rate_of_melt_at_upper_surface_of_sea_ice", &
344 "tmelt",
"kg.m-2.s-1",
"T",
"SCALAR" )
345 zwork2(:,:) = tzdia(:,:)%mrt
349 "Rate of Melt at Sea Ice Base", &
350 "rate_of_melt_at_sea_ice_base", &
351 "bmelt",
"kg.m-2.s-1",
"T",
"SCALAR" )
352 zwork2(:,:) = tzdia(:,:)%mrb
356 "Dilution flux due to ice sublimation", &
357 "Dilution_flux_due_to_Ice_Sublimation", &
358 "vsfsub",
"kg.m-2.s-1",
"T",
"SCALAR" )
359 zwork2(:,:) = tzdia(:,:)%subcio
363 "Dilution flux due to lateral melting of ice", &
364 "Dilution_flux_due_to_Lateral_Melting_of_Ice", &
365 "vsflml",
"kg.m-2.s-1",
"T",
"SCALAR" )
366 zwork2(:,:) = tzdia(:,:)%lmlcio
370 "Dilution flux due to salt exchanges", &
371 "Dilution_flux_due_to_Salt_Exchanges", &
372 "vsfsal",
"kg.m-2.s-1",
"T",
"SCALAR" )
373 zwork2(:,:) = tzdia(:,:)%salcio
377 "Dilution flux due to change of ice depth", &
378 "Dilution_flux_due_to_change_of_ice_depth", &
379 "vsfhsi",
"kg.m-2.s-1",
"T",
"SCALAR" )
380 zwork2(:,:) = tzdia(:,:)%hsicio
384 "Dilution flux due to conversion of snow to ice", &
385 "Dilution_flux_due_to_Conversion_of_Snow_to_Ice", &
386 "vsfsni",
"kg.m-2.s-1",
"T",
"SCALAR" )
387 zwork2(:,:) = tzdia(:,:)%snicio
405 "X-Component of Sea Ice Mass Transport", &
407 "transix",
"kg.s-1",
"U",
"VECTOR" )
408 zwork2(:,:) = tzdia(:,:)%xtr
412 "Y-Component of Sea Ice Mass Transport", &
414 "transiy",
"kg.s-1",
"V",
"VECTOR" )
415 zwork2(:,:) = tzdia(:,:)%ytr
430 "Water Flux into Sea Water due to Sea Ice Thermodynamics", &
431 "water_flux_into_sea_water_due_to_sea_ice_thermodynamics", &
432 "fsitherm",
"kg.m-2.s-1",
"T",
"SCALAR" )
433 IF ( nleviti==1 )
THEN
434 zwork2(:,:) = -tzdia(:,:)%snm
443 "Virtual Salt Flux into Sea Water due to Sea Ice Thermodynamics", &
444 "virtual_salt_flux_into_sea_water_due_to_sea_ice_thermodynamics", &
445 "vsfsit",
"kg.m-2.s-1",
"T",
"SCALAR" )
446 zwork2(:,:) = -1.e-3*tztfl(:,:)%cio*tzml(:,:)%sml
450 "Downward Sea Ice Basal Salt Flux", &
451 "downward_sea_ice_basal_salt_flux", &
452 "sfdsi",
"kg.m-2.s-1",
"T",
"SCALAR" )
453 zwork2(:,:) = tztfl(:,:)%sio
467 "Heat Flux into Sea Water due to Sea Ice Thermodynamics", &
468 "heat_flux_into_sea_water_due_to_sea_ice_thermodynamics", &
469 "hfsithermds",
"kg.m-2.s-1",
"T",
"SCALAR" )
470 zwork2(:,:) = tztfl(:,:)%tio
482 "Downward Heat Flux at Sea Ice Surface", &
483 "downward_heat_flux_at_sea_ice_surface", &
484 "hfdssi",
"W.m-2",
"T",
"SCALAR" )
485 zwork2(:,:) = tzbud(:,:)%hii-tzbud(:,:)%nii
492 "Downward Heat Flux at Leads Surface", &
493 "downward_heat_flux_at_leads_surface", &
494 "hfdso",
"W.m-2",
"T",
"SCALAR" )
495 zwork2(:,:) = (tzbud(:,:)%hli-tzbud(:,:)%nli)
499 "Net Downward Shortwave Radiation at Sea Ice Surface", &
500 "net_downward_shortwave_radiation_at_sea_ice_surface", &
501 "rsntdssi",
"W.m-2",
"T",
"SCALAR" )
502 zwork2(:,:) = tzdia(:,:)%swi
508 "Net Downward Shortwave Radiation at Leads Surface", &
509 "net_downward_shortwave_radiation_at_leads_surface", &
510 "rsntdso",
"W.m-2",
"T",
"SCALAR" )
511 zwork2(:,:) = tzdia(:,:)%sww
518 "Weighted Albedo of Snow Over Sea Ice", &
519 "weighted_albedo_of_snow_over_sea_ice", &
520 "sisnalb",
"1",
"T",
"SCALAR" )
521 zwork2(:,:) = tzdia(:,:)%asn
527 "Eastward Sea Ice Velocity", &
528 "eastward_sea_ice_velocity", &
529 "usi",
"m.s-1",
"U",
"VECTOR" )
530 zwork2(:,:) = tzdia(:,:)%uvl
535 "Northward Sea Ice Velocity", &
536 "northward_sea_ice_velocity", &
537 "vsi",
"m.s-1",
"V",
"VECTOR" )
538 zwork2(:,:) = tzdia(:,:)%vvl
543 "Fraction of Time with Sea Ice ", &
544 "fraction_of_time_with_sea_ice", &
545 "timesi",
"%",
"T",
"SCALAR" )
546 WHERE( zfsit(:,:)>xfsic )
555 "Sublimation over Sea Ice", &
556 "sublimation_over_sea_ice", &
557 "subIce",
"kg.m-2.s-1",
"T",
"SCALAR" )
558 zwork2(:,:) = tzdia(:,:)%sui
564 "subTot",
"kg.m-2.s-1",
"T",
"SCALAR" )
565 zwork2(:,:) = tzdia(:,:)%sut
570 "Sublimation over Snow", &
571 "sublimation_over_snow", &
572 "subSnw",
"kg.m-2.s-1",
"T",
"SCALAR" )
573 zwork2(:,:) = tzdia(:,:)%sus
578 "Sublimation over Ocean (residual)", &
579 "sublimation_over_ocean", &
580 "subO",
"kg.m-2.s-1",
"T",
"SCALAR" )
581 zwork2(:,:) = tzdia(:,:)%suw
586 "Sublimation over Leads", &
587 "sublimation_over_leads", &
588 "subL",
"kg.m-2.s-1",
"T",
"SCALAR" )
589 zwork2(:,:) = tzdia(:,:)%sul
594 "Liquid Precipitation over Snow", &
595 "liquid_precipitation_over_snow", &
596 "s_pr",
"kg.m-2.s-1",
"T",
"SCALAR" )
597 zwork2(:,:) = tzdia(:,:)%s_pr
602 "Liquid Precipitation over Ocean", &
603 "liquid_precipitation_over_ocean", &
604 "o_pr",
"kg.m-2.s-1",
"T",
"SCALAR" )
605 zwork2(:,:) = tzdia(:,:)%o_pr
610 "Liquid Precipitation over Leads", &
611 "liquid_precipitation_over_leads", &
612 "l_pr",
"kg.m-2.s-1",
"T",
"SCALAR" )
613 zwork2(:,:) = tzdia(:,:)%l_pr
618 "Solid Precipitation over Snow", &
619 "solid_precipitation_over_snow", &
620 "s_prsn",
"kg.m-2.s-1",
"T",
"SCALAR" )
621 zwork2(:,:) = tzdia(:,:)%s_prsn
626 "Solid Precipitation over ocean", &
627 "solid_precipitation_over_ocean", &
628 "o_prsn",
"kg.m-2.s-1",
"T",
"SCALAR" )
629 zwork2(:,:) = tzdia(:,:)%o_prsn
634 "Solid Precipitation over Leads", &
635 "solid_precipitation_over_leads", &
636 "l_prsn",
"kg.m-2.s-1",
"T",
"SCALAR" )
637 zwork2(:,:) = tzdia(:,:)%l_prsn
692 IF ( ndiap2==1 )
THEN
696 "Surface Snow Area Fraction", &
697 "surface_snow_area_fraction", &
698 "snc",
"%",
"T",
"SCALAR" )
700 100.*sum( tzsit(:,:,:)%fsi,dim=1,mask=tzsit(:,:,:)%hsn>epsil1 )
707 "Sea Ice Total Heat Content", &
708 "sea_ice_total_heat_content", &
709 "hcice",
"J.m-2",
"T",
"SCALAR" )
710 zwork2(:,:) = tzdia(:,:)%sie + tzdia(:,:)%sne
715 "Snow Total Heat Content", &
716 "snow_total_heat_content", &
717 "hcsnow",
"J.m-2",
"T",
"SCALAR" )
718 zwork2(:,:) = tzdia(:,:)%sne
727 "Downward Longwave over Sea Ice", &
728 "surface_downwelling_longwave_flux_in_air", &
729 "rldssi",
"W.m-2",
"T",
"SCALAR" )
733 "Upward longwave over Sea Ice", &
734 "surface_upwelling_longwave_flux_in_air", &
735 "rlussi",
"W.m-2",
"T",
"SCALAR" )
739 "Surface Upward Sensible Heat Flux over Sea Ice", &
740 "surface_upward_sensible_heat_flux", &
741 "hfssi",
"W.m-2",
"T",
"SCALAR" )
745 "Surface Upward Latent Heat Flux over Sea Ice", &
746 "surface_upward_latent_heat_flux", &
747 "hflssi",
"W.m-2",
"T",
"SCALAR" )
751 "Sublimation over Sea Ice", &
752 "surface_snow_and_ice_sublimation_flux", &
753 "sblsi",
"kg.m-2.s-1",
"T",
"SCALAR" )
758 "X-Component of Atmospheric Stress On Sea Ice", &
760 "strairx",
"N.m-2",
"U",
"VECTOR" )
761 zwork2(:,:) = tzdia(:,:)%atx
768 "Y-Component of Atmospheric Stress On Sea Ice", &
770 "strairy",
"N.m-2",
"V",
"VECTOR" )
771 zwork2(:,:) = tzdia(:,:)%aty
778 "X-Component of Ocean Stress On Sea Ice", &
780 "strocnx",
"N.m-2",
"U",
"VECTOR" )
781 zwork2(:,:) = tzdia(:,:)%otx
788 "Y-Component of Ocean Stress On Sea Ice", &
790 "strocny",
"N.m-2",
"V",
"VECTOR" )
791 zwork2(:,:) = tzdia(:,:)%oty
801 "Compressive Sea Ice Strength", &
803 "streng",
"N.m-2",
"T",
"SCALAR" )
807 "Strain Rate Divergence of Sea Ice", &
809 "divice",
"s-1",
"T",
"SCALAR" )
813 "Strain Rate Shear of Sea Ice", &
815 "shrice",
"s-1",
"T",
"SCALAR" )
822 "Sea Ice Ridging Rate", &
824 "ridgice",
"s-1",
"T",
"SCALAR" )
829 "Ocean Heat Flux to Sea Ice", &
830 "ocean_heat_flux_to_sea_ice", &
831 "hfoi",
"W.m-2",
"T",
"SCALAR" )
832 zwork2(:,:) = tzdia(:,:)%qoi
838 "Surface Heat Flux due to Snowfalls over Leads", &
839 "surface_snowfalls_heat_flux_over_leads", &
840 "sfhfso",
"W.m-2",
"T",
"SCALAR" )
841 zwork2(:,:) = tzbud(:,:)%nli
847 "Surface Heat Flux due to Snowfalls over Sea Ice", &
848 "surface_snowfalls_heat_flux_over_sea_ice", &
849 "sfhfssi",
"W.m-2",
"T",
"SCALAR" )
850 zwork2(:,:) = tzbud(:,:)%nii
857 "Rate of Change of Sea Ice Total Heat Content due to Thermodynamics", &
858 "rate of change of sea_ice_total_heat_content due to thermodynamics", &
859 "dhcicet",
"W.m-2",
"T",
"SCALAR" )
860 zwork2(:,:) = tzdia(:,:)%the
867 "Rate of Change of Sea Ice Total Heat Content due to Advection", &
868 "rate of change of sea_ice_total_heat_content due to advection", &
869 "dhcicea",
"W.m-2",
"T",
"SCALAR" )
871 ( tzbud(:,:)%enn-tzbud(:,:)%eni ) / dtt - tzdia(:,:)%the
876 "Rate of Change of Sea Ice Total Heat Content due to Damping", &
877 "rate of change of sea_ice_total_heat_content due to damping", &
878 "dhciced",
"W.m-2",
"T",
"SCALAR" )
879 zwork2(:,:) = tzdia(:,:)%dmp
889 "Real Water Flux into Sea Water under Sea Ice", &
890 "real_water_flux_into_sea_water_under_sea_ice", &
891 "wfsitsi",
"kg.m-2.s-1",
"T",
"SCALAR" )
892 zwork2(:,:) = tztfl(:,:)%wio
898 "Real Water Flux into Sea Water under Leads", &
899 "real_water_flux_into_sea_water_under_leads", &
900 "wfsitso",
"kg.m-2.s-1",
"T",
"SCALAR" )
901 zwork2(:,:) = tztfl(:,:)%wlo
907 "Virtual Water Flux into Sea Water due to Sea Ice Thermodynamics", &
908 "virtual_water_flux_into_sea_water_due_to_sea_ice_thermodynamics", &
909 "vwfsit",
"kg.m-2.s-1",
"T",
"SCALAR" )
910 zwork2(:,:) = tztfl(:,:)%cio
916 "Net Shortwave Flux under Sea Ice", &
917 "net_shortwave_flux_under_sea_ice", &
918 "rsntdusi",
"W.m-2",
"T",
"SCALAR" )
919 zwork2(:,:) = tztfl(:,:)%lio
925 "Net Shortwave Flux under Leads", &
926 "net_shortwave_flux_under_leads", &
927 "rsntduso",
"W.m-2",
"T",
"SCALAR" )
928 zwork2(:,:) = tztfl(:,:)%llo
934 "Downward Heat Flux Under Leads", &
935 "downward_heat_flux_under_leads", &
936 "hfduo",
"W.m-2",
"T",
"SCALAR" )
937 zwork2(:,:) = tztfl(:,:)%tlo + tztfl(:,:)%llo
944 "Downward Heat Flux Under Sea Ice", &
945 "downward_heat_flux_under_sea_ice", &
946 "hfdusi",
"W.m-2",
"T",
"SCALAR" )
947 zwork2(:,:) = tztfl(:,:)%tio + tztfl(:,:)%lio
953 "Salt Mass in Sea Ice Rate", &
954 "salt_mass_in_sea_ice_rate", &
955 "dmsalt",
"kg.m-2.s-1",
"T",
"SCALAR" )
956 zwork2(:,:) = tzdia(:,:)%dsa
962 "Snow Mass over Sea Ice Rate due to Sea Ice Thermodynamics", &
963 "snow_mass_over_sea_ice_rate_due_to_sea_ice_thermodynamics", &
964 "dmsnow",
"kg.m-2.s-1",
"T",
"SCALAR" )
965 zwork2(:,:) = tzdia(:,:)%dsn
970 "Snow Mass over Sea Ice Rate due to Sea Ice Dynamics", &
971 "snow_mass_over_sea_ice_rate_due_to_sea_ice_dynamics", &
972 "dmsnowdyn",
"kg.m-2.s-1",
"T",
"SCALAR" )
973 zwork2(:,:) = tzdia(:,:)%ddn
978 "Sea Ice Mass Rate", &
979 "sea_ice_mass_rate", &
980 "dmice",
"kg.m-2.s-1",
"T",
"SCALAR" )
981 zwork2(:,:) = tzdia(:,:)%dsi
986 "Rate of Change of Sea Ice Mass due to Constraint", &
987 "rate_of_change_of_sea_ice_mass_due_to_constraint", &
988 "dmicedmp",
"kg.m-2.s-1",
"T",
"SCALAR" )
989 zwork2(:,:) = tzdia(:,:)%dci
993 "Sea Ice Concentration Constraint", &
994 "sea_ice_concentration_traint", &
995 "siccnst",
"%",
"T",
"SCALAR" )
996 zwork2(:,:) = tzdia(:,:)%cst
1001 "Sea Ice Fresh Water Content Rate", &
1002 "sea_ice_fresh_water_content_rate", &
1003 "dmwice",
"kg.m-2.s-1",
"T",
"SCALAR" )
1004 zwork2(:,:) = tzdia(:,:)%dwi
1010 "Total Fresh Water Input Rate", &
1011 "total_fresh_water_input_rate", &
1012 "dfwnt",
"kg.m-2.s-1",
"T",
"SCALAR" )
1013 zwork2(:,:) = tzdia(:,:)%ifw
1059 WRITE( yfdef,fmt=
'("Sea Ice Area Fraction Category ",I1.1)' ) jt
1060 WRITE( ylnam,fmt=
'("sea_ice_area_fraction_category_",I1.1)' ) jt
1061 WRITE( yword,fmt=
'("sic",I1.1)' ) jt
1063 yfdef, ylnam, yword,
"%",
"T",
"SCALAR" )
1064 zwork2(:,:) = 100.*tzsit(jt,:,:)%fsi
1068 WRITE( yfdef,fmt=
'("Melt pond volume Category ",I1.1)' ) jt
1069 WRITE( ylnam,fmt=
'("melt_pond_volume_category_",I1.1)' ) jt
1070 WRITE( yword,fmt=
'("vmp",I1.1)' ) jt
1072 yfdef, ylnam, yword,
"%",
"T",
"SCALAR" )
1073 zwork2(:,:) = tzsit(jt,:,:)%vmp
1092 IF ( ndiap3==1 )
THEN
1097 "Sea Ice Salinity", &
1098 "sea_ice_salinity", &
1099 "ssi",
"psu",
"T",
"SCALAR" )
1100 IF ( nicesal==1 )
THEN
1102 sum( tzsit(:,:,:)%fsi*tzsit(:,:,:)%hsi*tzsit(:,:,:)%ssi, dim=1 )
1112 "ageice",
"years",
"T",
"SCALAR" )
1113 IF ( niceage==1 )
THEN
1115 sum( tzsit(:,:,:)%fsi*tzsit(:,:,:)%age, dim=1 ) / &
1116 ( xyear2day*xday2sec )
1124 "Melt pond volume", &
1125 "melt_pond_volume", &
1126 "mpondvol",
"m",
"T",
"SCALAR" )
1127 IF ( nmponds==1 )
THEN
1129 sum( tzsit(:,:,:)%fsi*tzsit(:,:,:)%vmp, dim=1 )
1139 IF ( tzind%cur==tzind%beg )
THEN
1140 IF ( tzind%i2d>ndiamax )
THEN
1142 fmt=
'("Number of 2d diagnostic fields=", &
1143 & I3,"> ndiamax=",I3,"\n")' ) tzind%i2d,ndiamax
1144 CALL
gltools_glterr(
'imod_results',
'Check ndiamax in gltzar',
'STOP' )
1146 IF ( tzind%i0d>ndiamax )
THEN
1148 fmt=
'("Number of 0d diagnostic fields=", &
1149 & I3,"> ndiamax=",I3,"\n")' ) tzind%i0d,ndiamax
1150 CALL
gltools_glterr(
'imod_results',
'Check ndiamax in gltzar',
'STOP' )
1168 #if ! defined in_arpege
1169 zsrf(:,:) = tzdom(:,:)%srf * float(tzdom(:,:)%imk)
1173 ynhemis(:,:) = ( tzdom(:,:)%lat>0..AND. tzdom(:,:)%tmk==1 )
1174 yshemis(:,:) = ( tzdom(:,:)%lat<0..AND. tzdom(:,:)%tmk==1 )
1176 zw = sum(zsrf(:,:),mask=(ynhemis.AND.zfsit(:,:)>xfsic)) / 1.e+12
1177 CALL
mpp_sum( zw ) ; zehn = zw
1179 zw = sum(zsrf(:,:),mask=(yshemis.AND.zfsit(:,:)>xfsic)) / 1.e+12
1180 CALL
mpp_sum( zw ) ; zehs = zw
1184 zw = sum(zsrf(:,:)*zfsit(:,:), mask=ynhemis) / 1.e+12
1185 CALL
mpp_sum( zw ) ; zshn = zw
1186 zw = sum(zsrf(:,:)*zfsit(:,:), mask=yshemis) / 1.e+12
1187 CALL
mpp_sum( zw ) ; zshs = zw
1191 zw = sum(zsrf(:,:)*zhsit(:,:), mask=ynhemis) / 1.e+12
1192 CALL
mpp_sum( zw ) ; zvhn = zw
1193 zw = sum(zsrf(:,:)*zhsit(:,:), mask=yshemis) / 1.e+12
1194 CALL
mpp_sum( zw ) ; zvhs = zw
1198 zw = sum(zsrf(:,:)*zhsnt(:,:), mask=ynhemis) / 1.e+12
1201 zw = sum(zsrf(:,:)*zhsnt(:,:), mask=yshemis) / 1.e+12
1222 #if ! defined in_surfex
1224 IF ( cn_grdname==
'NEMO1' )
THEN
1234 iceflx( tzdom,zhsit,tzdia,ii,ij,ii,ij+1 )
1236 zfram = -rhoice*zfram
1245 zbering = zbering + &
1246 iceflx( tzdom,zhsit,tzdia,ii,ij,ii,ij+1 )
1248 zbering = -rhoice*zbering
1257 zncwest = zncwest + &
1258 iceflx( tzdom,zhsit,tzdia,ii,ij,ii+1,ij )
1260 zncwest = -rhoice*zncwest
1271 znceast = znceast + &
1272 iceflx( tzdom,zhsit,tzdia,ii,ij,ii+1,ij )
1274 znceast = -rhoice*znceast
1284 znorthb = znorthb - &
1285 iceflx( tzdom,zhsit,tzdia,ii,ij,ii,ij+1 ) + &
1286 iceflx( tzdom,zhsit,tzdia,ii-1,ij,ii,ij )
1288 znorthb = -rhoice*znorthb
1296 IF ( ndiap1==1 )
THEN
1300 "North Hemisphere Sea Ice Extent", &
1301 "north_hemisphere_sea_ice_extent", &
1302 "icextn",
"10^6 km2",
"T",
"SCALAR" )
1307 "South Hemisphere Sea Ice Extent", &
1308 "south_hemisphere_sea_ice_extent", &
1309 "icexts",
"10^6 km2",
"T",
"SCALAR" )
1314 "North Hemisphere Sea Ice Area", &
1315 "north_hemisphere_sea_ice_area", &
1316 "icearean",
"10^6 km2",
"T",
"SCALAR" )
1321 "South Hemisphere Sea Ice Area", &
1322 "south_hemisphere_sea_ice_area", &
1323 "iceareas",
"10^6 km2",
"T",
"SCALAR" )
1328 "North Hemisphere Sea Ice Volume", &
1329 "north_hemisphere_sea_ice_volume", &
1330 "icevoln",
"10^3 km3",
"T",
"SCALAR" )
1335 "South Hemisphere Sea Ice Volume", &
1336 "south_hemisphere_sea_ice_volume", &
1337 "icevols",
"10^3 km3",
"T",
"SCALAR" )
1342 "North Hemisphere Snow Volume", &
1343 "north_hemisphere_sea_ice_volume", &
1344 "snovoln",
"10^3 km3",
"T",
"SCALAR" )
1349 "South Hemisphere Snow Volume", &
1350 "south_hemisphere_snow_volume", &
1351 "snovols",
"10^3 km3",
"T",
"SCALAR" )
1356 "Sea Ice Mass Transport Through Fram Strait", &
1358 "transifs",
"kg.s-1",
"T",
"SCALAR" )
1363 "Sea Ice Mass Transport Through Bering Strait", &
1365 "tibering",
"kg.s-1",
"T",
"SCALAR" )
1370 "Sea Ice Mass Transport Through NCA West", &
1372 "tincawest",
"kg.s-1",
"T",
"SCALAR" )
1377 "Sea Ice Mass Transport Through Nares Strait", &
1379 "tinares",
"kg.s-1",
"T",
"SCALAR" )
1384 "Sea Ice Mass Transport Through Barrow Strait", &
1386 "tibarrow",
"kg.s-1",
"T",
"SCALAR" )
1397 IF(lp1)
WRITE(noutlu,*)
' North South'
1398 IF(lp1)
WRITE(noutlu,1000) zshn,zshs
1399 IF ( ndiap3==1 )
THEN
1400 IF(lp1)
WRITE(noutlu,1100) zehn,zehs
1402 IF(lp1)
WRITE(noutlu,1200) zwhn,zwhs
1403 IF(lp1)
WRITE(noutlu,1300) zvhn,zvhs
1404 IF(lp1)
WRITE(noutlu,*)
' Ice flux at Fram : ',zfram
1405 IF(lp1)
WRITE(noutlu,*)
' '
1412 1000
FORMAT(5x,
"Ice surface (SISH.SIG)",2(4x,f9.5))
1413 1100
FORMAT(5x,
"Ice extent (SIEH.SIG)",2(4x,f9.5))
1414 1200
FORMAT(5x,
"Snow volume (SIWH.SIG)",2(4x,f9.5))
1415 1300
FORMAT(5x,
"Ice volume (SIVH.SIG)",2(4x,f9.5))
1419 IF(lp1)
WRITE(noutlu,*)
' '
1420 IF(lp1)
WRITE(noutlu,*)
' *** LEVEL 3 - END SUBROUTINE WRIDIA_AR5'
1421 IF(lp1)
WRITE(noutlu,*)
' '
subroutine wridia_ar5(tpglt)