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