4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
- bug fix in the evp solver: boundary conditions were affected be |
9 |
|
masking of zMax/zMin (changes results) |
10 |
|
- minor bug fix in boundary conditions in seaice_calc_strainrates |
11 |
|
(changes results for no_slip) |
12 |
|
- seaice_lsr.F: make interpolation of eta dependent on boundaries |
13 |
|
- replace hardcoded lower limit for zeta (zMin) by runtime parameter |
14 |
|
- add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean |
15 |
|
stress formulation and no-slip boundary conditions |
16 |
|
o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP |
17 |
|
in gad_calc_rhs.F ; add few safety stops in initialisation phase. |
18 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
19 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
20 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
21 |
|
without requiring DO-IF statements |
22 |
|
o pkg/thsice: |
23 |
|
use continuous power-law function for partition of energy between lateral |
24 |
|
melting/freezing and thinning/thickening ; old code using step function |
25 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
26 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
27 |
|
o testreport: change AD testing : check against results/output_adm.txt |
28 |
|
using same scripts as for forward test. |
29 |
|
|
30 |
|
checkpoint59g |
31 |
|
o adjoint testing: in preparation for changing testreport: |
32 |
|
- output format: cost and grad written on separated lines |
33 |
|
- ad output results in directory "results" (instead of "results_ad") |
34 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
35 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
36 |
|
o pkg/ecco: allow user defined cost function contributions |
37 |
|
o testreport: |
38 |
|
Allow to choose (per experiment) the list of tested output variables |
39 |
|
and the main variable (used to issue a pass/FAIL ) ; |
40 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
41 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
42 |
|
Also modify printing of summary: |
43 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
44 |
|
b) echo the list of tested variables in the individual summary.txt of |
45 |
|
each experiment. |
46 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
47 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
48 |
|
(but still depend on the tile decompostion of the domain). |
49 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
50 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
51 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
52 |
|
the solution to the stress coupling issues with the B-grid. |
53 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
54 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
55 |
|
o pkg/thsice: |
56 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
57 |
|
- fix reshaping of sea-ice just after advection: |
58 |
|
melt all the ice only if ice-volume is too small. |
59 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
60 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
61 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
62 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
63 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
64 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
65 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
66 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
67 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
68 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
69 |
|
-> update output.txt |
70 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
71 |
|
this affects truncation error: -> update output.txt of exp: |
72 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
73 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
74 |
|
|
75 |
|
checkpoint59f |
76 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
77 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
78 |
|
a bounded range (in forward mode) |
79 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
80 |
|
internal parameter controls, completements of implementations |
81 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
82 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
83 |
|
(not seem any difference in testing results). |
84 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
85 |
|
at face corners. |
86 |
|
o pkg/generic_advdiff: |
87 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
88 |
|
loop range indices for computing vertical advection tendency |
89 |
|
and do the calculation in the interior only (no overlap) ; |
90 |
|
for now, only implemented for SOM advection (to save CPU time). |
91 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
92 |
|
o exch2 adjoint |
93 |
|
First set of changes: |
94 |
|
- add exch2 hand-written adjoint templates |
95 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
96 |
|
This will require cleanup in pkg/autodiff/*.F |
97 |
|
(changed routines currently kept separate in verif. code/) |
98 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
99 |
|
that used to hide exch2 or cubed-sphere specific code |
100 |
|
(commented via 'cph-exch2') |
101 |
|
o pkg/seaice |
102 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
103 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
104 |
|
output of global_ocean.cs32x15.thsice . |
105 |
|
|
106 |
|
checkpoint59e |
107 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
108 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
109 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
110 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
111 |
|
(#ifdef ALLOW_SALT_PLUME) |
112 |
|
o gather_2d/scatter_2d: removed halo regions |
113 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
114 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
115 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
116 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
117 |
|
so maybe GM/Redi adjoint is now broken. |
118 |
|
o seaice adjoint |
119 |
|
* add AREA, HEFF, HSNOW as control variable |
120 |
|
(should not change lab_sea results) |
121 |
|
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
122 |
|
o pkg/seaice: |
123 |
|
* added computation of saltFlux in seaice_growth; |
124 |
|
For time being, sea ice salinity is assumed constant |
125 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
126 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
127 |
|
defaults to 0.0 in order to maintain backward compatibility. |
128 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
129 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
130 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
131 |
|
heat content used to melt or grow ice |
132 |
|
* commented out cap of HICE: it helps keep ice thinner |
133 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
134 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
135 |
|
|
136 |
|
checkpoint59d |
137 |
|
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
138 |
|
for {PKG} state variables, and called from DO_STATEVARS_DIAGS. |
139 |
|
(keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics) |
140 |
|
o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0" |
141 |
|
and change default value of parameter "GM_Small_Number"; |
142 |
|
update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15, |
143 |
|
global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf, |
144 |
|
tutorial_global_oce_biogeo, tutorial_global_oce_latlon |
145 |
|
o pkg/ecco: cost function when applying pkg/smooth to controls |
146 |
|
o pkg/ctrl: add forcingPrecond run time parameter |
147 |
|
o pkg/seaice: |
148 |
|
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
149 |
|
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
150 |
|
changes verification/lab_sea |
151 |
|
- rearrange implicit part of u-equation in LSR solver to make it easier to |
152 |
|
read, understand, and debug. This causes changes at the truncation level. |
153 |
|
- fix (serious) bug in the boundary conditions (sign error in the implicit |
154 |
|
part) of the LSR solver. Changes all LSR results. |
155 |
|
- fixed problem with HSNOW initialization to avoid thick snow when AREA |
156 |
|
is initilized with small values - does not change lab_sea results. |
157 |
|
- added HsnowFile initialization capability |
158 |
|
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
159 |
|
initialization of pkg/smooth and application to control vector |
160 |
|
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
161 |
|
o dependencies: pkg/profiles requires pkg/cal |
162 |
|
o pkg/profiles: |
163 |
|
- added option ALLOW_PROFILES_GENERICGRID |
164 |
|
-> pkg/profiles can thus be used with any grid (e.g. cs32x15) assuming |
165 |
|
that interpolation information (grid points and coefficients) is provided |
166 |
|
within the netcdf input files. |
167 |
|
-> sample matlab scripts can be found in MITgcm_contrib/gael |
168 |
|
that allow you to prepare netcdf input files. |
169 |
|
- also modified: cleaner include statements, cleaner error print statements, |
170 |
|
cleaner stops when error, and more tests of the netcdf input files consistency. |
171 |
|
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
172 |
|
o pkg/seaice: |
173 |
|
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
174 |
|
requires a new routine: seaice_diagnostics_fill.F |
175 |
|
- make sure that seaice does not move if not forced (pressure replacement |
176 |
|
method, Hibler and Ip, 1995), changes results |
177 |
|
- and new damping criterion for EVP solver according to Hunke, JCP, 2001 |
178 |
|
- SEAICE_evpDampC = > 0. turns it on (615. is the recommended value). |
179 |
|
It is turned off by default (=-1.), because it changes the results. |
180 |
|
- make it possible to read AREA from a file, too. |
181 |
|
|
182 |
|
checkpoint59c |
183 |
|
o add S/R and diagnostics for oceanic mixed-layer depth |
184 |
|
o move GMRedi call after all vertical mixing schemes (including KPP) |
185 |
|
o pkg/thsice: |
186 |
|
- ensure iceMask > iceMaskMin : this problem appeared after May-04 modifs |
187 |
|
(melt only laterally if thin ice): update output of global_ocean.cs32x15.thsice |
188 |
|
o pkg/obcs: |
189 |
|
- bug fix for balance code |
190 |
|
o pkg/seaice: |
191 |
|
- allow values of SEAICE_elasticParm > 1 |
192 |
|
- add new parameter SEAICE_evpTauRelax as an alternative |
193 |
|
to SEAICE_elasticParm |
194 |
|
- make lsr boundary conditions free slip (by default), changes result |
195 |
|
- add code for no slip boundary conditions for lsr |
196 |
|
- set minimum of zeta to zero (and not 4e8) (changes results) |
197 |
|
- add a cap on AREA after advecting AREA if seaice_growth is not called |
198 |
|
o change calculation of Visbeck K: |
199 |
|
- no longer depend on tapering scheme; instead, compute slope (limited |
200 |
|
by GM_maxSlope). this is equivalent to what was comuted before with |
201 |
|
clipping or linear tappering. |
202 |
|
- fix vertical averaging (wrong by 1/2 level) |
203 |
|
- leave the old version (but will not be maintained) within |
204 |
|
#ifdef OLD_VISBECK_CALC / #endif |
205 |
|
- update output of exp. ideal_2D_oce |
206 |
|
o change error catch in calc_r_star to improve vectorization |
207 |
|
o exf runoff and seaice: remove ALLOW_SEAICE from exf pkg files and |
208 |
|
add #define ALLOW_RUNOFF in SEAICE_OPTIONS.h (when not using exf). |
209 |
|
o adjoint: |
210 |
|
Re-organized adjoint checkpointing according to Matt Mazloff |
211 |
|
(but with modifs/completions/cleanups) |
212 |
|
Storing is now bundled into large arrays to optimized I/O |
213 |
|
(and second step in cleanup of the_main_loop) |
214 |
|
|
215 |
|
checkpoint59b |
216 |
|
o coupler (pkg/atm_ocn_coupler, pkg/ocn_compon_interf, pkg/atm2d): |
217 |
|
- export/import (between ocean & coupler) fields needed for ocean DIC. |
218 |
|
o pkg/seaice: |
219 |
|
- get rid of three more exchanges seaice_calc_viscosities (required |
220 |
|
different loop boundaries in seaice_lsr and seaice_ocean_stress) |
221 |
|
- bug fix in seaice_ocean_stress (update of lab_sea required) |
222 |
|
- reduce loop boundaries to necessary minimum also in seaice_evp |
223 |
|
- go back to the old way of computing deltaC/Z as the adjoint likes that |
224 |
|
better |
225 |
|
o Refresh of tutorial_global_oce_latlon (includes changing salinity-like |
226 |
|
passive tracer to an Age Tracer) + update output.txt |
227 |
|
o pkg/exf: |
228 |
|
- implement A-grid / C-grid selection for wind-stress input files. |
229 |
|
- clean-up exf_wind.F (remove us, use wspeed instead ; add wStress) |
230 |
|
for now, in exf_bulk_largeyeager04.F only : |
231 |
|
- change implementation for case where windspeed + 2. components wind-stress |
232 |
|
are read-in. AND use rhoConstFresh to convert evap. |
233 |
|
o pkg/seaice: |
234 |
|
- use correct EXCH_UV for wind-forcing (on A-grid). |
235 |
|
- change SEAICE_OPTIONS.h to limit the number of option combinations (regarding |
236 |
|
SEAICE_EXTERNAL_FORCING & SEAICE_EXTERNAL_FLUXES); add corresponding stops. |
237 |
|
o pkg/exf: |
238 |
|
- default EXF options are now set in EXF_OPTIONS.h (ifndef ALLOW_AUTODIFF_TAMC) |
239 |
|
EXF_INTERPOLATION: |
240 |
|
- merge global_with_exf/code version of exf_interp_read.F |
241 |
|
to the main code ; |
242 |
|
- Add new option: EXF_INTERP_USE_DYNALLOC to use Dynamical Allocation when |
243 |
|
reading the file ; Important: This options needs to be defined to recover |
244 |
|
previous code. |
245 |
|
otherwise, use fixed size array to read in (size=exf_interp_bufferSize). |
246 |
|
- no longer loose real*8 precision along the way when using exf_iprec=64. |
247 |
|
o pkg/seaice: rearrangement of common blocks (really needs more cleaning up) |
248 |
|
- change discretisation of evp-solver in order to avoid another exchange |
249 |
|
(changes lab_sea) and clean up a little |
250 |
|
- replace SQRT(MAX(deltaC,SEAICE_EPS)) by MAX(SQRT(deltaC),SEAICE_EPS) |
251 |
|
help the adjoint (this also changes the results slightly) |
252 |
|
- add a few "_d 0" where they had been missing in seaice_evp.F |
253 |
|
- cleaning up: remove unused seaice_calc_rhs.F |
254 |
|
o pkg/exf: some cleaning-up: |
255 |
|
- change various "constants" into runtime parameters |
256 |
|
- cleaned-up Large&Yeager04 routine which should eventually |
257 |
|
replace exf_bulkformulae.F (changed names of S/R and CPP) |
258 |
|
and merged various ALLOW_ATM_WIND options |
259 |
|
only used with thsice pkg (in thsice_get_exf.F): |
260 |
|
- implement fixed turbulent transfert Coeff over ice (as in Large&Yeager04) |
261 |
|
which are used when useStabilityFct_overIce=TRUE (= the default) |
262 |
|
- change default values of ice & snow emissivity and scale downward LW |
263 |
|
by ice & snow emissivity. |
264 |
|
o pkg/thsice: |
265 |
|
fix few little problems, in thsice_calc_thickn.F: |
266 |
|
- growth vertically (and not laterally) if iceFrac == iceMaskMax |
267 |
|
- melt only laterally if hIce < hThinIce (as the comments say) |
268 |
|
and in thsice_extend.F: |
269 |
|
- allow to form ice even when iceFrac == iceMaskMax (by increasing thickness) |
270 |
|
- start to form ice as soon as the minimum ice-volume is reachable. |
271 |
|
update output of test-exp: aim.5l_cs(thSI), global_ocean.cs32x15(thsice), |
272 |
|
and cpl_aim+ocn |
273 |
|
o pkg/kpp |
274 |
|
- move computation of surface related input fields to KPP into a new |
275 |
|
subroutine kpp_forcing_surf.F |
276 |
|
- remove wrong (within bi,bj loops) EXCH calls. |
277 |
|
- little cleaning (add argument myThid in last position, cvs header ...) |
278 |
|
- for now, fix conservation problem by exchanging KPPviscAz (may not |
279 |
|
be the best fix) |
280 |
|
o pkg/seaice |
281 |
|
- check for inconsistent evp parameter/cpp-flag combination |
282 |
|
- remove leftover errIO flat for obsolete name list error handling |
283 |
|
o OpenAD |
284 |
|
- changed verification/OpenAD to full baroclinic setup (including GM/Redi) |
285 |
|
|
286 |
|
checkpoint59a |
287 |
o pkg/seaice: some parameter clarifications and a little bit of clean up |
o pkg/seaice: some parameter clarifications and a little bit of clean up |
288 |
o pkg/thsice: rename run-time parameters: |
o pkg/thsice: rename run-time parameters: |
289 |
himin -> hIceMin |
himin -> hIceMin |