Directory trunk/libf/phylmd/

Total Files:
302
Deleted Files:
171
Lines of Code:
132680

[root]/trunk/libf/phylmd
                directory in repo Dust (47 files, 16215 lines)
                directory in repo StratAer (14 files, 3092 lines)
                directory in repo cosp (41 files, 16429 lines)
                directory in repo dyn1d (31 files, 15945 lines)
                directory in repo rrtm (606 files, 251588 lines)
                directory in repo sisvat (15 files, 13075 lines)

Lines of Code

trunk/libf/phylmd/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 3044 (100.0%) 176955 (100.0%) 58.1
lguez 744 (24.4%) 79735 (45.1%) 107.1
fhourdin 351 (11.5%) 21535 (12.2%) 61.3
emillour 587 (19.3%) 19227 (10.9%) 32.7
fairhead 354 (11.6%) 13888 (7.8%) 39.2
idelkadi 235 (7.7%) 13326 (7.5%) 56.7
jyg 219 (7.2%) 11003 (6.2%) 50.2
oboucher 156 (5.1%) 5830 (3.3%) 37.3
musat 140 (4.6%) 5721 (3.2%) 40.8
dcugnet 48 (1.6%) 3787 (2.1%) 78.8
jghattas 86 (2.8%) 1487 (0.8%) 17.2
jbmadeleine 35 (1.1%) 633 (0.4%) 18.0
crio 22 (0.7%) 386 (0.2%) 17.5
acozic 61 (2.0%) 375 (0.2%) 6.1
acaubel 5 (0.2%) 22 (0.0%) 4.4
aslmd 1 (0.0%) 0 (0.0%) 0.0

Most Recent Commits

fairhead 2017-10-03 16:45 Rev.: 3003

Modifications to the code and xml files to output Ap and B, the coefficients
of the hybrid coordinates as requested by the CMIP6 DataRequest
LF (with guidance from A. Caubel and S. Senesi)

156 lines of code changed in 4 files:

  • trunk/libf/phylmd: iophy.F90 (+112 -73), phys_output_ctrlout_mod.F90 (+7 -3), phys_output_mod.F90 (+22 -4), phys_output_write_mod.F90 (+15)
emillour 2017-10-03 08:18 Rev.: 3002

Improved slab routines.
FC

559 lines of code changed in 7 files:

  • trunk/libf/phylmd: conf_phys_m.F90 (+1 -1), limit_slab.F90 (+38 -10), ocean_slab_mod.F90 (+81 -24), phys_output_ctrlout_mod.F90 (+6), phys_output_write_mod.F90 (+10 -5), slab_heat_transp_mod.F90 (+410 -43), surf_ocean_mod.F90 (+13 -1)
jyg 2017-10-02 10:29 Rev.: 3001

addendum to the previous commit

81 lines of code changed in 1 file:

  • trunk/libf/phylmd: alpale_wk.F90 (new 81)
jyg 2017-10-02 10:16 Rev.: 3000

(i) Implementation of the conditionning of the Alp
provided by the wakes: when iflag_alp_wk_cond > 0,
Alp_wk is divided by the probability that there is
a gust front within the grid cell.

New subroutine alpale_wk.F90 called by physiq.

(ii) Some changes concerning the initialization of
the variable wake_dens.

36 lines of code changed in 3 files:

  • trunk/libf/phylmd: calwake.F90 (+13 -2), phyetat0.F90 (+6 -1), physiq_mod.F90 (+17 -1)
emillour 2017-09-28 10:43 Rev.: 2999

Follow-up to rev 2997; in the XIOS case "missing_val" should also be set before being used... Thus moved its initialization to the beginning of physiq.
EM

9 lines of code changed in 1 file:

  • trunk/libf/phylmd: physiq_mod.F90 (+9 -12)
emillour 2017-09-28 08:32 Rev.: 2997

Missing initialization for "missing_val" in physiq when not using XIOS.
Set it to default netcdf parameter value "nf90_fill_real".
EM

2 lines of code changed in 1 file:

  • trunk/libf/phylmd: physiq_mod.F90 (+2 -2)
oboucher 2017-09-25 11:42 Rev.: 2994

Addition to previous commit.
Call of stratomask to diagnose tropopause level according to WMO definition
Previous commit aimed at diagnosing tropospheric and stratospheric O3 columns in DU.

3 lines of code changed in 1 file:

  • trunk/libf/phylmd: physiq_mod.F90 (+3 -1)
oboucher 2017-09-25 11:41 Rev.: 2993

Adding tropospheric and stratospheric

22 lines of code changed in 2 files:

  • trunk/libf/phylmd: phys_output_ctrlout_mod.F90 (+6), phys_output_write_mod.F90 (+16 -1)
oboucher 2017-09-21 11:51 Rev.: 2992

Adding p, z, and t of tropopause in output files.
Stratosphere_mask is streamlined a bit.
This includes a treatment of missing values.

58 lines of code changed in 6 files:

  • trunk/libf/phylmd: phys_local_var_mod.F90 (+11 -8), phys_output_ctrlout_mod.F90 (+10 -3), phys_output_write_mod.F90 (+12 -5), physiq_mod.F90 (+2 -2), stratosphere_mask.F90 (+23 -33), tropopause_m.F90 (-1)
musat 2017-09-18 17:32 Rev.: 2989

The 4co2 output fields are now managed by the XIOS server via
file*lmdz*xml files and the ok_4xCO2atm logical flag.
ok_4xCO2atm is initialized to TRUE if
- one of the 4co2 variables (rsut4cO2, rlut4co2, etc) are asked for
by XIOS sefrver or
- if one of the perturbed GES concentration (RCO2_per, RCH4_per, etc)
is different from the actual (RCO2, RCH4, etc) GES concentration.

55 lines of code changed in 7 files:

  • trunk/libf/phylmd: clesphys.h (-2), conf_phys_m.F90 (-6), iophy.F90 (+22 -2), phys_output_mod.F90 (+1), phys_output_var_mod.F90 (+8), phys_output_write_mod.F90 (+6 -5), physiq_mod.F90 (+18 -4)
fairhead 2017-09-08 10:39 Rev.: 2984

We actually do want to call phytrac by default
LF

1 lines of code changed in 1 file:

  • trunk/libf/phylmd: physiq_mod.F90 (+1 -1)
dcugnet 2017-08-04 19:06 Rev.: 2981

Fix for time interpolation when ozone files have 14 records (monthly means).

18 lines of code changed in 1 file:

  • trunk/libf/phylmd: regr_pr_time_av_m.F90 (+18 -6)
emillour 2017-08-03 10:25 Rev.: 2979

Missing initializations that caused problems when running in aquaplanet mode.
EM

18 lines of code changed in 3 files:

  • trunk/libf/phylmd: phyaqua_mod.F90 (+2 -1), phyetat0.F90 (+13 -11), physiq_mod.F90 (+3 -1)
fairhead 2017-07-31 15:41 Rev.: 2973

Bypassing the call to phytrac when not needed.
Controlled by iflag_phytrac read in physiq.def and which is 0
by default (thus no call to phytrac by default)
LF

12 lines of code changed in 3 files:

  • trunk/libf/phylmd: clesphys.h (+4 -1), phys_output_write_mod.F90 (+3), physiq_mod.F90 (+5)
dcugnet 2017-07-26 14:48 Rev.: 2971

Control outputs for debug are removed.

0 lines of code changed in 1 file:

  • trunk/libf/phylmd: tropopause_m.F90 (-6)
fhourdin 2017-07-25 19:22 Rev.: 2969

Petit bug dans iflag_t_glace>=1 vu uniquement en debug en 1D quand
exposant < 1. C'est bien de l'avoir quand même dans les sources
au cas où.

1 lines of code changed in 1 file:

  • trunk/libf/phylmd: fisrtilp.F90 (+1 -1)
dcugnet 2017-07-25 18:03 Rev.: 2968

Improved method for ozone forcing: the ozone field from the forcing file is
vertically interpolated on the LMDZ pressure field that is stretched, so
that the resulting tropopause is close from the one of LMDZ.
(need to activate key adjust_tropopause=y in run.def)

The stretching is done in a limited region in each column, defined by a
trapezoidal function:
- flat between LMDZ and file tropopauses (full stretching)
- quasi-linear in the 2 surrounding regions (from full to null stretching)
This way, most of the ozone profile is unaffected by the stretching.

The total ozone column is not stricly conserved.

The transition regions are thick enough to ensure that the stretched
pressure profile is growing with decreasing height. Some additional margin
helps to avoid a too steep variation in the stretched region.

In case the distance separating the chemical tropopause of the forcing
fields (built from monthly means) from the LMDZ dynamical tropopause
(extremely variable, both in space and time) is too large, it is under-
evaluated to avoid injecting ozone at low troposphere levels (filaments
of stratospheric air entering the troposphere are not accurately enough
detected to allow that to be done reliably).

In the dynamical tropopause detection routine, the PV and the potential
temperature are moderately smoothed to avoid the algorithm to be fooled
by local variations.

419 lines of code changed in 3 files:

  • trunk/libf/phylmd: physiq_mod.F90 (+3 -5), regr_pr_time_av_m.F90 (+326 -110), tropopause_m.F90 (+90 -57)
acozic 2017-07-25 15:13 Rev.: 2966

when we turn with inca and old physics we don't calcul toplwad, toplwad0, sollwad, sollwad0

9 lines of code changed in 1 file:

  • trunk/libf/phylmd: phys_output_write_mod.F90 (+9 -4)
dcugnet 2017-07-24 15:56 Rev.: 2963

Fix a bug in the longitude interpolation of ozone, leading for some
resolutions to a too small margin to ensure inetrpolation without
any extrapolation.
Also, minor fix in regular_lonlat_mod.F90 routine to ensure that
boundslon_reg(i,east)>boundslon_reg(i,west).

10 lines of code changed in 1 file:

  • trunk/libf/phylmd: regr_horiz_time_climoz_m.F90 (+10 -9)
fhourdin 2017-07-22 18:24 Rev.: 2962

Nouvelle option pour la reevaporation des pluies.

14 lines of code changed in 1 file:

  • trunk/libf/phylmd: fisrtilp.F90 (+14)
jbmadeleine 2017-07-20 20:55 Rev.: 2961

Added iflag_t_glace=3 which uses a better function of the ice fraction:
iflag_t_glace.LT.3 uses icefrac = (1.-(T-Tmin)/(Tmax-Tmin))**nx
iflag_t_glace.GE.3 uses icefrac = 1. - ((T-Tmin)/(Tmax-Tmin))**nx

8 lines of code changed in 1 file:

  • trunk/libf/phylmd: icefrac_lsc_mod.F90 (+8 -4)
fhourdin 2017-07-19 12:19 Rev.: 2960

Un lievre leve, sans doute.
Un tout petit seuil sur les largeurs de distributions sous maille
du schéma de nuage, qui produit un gros effet sur le contraste
strato-cumulus / cumulus ...

10 lines of code changed in 1 file:

  • trunk/libf/phylmd: cloudth_mod.F90 (+10 -2)
jbmadeleine 2017-07-18 16:45 Rev.: 2959

Added a max on sigma1s to avoid numerical noise;

1 lines of code changed in 1 file:

  • trunk/libf/phylmd: cloudth_mod.F90 (+1 -1)
jbmadeleine 2017-07-18 14:21 Rev.: 2958

Added new outputs to cloudth_vert (level 10):
s_th, Thermal plume saturation deficit, kg/kg
s_env, Environment saturation deficit, kg/kg
sigma_th, Thermal plume gauss variance, kg/kg
sigma_env, Environment gauss variance, kg/kg

50 lines of code changed in 4 files:

  • trunk/libf/phylmd: cloudth_mod.F90 (+11 -2), phys_output_ctrlout_mod.F90 (+10), phys_output_var_mod.F90 (+21), phys_output_write_mod.F90 (+8 -1)
jbmadeleine 2017-07-18 12:38 Rev.: 2957

Added options in cloudth_vert_v3:
- iflag_cloudth_vert_noratqs runs only when iflag_cloudth_vert=4 and removes
the dependency to ratqs from the calculation of sigma1s
- sigma1s_factor=1.1 and sigma1s_power=0.6 control the values used in the
calculation of sigma1s=(1.1**0.5)*(fraca(ind1,ind2)**0.6)/...

30 lines of code changed in 1 file:

  • trunk/libf/phylmd: cloudth_mod.F90 (+30 -7)
jbmadeleine 2017-07-18 00:01 Rev.: 2956

Corrected rneblsvol in fisrtilp to make it equal to rnebls in the part
controlled by the large-scale lognormal PDF. Nb: rneblsvol stays equal to 0 if
iflag_cloudth_vert<3.

12 lines of code changed in 1 file:

  • trunk/libf/phylmd: fisrtilp.F90 (+12)
fairhead 2017-07-15 15:30 Rev.: 2954

Bug correction for new copses drag

2 lines of code changed in 2 files:

  • trunk/libf/phylmd: surf_land_orchidee_nofrein_mod.F90 (+1 -1), surf_land_orchidee_noz0h_mod.F90 (+1)
oboucher 2017-07-14 23:55 Rev.: 2953

Correcting an issue with the aerosol load diagnostics
that was introduced with revision 2823 in a failed attempt
to save a bit of memory... This is bit convergent with
previous version as it affects only diagnostics.

32 lines of code changed in 2 files:

  • trunk/libf/phylmd: phys_local_var_mod.F90 (+24 -6), readaerosol_optic.F90 (+8 -8)
fairhead 2017-07-14 22:23 Rev.: 2952

Parametrization of drag by copses
Need version 4465 of ORCHIDEE at least
F. Cheruy

1070 lines of code changed in 20 files:

  • trunk/libf/phylmd: clesphys.h (+4 -2), coef_diff_turb_mod.F90 (+6 -2), compbl.h (+4 -2), conf_phys_m.F90 (+34), dimpft.h (new 5), freinage.F90 (new 133), indice_sol_mod.F90 (+2), pbl_surface_mod.F90 (+69 -5), phyetat0.F90 (+19 -1), phyredem.F90 (+6 -1), phys_output_ctrlout_mod.F90 (+12), phys_output_write_mod.F90 (+6 -1), phys_state_var_mod.F90 (+8), physiq_mod.F90 (+3 -2), surf_land_mod.F90 (+15 -6), surf_land_orchidee_mod.F90 (+25 -6), surf_land_orchidee_nofrein_mod.F90 (new 683), surf_land_orchidee_noopenmp_mod.F90 (+6 -2), surf_land_orchidee_noz0h_mod.F90 (+11 -2), yamada4.F90 (+19 -3)
oboucher 2017-07-12 20:28 Rev.: 2946

Put under the ok_lic_cond flag the option of depositing water vapour
onto snow, especially over ice sheets (lic). The default for the flag is
FALSE in order to keep backward compatibility, but should be turned to TRUE
in order to close the water budget. Tested in CM6.0.11.

37 lines of code changed in 3 files:

  • trunk/libf/phylmd: clesphys.h (+3 -1), conf_phys_m.F90 (+9), fonte_neige_mod.F90 (+25 -14)
jbmadeleine 2017-07-12 16:20 Rev.: 2945

- Added a new output called rneblsvol which is the cloud fraction by volume
computed in the thermals (see cloudth_vert in cloudth_mod.F90)
- Added an option called iflag_rain_incloud_vol that computes the conversion
of cloud water to rain using the cloud fraction by volume instead of the cloud
fraction by area, which is larger and otherwise erroneously reduces the in-cloud
water content; iflag_rain_incloud_vol can only be used for iflag_cloudth_vert>=3

89 lines of code changed in 7 files:

  • trunk/libf/phylmd: cloudth_mod.F90 (+45 -15), conf_phys_m.F90 (+12), fisrtilp.F90 (+21 -6), nuage.h (+3 -1), phys_local_var_mod.F90 (+3 -3), phys_output_ctrlout_mod.F90 (+2), phys_output_write_mod.F90 (+3 -2)
fhourdin 2017-06-30 11:03 Rev.: 2923

Correction sous drapeaux d'une errance sur la reevaporation de la pluie.
flag_evap_prec = 0 : pas de reevaporation
1 : comme avant
2 : nouveau ou on utilise une surface max des nuages au
dessus comme fraction de la maille dans laquelle la
pluie peut se reevaporer (alors que c'etait la fraction
de la maille juste au dessus avant).

31 lines of code changed in 1 file:

  • trunk/libf/phylmd: fisrtilp.F90 (+31 -9)
fhourdin 2017-06-29 17:45 Rev.: 2922

Nouvelle option iflag_wk_check_trgl pour tester la bonne sante des poches.
L'ancien flag logique flag_wk_check_trgl est toujours utilisable.
Il vaut y/n si iflag_wk_check_trgl=1/0.
L'option 1 avait tendance à faire disparaitre les poches dans des cas 1D.
L'option 2 est donc précaunisée pour les réglages à venir.
Fredho pour Jean-Yves

8 lines of code changed in 1 file:

  • trunk/libf/phylmd: wake.F90 (+8 -2)
acaubel 2017-06-19 15:02 Rev.: 2916

Added OMP THREADPRIVATE for infosend and inforecv variables.

2 lines of code changed in 1 file:

  • trunk/libf/phylmd: oasis.F90 (+2)
jbmadeleine 2017-06-16 18:03 Rev.: 2915

Improved the way thermal inertia works in simulations using imposed SST and sea ice.
Removed inertie_ice which was confusing; Added inertie_sic for sea-ice and inertie_lic for
land-ice. When snow is present, inertie_sno is used instead of inertie_sol, inertie_sic or
inertie_lic. For sea-ice, added a flag called iflag_sic:
If iflag_sic=0, thermal inertia is changed over sea-ice when snow is present
If iflag_sic=1, thermal inertia is kept constant and equal to inertie_sic

57 lines of code changed in 3 files:

  • trunk/libf/phylmd: comsoil.h (+5 -3), conf_phys_m.F90 (+28 -6), soil.F90 (+24 -5)
jghattas 2017-06-14 10:26 Rev.: 2912

- Added OMP_THREADPRIVATE for varibales fields_cpl, nb_fields_cpl, type_veget.
- Removed variable flag_omp never used.

6 lines of code changed in 4 files:

  • trunk/libf/phylmd: surf_land_orchidee_mod.F90 (-1), surf_land_orchidee_noopenmp_mod.F90 (+2), surf_land_orchidee_noz0h_mod.F90 (-1), surface_data.F90 (+4 -3)
jbmadeleine 2017-06-13 19:31 Rev.: 2911

Changes in the vertical PDF used for shallow convective clouds.
Added vert_alpha_th which is the variance of the vertical PDF used for thermals.
If nothing is specified in the def files, it is set equal to vert_alpha.
Otherwise, it is now possible to have a different vertical PDF in the thermals
and in the environment.
Also added a fourth option iflag_cloudth_vert = 4 where
deltas=vert_alpha*sigmas instead of deltas=a*vert_alpha*sigmas.

17 lines of code changed in 2 files:

  • trunk/libf/phylmd: cloudth_mod.F90 (+16 -6), fisrtilp.F90 (+1 -1)
jbmadeleine 2017-06-13 18:08 Rev.: 2910

Added THREADPRIVATE for firstcall and alpha_vert in cloudth_vert_v3 as well.

2 lines of code changed in 1 file:

  • trunk/libf/phylmd: cloudth_mod.F90 (+2)
jbmadeleine 2017-06-13 15:27 Rev.: 2909

Added THREADPRIVATE for firstcall and alpha_vert.

2 lines of code changed in 1 file:

  • trunk/libf/phylmd: cloudth_mod.F90 (+2)
jyg 2017-06-12 11:53 Rev.: 2908

Corrections for energy conservation in the
convective scheme (activated by fl_cor_ebil>=2):
the change of Cp of air with moisture is now
better accounted for in the tendency due to
vertical advection.

19 lines of code changed in 1 file:

  • trunk/libf/phylmd: cv3_routines.F90 (+19 -3)

(709 more)

Generated by StatSVN 0.7.0