Changeset 2247 for trunk/LMDZ.MARS/libf


Ignore:
Timestamp:
Mar 4, 2020, 12:35:33 PM (5 years ago)
Author:
abierjon
Message:

Mars GCM:
Partially resolved ticket #14 : when calling writediagfi for all kinds of dust Density-Scaled Opacity (dsodust,dsords,dsotop,dso), an information about the IR wavelength used by the GCM is added in the "title" attribute of the netcdf variable ("tes" = 9.3micron ; "mcs" = 21.6micron).
NB : these dust DSO calculated by the GCM are extinction opacities, hence not always corresponding to the actual opacity/optical depth measured by the instruments (ex: TES = 9.3micron absorption optical depth).
AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2246 r2247  
    29242924             call WRITEDIAGFI(ngrid,'dustN','Dust number',
    29252925     &                        'part/kg',3,ndust)
    2926              call WRITEDIAGFI(ngrid,'dsodust',
    2927      &                        'density scaled optical depth in the IR',
    2928      &                        'm2.kg-1',3,dsodust)
    2929              call WRITEDIAGFI(ngrid,'dso',
    2930      &                        'density scaled optical depth in the IR',
    2931      &                        'm2.kg-1',3,dsodust+dsords+dsotop)
    2932              
     2926             
     2927             select case (trim(dustiropacity))
     2928              case ("tes")
     2929               call WRITEDIAGFI(ngrid,'dsodust',
     2930     &  'density scaled extinction opacity of std dust at 9.3um(TES)',
     2931     &         'm2.kg-1',3,dsodust)
     2932               call WRITEDIAGFI(ngrid,'dso',
     2933     &  'density scaled extinction opacity of all dust at 9.3um(TES)',
     2934     &         'm2.kg-1',3,dsodust+dsords+dsotop)
     2935              case ("mcs")
     2936               call WRITEDIAGFI(ngrid,'dsodust',
     2937     &  'density scaled extinction opacity of std dust at 21.6um(MCS)',
     2938     &         'm2.kg-1',3,dsodust)
     2939               call WRITEDIAGFI(ngrid,'dso',
     2940     &  'density scaled extinction opacity of all dust at 21.6um(MCS)',
     2941     &         'm2.kg-1',3,dsodust+dsords+dsotop)
     2942             end select
    29332943           else ! (doubleq=.false.)
    29342944             do iq=1,dustbin
     
    29872997             call WRITEDIAGFI(ngrid,'totaldustq','total dust mass',
    29882998     &                        'kg/kg',3,qdusttotal)
    2989              call WRITEDIAGFI(ngrid,'dsords',
    2990      &                       'density scaled opacity of stormdust',
    2991      &                       'm2.kg-1',3,dsords)
     2999             
     3000             select case (trim(dustiropacity))
     3001              case ("tes")
     3002               call WRITEDIAGFI(ngrid,'dsords',
     3003     &  'density scaled extinction opacity of stormdust at 9.3um(TES)',
     3004     &         'm2.kg-1',3,dsords)
     3005              case ("mcs")
     3006               call WRITEDIAGFI(ngrid,'dsords',
     3007     &  'density scaled extinction opacity of stormdust at 21.6um(MCS)',
     3008     &         'm2.kg-1',3,dsords)
     3009             end select
    29923010           endif ! (rdstorm)
    29933011
    29943012           if (slpwind) then
    2995              call WRITEDIAGFI(ngrid,'dsotop',
    2996      &                       'density scaled opacity of topdust',
    2997      &                       'm2.kg-1',3,dsotop)
     3013             select case (trim(dustiropacity))
     3014              case ("tes")
     3015               call WRITEDIAGFI(ngrid,'dsotop',
     3016     &  'density scaled extinction opacity of topdust at 9.3um(TES)',
     3017     &         'm2.kg-1',3,dsotop)
     3018              case ("mcs")
     3019               call WRITEDIAGFI(ngrid,'dsotop',
     3020     &  'density scaled extinction opacity of topdust at 21.6um(MCS)',
     3021     &         'm2.kg-1',3,dsotop)
     3022             end select
    29983023           endif ! (slpwind)
    29993024           
Note: See TracChangeset for help on using the changeset viewer.