4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf: fix a serious bug in exf_set_uv.F: do a rotation of the |
8 |
|
interpolated wind field not only for curvilineargrid=.true., but also |
9 |
|
for a rotated grid (rotateGrid=.true.) |
10 |
|
o pkg/exf: add capability to bypass interpolation for runoff |
11 |
|
by setting yet another CPP-flag |
12 |
|
o autodiff |
13 |
|
new CPP option ALLOW_TAMC_SINGLEPREC_COMLEV |
14 |
|
allows to switch to single-prec common blocks; |
15 |
|
corresponding switch occurs in tamc.h, integer isbyte |
16 |
|
TAF store directivs "byte" and "kind" seem equivalent; |
17 |
|
Most tamc.h have been updated correspondingly. |
18 |
|
|
19 |
|
checkpoint61i |
20 |
|
o autodiff: |
21 |
|
fix autodiff_sore/_restore indices for obcs |
22 |
|
(spotted by I. Hoteit, M. Mazloff) |
23 |
|
o pkg/autodiff, pkg/ctrl: |
24 |
|
Add flag to reduce all tapelev I/O to single-prec. |
25 |
|
In data.ctrl set |
26 |
|
doSinglePrecTapelev = .TRUE. |
27 |
|
o model/src/ini_curvilinear_grid.F: check in hack for SX8 compiler |
28 |
|
to make sure that recip_dxV and recip_dyU are never zero, until we |
29 |
|
have a proper exchange for them. Most compilers do not seem |
30 |
|
to mind divisions by zero in the overlaps, as long as the results are |
31 |
|
not used anywhere, but sxf90 does. |
32 |
|
o pkg/shelfice: fix bug with SHELFICEconserve flag, prepare for |
33 |
|
real fresh water flux (not yet) |
34 |
|
o pkg/mdsio & rw: |
35 |
|
- add argument & option to S/R MDS_WRITEVEC_LOC (avoid Open/Close & write-meta) |
36 |
|
- add simple interface S/R to MDS_WRITEVEC_LOC in pkg/rw: WRITE_GLVEC_RX. |
37 |
|
o pkg/flt: |
38 |
|
- replace FLT_INIT by 3-steps standard initialization S/R: readparms, |
39 |
|
init_fixed & ini_varia. |
40 |
|
- clean-up & simplify linear interpolation S/R: |
41 |
|
move flt_bilinear.F -> flt_interp_linear.F ; add arg. myThid. |
42 |
|
- fix some indices (mainly vertical index) ; add IMPLICIT NONE. |
43 |
|
- more efficient I/O, using new options of MDS_WRITEVEC_LOC S/R. |
44 |
|
- add vert. coordinate & horiz. indices to output files. |
45 |
|
- change vertical position in initial condition, from index to depth [m]. |
46 |
|
- store horizontal (decimal) indices i,j in common block (instead of coord. x,y) |
47 |
|
(easier to get to a curvilinear grid) ; delX,delY no longer used. |
48 |
|
o pkg/ggl90: a few modifications: |
49 |
|
- fix bottom boundary condition, and interpolation of KappaE |
50 |
|
near top and bottom |
51 |
|
- use same set of viscosity/diffusivity for TKE/momnetum/tracer |
52 |
|
- add smoothing option as in Blanke and Delecluse (1993) (--> ALLOW_GGL90_SMOOTH) |
53 |
|
- add a few options for mixing-length upper limit (--> mxlMaxFlag) |
54 |
|
o rename thetaMin,phiMin -> xgOrigin,ygOrigin |
55 |
|
(maintain temporary backward compatibility, until next checkpoint) |
56 |
|
|
57 |
|
checkpoint61h |
58 |
|
o pkg/diagnostics with "periodic averaging diagnostics": |
59 |
|
fix S/R DIAGNOSTICS_COUNT ; hack diagnostics_out.F to get NetCDF output. |
60 |
|
o pkg/my82: add missing "_d 0" ; update output of exp. vermix.my82 |
61 |
|
o pkg/obcs: fix loop ranges for balancing code |
62 |
|
o pkg/flt: |
63 |
|
- improve criteria for finding which tile owns a float. |
64 |
|
- fix FLT_EXCH for case without MPI ; apply cyclic BC + fix also the MPI case. |
65 |
|
o Add well-mixed CO2 box in aim_v23 (which includes changes in pkg |
66 |
|
aim_compon_interf, ocn_compon_interf, gchem, and dic to get coupling |
67 |
|
with ocean biogeo) |
68 |
|
o pkg/flt: |
69 |
|
- do some cleaning and fix the restart ; |
70 |
|
- add output.txt in flt_example/results to get this pkg tested. |
71 |
|
o genmake2: add an EXTENDED_SRC option and flag. |
72 |
|
for now, cannot be turned on on command line (only through genmake_local) |
73 |
|
o pkg/mdsio: read/write vector: |
74 |
|
- singleCpuIO: fix RL/RS in MDSWRITEVECTOR by calling new S/R MDS_BUFFERtoRL/RS |
75 |
|
- singleCpuIO=F: fix arrType & filePrec & _BYTESWAPIO in both MDSREADVECTOR |
76 |
|
& MDSWRITEVECTOR by calling new S/R MDS_RD/WR_VEC_RL/RS. |
77 |
|
- affects gradient of test-exp "bottom_ctrl_5x5" (not due to _BYTESWAPIO) |
78 |
|
(drop to 4 digits matching for grad). But this test does not look very |
79 |
|
reliable (was already failling on eddy, fc5, at 6.digits). Update output. |
80 |
|
|
81 |
|
checkpoint61g |
82 |
|
o pkg/flt: |
83 |
|
- move FLT_CPPOPTIONS.h to FLT_OPTIONS.h (standard name) |
84 |
|
+ make OPTIONS file more standard. |
85 |
|
- rename S/R MDSREADVECTOR_FLT to FLT_MDSREADVECTOR (to mach src file name) |
86 |
|
- fix _BYTESWAPIO CPP-Flag |
87 |
|
- standard reading of file-parameter "data.flt" |
88 |
|
- fix argument list of S/R FLT_RESTART |
89 |
|
still need to fix _BYTESWAPIO in pkg/mdsio/mdsio_writevector.F |
90 |
|
o pkg/obcs: fix a CPP-flag, bug reported by Jeff Blundell |
91 |
|
o gather_2d.F/scatter_2d.F: suppress vectorisation on NEC SX in respond to |
92 |
|
a still unfixed compiler/optimization bug |
93 |
|
|
94 |
|
checkpoint61f |
95 |
|
o pkg/seaice, LSR solver: fix bug in GLOBAL_MAX calls ; |
96 |
|
update results of global_ocean.cs32x15.icedyn test. |
97 |
|
o move getcon.F from model/src to pkg/fizhi. |
98 |
|
o pkg/exf: add parameter for extrapolation of temp up to the surface |
99 |
|
and option to prevent negative evap (in bulk_largeyeager04 only). |
100 |
|
o Prather Advection scheme: fix tracer conservation for divergent flow |
101 |
|
(e.g., when using NonLin Free-Surface). |
102 |
|
o kpp: retire KPPmld diagnostics --> use MXLDEPTH instead |
103 |
|
o gmredi (Visbeck-variable-K): |
104 |
|
- add more parameters to Visbeck-variable-K. |
105 |
|
- use a 5 points average for dSigmaR in Visbeck-K calculation |
106 |
|
(more "homogenous": same stencil and same weights as in dSigmaH) |
107 |
|
- update output of ideal_2D_oce experiment. |
108 |
|
o fix CPP-flag REAL4_IS_SLOW, when _RS expands into real*4 |
109 |
|
(#undef REAL4_IS_SLOW) |
110 |
|
- pkg/mnc/mnc_cw_cvars.F: write _RS-grid variable as netcdf-real*4 |
111 |
|
coordinate variable |
112 |
|
- pkg/monitor/monitor.F: call mon_printstats_rs for _RS variables |
113 |
|
(surface forcing fields), removes some of the functionality |
114 |
|
- model/src/write_grid.F: write _RS variables as RS-netcdf variables |
115 |
|
- model/src/diags_oceanic_surf_flux.F: fix a few diagnostics, but |
116 |
|
probably not all: copy _RS surface flux fields to RL field before |
117 |
|
calling DIAGNOSTICS_FILL |
118 |
|
- model/inc/CPP_EEMACROS.h: make the _EXCH_*_RS macros expand into |
119 |
|
real*4 (CALL EXCH_*_RS) versions. |
120 |
|
- tested in 2 experiments: inverted_barometer & solid-body.cs-32x32x1 |
121 |
|
(generate new output). |
122 |
|
|
123 |
|
checkpoint61e |
124 |
|
o gmredi (Visbeck-variable-K): |
125 |
|
- fix the "OLD_VISBECK_CALC" option + move the #undef to GMREDI_OPTIONS.h |
126 |
|
- change computation of Visbeck-K where Slope > Smax : |
127 |
|
now: N*min(Slope,Smax) (similar to OLD_VISBECK_CALC with gkw91 taperFct) |
128 |
|
previously was: M*sqrt(min(Slope,Smax)) ; update ideal_2D_oce output. |
129 |
|
o bottom-drag in P-coord.: change units of bottomDragLinear & bottomDragQuadratic |
130 |
|
to be the same as with Z-coord. (i.e., m/s & no-units respectively). |
131 |
|
o calc_viscosity: fix index range (was wrong for CD-Scheme & explicit Visc) |
132 |
|
o pkg gmredi, linear & fm07 tapering: put an upper limit on Slope^2 so that Kwz |
133 |
|
does not become too large (to avoid precision problems in implicit-diffusion |
134 |
|
solver); update ideal_2D_oce output. |
135 |
|
o pkg ggl90: |
136 |
|
- in ggl90_cal.F: compute only one set of visc/diff, used to |
137 |
|
step forward TKE/T/S/momentum |
138 |
|
- default value of GGL90viscMax/GGL90diffMax larger and equal (to |
139 |
|
have Prandlt =1) |
140 |
|
o gmredi (fm07): |
141 |
|
- add lower limit on Transition layer thickness + lower limit on 1/lambda |
142 |
|
- allow to set few more params from data.gmredi |
143 |
|
o pkg ggl90: |
144 |
|
- add missing sqrt(2) factor in computation of mixing length |
145 |
|
scale in ggl90_calc.F |
146 |
|
(see Eq. (2.35) in Blanke and Delecluse, JPO, 1993) |
147 |
|
|
148 |
|
checkpoint61d |
149 |
|
o adjoint modifs |
150 |
|
- adapt to new field rhoInSitu |
151 |
|
- allow to revert from StoreDynVars2D, StoreDynVars3D |
152 |
|
to individual fields |
153 |
|
(switches AUTODIFF_USE_OLDSTORE_2D, AUTODIFF_USE_OLDSTORE_3D) |
154 |
|
o store 3-D (in-situ) density in commom block (DYNVARS.h) |
155 |
|
- save 1 rho computation. |
156 |
|
- no longer modify T & S inland when using down_slope pkg. |
157 |
|
o gad_som : allow to switch to SOM advection for T & S without corresponding |
158 |
|
pickup files (using new S/R: MDS_CHECK4FILE). |
159 |
|
o keep removing _BEGIN/_END_MASTER between MDSIO S/R call |
160 |
|
(for useSingleCpuIO to work in multi-threaded) |
161 |
|
o pkg/shelfice: |
162 |
|
- disentangle parameters: retire shelfIceFile in data/PARM05 and substitute |
163 |
|
with SHELFICEtopoFile in data.shelfice |
164 |
|
- move code for reading ice shelf topography and modifying hFacC into separate |
165 |
|
subroutines of the shelfice package |
166 |
|
- separate initialisation of "fixed" and "variable" variables |
167 |
|
- kTopC is not (yet) replaced by kSurfC, although this is possible |
168 |
|
o fix broken diagnostic SIatmFW and changed the units from m/s to kg/m^2/s |
169 |
|
o add initialisation of deepFac if using Pcoords (new S/R set_grid_factors) |
170 |
|
and rename: |
171 |
|
ini_phiref.F --> set_ref_state.F (+ set anelastic factors) |
172 |
|
ini_reference_state.F --> load_ref_files.F (- set anelastic factors) |
173 |
|
o change FIND_RHO_SCALAR : return rho (instead of rho - rhoConst) |
174 |
|
|
175 |
|
checkpoint61c |
176 |
|
o add option ALLOW_ADDFLUID and run-time selector "selectAddFluid" |
177 |
|
to add mass source/sink of fluid in the interior (3-D generalisation |
178 |
|
of oceanic real-fresh water flux). |
179 |
|
o pkg/monitor: fix recip_dr argument in mon_advcflw2 call (-> advcfl_W_hf_max) |
180 |
|
o vermix test experiment: switch from LINEAR EOS to MDJWF (not tested before) |
181 |
|
o new pkg: down_slope |
182 |
|
density-driven downsloping flow parameterisation (Tellus, 1999, 412-430). |
183 |
|
- presently, modify T & S inland (dwnslp_calc_rho.F). |
184 |
|
can be avoided if rho was stored in common bloc and used in calc_phi_hyd. |
185 |
|
- implementation for ocean in P-coords not tested. |
186 |
|
- add secondary test to global_ocean.90x40x15 (input.dwnslp) to check this pkg. |
187 |
|
o move kSurfC,kSurfW & kSurfS from SURFACE.h to GRID.h (next to kLowC) |
188 |
|
(to facilitate conversion of oceanic pkg to p-coordinate). |
189 |
|
o change FIND_RHO to FIND_RHO_2D : |
190 |
|
pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK. |
191 |
|
o new pkg: cheapaml |
192 |
|
|
193 |
|
checkpoint61b |
194 |
|
o exch2: |
195 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
196 |
|
- no longer depend on the order sequence (N,S,E,W). |
197 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
198 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
199 |
|
- exch_UV_A-grid readily available (but not yet tested). |
200 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
201 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
202 |
|
get truncation error differences with adjoint exch. |
203 |
|
o exch2: |
204 |
|
- change index-bounds storage (moved from target to local tile, |
205 |
|
more intuitive this way) ; rename/remove some variables. |
206 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
207 |
|
|
208 |
|
checkpoint61a |
209 |
|
o exch2/matlab-topology-generator: |
210 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
211 |
|
had any effect on the solution). |
212 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
213 |
|
is exceeded |
214 |
|
o testreport: modify syntax of awk, so that it works also with |
215 |
|
awk, and not only with nawk and gawk |
216 |
|
|
217 |
|
checkpoint61 |
218 |
|
o autodiff |
219 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
220 |
|
This changes TAF subroutine argument list (ordering of active var.) |
221 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
222 |
|
To restore TAMC-compatibility, need following modifs: |
223 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
224 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
225 |
|
Tested TAF version is 1.9.22 |
226 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
227 |
|
|
228 |
|
checkpoint60 |
229 |
|
--->>> This is the last checkpoint for which generating the adjoint |
230 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
231 |
|
--->>> by default. |
232 |
|
--->>> Future checkpoints will ommit this flag by default. |
233 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
234 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
235 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
236 |
|
o pkg/autodiff: more flexibility in zeroadj. |
237 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
238 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
239 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
240 |
|
special setup of gmredi for which the adjoint is stable |
241 |
|
enough for parameter optimization. |
242 |
|
o bridging the gap between eddy stress and GM. |
243 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
244 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
245 |
|
-> when using GM w/ GM_AdvForm: |
246 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
247 |
|
is applied either in the tracer Eq. or in momentum Eq. |
248 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
249 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
250 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
251 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
252 |
|
|
253 |
|
checkpoint59r |
254 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
255 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
256 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
257 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
258 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
259 |
|
mass points, when using mnc for output |
260 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
261 |
|
default (which is the value of getcon('UNDEF')) |
262 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
263 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
264 |
|
initialisation of never used fields |
265 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
266 |
|
versions |
267 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
268 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
269 |
|
are missing. |
270 |
o move from external_forcing_surf.F to ini_forcing.F |
o move from external_forcing_surf.F to ini_forcing.F |
271 |
the p-coord. hack consisting in using pLoad to set phi0surf ; |
the p-coord. hack consisting in using pLoad to set phi0surf ; |
272 |
update output of tutorial_global_oce_in_p (affected @ truncation level). |
update output of tutorial_global_oce_in_p (affected @ truncation level). |
273 |
o Freshen up a bit hs94.1x64x5, notably: |
o Freshen up a bit hs94.1x64x5, notably: |
274 |
remove rotationPeriod and tRef=5*0. (adjoint only), and add exactConserv=.TRUE. |
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
275 |
|
exactConserv=.TRUE. |
276 |
o pkg/generic_advdiff: |
o pkg/generic_advdiff: |
277 |
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 |
278 |
applies to files where Temperature & Salinity 2nd Order moments are used. |
applies to files where Temperature & Salinity 2nd Order moments are used. |
2374 |
- my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme |
- my82 (Mellor and Yamada, 1982) level 2 turbulence closure scheme |
2375 |
- these scheme operate in a similar manner as KPP (without ghat, of |
- these scheme operate in a similar manner as KPP (without ghat, of |
2376 |
course), however there is only one diffusivity that is used for both |
course), however there is only one diffusivity that is used for both |
2377 |
temperature and salinity (and passive tracers)ç |
temperature and salinity (and passive tracers) |
2378 |
o add offline package |
o add offline package |
2379 |
o add "verification/dic_example" which contains a dic-gchem-ptracer setup |
o add "verification/dic_example" which contains a dic-gchem-ptracer setup |
2380 |
provided by Stephanie Dutkiewicz |
provided by Stephanie Dutkiewicz |