Ignore:
Timestamp:
Nov 14, 2022, 6:39:11 PM (2 years ago)
Author:
abierjon
Message:

Mars GCM:
Non-retrocompatible changes of the program util/aeroptical.F90 :

  • make the program more generic, as the user now specify in aeroptical.def the aerosols to be computed, as well as the necessary information for each aerosol, that are : aerosol_name,aerosol_mmr(GCM variable name),aerosol_reff(GCM variable name or single value in m),aerosol_rho(value in kg/m3),optpropfile_name
  • creation of a separate module aeropt_mod.F90 that can be used by other programs (e.g. for the MCD), with one subroutine reading the ASCII optical properties file, one subroutine interpolating optical properties at a given (wvl,reff) tuple, and one subroutine deallocating the module variables.
  • modify the compile program to compile this module aeropt_mod.F90 along with the aeroptical.F90 program. There is no change for the user, which just has to run the command 'compile aeroptical' like before.
  • correct the handling of user's wavelength or particle sizes that do not lie within the boundaries of the optical properties file.

AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/util/README

    r2571 r2817  
    192192--------------------------------------------------------------------
    193193
    194 Program to compute opacities [1/km] of all aerosols from dust, water ice,
    195 stormdust and topdust present in the input file, at a wavelength given by the user.
     194Program to compute opacities [1/km] of aerosols at a wavelength given by the user.
    196195Computation is made from the aerosol mass mixing ratios and effective radius,
    197196associated with air density (rho) and files containing the aerosol
     
    199198The user have to precise the type of opacity : extinction or absorption.
    200199
    201 NB : water ice effective radius is known to be a bit inaccurate in the GCM,
    202 so reffwice can be prescribed by the user.
     200NB : this program requires to compile the module aeropt_mod.F90
     201at the same time
    203202
    204203input : diagfi.nc  / concat.nc / stats.nc kind of files
Note: See TracChangeset for help on using the changeset viewer.