source: trunk/LMDZ.TITAN/libf/phytitan/datafile_mod.F90 @ 3026

Last change on this file since 3026 was 2242, checked in by jvatant, 5 years ago

+ Update the interface with YAMMS so it now correctly handles the small values of the moments,
requiring dynamics to have a threshold quite low (set to 1D-200) and a sanity check in calmufi
corresponding to this value. Thus it removes 'most' of the unphysical radius obtained in
YAMMS. There are still some, but at least there is no more problem of model stability for the moments
and the code can run.
Still, take care the day you want to calculate opacities from the radii and not the moments.
Although, note that there are some negative values, in the output files, but theses negatives are

harmless, as they are only present in output files, dynamics reseting to epsilon after.

+ Given theses pbs with the radii, also update the optics so that it computes the opacities in
a simpler way, directly for M3, through look-up tables, M3 being a good proxy.
--JVO

File size: 1.3 KB
Line 
1!-----------------------------------------------------------------------
2      module datafile_mod
3!  Address of the directory containing tables of data needed by the GCM
4      implicit none
5
6      ! Main directory: 'datadir':
7      ! Default for LMD machines:
8      character(len=300),save :: datadir='datagcm'
9!$OMP THREADPRIVATE(datadir)
10     
11      ! Subdirectories of 'datadir':
12     
13      ! surfdir stores planetary topography, albedo, etc. (surface.nc files)
14      character(len=12),parameter :: surfdir="surface_data"
15     
16      ! Default directories for correlated-k data
17      ! Read in inifis_mod, set in physiq_mod
18      character(LEN=100),save :: corrkdir = 'datagcm/corrk_data/50X50'
19      character(LEN=100),save :: banddir  = 'datagcm/corrk_data/50X50/50x50'
20!$OMP THREADPRIVATE(corrkdir,banddir)
21     
22      ! Default directory for microphysics
23      ! Set in inifis_mod
24      character(LEN=100),save :: config_mufi ='datagcm/microphysics/config.cfg'
25!$OMP THREADPRIVATE(config_mufi)
26
27      ! Default file for coupled microphysics optical properties
28      ! Set in physiq_mod
29      character(LEN=100),save :: haze_opt_file ='datagcm/HAZE_OPT_23x23.DAT'
30!$OMP THREADPRIVATE(haze_opt_file)
31
32      end module datafile_mod
33!-----------------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.