Changeset 2538
- Timestamp:
- Jun 22, 2021, 2:40:58 PM (4 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r2531 r2538 3400 3400 == 09/06/2021 == EM 3401 3401 Bug (wrong usage of surface pressure) fix in vdifc (bug was introduced in r2515) 3402 3403 == 22/06/2021 == CM 3404 co2clouds: fix mtotco2, icetotco2, vaptotco2 outputs -
trunk/LMDZ.MARS/libf/phymars/physiq_mod.F
r2524 r2538 396 396 REAL mdusttot(ngrid) ! Total mass of dust tracer (kg/m2) 397 397 REAL icetot(ngrid) ! Total mass of water ice (kg/m2) 398 REAL mtotco2 399 REAL vaptotco2 ! Total mass of co2 vapor (kg/m2)400 REAL icetotco2 ! Total mass of co2 ice (kg/m2)398 REAL mtotco2(ngrid) ! Total mass of co2, including ice at the surface (kg/m2) 399 REAL vaptotco2(ngrid) ! Total mass of co2 vapor (kg/m2) 400 REAL icetotco2(ngrid) ! Total mass of co2 ice (kg/m2) 401 401 REAL Nccntot(ngrid) ! Total number of ccn (nbr/m2) 402 402 REAL NccnCO2tot(ngrid) ! Total number of ccnCO2 (nbr/m2) … … 2509 2509 2510 2510 endif ! of if (water) 2511 2512 2513 if (co2clouds) then 2514 mtotco2(1:ngrid) = 0. 2515 icetotco2(1:ngrid) = 0. 2516 vaptotco2(1:ngrid) = 0. 2517 do ig=1,ngrid 2518 do l=1,nlayer 2519 vaptotco2(ig) = vaptotco2(ig) + 2520 & zq(ig,l,igcm_co2) * 2521 & (zplev(ig,l) - zplev(ig,l+1)) / g 2522 icetotco2(ig) = icetot(ig) + 2523 & zq(ig,l,igcm_co2_ice) * 2524 & (zplev(ig,l) - zplev(ig,l+1)) / g 2525 end do 2526 mtotco2(ig) = icetotco2(ig) + vaptotco2(ig) 2527 end do 2528 end if 2511 2529 endif ! of if (tracer) 2512 2530 #ifndef MESOSCALE … … 2633 2651 2634 2652 endif ! of if (water) 2635 2653 2654 if (co2clouds) then 2655 call wstats(ngrid,"mtotco2", 2656 & "total mass atm of co2","kg/m2", 2657 & 2,mtotco2) 2658 call wstats(ngrid,"icetotco2", 2659 & "total mass atm of co2 ice","kg/m2", 2660 & 2,icetotco2) 2661 call wstats(ngrid,"vaptotco2", 2662 & "total mass atm of co2 vapor","kg/m2", 2663 & 2,icetotco2) 2664 end if 2636 2665 2637 2666 if (dustbin.ne.0) then … … 2929 2958 & 'kg.kg-1', 3, zq(:,:,igcm_co2_ice)) 2930 2959 2960 call WRITEDIAGFI(ngrid,"mtotco2","total mass atm of co2", 2961 & "kg.m-2",2, mtotco2) 2962 call WRITEDIAGFI(ngrid,"icetotco2","total mass atm of co2 ice", 2963 & "kg.m-2", 2, icetotco2) 2964 call WRITEDIAGFI(ngrid,"vaptotco2","total mass atm of co2 2965 & vapor","kg.m-2", 2, vaptotco2) 2931 2966 call WRITEDIAGFI(ngrid,"emis","Surface emissivity","w.m-1",2, 2932 2967 & emis) … … 3820 3855 & '%',0,(co2totA-co2totB)/co2totA) 3821 3856 endif ! of if (igcm_co2_ice.ne.0) 3857 3822 3858 ! XIOS outputs 3823 3859 #ifdef CPP_XIOS
Note: See TracChangeset
for help on using the changeset viewer.