4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o verification/seaice_obcs: updated for restart test and latest options |
8 |
|
o pkg/seaice: add a new flag SEAICEuseTEM to use a slightly different |
9 |
|
ice rheology (so-called truncated ellipse, that gets rid of tensile stress); |
10 |
|
for now this is only available for the C-grid code and also within |
11 |
|
#ifdef SEAICE_ALLOW_TEM, because this option may slow down the EVP code |
12 |
|
|
13 |
|
checkpoint59m |
14 |
|
o pkg/seaice: use different time constant for melting (SEAICE_gamma_t) |
15 |
|
and freezing (SEAICE_gamma_t_frz) ice due to mixed layer temperature |
16 |
|
o gad_som : fix flux output (& diagnostics) to have same units as other |
17 |
|
advection scheme fluxes (was previously multiplied by deltaT). |
18 |
|
o added verification/seaice_obcs both to test seaice open boundaries |
19 |
|
and to provide an example matlab scrpt for generating them |
20 |
|
o added verification/lab_sea/input.salt_plume for testing pkg/salt_plume |
21 |
|
o pkg/salt_plume: clean up salt_plume_frac.F to |
22 |
|
remove redundancy in PlumeMethod 1 and 4 |
23 |
|
o pkg/kpp: added saltplume diagnostics |
24 |
|
o pkg/obcs and pkg/seaice: |
25 |
|
- do not set uice and vice to zero when OB*icefile are unspecified |
26 |
|
- OBCS_SEAICE_AVOID_CONVERGENCE is undefined by default |
27 |
|
- moved seaice tracer obcs after call to seaice_growth |
28 |
|
o pkg/salt_plume: added various options for salt plume depth |
29 |
|
criterion and for vertical distribution of the salt |
30 |
|
|
31 |
|
checkpoint59l |
32 |
|
o pkg/ptracers: new version of ptracers pickup: |
33 |
|
read meta file and write only fields which are needed to restart. |
34 |
|
( same logic as main pickup file ; also using pickupStrictlyMatch ) |
35 |
|
o pkg/seaice: |
36 |
|
- add timescale for melting due to warm mixed layer as a means of |
37 |
|
setting SEAICE_availHeatFrac more conveniently |
38 |
|
- add a CPP-flag/runtime parameter check for flooding algorithm |
39 |
|
- reformulated availHeat in seaice_growth.F to be independent of AREA |
40 |
|
o change units attribute of EmPmR netcdf variables to kg/m^2/s to reflect recent |
41 |
|
unit changes |
42 |
|
o pkg/obcs: added OBCS_SEAICE_AVOID_CONVERGENCE constraint |
43 |
|
o cg2d.F: add 3 compiler directives that speed up this routine by 30% on a NEC |
44 |
|
SX vector computer. |
45 |
|
o pkg/seaice: |
46 |
|
- removed SEAICE_FFIELDS.h and seaice_get_forcing.F |
47 |
|
seaice forcing fields can now be read only through pkg/exf |
48 |
|
- removed some unused halos |
49 |
|
o no longer write pickup from THE_MODEL_MAIN but always from FORWARD_STEP |
50 |
|
o pkg/exf: added useRelativeWind EXF_PARAM.h option for subtracting U/VVEL |
51 |
|
or U/VICE from U/VWIND before computing U/VSTRESS |
52 |
|
|
53 |
|
checkpoint59k |
54 |
|
o pkg/seaice: ICE2WATR=SEAICE_rhoIce/rhoConst for consistency between |
55 |
|
dynamics and thermodynamics. Set ICE2WATR=0.92 to reproduce older results. |
56 |
|
o fix un-initialised variable problem (in mom_vecinv & shap_filt): |
57 |
|
all experiments pass when compile with un-initialised var. checking option. |
58 |
|
o added pkg/salt_plume |
59 |
|
o script to test restart (for now, in MITgcm_contrib/jmc_script) |
60 |
|
o pkg/seaice: new read/write pickup version. |
61 |
|
read meta file and write only fields which are needed to restart. |
62 |
|
( same logic as main pickup file ; also using pickupStrictlyMatch ) |
63 |
|
o pkg/seaice: fix bug in seaice_ocean_stress (call of seaice_calc_strainrates) |
64 |
|
o lab_sea.hb87: modify the domain & update output.hb87.txt : |
65 |
|
lat-long grid & no-slip BC in seaice-dynamics produce different sigma12 |
66 |
|
at j=1 & j=Ny+1 : this case is not treated correctly in the restart |
67 |
|
process. Fixed here by closing the domain at the Northern boundary. |
68 |
|
o pkg/rw: cleaning-up: call directly new MDSIO S/R MDS_READ/WRITE_FIELD. |
69 |
|
o pkg/mdsio: add new arguments to MDS_READ/WRITE_FIELD for reading/writing |
70 |
|
a set of consecutive levels in/from a 3-D array. |
71 |
|
o pkg/ptracers: |
72 |
|
use a 2 characters string ioLabel to identify tracer (if more than 99 tracers). |
73 |
|
to-do: fix pkg/diagnostics when large number of diagnostics are defined. |
74 |
|
|
75 |
|
checkpoint59j |
76 |
|
o in pkgs: dic, obcs, offline, rbcs: |
77 |
|
standard way to compute coeff. for time interpolation between 2 time reccords |
78 |
|
which retains full precision (& make results less dependent on compiler). |
79 |
|
update output of exp: tutorial_cfc_offline & tutorial_global_oce_biogeo. |
80 |
|
o pkg/cfc: if compiled with exf and seaice, cfc now can use fields from those |
81 |
|
packages instead of reading ice cover and wind speed separately |
82 |
|
o split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h |
83 |
|
(keep a temporary version of PTRACERS.h in verification/OpenAD/code_ad_openad |
84 |
|
to allow to compile customized code before the update) |
85 |
|
o cleaning-up: |
86 |
|
- fix CPP instruction syntax in pkg/obcs |
87 |
|
- replace (some) call to MDSIO S/R with call to RW interface S/R ; and |
88 |
|
add #ifdef ALLOW_MDSIO elsewhere (allows to compile without pkg/mdsio) |
89 |
|
- fix some threads issue in IO parts. |
90 |
|
o pkg/dic: |
91 |
|
- add tons of "_d 0" (--> much better testreports !) |
92 |
|
and then update outputs of tutorial_global_oce_biogeo |
93 |
|
o pkg/mom_fluxform: |
94 |
|
add a special version of momentum advection intended to conserve momentum |
95 |
|
next to a bathymetry step or a coastline edge. (default = off = #undef) |
96 |
|
o new read/write pickup version: |
97 |
|
- for now, only implemented for main (mdsio) pickup file. |
98 |
|
- write out only what is needed to restart; merge pickup_nh , pickup_ph |
99 |
|
and main pickup together. |
100 |
|
- read meta file; read only what is needed to restart; stop if a field |
101 |
|
is missing (if pickupStrictlyMatch=T, = the default) or try to restart |
102 |
|
if it make sense (even if the restart is not perfect). |
103 |
|
- if no meta file, assume that pickup to read corresponds exactly to |
104 |
|
a pickup that would currently be written. |
105 |
|
- read pickup written in the old format (until checkpoint59i) if it |
106 |
|
recognizes an old meta file (no field-list). |
107 |
|
- add a meta file in exp. which starts from a pickup: 2 cases: |
108 |
|
a) minimal meta file (with just file precision) + pickupStrictlyMatch=F |
109 |
|
e.g.: global_ocean.90x40x15/input/pickup.0000036000.meta |
110 |
|
b) a meta file describing the content of the associated pickup file |
111 |
|
e.g.: tutorial_global_oce_biogeo/input/pickup.0004248000.meta |
112 |
|
o pkg/mdsio & pkg/rw: |
113 |
|
- new routine to read a meta file ; new set of routine to read |
114 |
|
Multiple-fields file (with meta file). |
115 |
|
o added open boundary conditions capability for seaice |
116 |
|
HSNOW, HSALT, UICE, and VICE |
117 |
|
|
118 |
|
checkpoint59i |
119 |
|
o adjoint: |
120 |
|
* fix multiDimAdvection adjoint |
121 |
|
(partial recomputation problem by TAF for fVerT(:,:,kDown) |
122 |
|
and comlev1 size definition (maxpass vs. max. number of tracers) |
123 |
|
* verification/global_ocean.90x45x15 adjoint now tests |
124 |
|
NLFS and multiDimAdvection using DST3 (=30) |
125 |
|
* verification/lab_sea now tests multiDimAdvection using DST3 (=30) |
126 |
|
o pkg/kpp: add "_d 0" to real constant (if missing); |
127 |
|
update output of exp: natl_box (10.digits); vermix (std, 7.digits) |
128 |
|
and lab_sea, 3.FW (only 6,4,6 digits match) & AD (8.digits). |
129 |
|
o prepare for "clever pickup" implementation: add new header file "RESTART.h" |
130 |
|
for internal parameters related to restart process (formerly from PARAMS.h) |
131 |
|
and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2. |
132 |
|
o more standard interface to {PKG}_WRITE_PICKUP with pickup suffix passed |
133 |
|
as argument. (only atm2d & obcs write_pickup have not yet been updated) |
134 |
|
o pkg/monitor: |
135 |
|
- use GLOBAL_SUM_TILE instead of _GLOBAL_SUM |
136 |
|
- fix mon_stats_rs (statistics over the full domain, even where field is zero) |
137 |
|
- account for deep Atmosphere factor and density factor (anelastic) |
138 |
|
o added open boundary conditions capability for seaice HEFF and AREA |
139 |
|
o pkg/shelfice: add option for convservative form of Hellmer&Olbers (1989) |
140 |
|
thermodynamics |
141 |
|
- requires a little reorganization, which affects the testreport results |
142 |
|
of isomip.htd (only 7 digits of cg2d agree) => update/modify experiment, |
143 |
|
so that now the conservative form is tested |
144 |
|
- add a few comments |
145 |
|
o add missing cvs Header: or Name: in eesupp/*, pkg/* & verification/code* |
146 |
|
o add a little bit of code to gad_os7mp_adv_?.F to help vectorization |
147 |
|
o add new diagnostics to seaice: advective, diffusive fluxes (only for |
148 |
|
multidim-advection, for scheme 2 they are not filled) and transports, |
149 |
|
thermodynamic growth rates |
150 |
|
o change units of EmPmR (inside the code, + within coupling interface) |
151 |
|
from m/s to kg/m2/s (mass flux) but leave input file unchanged. |
152 |
|
Affects results @ truncation level (cg2d match) and update output of |
153 |
|
experiments: lab_sea(6), global_ocean.90x40x15(10), |
154 |
|
global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11) |
155 |
|
+ adjoint results: global_ocean_ebm(11) and lab_sea (12). |
156 |
|
Coupled set-up: allow to restart from previous pickups (cpl_oldPickup=T). |
157 |
|
Next: will retire convertEmP2rUnit (simply using mass2rUnit instead). |
158 |
|
|
159 |
|
checkpoint59h |
160 |
|
o pkg/exf: |
161 |
|
- improve vectorization by moving if-statement out of loops in |
162 |
|
exf_mapfields, exf_radiation |
163 |
|
- exf_bulkformulae.F: introduce 2D fields and vectorize code |
164 |
|
o pkg/kpp: added the salt plume scheme (ALLOW_SALT_PLUME) to KPP package |
165 |
|
o testreport: |
166 |
|
- allow to test for Qnet & SeaIce monitor output; clean-up ALLOW_BULK_OFFLINE |
167 |
|
monitor & update offline_exf_seaice exp. output. |
168 |
|
- AD testing: pass/FAIL according to Grad. output accuracy (instead of Cost) |
169 |
|
o pkg/seaice: |
170 |
|
- bug fix in the evp solver: boundary conditions were affected be |
171 |
|
masking of zMax/zMin (changes results) |
172 |
|
- minor bug fix in boundary conditions in seaice_calc_strainrates |
173 |
|
(changes results for no_slip) |
174 |
|
- seaice_lsr.F: make interpolation of eta dependent on boundaries |
175 |
|
- replace hardcoded lower limit for zeta (zMin) by runtime parameter |
176 |
|
- add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean |
177 |
|
stress formulation and no-slip boundary conditions |
178 |
|
o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP |
179 |
|
in gad_calc_rhs.F ; add few safety stops in initialisation phase. |
180 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
181 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
182 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
183 |
|
without requiring DO-IF statements |
184 |
|
o pkg/thsice: |
185 |
|
use continuous power-law function for partition of energy between lateral |
186 |
|
melting/freezing and thinning/thickening ; old code using step function |
187 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
188 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
189 |
|
o testreport: change AD testing : check against results/output_adm.txt |
190 |
|
using same scripts as for forward test. |
191 |
|
|
192 |
|
checkpoint59g |
193 |
|
o adjoint testing: in preparation for changing testreport: |
194 |
|
- output format: cost and grad written on separated lines |
195 |
|
- ad output results in directory "results" (instead of "results_ad") |
196 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
197 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
198 |
|
o pkg/ecco: allow user defined cost function contributions |
199 |
|
o testreport: |
200 |
|
Allow to choose (per experiment) the list of tested output variables |
201 |
|
and the main variable (used to issue a pass/FAIL ) ; |
202 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
203 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
204 |
|
Also modify printing of summary: |
205 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
206 |
|
b) echo the list of tested variables in the individual summary.txt of |
207 |
|
each experiment. |
208 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
209 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
210 |
|
(but still depend on the tile decompostion of the domain). |
211 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
212 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
213 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
214 |
|
the solution to the stress coupling issues with the B-grid. |
215 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
216 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
217 |
|
o pkg/thsice: |
218 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
219 |
|
- fix reshaping of sea-ice just after advection: |
220 |
|
melt all the ice only if ice-volume is too small. |
221 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
222 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
223 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
224 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
225 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
226 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
227 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
228 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
229 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
230 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
231 |
|
-> update output.txt |
232 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
233 |
|
this affects truncation error: -> update output.txt of exp: |
234 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
235 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
236 |
|
|
237 |
|
checkpoint59f |
238 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
239 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
240 |
|
a bounded range (in forward mode) |
241 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
242 |
|
internal parameter controls, completements of implementations |
243 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
244 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
245 |
|
(not seem any difference in testing results). |
246 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
247 |
|
at face corners. |
248 |
|
o pkg/generic_advdiff: |
249 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
250 |
|
loop range indices for computing vertical advection tendency |
251 |
|
and do the calculation in the interior only (no overlap) ; |
252 |
|
for now, only implemented for SOM advection (to save CPU time). |
253 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
254 |
|
o exch2 adjoint |
255 |
|
First set of changes: |
256 |
|
- add exch2 hand-written adjoint templates |
257 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
258 |
|
This will require cleanup in pkg/autodiff/*.F |
259 |
|
(changed routines currently kept separate in verif. code/) |
260 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
261 |
|
that used to hide exch2 or cubed-sphere specific code |
262 |
|
(commented via 'cph-exch2') |
263 |
|
o pkg/seaice |
264 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
265 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
266 |
|
output of global_ocean.cs32x15.thsice . |
267 |
|
|
268 |
|
checkpoint59e |
269 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
270 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
271 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
272 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
273 |
|
(#ifdef ALLOW_SALT_PLUME) |
274 |
|
o gather_2d/scatter_2d: removed halo regions |
275 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
276 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
277 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
278 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
279 |
|
so maybe GM/Redi adjoint is now broken. |
280 |
|
o seaice adjoint |
281 |
|
* add AREA, HEFF, HSNOW as control variable |
282 |
|
(should not change lab_sea results) |
283 |
|
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
284 |
|
o pkg/seaice: |
285 |
|
* added computation of saltFlux in seaice_growth; |
286 |
|
For time being, sea ice salinity is assumed constant |
287 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
288 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
289 |
|
defaults to 0.0 in order to maintain backward compatibility. |
290 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
291 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
292 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
293 |
|
heat content used to melt or grow ice |
294 |
|
* commented out cap of HICE: it helps keep ice thinner |
295 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
296 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
297 |
|
|
298 |
|
checkpoint59d |
299 |
|
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
300 |
|
for {PKG} state variables, and called from DO_STATEVARS_DIAGS. |
301 |
|
(keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics) |
302 |
|
o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0" |
303 |
|
and change default value of parameter "GM_Small_Number"; |
304 |
|
update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15, |
305 |
|
global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf, |
306 |
|
tutorial_global_oce_biogeo, tutorial_global_oce_latlon |
307 |
|
o pkg/ecco: cost function when applying pkg/smooth to controls |
308 |
|
o pkg/ctrl: add forcingPrecond run time parameter |
309 |
|
o pkg/seaice: |
310 |
|
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
311 |
|
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
312 |
|
changes verification/lab_sea |
313 |
|
- rearrange implicit part of u-equation in LSR solver to make it easier to |
314 |
|
read, understand, and debug. This causes changes at the truncation level. |
315 |
|
- fix (serious) bug in the boundary conditions (sign error in the implicit |
316 |
|
part) of the LSR solver. Changes all LSR results. |
317 |
|
- fixed problem with HSNOW initialization to avoid thick snow when AREA |
318 |
|
is initilized with small values - does not change lab_sea results. |
319 |
|
- added HsnowFile initialization capability |
320 |
|
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
321 |
|
initialization of pkg/smooth and application to control vector |
322 |
|
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
323 |
|
o dependencies: pkg/profiles requires pkg/cal |
324 |
|
o pkg/profiles: |
325 |
|
- added option ALLOW_PROFILES_GENERICGRID |
326 |
|
-> pkg/profiles can thus be used with any grid (e.g. cs32x15) assuming |
327 |
|
that interpolation information (grid points and coefficients) is provided |
328 |
|
within the netcdf input files. |
329 |
|
-> sample matlab scripts can be found in MITgcm_contrib/gael |
330 |
|
that allow you to prepare netcdf input files. |
331 |
|
- also modified: cleaner include statements, cleaner error print statements, |
332 |
|
cleaner stops when error, and more tests of the netcdf input files consistency. |
333 |
|
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
334 |
|
o pkg/seaice: |
335 |
|
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
336 |
|
requires a new routine: seaice_diagnostics_fill.F |
337 |
|
- make sure that seaice does not move if not forced (pressure replacement |
338 |
|
method, Hibler and Ip, 1995), changes results |
339 |
|
- and new damping criterion for EVP solver according to Hunke, JCP, 2001 |
340 |
|
- SEAICE_evpDampC = > 0. turns it on (615. is the recommended value). |
341 |
|
It is turned off by default (=-1.), because it changes the results. |
342 |
|
- make it possible to read AREA from a file, too. |
343 |
|
|
344 |
|
checkpoint59c |
345 |
|
o add S/R and diagnostics for oceanic mixed-layer depth |
346 |
|
o move GMRedi call after all vertical mixing schemes (including KPP) |
347 |
|
o pkg/thsice: |
348 |
|
- ensure iceMask > iceMaskMin : this problem appeared after May-04 modifs |
349 |
|
(melt only laterally if thin ice): update output of global_ocean.cs32x15.thsice |
350 |
|
o pkg/obcs: |
351 |
|
- bug fix for balance code |
352 |
|
o pkg/seaice: |
353 |
|
- allow values of SEAICE_elasticParm > 1 |
354 |
|
- add new parameter SEAICE_evpTauRelax as an alternative |
355 |
|
to SEAICE_elasticParm |
356 |
|
- make lsr boundary conditions free slip (by default), changes result |
357 |
|
- add code for no slip boundary conditions for lsr |
358 |
|
- set minimum of zeta to zero (and not 4e8) (changes results) |
359 |
|
- add a cap on AREA after advecting AREA if seaice_growth is not called |
360 |
|
o change calculation of Visbeck K: |
361 |
|
- no longer depend on tapering scheme; instead, compute slope (limited |
362 |
|
by GM_maxSlope). this is equivalent to what was comuted before with |
363 |
|
clipping or linear tappering. |
364 |
|
- fix vertical averaging (wrong by 1/2 level) |
365 |
|
- leave the old version (but will not be maintained) within |
366 |
|
#ifdef OLD_VISBECK_CALC / #endif |
367 |
|
- update output of exp. ideal_2D_oce |
368 |
|
o change error catch in calc_r_star to improve vectorization |
369 |
|
o exf runoff and seaice: remove ALLOW_SEAICE from exf pkg files and |
370 |
|
add #define ALLOW_RUNOFF in SEAICE_OPTIONS.h (when not using exf). |
371 |
|
o adjoint: |
372 |
|
Re-organized adjoint checkpointing according to Matt Mazloff |
373 |
|
(but with modifs/completions/cleanups) |
374 |
|
Storing is now bundled into large arrays to optimized I/O |
375 |
|
(and second step in cleanup of the_main_loop) |
376 |
|
|
377 |
|
checkpoint59b |
378 |
|
o coupler (pkg/atm_ocn_coupler, pkg/ocn_compon_interf, pkg/atm2d): |
379 |
|
- export/import (between ocean & coupler) fields needed for ocean DIC. |
380 |
|
o pkg/seaice: |
381 |
|
- get rid of three more exchanges seaice_calc_viscosities (required |
382 |
|
different loop boundaries in seaice_lsr and seaice_ocean_stress) |
383 |
|
- bug fix in seaice_ocean_stress (update of lab_sea required) |
384 |
|
- reduce loop boundaries to necessary minimum also in seaice_evp |
385 |
|
- go back to the old way of computing deltaC/Z as the adjoint likes that |
386 |
|
better |
387 |
|
o Refresh of tutorial_global_oce_latlon (includes changing salinity-like |
388 |
|
passive tracer to an Age Tracer) + update output.txt |
389 |
|
o pkg/exf: |
390 |
|
- implement A-grid / C-grid selection for wind-stress input files. |
391 |
|
- clean-up exf_wind.F (remove us, use wspeed instead ; add wStress) |
392 |
|
for now, in exf_bulk_largeyeager04.F only : |
393 |
|
- change implementation for case where windspeed + 2. components wind-stress |
394 |
|
are read-in. AND use rhoConstFresh to convert evap. |
395 |
|
o pkg/seaice: |
396 |
|
- use correct EXCH_UV for wind-forcing (on A-grid). |
397 |
|
- change SEAICE_OPTIONS.h to limit the number of option combinations (regarding |
398 |
|
SEAICE_EXTERNAL_FORCING & SEAICE_EXTERNAL_FLUXES); add corresponding stops. |
399 |
|
o pkg/exf: |
400 |
|
- default EXF options are now set in EXF_OPTIONS.h (ifndef ALLOW_AUTODIFF_TAMC) |
401 |
|
EXF_INTERPOLATION: |
402 |
|
- merge global_with_exf/code version of exf_interp_read.F |
403 |
|
to the main code ; |
404 |
|
- Add new option: EXF_INTERP_USE_DYNALLOC to use Dynamical Allocation when |
405 |
|
reading the file ; Important: This options needs to be defined to recover |
406 |
|
previous code. |
407 |
|
otherwise, use fixed size array to read in (size=exf_interp_bufferSize). |
408 |
|
- no longer loose real*8 precision along the way when using exf_iprec=64. |
409 |
|
o pkg/seaice: rearrangement of common blocks (really needs more cleaning up) |
410 |
|
- change discretisation of evp-solver in order to avoid another exchange |
411 |
|
(changes lab_sea) and clean up a little |
412 |
|
- replace SQRT(MAX(deltaC,SEAICE_EPS)) by MAX(SQRT(deltaC),SEAICE_EPS) |
413 |
|
help the adjoint (this also changes the results slightly) |
414 |
|
- add a few "_d 0" where they had been missing in seaice_evp.F |
415 |
|
- cleaning up: remove unused seaice_calc_rhs.F |
416 |
|
o pkg/exf: some cleaning-up: |
417 |
|
- change various "constants" into runtime parameters |
418 |
|
- cleaned-up Large&Yeager04 routine which should eventually |
419 |
|
replace exf_bulkformulae.F (changed names of S/R and CPP) |
420 |
|
and merged various ALLOW_ATM_WIND options |
421 |
|
only used with thsice pkg (in thsice_get_exf.F): |
422 |
|
- implement fixed turbulent transfert Coeff over ice (as in Large&Yeager04) |
423 |
|
which are used when useStabilityFct_overIce=TRUE (= the default) |
424 |
|
- change default values of ice & snow emissivity and scale downward LW |
425 |
|
by ice & snow emissivity. |
426 |
|
o pkg/thsice: |
427 |
|
fix few little problems, in thsice_calc_thickn.F: |
428 |
|
- growth vertically (and not laterally) if iceFrac == iceMaskMax |
429 |
|
- melt only laterally if hIce < hThinIce (as the comments say) |
430 |
|
and in thsice_extend.F: |
431 |
|
- allow to form ice even when iceFrac == iceMaskMax (by increasing thickness) |
432 |
|
- start to form ice as soon as the minimum ice-volume is reachable. |
433 |
|
update output of test-exp: aim.5l_cs(thSI), global_ocean.cs32x15(thsice), |
434 |
|
and cpl_aim+ocn |
435 |
|
o pkg/kpp |
436 |
|
- move computation of surface related input fields to KPP into a new |
437 |
|
subroutine kpp_forcing_surf.F |
438 |
|
- remove wrong (within bi,bj loops) EXCH calls. |
439 |
|
- little cleaning (add argument myThid in last position, cvs header ...) |
440 |
|
- for now, fix conservation problem by exchanging KPPviscAz (may not |
441 |
|
be the best fix) |
442 |
|
o pkg/seaice |
443 |
|
- check for inconsistent evp parameter/cpp-flag combination |
444 |
|
- remove leftover errIO flat for obsolete name list error handling |
445 |
|
o OpenAD |
446 |
|
- changed verification/OpenAD to full baroclinic setup (including GM/Redi) |
447 |
|
|
448 |
|
checkpoint59a |
449 |
|
o pkg/seaice: some parameter clarifications and a little bit of clean up |
450 |
|
o pkg/thsice: rename run-time parameters: |
451 |
|
himin -> hIceMin |
452 |
|
himin0 -> hThinIce |
453 |
|
hihig -> hThickIce |
454 |
|
i0 -> i0swFrac |
455 |
|
transCoef -> bMeltCoef |
456 |
|
frac_energy -> fracMelting |
457 |
|
add new parameters: hNewIceMax, fracFreezing, dhSnowLin |
458 |
|
with default values (for now) that do not change the results. |
459 |
|
remove old version of thsice vars advection in pkg/seaice. |
460 |
|
o in FFIELDS.h: |
461 |
|
- replace #ifndef ALLOW_EXF by #ifndef EXCLUDE_FFIELDS_LOAD |
462 |
|
- make pLoad & sIceLoad always available (but still only used if |
463 |
|
ATMOSPHERIC_LOADING is #define). |
464 |
|
o pkg/kpp: replaced _KPP_RL with _RL |
465 |
|
o bug fixes for vertical diffusivity computations when both KPP and |
466 |
|
3D diffusivity arrays are used; pkg/kpp/kpp_calc_diff_s & _t.F |
467 |
|
are no longer updating the vertical diffusivity array |
468 |
|
(passed as argument) but are (re-) setting those arrays. |
469 |
|
o pkg/seaice: fix bug in evp solver, while doing that |
470 |
|
- change (improve?) discretization of stress computations for both |
471 |
|
cgrid-lsr and evp solver |
472 |
|
- add a new routine to compute strain rates |
473 |
|
- the above changes lab_sea results |
474 |
|
- add no slip conditions for evp solver (off by default), lsr-version |
475 |
|
may follow |
476 |
|
- fix exchange for shear at Z-points (does not change lab_sea) |
477 |
|
- retire SEAICEuseEVP, instead turn on EVP by setting SEAICE_deltaTevp |
478 |
|
(to force the user to pick a time step since there is not "safe" way |
479 |
|
of choosing it) |
480 |
|
- add principal stress diagnostics |
481 |
|
- rearrange fields for evp a little to avoid having to call a: too many |
482 |
|
exchanges and b: exchanges for stress trensor components which we do |
483 |
|
not have. |
484 |
|
- modify Hibler+Bryan (1987) stress coupling so that it reuses information |
485 |
|
of evp, complete rewrite for lsr case (latter is does not yet work |
486 |
|
in all cases) |
487 |
|
o pkg/kpp: add code to have mixing in shelf ice caverns |
488 |
|
- add myThid to all kpp routines (long overdue) |
489 |
|
|
490 |
|
checkpoint59 |
491 |
|
o pkg/exf: |
492 |
|
- fix wind-stress location: defined on A-grid (if ALLOW_ATM_WIND & |
493 |
|
ALLOW_BULKFORMULAE or USE_EXF_INTERPOLATION), otherwise, defined on C-grid |
494 |
|
- move exf header files from lower_case.h to UPPER_CASE.h ; |
495 |
|
add missing cvs Header & Name |
496 |
|
- add adjoint routines and flow dirs for newly used exch_uv_agrid routines |
497 |
|
- add namelist param. selectStressGridPosition, exf_monFreq |
498 |
|
- retire many _CLIM routines, and remove data.exf_clim |
499 |
|
+ params moved to data.exf |
500 |
|
+ climsst, climsss now handled by exf_set_gen, i.e. |
501 |
|
climss?period=0 refers to constant field, |
502 |
|
climss?period=-12 to monthly forcing |
503 |
|
- split up namelists in data.exf |
504 |
|
o pkg/seaice: |
505 |
|
- remove seaice_exch and seaice_exch_uv |
506 |
|
- remove superfluous exchange of theta |
507 |
|
- add myThid to seaice_budget_ocean/ice |
508 |
|
- add new interface for atmospheric wind forcing (C-grid only) |
509 |
|
+ new routine |
510 |
|
+ two new field (taux, tauy for stress over ice) |
511 |
|
+ removed one global field (DAIRN) for C-grid case only |
512 |
|
o pkg/thsise |
513 |
|
- 2nd set of modifs for thsice adjoint in conjunction with exf |
514 |
|
o enable runtime flag useEXF (useCAL is set to .T. if useEXF=.T.) |
515 |
|
|
516 |
|
checkpoint58y_post |
517 |
|
o Added capability for latitudinal dependence of Bryan and Lewis, 1979 |
518 |
|
vertical diffusivity, similar to that in MOM4; turned on using |
519 |
|
#define ALLOW_BL79_LAT_VARY in CPP_OPTIONS.h and specified using |
520 |
|
diffKrBL79*, diffKrBLEQ*, and BL79LatVary in runtime data file. |
521 |
|
o Added capability for 3D specification of background vertical diffusion |
522 |
|
coefficient. This is done by (i) #define ALLOW_3D_DIFFKR |
523 |
|
in CPP_OPTIONS.h and (ii) specifying file diffKrFile in runtime |
524 |
|
"data" file that contains the 3D vertical diffusivity coefficients. |
525 |
|
o ice dynamics (pkg/seaice) with thsice thermodynamics: |
526 |
|
- add code within pkg thsice to advect & diffuse sea-ice fields |
527 |
|
similar to (and will replace) what has been added in seaice_advdiff.F, |
528 |
|
but: - conserving Mass, Heat & Salt. |
529 |
|
- better when using non-linear advection scheme (not yet fully tested) |
530 |
|
- can also be used in atmospheric set-up (for now, only the diffusion). |
531 |
|
|
532 |
|
checkpoint58x_post |
533 |
|
o IO option for global-file compact format: |
534 |
|
- add options when generating topology (utils/exch2/matlab-topology-generator) |
535 |
|
- add I/O capability (pkg/mdsio). |
536 |
|
- adapt utils/matlab/rdmds.m to read this format. |
537 |
|
for now long-line format not yet supported by pkg/mdsio (& exch2). |
538 |
|
o shelfice: add a few diagnostics |
539 |
|
|
540 |
|
checkpoint58w_post |
541 |
|
o p-coord. non-hydrostatic using reference profile for w <-> omega conversion: |
542 |
|
rVel2wUnit & wUnit2rVel are computed from reference profile Tref,Sref |
543 |
|
(and replace horiVertRatio in NH code). |
544 |
|
Update output of exp.: tutorial_global_oce_in_p (useNHMTerms !) |
545 |
|
and tutorial_plume_on_slope (sensitive to truncation) |
546 |
|
o seaice: if ALLOW_ATM_WIND is undefined use wind stress |
547 |
|
directly to drive seaice model (C-grid only) |
548 |
|
o exf: when input wind-stress (#undef ALLOW_ATM_WIND): |
549 |
|
- reintroduce computation of wind from stress, |
550 |
|
- compute tau (in exf_bulkformulae.F) from windstress averaged to |
551 |
|
mass points to avoid tau = 0 |
552 |
|
- fix serious bug: (1/3) in Fortran is not the same as (1./3.) |
553 |
|
o rdmnc.m: make it work with "global" files created with gluemnc |
554 |
|
o rdmnc.m : some improvements in dealing with singleton dimension |
555 |
|
(tested on all testreport mnc output files). |
556 |
|
o genmake2: disable pkg/profiles if netcdf test fails. |
557 |
|
o cpl_aim+ocn exp.: use consistent rhoConstFresh in Atm & Ocn; update output. |
558 |
|
o move call to cal_readparms up to make calendar parameters/variable available |
559 |
|
to all packages |
560 |
|
|
561 |
|
checkpoint58v_post |
562 |
|
o change EOS (from POLY3 to JMD95P) in global_ocean.90x45x15 to get |
563 |
|
useDynP_inEos_Zc tested. |
564 |
|
o pkg/exf: changes to properly interpolate/mask/scale initial fields |
565 |
|
o utils/matlab/cs_grid/read_cs: routines to speed up reading of CS510 fields |
566 |
|
and portions thereof. See read_cs.txt for description and examples. |
567 |
|
o utils/matlab/cs_grid/bk_line: to compute transport through passages, |
568 |
|
add a script (grt_circ_bkl.m) to generate broken-line between 2 points, |
569 |
|
following the great-circle arc between those 2 points. |
570 |
|
o trap un-initialized variable with pathscale compiler on weddell.mit.edu |
571 |
|
(thanks to Constantinos): fix few problems and get (almost) all exp to pass. |
572 |
|
o 2nd-Order Moment Advection Scheme (Prather, 1986): first check-in |
573 |
|
- enable by setting #define GAD_ALLOW_SOM_ADVECT (in GAD_OPTIONS.h) |
574 |
|
- used without limiter (AdvScheme=80) or with Prather limiter (AdvScheme=81) |
575 |
|
- still needs work (not working with some options ; efficiency to improve) |
576 |
|
and serious testing. |
577 |
|
- use this scheme for temperature & salinity in 2 advection test exp.: |
578 |
|
advect_xy & advect_xz, respectively. |
579 |
|
|
580 |
|
checkpoint58u_post |
581 |
|
o new test-exp: fizhi-cs-32x32x40 (40 levels) to replace the 10 levels. |
582 |
|
o move call to INI_FORCING from PACKAGES_INIT_VARIABLES to INITIALISE_VARIA. |
583 |
|
o testreport: add option "-skipdir" to skip some test. |
584 |
|
o exf: when input wind-stress (#undef ALLOW_ATM_WIND), by-pass turbulent |
585 |
|
momentum calculation. |
586 |
|
o gad_advection: fix vertAdvecScheme (if different from advectionScheme) |
587 |
|
o some cleaning: usePickupBeforeC35 no longer supported ; remove this option. |
588 |
|
remove checkpoint.F and the_correction_step.F (no longer used); |
589 |
|
do the k loop inside CYCLE_TRACER (supposed to be more efficient). |
590 |
|
o add option (linFSConserveTr) to correct for tracer source/sink due to |
591 |
|
Linear Free surface |
592 |
|
o pkg/seaice: fix a bug in the flooding algorithm: turn off the snow machine |
593 |
|
o pkg/thsice: fix reading mnc-pickups |
594 |
|
|
595 |
checkpoint58t_post |
checkpoint58t_post |
596 |
o pkg/diagnostics: fix multi-threaded output (when singleCpuIO=F) |
o pkg/diagnostics: fix multi-threaded output (when singleCpuIO=F) |
597 |
o pkg/mdsio: |
o pkg/mdsio: |
609 |
add argument to S/R DIAGNOSTICS_GET_POINTERS to catch the right |
add argument to S/R DIAGNOSTICS_GET_POINTERS to catch the right |
610 |
diagnostic pointer. |
diagnostic pointer. |
611 |
o pkg/seaice: more cleaning up of seaice_growth, added many comments |
o pkg/seaice: more cleaning up of seaice_growth, added many comments |
612 |
o pkg/exf: put runoff0 and runoff into the appropriate common block |
o pkg/exf: put runoff0 and runoff1 into the appropriate common block |
613 |
o fix multi-category seaice: |
o fix multi-category seaice: |
614 |
- change cpp flag SEAICE_MULTILEVEL to more meaningful name: |
- change cpp flag SEAICE_MULTILEVEL to more meaningful name: |
615 |
SEAICE_MULTICATEGORY |
SEAICE_MULTICATEGORY |