4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
8 |
|
is exceeded |
9 |
|
o testreport: modify syntax of awk, so that it works also with |
10 |
|
awk, and not only with nawk and gawk |
11 |
|
|
12 |
|
checkpoint61 |
13 |
|
o autodiff |
14 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
15 |
|
This changes TAF subroutine argument list (ordering of active var.) |
16 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
17 |
|
To restore TAMC-compatibility, need following modifs: |
18 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
19 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
20 |
|
Tested TAF version is 1.9.22 |
21 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
22 |
|
|
23 |
|
checkpoint60 |
24 |
|
--->>> This is the last checkpoint for which generating the adjoint |
25 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
26 |
|
--->>> by default. |
27 |
|
--->>> Future checkpoints will ommit this flag by default. |
28 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
29 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
30 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
31 |
|
o pkg/autodiff: more flexibility in zeroadj. |
32 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
33 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
34 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
35 |
|
special setup of gmredi for which the adjoint is stable |
36 |
|
enough for parameter optimization. |
37 |
|
o bridging the gap between eddy stress and GM. |
38 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
39 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
40 |
|
-> when using GM w/ GM_AdvForm: |
41 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
42 |
|
is applied either in the tracer Eq. or in momentum Eq. |
43 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
44 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
45 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
46 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
47 |
|
|
48 |
|
checkpoint59r |
49 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
50 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
51 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
52 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
53 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
54 |
|
mass points, when using mnc for output |
55 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
56 |
|
default (which is the value of getcon('UNDEF')) |
57 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
58 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
59 |
|
initialisation of never used fields |
60 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
61 |
|
versions |
62 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
63 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
64 |
|
are missing. |
65 |
|
o move from external_forcing_surf.F to ini_forcing.F |
66 |
|
the p-coord. hack consisting in using pLoad to set phi0surf ; |
67 |
|
update output of tutorial_global_oce_in_p (affected @ truncation level). |
68 |
|
o Freshen up a bit hs94.1x64x5, notably: |
69 |
|
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
70 |
|
exactConserv=.TRUE. |
71 |
|
o pkg/generic_advdiff: |
72 |
|
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
73 |
|
applies to files where Temperature & Salinity 2nd Order moments are used. |
74 |
|
o pkg/ptracers: add second-order moment advection schemes (80 and 81); |
75 |
|
this uses a dynamically allocated internal state data structure |
76 |
|
(#define PTRACERS_ALLOW_DYN_STATE in PTRACERS_OPTIONS.h) |
77 |
|
and requires a fortran 90 compiler |
78 |
|
|
79 |
|
checkpoint59q |
80 |
|
o pkg/mom_vecinv: Add energy & enstrophy conserving scheme (selectVortScheme=3) |
81 |
|
(from Sadourny, described by Burridge & Haseler, ECMWF Rep.4, 1977) |
82 |
|
o Refresh tutorial_global_oce_biogeo, notably: |
83 |
|
- change bathymetry (put back seamounts in ACC, use hFacs) |
84 |
|
- change EOS (POLY3 --> JMD95Z) |
85 |
|
- use Bryan-Lewis vertical diffusivity |
86 |
|
- use multidimensional advection |
87 |
|
- remove old virtual virtual in dic pkg, now done through ptracer pkg |
88 |
|
- change a couple of parameters in dic pkg |
89 |
|
o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F |
90 |
|
o pkg/obcs: change default to OBCSfixTopo = .true., |
91 |
|
- set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result |
92 |
|
- replace "debugMode" with "debugLevel .GE. debLevB" |
93 |
|
o implementation of TAF directives for gchem,cfc,dic |
94 |
|
o remove "exp5" (replaced by tutorial_deep_convection). |
95 |
|
o pkg/obcs: add code to fix topography gradients normal to open boundaries; |
96 |
|
this requires computing the index fields OB_Jn/Js/Ie/Iw in obcs_readparms; |
97 |
|
the code can be turned on by setting OBCSfixTopo = .true. in data.obcs |
98 |
|
--> changes results in exp4, seaice_obcs |
99 |
|
o tutorial_deep_convection : |
100 |
|
update the set-up and increase resolution and domain size ; start |
101 |
|
from pseudo initial conditions = output at t=120mn in order to see |
102 |
|
something happening when running testreport. |
103 |
|
o pkg/seaice: add os7mp as an advection scheme |
104 |
|
add check for advection schemes |
105 |
|
add a flag for restoring T and S underneath sea ice |
106 |
|
o pkg/my82: add netcdf-support and diagnostics |
107 |
|
o thsice pkg: |
108 |
|
- Now hsMax limits snow height by turning it into ice following |
109 |
|
flooding scheme (and now conserving energy) |
110 |
|
- Slight rewriting of the formula in thsice_calc_thick.F |
111 |
|
- Parameter rhowi eliminated to be replaced by floodFac = (rhosw-rhoi)/rhos |
112 |
|
--> changes results of global_ocean.cs32x15.icedyn and global_ocean.cs32x15.thsice |
113 |
|
|
114 |
|
checkpoint59p |
115 |
|
o gchem / dic / cfc : |
116 |
|
- add useDIC, useCFC , read from "data.gchem" (& hold in GCHEM.h); |
117 |
|
- add new parameter files: "data.dic" & "data.cfc" ; |
118 |
|
- various re-arrangement in initialisation & header file ; |
119 |
|
- fix tutorial_global_oce_biogeo for multi-threaded test. |
120 |
|
o pkg/dic: test for "pickup_dic" file when restarting ; |
121 |
|
if no pickup-file, can restart with a re-initialised pH (same as it did |
122 |
|
before) providing pickupStrictlyMatch is set to False. |
123 |
|
o change argument list of S/R PTRACERS_WRITE_PICKUP & MYPACKAGE_WRITE_PICKUP |
124 |
|
+ fix call to S/R GGL90_WRITE_PICKUP & DIC_WRITE_PICKUP |
125 |
|
o add a "warning" (to Error msg file) when an Active Tracer is not using AB-2 |
126 |
|
and staggerTimeStep is off (needed for stability of Internal-wave dynamics). |
127 |
|
o move out of PARAMS.h & data the last pieces of old-ptracer code: tauTr1ClimRelax, |
128 |
|
& lambdaTr1ClimRelax ; put those 2 params in PTRACERS_PARAMS.h & data.ptracers |
129 |
|
(note: not clear to me what lambdaTr1ClimRelax is still used for ...) |
130 |
|
o pkg/mom_vecinv: - new parameter "selectVortScheme" to select which |
131 |
|
scheme to use for vorticty-term ; |
132 |
|
- compute upwindVorticity=T case within mom_vi_u/v_coriolis_c4.F |
133 |
|
(with default selectVortScheme, return to original discretisation) |
134 |
|
- remove weird combination (e.g.: upwindVorticity & highOrderVorticity) |
135 |
|
o pkg/seaice: add a line to the summary to indicate grid type (B/C) |
136 |
|
o in mom_calc_visc, fix average value of viscAh_W & viscA4_W next to the |
137 |
|
bottom ; only used with variable horizontal viscosity and non-hydrostatic. |
138 |
|
also fix diagnostics VISCAHW & VISCA4W. |
139 |
|
|
140 |
|
checkpoint59o |
141 |
|
o dome/code/obcs_calc.F: avoid division by zero (detected using gfortran). |
142 |
|
o change the loop ordering in most gad_*_adv_x.F to improve vectorization: |
143 |
|
move a few statemens out the main loop into separate loops |
144 |
|
o pkg/shelfice: |
145 |
|
- sort out freshwater flux; convert freshwater fluxes to mass fluxes |
146 |
|
(kg/m^2/s), does not break tests, because in verification/isomip, |
147 |
|
rhoConstFresh=rhoConst (by accident) |
148 |
|
- rearrange computation of tLoc, sLoc, pLoc to make code more efficient |
149 |
|
- move S/R find_rho_scalar, pkg/ecco/sw_ptmp.F, pkg/ecco/sw_adtg.F into |
150 |
|
new file model/src/seawater.F, so that they are available for all pkgs. |
151 |
|
- convert potential temperature into in-situ temperature. This changes the |
152 |
|
isomip tests => update tests |
153 |
|
o add a flag writePickupAtEnd (default=true) to be able to suppress |
154 |
|
writing a pickup at the last timestep |
155 |
|
o tools/mpack-1.6 : |
156 |
|
- disable automake (not working) and autoconf (not needed). |
157 |
|
- update to version 1.6.4 which fix MD5 code on some 64 bits platforms |
158 |
|
also cleaner with much less compilation warnings. |
159 |
|
o pkg/profiles: |
160 |
|
rename profiles_interp_mean_genericgrid as profiles_interp_mean_gg |
161 |
|
(for "less than 32 characters name" compiler requirement) |
162 |
|
o pkg/obcs and pkg/exf: added capability to specify seaice open boundary |
163 |
|
conditions that have a different sampling frequency than S/T/U/V obcs |
164 |
o pkg/diagnostics (stats-diags): |
o pkg/diagnostics (stats-diags): |
165 |
- fix global Min/Max in case 1 processor get only empty tiles |
- fix global Min/Max in case 1 processor get only empty tiles |
166 |
o genmake2: replace (4 times) |
o genmake2: replace (4 times) |