4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf: improve vectorization by moving if-statement out of loops |
8 |
|
o pkg/kpp: added the salt plume scheme (ALLOW_SALT_PLUME) to KPP package |
9 |
|
o testreport: |
10 |
|
- allow to test for Qnet & SeaIce monitor output; clean-up ALLOW_BULK_OFFLINE |
11 |
|
monitor & update offline_exf_seaice exp. output. |
12 |
|
- AD testing: pass/FAIL according to Grad. output accuracy (instead of Cost) |
13 |
|
o pkg/seaice: |
14 |
|
- bug fix in the evp solver: boundary conditions were affected be |
15 |
|
masking of zMax/zMin (changes results) |
16 |
|
- minor bug fix in boundary conditions in seaice_calc_strainrates |
17 |
|
(changes results for no_slip) |
18 |
|
- seaice_lsr.F: make interpolation of eta dependent on boundaries |
19 |
|
- replace hardcoded lower limit for zeta (zMin) by runtime parameter |
20 |
|
- add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean |
21 |
|
stress formulation and no-slip boundary conditions |
22 |
|
o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP |
23 |
|
in gad_calc_rhs.F ; add few safety stops in initialisation phase. |
24 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
25 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
26 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
27 |
|
without requiring DO-IF statements |
28 |
|
o pkg/thsice: |
29 |
|
use continuous power-law function for partition of energy between lateral |
30 |
|
melting/freezing and thinning/thickening ; old code using step function |
31 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
32 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
33 |
|
o testreport: change AD testing : check against results/output_adm.txt |
34 |
|
using same scripts as for forward test. |
35 |
|
|
36 |
|
checkpoint59g |
37 |
|
o adjoint testing: in preparation for changing testreport: |
38 |
|
- output format: cost and grad written on separated lines |
39 |
|
- ad output results in directory "results" (instead of "results_ad") |
40 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
41 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
42 |
|
o pkg/ecco: allow user defined cost function contributions |
43 |
|
o testreport: |
44 |
|
Allow to choose (per experiment) the list of tested output variables |
45 |
|
and the main variable (used to issue a pass/FAIL ) ; |
46 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
47 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
48 |
|
Also modify printing of summary: |
49 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
50 |
|
b) echo the list of tested variables in the individual summary.txt of |
51 |
|
each experiment. |
52 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
53 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
54 |
|
(but still depend on the tile decompostion of the domain). |
55 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
56 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
57 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
58 |
|
the solution to the stress coupling issues with the B-grid. |
59 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
60 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
61 |
|
o pkg/thsice: |
62 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
63 |
|
- fix reshaping of sea-ice just after advection: |
64 |
|
melt all the ice only if ice-volume is too small. |
65 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
66 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
67 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
68 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
69 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
70 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
71 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
72 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
73 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
74 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
75 |
|
-> update output.txt |
76 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
77 |
|
this affects truncation error: -> update output.txt of exp: |
78 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
79 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
80 |
|
|
81 |
|
checkpoint59f |
82 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
83 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
84 |
|
a bounded range (in forward mode) |
85 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
86 |
|
internal parameter controls, completements of implementations |
87 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
88 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
89 |
|
(not seem any difference in testing results). |
90 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
91 |
|
at face corners. |
92 |
|
o pkg/generic_advdiff: |
93 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
94 |
|
loop range indices for computing vertical advection tendency |
95 |
|
and do the calculation in the interior only (no overlap) ; |
96 |
|
for now, only implemented for SOM advection (to save CPU time). |
97 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
98 |
|
o exch2 adjoint |
99 |
|
First set of changes: |
100 |
|
- add exch2 hand-written adjoint templates |
101 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
102 |
|
This will require cleanup in pkg/autodiff/*.F |
103 |
|
(changed routines currently kept separate in verif. code/) |
104 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
105 |
|
that used to hide exch2 or cubed-sphere specific code |
106 |
|
(commented via 'cph-exch2') |
107 |
|
o pkg/seaice |
108 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
109 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
110 |
|
output of global_ocean.cs32x15.thsice . |
111 |
|
|
112 |
|
checkpoint59e |
113 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
114 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
115 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
116 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
117 |
|
(#ifdef ALLOW_SALT_PLUME) |
118 |
|
o gather_2d/scatter_2d: removed halo regions |
119 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
120 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
121 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
122 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
123 |
|
so maybe GM/Redi adjoint is now broken. |
124 |
|
o seaice adjoint |
125 |
|
* add AREA, HEFF, HSNOW as control variable |
126 |
|
(should not change lab_sea results) |
127 |
|
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
128 |
|
o pkg/seaice: |
129 |
|
* added computation of saltFlux in seaice_growth; |
130 |
|
For time being, sea ice salinity is assumed constant |
131 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
132 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
133 |
|
defaults to 0.0 in order to maintain backward compatibility. |
134 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
135 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
136 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
137 |
|
heat content used to melt or grow ice |
138 |
|
* commented out cap of HICE: it helps keep ice thinner |
139 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
140 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
141 |
|
|
142 |
|
checkpoint59d |
143 |
|
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
144 |
|
for {PKG} state variables, and called from DO_STATEVARS_DIAGS. |
145 |
|
(keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics) |
146 |
|
o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0" |
147 |
|
and change default value of parameter "GM_Small_Number"; |
148 |
|
update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15, |
149 |
|
global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf, |
150 |
|
tutorial_global_oce_biogeo, tutorial_global_oce_latlon |
151 |
|
o pkg/ecco: cost function when applying pkg/smooth to controls |
152 |
|
o pkg/ctrl: add forcingPrecond run time parameter |
153 |
|
o pkg/seaice: |
154 |
|
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
155 |
|
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
156 |
|
changes verification/lab_sea |
157 |
|
- rearrange implicit part of u-equation in LSR solver to make it easier to |
158 |
|
read, understand, and debug. This causes changes at the truncation level. |
159 |
|
- fix (serious) bug in the boundary conditions (sign error in the implicit |
160 |
|
part) of the LSR solver. Changes all LSR results. |
161 |
|
- fixed problem with HSNOW initialization to avoid thick snow when AREA |
162 |
|
is initilized with small values - does not change lab_sea results. |
163 |
|
- added HsnowFile initialization capability |
164 |
|
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
165 |
|
initialization of pkg/smooth and application to control vector |
166 |
|
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
167 |
|
o dependencies: pkg/profiles requires pkg/cal |
168 |
|
o pkg/profiles: |
169 |
|
- added option ALLOW_PROFILES_GENERICGRID |
170 |
|
-> pkg/profiles can thus be used with any grid (e.g. cs32x15) assuming |
171 |
|
that interpolation information (grid points and coefficients) is provided |
172 |
|
within the netcdf input files. |
173 |
|
-> sample matlab scripts can be found in MITgcm_contrib/gael |
174 |
|
that allow you to prepare netcdf input files. |
175 |
|
- also modified: cleaner include statements, cleaner error print statements, |
176 |
|
cleaner stops when error, and more tests of the netcdf input files consistency. |
177 |
|
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
178 |
o pkg/seaice: |
o pkg/seaice: |
179 |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
180 |
requires a new routine: seaice_diagnostics_fill.F |
requires a new routine: seaice_diagnostics_fill.F |