r2487-r2541

Commissions entre r2487 et r2541
------------------------------------------------------------------------
r2541 | fairhead | 2016-06-06 14:15:33 +0200 (Mon, 06 Jun 2016) | 3 lines

Stratomask is not necessarily defined
LF

------------------------------------------------------------------------
r2540 | dcugnet | 2016-06-03 20:02:41 +0200 (Fri, 03 Jun 2016) | 16 lines

Improved time interpolation for "limit.nc" files, depending on the number
of records found in the input SST/SIC files:
  * 14 records => for interannual runs.
    Record nr. 1 contains the december field of the previous year.
    Record nr. 14 contains the january field of the next year.
  * 12 records => for climatic runs.
    Records 1 and 14 are duplicated from records 13 and 2.
  * as much records as need by the LMDZ calendar for the considered year
    => no time interpolation at all (typically: for guided runs with
    SST and SIC known every day).
In the first case: typical SST daily increment is about 0.04K at 3 sigmas.
The gap between 2 years (last day of previous - first day of current year)
decreases from 1K at 3 sigmas (former method) to 0.25K (improved method).
Could be improved a bit by taking even more records (16 ?) and a lot by
interpolating the whole time serie together.

------------------------------------------------------------------------
r2539 | oboucher | 2016-06-03 19:06:41 +0200 (Fri, 03 Jun 2016) | 2 lines

Changed nbands_sw_rrtm to NSW and nbands_lw_rrtm to NLW to be completely rrtm-proof

------------------------------------------------------------------------
r2538 | fairhead | 2016-06-03 16:12:16 +0200 (Fri, 03 Jun 2016) | 5 lines

Computation of heat fluxes associated with solid and liquid precipitations
over ocean and seaice. Quantities are sent to the coupler
LF


------------------------------------------------------------------------
r2537 | oboucher | 2016-06-03 15:06:10 +0200 (Fri, 03 Jun 2016) | 2 lines

Removing this routine. It is replaced by readaerosolstrato1_rrtm.F90

------------------------------------------------------------------------
r2536 | oboucher | 2016-06-03 15:04:40 +0200 (Fri, 03 Jun 2016) | 3 lines

Introducing stratomask diagnostic on where the stratosphere is
flag_aerosol_strat = 2 for CMIP6 strat aerosol forcing

------------------------------------------------------------------------
r2535 | oboucher | 2016-06-02 17:21:33 +0200 (Thu, 02 Jun 2016) | 2 lines

Changing flag_aerosol_strat to 0 default value instead of false

------------------------------------------------------------------------
r2534 | musat | 2016-06-02 16:24:31 +0200 (Thu, 02 Jun 2016) | 5 lines

Add ratqsp0 and ratqsdp flags to control ratqs profile via
physiq.def for iflag_ratqs=4.
Default values are as before: ratqsp0=50000., ratqsdp=20000.
FH/IM

------------------------------------------------------------------------
r2532 | dcugnet | 2016-06-01 14:48:21 +0200 (Wed, 01 Jun 2016) | 2 lines

Bug fix: For high resolutions or particular zoom center locations, an output cell (LMDZ grid) with no matching input cells ("landiceref.nc" file grid) caused a crash.

------------------------------------------------------------------------
r2531 | oboucher | 2016-05-31 13:55:13 +0200 (Tue, 31 May 2016) | 2 lines

Needed for rev2530.

------------------------------------------------------------------------
r2530 | oboucher | 2016-05-31 13:34:05 +0200 (Tue, 31 May 2016) | 3 lines

Changing flag_aerosol_strat from logical (y/n) to
an integer (0/1/2) for CMIP6 needs

------------------------------------------------------------------------
r2529 | oboucher | 2016-05-30 22:46:40 +0200 (Mon, 30 May 2016) | 5 lines

Reviewing the way swaero_diag is computed to correct an old bug that
makes topswad and co diagnostics wrong for the first timestep...
And introducing swaero_diag in rrtm/recmwf_aero so that double and
triple radiation calls when diagnostics are not needed to save time

------------------------------------------------------------------------
r2527 | oboucher | 2016-05-27 22:39:06 +0200 (Fri, 27 May 2016) | 3 lines

Adding a routine to compute a stratospheric mask
Will be needed later on for stratospheric aerosols

------------------------------------------------------------------------
r2526 | oboucher | 2016-05-27 00:13:40 +0200 (Fri, 27 May 2016) | 2 lines

Adding OpenMP parallelization to both reaerosolstrato routines

------------------------------------------------------------------------
r2525 | oboucher | 2016-05-27 00:04:24 +0200 (Fri, 27 May 2016) | 3 lines

Adding a compilation directive in case the model is not compiled with -rrtm true
This fixes the previous commit

------------------------------------------------------------------------
r2524 | oboucher | 2016-05-26 07:39:44 +0200 (Thu, 26 May 2016) | 5 lines

Enabling the possibility to prescribe daily values for solaire and RSUN
Only works for RRTM new radiation scheme
This is activated by ok_suntime_rrtm
This does not have any impact on REPROBUS

------------------------------------------------------------------------
r2523 | fhourdin | 2016-05-25 14:15:42 +0200 (Wed, 25 May 2016) | 4 lines

Correction d'un bug dans l'interpollation temporelle des aérosols.
Bug fixing in temporal interpolation of aerosol fields.


------------------------------------------------------------------------
r2522 | fairhead | 2016-05-24 12:43:01 +0200 (Tue, 24 May 2016) | 2 lines

File updated for solid water tracer

------------------------------------------------------------------------
r2521 | fairhead | 2016-05-24 12:28:38 +0200 (Tue, 24 May 2016) | 3 lines

Type correction


------------------------------------------------------------------------
r2520 | lguez | 2016-05-23 10:32:55 +0200 (Mon, 23 May 2016) | 1 line

Bug fix: icb1 was not made >= 2.
------------------------------------------------------------------------
r2519 | emillour | 2016-05-23 09:20:33 +0200 (Mon, 23 May 2016) | 3 lines

Missing output variable definitions for "plun" (r2516) and "runofflic" (r2517) for XIOS.
EM

------------------------------------------------------------------------
r2518 | jbmadeleine | 2016-05-20 16:38:46 +0200 (Fri, 20 May 2016) | 2 lines

Declaration de la variable zxrunofflic qui manquait suite au commit 2517

------------------------------------------------------------------------
r2517 | oboucher | 2016-05-20 11:57:25 +0200 (Fri, 20 May 2016) | 3 lines

Adding runofflic diagnostic in outputs
This is the freshwater flux going into the coupler

------------------------------------------------------------------------
r2516 | fhourdin | 2016-05-19 20:58:23 +0200 (Thu, 19 May 2016) | 12 lines

Introduction d'un seuil oliqmax sur l'eau condensée liquide maximum
conservée dans l'atmosphère.
Par défaut, oliqmax=999 et la correction est inactive.
Pour des valeurs plus faibles, l'eau en sus est convertie en
précipitation ajoutée à rain_lsc (plul dans les sorties).
  Cette pluie additionelle est également sauvegardée dans rain_num
et sortie dans plun.
  Cette modification est une tentative pour résoudre certains plantages
en haute résolution.



------------------------------------------------------------------------
r2515 | jyg | 2016-05-13 10:14:10 +0200 (Fri, 13 May 2016) | 1 line

Bug fix to svn2513
------------------------------------------------------------------------
r2514 | emillour | 2016-05-13 08:46:39 +0200 (Fri, 13 May 2016) | 3 lines

Some bug fixes in slab model to run in parallel.
FC

------------------------------------------------------------------------
r2513 | jyg | 2016-05-12 18:21:10 +0200 (Thu, 12 May 2016) | 6 lines

Creation of two new subroutines containing all
the Ale and Alp stuff previously present in
physiq_mod.F90: files alpale.F90 and
alpale_th.F90.


------------------------------------------------------------------------
r2512 | fairhead | 2016-05-12 15:35:37 +0200 (Thu, 12 May 2016) | 3 lines

convection.file is now included directly in physiq.def file
LF

------------------------------------------------------------------------
r2511 | fairhead | 2016-05-12 15:34:32 +0200 (Thu, 12 May 2016) | 2 lines

Inclusion of the convection.def file in physiq.def

------------------------------------------------------------------------
r2510 | fairhead | 2016-05-12 15:27:29 +0200 (Thu, 12 May 2016) | 3 lines

Wrong file was commited
LF

------------------------------------------------------------------------
r2509 | fairhead | 2016-05-12 12:18:20 +0200 (Thu, 12 May 2016) | 18 lines


Modifications for the XIOS 2 I/O library

LMDZ will now, by default, use the XIOS 2 library. If you need/want to link LMDZ
with the XIOS 1 library you will need to add the XIOS1 cpp key to your compilation thus:

makelmdz_fcm -d ... -cpp XIOS1 ... gcm

and then use the XIOS1 xml files for LMDZ that are in LMDZ/DefLists:

DefLists/iodef_XIOS1.0.xml
DefLists/context_lmdz_XIOS1.0.xml

as there are some incompatibilities between XIOS 1 and XIOS 2.

LF


------------------------------------------------------------------------
r2508 | jyg | 2016-05-07 19:12:33 +0200 (Sat, 07 May 2016) | 8 lines

Optimization of cv3_yield (in cv3_routines.F90):
suppression of the triple vertical loops. The
optimized code is activated by:
   ok_optim_yield=y
which changes numerical results.



------------------------------------------------------------------------
r2507 | jbmadeleine | 2016-05-04 16:36:48 +0200 (Wed, 04 May 2016) | 5 lines

Added the iflag_t_glace = 2 option that turns off the convertion of cloud
water to ice close to the surface when T< t_glace_max (273.15K). This option
is now obsolete because the liquid precipitation is now converted to ice when the
temperature is negative using the iflag_bergeron option.

------------------------------------------------------------------------
r2506 | fairhead | 2016-05-04 16:02:45 +0200 (Wed, 04 May 2016) | 3 lines

Extraneous characters on xml line. Seemed to bother XIOS which hung up.


------------------------------------------------------------------------
r2505 | emillour | 2016-05-04 14:37:11 +0200 (Wed, 04 May 2016) | 3 lines

Output variable declarations that were omitted in revision 2496.
EM

------------------------------------------------------------------------
r2504 | oboucher | 2016-05-04 12:45:42 +0200 (Wed, 04 May 2016) | 2 lines

changed infotrac to infotrac_phy in rrtm routines

------------------------------------------------------------------------
r2503 | oboucher | 2016-05-04 12:05:42 +0200 (Wed, 04 May 2016) | 2 lines

Correction pour le travail de cochon fait dans le commit 2501....

------------------------------------------------------------------------
r2502 | jyg | 2016-05-04 11:51:01 +0200 (Wed, 04 May 2016) | 4 lines

Bug fix in cv3p1_closure.F90 and
cv3p2_closure.F90: initialization loops extended
up to nd.

------------------------------------------------------------------------
r2501 | oboucher | 2016-05-03 17:09:56 +0200 (Tue, 03 May 2016) | 3 lines

Adding a template for tropospheric aerosol LW optical properties
Only works for aerosol_couple = TRUE

------------------------------------------------------------------------
r2500 | jbmadeleine | 2016-04-28 16:58:11 +0200 (Thu, 28 Apr 2016) | 4 lines

Ajouts de commentaires dans fisrtilp pour clarifier la lecture.
Ajout de flags P1> P2> P3> pour se situer dans le code plus facilement.
Aucune incidence sur les resultats du modele.

------------------------------------------------------------------------
r2499 | oboucher | 2016-04-24 12:38:19 +0200 (Sun, 24 Apr 2016) | 5 lines

Various changes to diagnose properly 2D tendency in q, ql, qs from dynamics
as previous diagnostics were incorrect.
Cleaned up all such diagnostics in physiq_mod.F90 as well


------------------------------------------------------------------------
r2498 | fairhead | 2016-04-21 17:38:46 +0200 (Thu, 21 Apr 2016) | 3 lines

Two variables with the same name
LF

------------------------------------------------------------------------
r2497 | fhourdin | 2016-04-18 21:57:11 +0200 (Mon, 18 Apr 2016) | 3 lines

Declaration de ql_ancien et qs_ancien.


------------------------------------------------------------------------
r2496 | oboucher | 2016-04-14 21:42:23 +0200 (Thu, 14 Apr 2016) | 3 lines

Adding more diagnostics for water conservation
dqlphys, dqldyn, dqsphys, dqsdyn, prlw, prsw

------------------------------------------------------------------------
r2495 | lguez | 2016-04-14 16:20:44 +0200 (Thu, 14 Apr 2016) | 10 lines

Bug fix. Virtual temperature is:

[1 + (1 / eps - 1) q] T

not:

(1 + eps q) T

(no worry: the numerical difference is small).

------------------------------------------------------------------------
r2494 | emillour | 2016-04-12 10:00:36 +0200 (Tue, 12 Apr 2016) | 7 lines

Fix to handle cases when q_ancien, t_ancien, etc. contain
dummy (constant) fields, as is the case when startphy.nc is
generated by ce0l or iniaqua: even though the fields are
present, they should not be used to compute corresponding
dynamical tendencies (done in physiq) for the first physics step.
EM

------------------------------------------------------------------------
r2493 | oboucher | 2016-04-09 14:24:08 +0200 (Sat, 09 Apr 2016) | 2 lines

small change to remove useless lines

------------------------------------------------------------------------
r2492 | emillour | 2016-04-06 11:33:06 +0200 (Wed, 06 Apr 2016) | 3 lines

Bug fix of previous commit: pdtphys is already an input argument of the routine.
EM

------------------------------------------------------------------------
r2491 | emillour | 2016-04-05 16:29:27 +0200 (Tue, 05 Apr 2016) | 4 lines

Fix calendar issue in outputs when in 1D.
EM+MPL+LF


------------------------------------------------------------------------
r2490 | jyg | 2016-04-04 19:05:44 +0200 (Mon, 04 Apr 2016) | 4 lines

Bug fix in cv3_unsat (in cv3_routines.F90) in
order to guarantee water conservation.


------------------------------------------------------------------------
r2489 | oboucher | 2016-04-04 17:35:23 +0200 (Mon, 04 Apr 2016) | 2 lines

moved the water vapour mass fixer for the physics before q_seri is copied in q_ancien

------------------------------------------------------------------------
r2487 | fairhead | 2016-04-02 21:59:43 +0200 (Sat, 02 Apr 2016) | 2 lines

Added 2D diagnostics for water vapour tendencies to xml files

------------------------------------------------------------------------