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