[root]/trunk/libf/dyn3d_common
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 155 (100.0%) | 2497 (100.0%) | 16.1 |
dcugnet | 46 (29.7%) | 1591 (63.7%) | 34.5 |
fairhead | 10 (6.5%) | 206 (8.2%) | 20.6 |
fhourdin | 4 (2.6%) | 192 (7.7%) | 48.0 |
lmdz-users | 1 (0.6%) | 129 (5.2%) | 129.0 |
asima | 2 (1.3%) | 123 (4.9%) | 61.5 |
ymeurdesoif | 62 (40.0%) | 103 (4.1%) | 1.6 |
oboucher | 6 (3.9%) | 49 (2.0%) | 8.1 |
acozic | 7 (4.5%) | 41 (1.6%) | 5.8 |
emillour | 7 (4.5%) | 30 (1.2%) | 4.2 |
lguez | 4 (2.6%) | 25 (1.0%) | 6.2 |
evignon | 3 (1.9%) | 5 (0.2%) | 1.6 |
crisi | 2 (1.3%) | 2 (0.1%) | 1.0 |
lfalletti | 1 (0.6%) | 1 (0.0%) | 1.0 |
Add a fix to homogenize type_trac between lmdz and dynamico
LMDZ had lost the backward compatibility of type_trac in list form. This commit makes it possible again
9 lines of code changed in 1 file:
Replace #include (c preprocessor) by INCLUDE (fortran keyword)
in phylmd (except rrtm and ecrad) filtrez, dy3dmem and dyn3dcommon
Other directories will follow
YM
103 lines of code changed in 62 files:
merge de la branche blowing snow vers la trunk
premiere tentative
Etienne
4 lines of code changed in 1 file:
modif for polar runs: control of the maximum latitude at which the polar filter is active (new key in .def files)
+ dependency of ratqs upon resolution (cell area)
1 lines of code changed in 2 files:
Fix the tracers(:)%isAdvected computation in the lInit=.TRUE. case.
Few cosmetic changes to make infotrac and infotrac_phy more similar, so more easily comparable.
2 lines of code changed in 1 file:
Addition to the last commit
2 lines of code changed in 1 file:
Addition to the last commit
4 lines of code changed in 2 files:
Fix for old tracers files and inca: all the keys must be accessible using "getKey", even
the "explicit" keys from "tracers" accessible withe the "%" sign. "parent" was missing.
10 lines of code changed in 1 file:
* fix for isotopic tagging tracers
* modify strHead/strTail: last argument (optional) has the same convention as INDEX:
if lBackward==.TRUE., search the pattern starting from the end of the string (default=.FALSE.)
* consolidate and simplify the new2oldH2O routine
8 lines of code changed in 1 file:
* revert to original "type_trac" management:
- 4 characters keyword (lmdz, Inca, repr, co2i, into, aeNP, coag
- no longer a list of component with "|" separator
- the parsed (with "|" separator) version "types_trac" is no longer used
- the sole routine using a list of component is readTracFiles
* fix for INCA and CO2Aer modes: setGeneration is now a function, index corrections for had/vadv.
48 lines of code changed in 1 file:
preff : un pas en avant, un pas en arriere
16 lines of code changed in 2 files:
* remove "config_inca" variable from "control_mod" and "infotrac_phy" (read in infotrac)
* only kept version of "type_trac" is in tracinca ; few tests are moved from infotrac to this module.
* simplify and generalize a bit the routines "phyetat0_get" and "phyetat0_srf" from phyetat0, converted to a module.
* fix the isotopic version: few "USE … » were misplaced between ISOVERIF CPP keys
* fix the old water and derived isotopes names in the ISOTRAC case
6 lines of code changed in 2 files:
Tidying code & grilles_gcm.nc.
In grilles_gcm.nc :
- some variable arguments are corrected/clarified ;
- grille_u and grille_v are filled (instead of "NaN") with "checkerboard" values, same as grille_s.
122 lines of code changed in 1 file:
Bug fix: out_dim(2) instead of out_dim(3).
And a nice story:
The bug was there from "immemorial" times, older than the "Initial revision" on svn, 19 mai 2004 : LMDZ4/trunk/libf/dyn3d/grilles_gcm_netcdf.F@524).
It only started to act in rev4253, when replacing nf_def_var by nf90_def_var:
with the original "out_dim(3)", the 2D variables got a supplementary dimension "lonu" with NaN values, making grilles_gcm.nc impossible to open with cdo and ferret. But some regridding scripts using NCO and lat*&lon* variables could probably still work.
So the bug remained undetected until trying to use grille_s to regrid ERA 10m-winds for SPLA ("dust" module).
L. Fairhead (lfairhead) helped with the "bug hunt" and L. Guez (lguez) independently got the same solution.
1 lines of code changed in 1 file:
* simplify the parser usage:
- the getKey_init routine is now embedded in the readTracersFile routine.
- the initIsotopes routine is now embedded in the readIsotopesFile routine.
- the database is now unique, but can be changed using the get/setKeysDBase.
- the derived types descriptions, originally located in trac_types_mod, are moved to readTracFiles_mod.
- few checkings moved from infotrac to the routine testIsotopes, contained in the readIsotopesFile function from readTracFiles_mod.
- the readTracersFiles and readIsotopesFile routines no longer use a tracers/isotopes argument.
* remove tnat and alpha_ideal from infotrac ; use instead getKey to get them where they are used (check_isotopes, dynetat0, iniacademic)
* the trac_type field %Childs is renamed %Children
* move the isoSelect routine and the corresponding variables routine from infotrac and infotrac_phy to readTracFiles_mod
* infotrac_phy routine is now fully independant of the (very similar) routine infotrac (init_infotrac_phy has no arguments left).
* all the explicit keys of the trac_type are now included in the embedded keys database, accessible using the getKey function.
* the getKey/addKey routines are expanded to handle vectors of integers, reals, logicals or strings.
* few subroutines converted into functions with error return value.
* corrections for isotopic tagging tracers mode (to be continued).
52 lines of code changed in 2 files:
- for REPROBUS: simplify (and fix) the handling of exceptions for old HNO3 convention.
- cleaning + comments added in readTracFiles_mod.
14 lines of code changed in 1 file:
Replace `nf_put_vara_type` by `nf90_put_var`
The immediate motivation is a bug fix: `nf_put_vara_type` was called
with scalar instead of array actual arguments for dummy array
arguments start and count. Correcting this, we might as well take the
opportunity to use `nf90_put_var`, so we no longer need to test
`NC_DOUBLE` and we have half as many calls.
10 lines of code changed in 1 file:
Bug fix: correct varid
2 lines of code changed in 1 file:
Bug fix: add missing argument ierr
1 lines of code changed in 1 file:
Replace `nf_def_var` by `nf90_def_var`
The immediate motivation is a bug fix: `nf_def_var` was called with a
scalar instead of array actual argument for dummy array argument
vdims. The simplest way to correct this bug is to replace by a call to
`nf90_def_var`.
12 lines of code changed in 1 file:
Modifications to code to introduce a new vertical axis on llm+1 levels so that fluxes can
be output on their proper levels as per the CMIP6 DataRequest?
Actually is r3853 from the IPSL-CM6A-MR branch
LF
9 lines of code changed in 4 files:
* Modifications in readSections to allow a continuation line character "\":
in both "tracer.def" and "isotopes_params.def", information for a single
tracer or isotope can now be stored on several lines.
* Modifications in "dispTable" and associated routines to allow too wide tables
to be displayed as several shorter sub-tables: each sub-table is at most
"nMaxCol" characters wide (typically: number of characters displayable in a
tandard screen window) and the first "nHead" columns (typically: name, index,
etc.) are duplicated in each sub-table. A default value for nMaxCol, called
maxTableWidth (currently = 192) is available in readTracFiles_mod.
* Subroutine "readIsotopesFile" becomes a function with a boolean returned
error value "lerr" used to trigger an external aborting function (no STOP).
4 lines of code changed in 1 file:
Fix for INCA and old "traceur.def" files
2 lines of code changed in 1 file:
correct a compilator bug for inca use
8 lines of code changed in 1 file:
Fix for the inca case with former "traceur.def" files.
2 lines of code changed in 1 file:
* add the computation of nqINCA in the "tracer.def" case (A. Cozic)
* few fixes
3 lines of code changed in 1 file:
The variable "types_trac" is the equivalent of "type_trac" in case multiple sections must be read
and used in "tracer.def" file.
Tests on the "type_trac" were replaced with tests on the vector "types_trac".
Most of the time, there are two components: 'lmdz' and a second one. The later has priority on 'lmdz'
and must be used for the tests. For more components, care must be taken to execute specific parts
of the code on the right tracers ; the tracers(:)%component has been created in that respect.
11 lines of code changed in 1 file:
* Fix for multi-sections "tracer.def" files: type_trac is no longer a coma-saparated list (","),
but is now a pipe-separated list ("|"), because the "getin" function replaces the comas by spaces.
* Small fix for INCA: keep the "config_inca" value different from "none" if ALL the sections names
differ from "inca" or "inco".
5 lines of code changed in 1 file:
* include new type "tracer.def" tracers description files in DefLists/
* Remove the old code (lOldCode=.TRUE.)
* Remove the hard-coded part in isotopes_mod that was ensuring the convergence
=> this version will not converge with previous isotopic physics, but the
difference, only due to round off errors on "tdifrel", is acceptable.
1 lines of code changed in 1 file:
Fixes needed because gfortran is not as permissive as ifort is with scalar pointers.
15 lines of code changed in 1 file:
Switch to the new tracers files "tracer.def".
Still working for the older "traceur.def" files.
The "isotope_params.def" file is now needed ; contains most of the constants formerly hard-coded in isotopes_mod.
Still contains few hard-coded lines for the "tdifrel" parameters, needed for reproductibilite the code is highly sensitive to this parameter: a difference not visible on 16 digits is enough to change the two last digits of deltaD after a one day run.
1 lines of code changed in 1 file:
Source code and xml files needed for XIOS output in the LMDZ LonLat dynamical core.
One flag controls everything: ok_dyn_xios. Parameters controlling outputs need to be put in the xml
files, nothing is set in the code
Work to follow on the dynzon file and the modipsl/libIGCM framework.
ok_dyn_xios = n should not change anything
1 lines of code changed in 2 files:
* Some variables are renamed or replaced by direct equivalents:
- iso_indnum -> tracers(:)%iso_iName
- niso_possibles -> niso
- iqiso -> iqIsoPha ; index_trac -> itZonIso
- ok_iso_verif -> isoCheck
- ntraceurs_zone -> nzone ; ntraciso -> ntiso
- qperemin -> min_qparent ; masseqmin -> min_qmass ; ratiomin -> min_ratio
* Some renamed variables are only aliased with the older name (using USE <module>, ONLY: <oldName> => <newName>) in routines where they are repeated many times.
* Few hard-coded indexes are now computed (examples: ilic, iso, ivap, irneb, iq_vap, iq_liq, iso_H2O, iso_HDO, iso_HTO, iso_O17, iso_O18).
* The IF(isoCheck) test is now embedded in the check_isotopes_seq and check_isotopes_loc routines (lighter calling).
20 lines of code changed in 1 file:
remove two variables not used anymore and not declared
1 lines of code changed in 1 file:
modify lmdz code in order to transfer to inca model all infomations necessary for the coupling with dynamico
2 lines of code changed in 1 file:
Remove solsym, ok_isotopes (=niso>0), ok_isotrac (=nzone>0)
9 lines of code changed in 1 file:
Fix when no isotopic tagging tracers are used.
3 lines of code changed in 1 file:
* New water names: H2Ov, H2Ol, H2Oi, H2Or -> H2O_g, H2O_l, H2O_s, H2O_r.
* Corrections for the lOldCode=.FALSE., not activated yet.
259 lines of code changed in 1 file:
Bug fix in infotrac (introduced in r4063), nbtr and related arrays were not properly initialized.
Tests notheless show there is still an issue between serial and parallel handling of (non-water) tracers that needs be fixed.
EM
10 lines of code changed in 1 file:
add missing cpp key
2 lines of code changed in 1 file:
(32 more)