4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o gmredi(fm07): |
8 |
|
- add lower limit on Transition layer thickness D + lower limit on D/lambda |
9 |
|
- allow to set few more params from data.gmredi |
10 |
|
o pkg ggl90: |
11 |
|
- add missing sqrt(2) factor in computation of mixing length |
12 |
|
scale in ggl90_calc.F |
13 |
|
(see Eq. (2.35) in Blanke and Delecluse, JPO, 1993) |
14 |
|
|
15 |
|
checkpoint61d |
16 |
|
o adjoint modifs |
17 |
|
- adapt to new field rhoInSitu |
18 |
|
- allow to revert from StoreDynVars2D, StoreDynVars3D |
19 |
|
to individual fields |
20 |
|
(switches AUTODIFF_USE_OLDSTORE_2D, AUTODIFF_USE_OLDSTORE_3D) |
21 |
|
o store 3-D (in-situ) density in commom block (DYNVARS.h) |
22 |
|
- save 1 rho computation. |
23 |
|
- no longer modify T & S inland when using down_slope pkg. |
24 |
|
o gad_som : allow to switch to SOM advection for T & S without corresponding |
25 |
|
pickup files (using new S/R: MDS_CHECK4FILE). |
26 |
|
o keep removing _BEGIN/_END_MASTER between MDSIO S/R call |
27 |
|
(for useSingleCpuIO to work in multi-threaded) |
28 |
|
o pkg/shelfice: |
29 |
|
- disentangle parameters: retire shelfIceFile in data/PARM05 and substitute |
30 |
|
with SHELFICEtopoFile in data.shelfice |
31 |
|
- move code for reading ice shelf topography and modifying hFacC into separate |
32 |
|
subroutines of the shelfice package |
33 |
|
- separate initialisation of "fixed" and "variable" variables |
34 |
|
- kTopC is not (yet) replaced by kSurfC, although this is possible |
35 |
|
o fix broken diagnostic SIatmFW and changed the units from m/s to kg/m^2/s |
36 |
|
o add initialisation of deepFac if using Pcoords (new S/R set_grid_factors) |
37 |
|
and rename: |
38 |
|
ini_phiref.F --> set_ref_state.F (+ set anelastic factors) |
39 |
|
ini_reference_state.F --> load_ref_files.F (- set anelastic factors) |
40 |
|
o change FIND_RHO_SCALAR : return rho (instead of rho - rhoConst) |
41 |
|
|
42 |
|
checkpoint61c |
43 |
|
o add option ALLOW_ADDFLUID and run-time selector "selectAddFluid" |
44 |
|
to add mass source/sink of fluid in the interior (3-D generalisation |
45 |
|
of oceanic real-fresh water flux). |
46 |
|
o pkg/monitor: fix recip_dr argument in mon_advcflw2 call (-> advcfl_W_hf_max) |
47 |
|
o vermix test experiment: switch from LINEAR EOS to MDJWF (not tested before) |
48 |
|
o new pkg: down_slope |
49 |
|
density-driven downsloping flow parameterisation (Tellus, 1999, 412-430). |
50 |
|
- presently, modify T & S inland (dwnslp_calc_rho.F). |
51 |
|
can be avoided if rho was stored in common bloc and used in calc_phi_hyd. |
52 |
|
- implementation for ocean in P-coords not tested. |
53 |
|
- add secondary test to global_ocean.90x40x15 (input.dwnslp) to check this pkg. |
54 |
|
o move kSurfC,kSurfW & kSurfS from SURFACE.h to GRID.h (next to kLowC) |
55 |
|
(to facilitate conversion of oceanic pkg to p-coordinate). |
56 |
|
o change FIND_RHO to FIND_RHO_2D : |
57 |
|
pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK. |
58 |
|
o new pkg: cheapaml |
59 |
|
|
60 |
|
checkpoint61b |
61 |
|
o exch2: |
62 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
63 |
|
- no longer depend on the order sequence (N,S,E,W). |
64 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
65 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
66 |
|
- exch_UV_A-grid readily available (but not yet tested). |
67 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
68 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
69 |
|
get truncation error differences with adjoint exch. |
70 |
|
o exch2: |
71 |
|
- change index-bounds storage (moved from target to local tile, |
72 |
|
more intuitive this way) ; rename/remove some variables. |
73 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
74 |
|
|
75 |
|
checkpoint61a |
76 |
|
o exch2/matlab-topology-generator: |
77 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
78 |
|
had any effect on the solution). |
79 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
80 |
|
is exceeded |
81 |
|
o testreport: modify syntax of awk, so that it works also with |
82 |
|
awk, and not only with nawk and gawk |
83 |
|
|
84 |
|
checkpoint61 |
85 |
|
o autodiff |
86 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
87 |
|
This changes TAF subroutine argument list (ordering of active var.) |
88 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
89 |
|
To restore TAMC-compatibility, need following modifs: |
90 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
91 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
92 |
|
Tested TAF version is 1.9.22 |
93 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
94 |
|
|
95 |
|
checkpoint60 |
96 |
|
--->>> This is the last checkpoint for which generating the adjoint |
97 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
98 |
|
--->>> by default. |
99 |
|
--->>> Future checkpoints will ommit this flag by default. |
100 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
101 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
102 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
103 |
|
o pkg/autodiff: more flexibility in zeroadj. |
104 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
105 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
106 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
107 |
|
special setup of gmredi for which the adjoint is stable |
108 |
|
enough for parameter optimization. |
109 |
|
o bridging the gap between eddy stress and GM. |
110 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
111 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
112 |
|
-> when using GM w/ GM_AdvForm: |
113 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
114 |
|
is applied either in the tracer Eq. or in momentum Eq. |
115 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
116 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
117 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
118 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
119 |
|
|
120 |
|
checkpoint59r |
121 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
122 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
123 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
124 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
125 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
126 |
|
mass points, when using mnc for output |
127 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
128 |
|
default (which is the value of getcon('UNDEF')) |
129 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
130 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
131 |
|
initialisation of never used fields |
132 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
133 |
|
versions |
134 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
135 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
136 |
|
are missing. |
137 |
o move from external_forcing_surf.F to ini_forcing.F |
o move from external_forcing_surf.F to ini_forcing.F |
138 |
the p-coord. hack consisting in using pLoad to set phi0surf ; |
the p-coord. hack consisting in using pLoad to set phi0surf ; |
139 |
update output of tutorial_global_oce_in_p (affected @ truncation level). |
update output of tutorial_global_oce_in_p (affected @ truncation level). |
140 |
o Freshen up a bit hs94.1x64x5, notably: |
o Freshen up a bit hs94.1x64x5, notably: |
141 |
remove rotationPeriod and tRef=5*0. (adjoint only), and add exactConserv=.TRUE. |
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
142 |
|
exactConserv=.TRUE. |
143 |
o pkg/generic_advdiff: |
o pkg/generic_advdiff: |
144 |
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
145 |
applies to files where Temperature & Salinity 2nd Order moments are used. |
applies to files where Temperature & Salinity 2nd Order moments are used. |