5 |
============================== |
============================== |
6 |
|
|
7 |
o pkg/seaice: |
o pkg/seaice: |
8 |
|
- add timescale for melting due to warm mixed layer as a means of |
9 |
|
setting SEAICE_availHeatFrac more conveniently |
10 |
|
- add a CPP-flag/runtime parameter check for flooding algorithm |
11 |
|
- reformulated availHeat in seaice_growth.F to be independent of AREA |
12 |
|
o change units attribute of EmPmR netcdf variables to kg/m^2/s to reflect recent |
13 |
|
unit changes |
14 |
|
o pkg/obcs: added OBCS_SEAICE_AVOID_CONVERGENCE constraint |
15 |
|
o cg2d.F: add 3 compiler directives that speed up this routine by 30% on a NEC |
16 |
|
SX vector computer. |
17 |
|
o pkg/seaice: |
18 |
|
- removed SEAICE_FFIELDS.h and seaice_get_forcing.F |
19 |
|
seaice forcing fields can now be read only through pkg/exf |
20 |
|
- removed some unused halos |
21 |
|
o no longer write pickup from THE_MODEL_MAIN but always from FORWARD_STEP |
22 |
|
o pkg/exf: added useRelativeWind EXF_PARAM.h option for subtracting U/VVEL |
23 |
|
or U/VICE from U/VWIND before computing U/VSTRESS |
24 |
|
|
25 |
|
checkpoint59k |
26 |
|
o pkg/seaice: ICE2WATR=SEAICE_rhoIce/rhoConst for consistency between |
27 |
|
dynamics and thermodynamics. Set ICE2WATR=0.92 to reproduce older results. |
28 |
|
o fix un-initialised variable problem (in mom_vecinv & shap_filt): |
29 |
|
all experiments pass when compile with un-initilised var. checking option. |
30 |
|
o added pkg/salt_plume |
31 |
|
o script to test restart (for now, in MITgcm_contrib/jmc_script) |
32 |
|
o pkg/seaice: new read/write pickup version. |
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: fix bug in seaice_ocean_stress (call of seaice_calc_strainrates) |
36 |
|
o lab_sea.hb87: modify the domain & update output.hb87.txt : |
37 |
|
lat-long grid & no-slip BC in seaice-dynamics produce different sigma12 |
38 |
|
at j=1 & j=Ny+1 : this case is not treated correctly in the restart |
39 |
|
process. Fixed here by closing the domain at the Northern boundary. |
40 |
|
o pkg/rw: cleaning-up: call directly new MDSIO S/R MDS_READ/WRITE_FIELD. |
41 |
|
o pkg/mdsio: add new arguments to MDS_READ/WRITE_FIELD for reading/writing |
42 |
|
a set of consecutive levels in/from a 3-D array. |
43 |
|
o pkg/ptracers: |
44 |
|
use a 2 characters string ioLabel to identify tracer (if more than 99 tracers). |
45 |
|
to-do: fix pkg/diagnostics when large number of diagnostics are defined. |
46 |
|
|
47 |
|
checkpoint59j |
48 |
|
o in pkgs: dic, obcs, offline, rbcs: |
49 |
|
standard way to compute coeff. for time interpolation between 2 time reccords |
50 |
|
which retains full precision (& make results less dependent on compiler). |
51 |
|
update output of exp: tutorial_cfc_offline & tutorial_global_oce_biogeo. |
52 |
|
o pkg/cfc: if compiled with exf and seaice, cfc now can use fields from those |
53 |
|
packages instead of reading ice cover and wind speed separately |
54 |
|
o split PTRACERS.h in 2 header files: PTRACERS_FIELDS.h & PTRACERS_PARAMS.h |
55 |
|
(keep a temporary version of PTRACERS.h in verification/OpenAD/code_ad_openad |
56 |
|
to allow to compile customized code before the update) |
57 |
|
o cleaning-up: |
58 |
|
- fix CPP instruction syntax in pkg/obcs |
59 |
|
- replace (some) call to MDSIO S/R with call to RW interface S/R ; and |
60 |
|
add #ifdef ALLOW_MDSIO elsewhere (allows to compile without pkg/mdsio) |
61 |
|
- fix some threads issue in IO parts. |
62 |
|
o pkg/dic: |
63 |
|
- add tons of "_d 0" (--> much better testreports !) |
64 |
|
and then update outputs of tutorial_global_oce_biogeo |
65 |
|
o pkg/mom_fluxform: |
66 |
|
add a special version of momentum advection intended to conserve momentum |
67 |
|
next to a bathymetry step or a coastline edge. (default = off = #undef) |
68 |
|
o new read/write pickup version: |
69 |
|
- for now, only implemented for main (mdsio) pickup file. |
70 |
|
- write out only what is needed to restart; merge pickup_nh , pickup_ph |
71 |
|
and main pickup together. |
72 |
|
- read meta file; read only what is needed to restart; stop if a field |
73 |
|
is missing (if pickupStrictlyMatch=T, = the default) or try to restart |
74 |
|
if it make sense (even if the restart is not perfect). |
75 |
|
- if no meta file, assume that pickup to read corresponds exactly to |
76 |
|
a pickup that would currently be written. |
77 |
|
- read pickup written in the old format (until checkpoint59i) if it |
78 |
|
recognizes an old meta file (no field-list). |
79 |
|
- add a meta file in exp. which starts from a pickup: 2 cases: |
80 |
|
a) minimal meta file (with just file precision) + pickupStrictlyMatch=F |
81 |
|
e.g.: global_ocean.90x40x15/input/pickup.0000036000.meta |
82 |
|
b) a meta file describing the content of the associated pickup file |
83 |
|
e.g.: tutorial_global_oce_biogeo/input/pickup.0004248000.meta |
84 |
|
o pkg/mdsio & pkg/rw: |
85 |
|
- new routine to read a meta file ; new set of routine to read |
86 |
|
Multiple-fields file (with meta file). |
87 |
|
o added open boundary conditions capability for seaice |
88 |
|
HSNOW, HSALT, UICE, and VICE |
89 |
|
|
90 |
|
checkpoint59i |
91 |
|
o adjoint: |
92 |
|
* fix multiDimAdvection adjoint |
93 |
|
(partial recomputation problem by TAF for fVerT(:,:,kDown) |
94 |
|
and comlev1 size definition (maxpass vs. max. number of tracers) |
95 |
|
* verification/global_ocean.90x45x15 adjoint now tests |
96 |
|
NLFS and multiDimAdvection using DST3 (=30) |
97 |
|
* verification/lab_sea now tests multiDimAdvection using DST3 (=30) |
98 |
|
o pkg/kpp: add "_d 0" to real constant (if missing); |
99 |
|
update output of exp: natl_box (10.digits); vermix (std, 7.digits) |
100 |
|
and lab_sea, 3.FW (only 6,4,6 digits match) & AD (8.digits). |
101 |
|
o prepare for "clever pickup" implementation: add new header file "RESTART.h" |
102 |
|
for internal parameters related to restart process (formerly from PARAMS.h) |
103 |
|
and add startAB parameter to argument list of S/R ADAMS_BASHFORTH2. |
104 |
|
o more standard interface to {PKG}_WRITE_PICKUP with pickup suffix passed |
105 |
|
as argument. (only atm2d & obcs write_pickup have not yet been updated) |
106 |
|
o pkg/monitor: |
107 |
|
- use GLOBAL_SUM_TILE instead of _GLOBAL_SUM |
108 |
|
- fix mon_stats_rs (statistics over the full domain, even where field is zero) |
109 |
|
- account for deep Atmosphere factor and density factor (anelastic) |
110 |
|
o added open boundary conditions capability for seaice HEFF and AREA |
111 |
|
o pkg/shelfice: add option for convservative form of Hellmer&Olbers (1989) |
112 |
|
thermodynamics |
113 |
|
- requires a little reorganization, which affects the testreport results |
114 |
|
of isomip.htd (only 7 digits of cg2d agree) => update/modify experiment, |
115 |
|
so that now the conservative form is tested |
116 |
|
- add a few comments |
117 |
|
o add missing cvs Header: or Name: in eesupp/*, pkg/* & verification/code* |
118 |
|
o add a little bit of code to gad_os7mp_adv_?.F to help vectorization |
119 |
|
o add new diagnostics to seaice: advective, diffusive fluxes (only for |
120 |
|
multidim-advection, for scheme 2 they are not filled) and transports, |
121 |
|
thermodynamic growth rates |
122 |
|
o change units of EmPmR (inside the code, + within coupling interface) |
123 |
|
from m/s to kg/m2/s (mass flux) but leave input file unchanged. |
124 |
|
Affects results @ truncation level (cg2d match) and update output of |
125 |
|
experiments: lab_sea(6), global_ocean.90x40x15(10), |
126 |
|
global_ocean.cs32x15(11x3,10), natl_box(11), tutorial_global_oce_latlon(11) |
127 |
|
+ adjoint results: global_ocean_ebm(11) and lab_sea (12). |
128 |
|
Coupled set-up: allow to restart from previous pickups (cpl_oldPickup=T). |
129 |
|
Next: will retire convertEmP2rUnit (simply using mass2rUnit instead). |
130 |
|
|
131 |
|
checkpoint59h |
132 |
|
o pkg/exf: |
133 |
|
- improve vectorization by moving if-statement out of loops in |
134 |
|
exf_mapfields, exf_radiation |
135 |
|
- exf_bulkformulae.F: introduce 2D fields and vectorize code |
136 |
|
o pkg/kpp: added the salt plume scheme (ALLOW_SALT_PLUME) to KPP package |
137 |
|
o testreport: |
138 |
|
- allow to test for Qnet & SeaIce monitor output; clean-up ALLOW_BULK_OFFLINE |
139 |
|
monitor & update offline_exf_seaice exp. output. |
140 |
|
- AD testing: pass/FAIL according to Grad. output accuracy (instead of Cost) |
141 |
|
o pkg/seaice: |
142 |
|
- bug fix in the evp solver: boundary conditions were affected be |
143 |
|
masking of zMax/zMin (changes results) |
144 |
|
- minor bug fix in boundary conditions in seaice_calc_strainrates |
145 |
|
(changes results for no_slip) |
146 |
|
- seaice_lsr.F: make interpolation of eta dependent on boundaries |
147 |
|
- replace hardcoded lower limit for zeta (zMin) by runtime parameter |
148 |
|
- add a test to lab_sea, that tests the Hibler and Bryan (1987) ocean |
149 |
|
stress formulation and no-slip boundary conditions |
150 |
|
o pkg/ptracers: Temporary fix for PTRACERS_useGMRedi & PTRACERS_useKPP |
151 |
|
in gad_calc_rhs.F ; add few safety stops in initialisation phase. |
152 |
|
o pkg/seaice: a first HSALT time stepping equation has been checked in |
153 |
|
o pkg/seaice: replaced maskW with seaiceMaskU and maskS with seaiceMaskV |
154 |
|
in seaice_lsr.F; this solves the pkg/seaice-pkg/obcs problem |
155 |
|
without requiring DO-IF statements |
156 |
|
o pkg/thsice: |
157 |
|
use continuous power-law function for partition of energy between lateral |
158 |
|
melting/freezing and thinning/thickening ; old code using step function |
159 |
|
still available with #undef THSICE_FRACEN_POWERLAW |
160 |
|
update output of exp: aim.5l_cs.thSI, global_ocean.cs32x15.icedyn & .thsice |
161 |
|
o testreport: change AD testing : check against results/output_adm.txt |
162 |
|
using same scripts as for forward test. |
163 |
|
|
164 |
|
checkpoint59g |
165 |
|
o adjoint testing: in preparation for changing testreport: |
166 |
|
- output format: cost and grad written on separated lines |
167 |
|
- ad output results in directory "results" (instead of "results_ad") |
168 |
|
o pkg/seaice: adding ice salinity HSALT as a prognostic variable |
169 |
|
o pkg/seaice: changes for using pkg/seaice with pkg/obcs |
170 |
|
o pkg/ecco: allow user defined cost function contributions |
171 |
|
o testreport: |
172 |
|
Allow to choose (per experiment) the list of tested output variables |
173 |
|
and the main variable (used to issue a pass/FAIL ) ; |
174 |
|
- for now, done by adding the specific list in file: [exp]/input/tr_checklist |
175 |
|
- default is unchanged: >cg2d< , (T,S,U,V,5 tracers)_[min,max,mean,StD] ; |
176 |
|
Also modify printing of summary: |
177 |
|
a) ">" NN "<" indicates the "main" variable (used for pass/FAIL) |
178 |
|
b) echo the list of tested variables in the individual summary.txt of |
179 |
|
each experiment. |
180 |
|
o new S/R GLOBAL_SUM_TILE to compute global sum independently of number of |
181 |
|
threads and number of processes (with #define GLOBAL_SUM_SEND_RECV) |
182 |
|
(but still depend on the tile decompostion of the domain). |
183 |
|
o pkg/seaice: change a discretization detail to make the B-grid code |
184 |
|
"more symmetric". This change is likely to remove all "ridges/leads" that |
185 |
|
where quasi-aligned with the grid in B-grid solutions. It may also be |
186 |
|
the solution to the stress coupling issues with the B-grid. |
187 |
|
o each tested exp: add a "run" directory with a standard ".cvsignore" file ; |
188 |
|
remove .cvsignore from input dir. (since testreport no longer run here). |
189 |
|
o pkg/thsice: |
190 |
|
- cleaning: move common block out of "THSICE_2DYN.h" (removed) to "THSICE_VARS.h" |
191 |
|
- fix reshaping of sea-ice just after advection: |
192 |
|
melt all the ice only if ice-volume is too small. |
193 |
|
- re-visit lateral/thinning repartition of melting (modifs from May 04, 2007): |
194 |
|
prevent lateral melting if sea-ice fraction is too close to iceMaskMin ; |
195 |
|
and update experiment global_ocean.cs32x15.icedyn (+start from pickup files). |
196 |
|
o external_forcing_surf : extend the use of salt_EvPrRn & temp_EvPrRn (fresh-water |
197 |
|
tracer content) to linFS or no RealFreshWaterFlux ; default remains unchanged. |
198 |
|
o define mass2rUnit & rUnit2mass as units conversion factor, used for surface |
199 |
|
forcing. mass2rUnit: from mass per unit area [kg/m2] to r-coordinate unit |
200 |
|
(z-coord: =1/rhoConst ; p-coord: =gravity) ; rUnit2mass is just the reverse; |
201 |
|
and remove horiVertRatio (& recip_horiVertRatio). Affects truncation error |
202 |
|
of exp. global_oce_in_p: 10 16 16 14 16 13 16 16 16 13 13 13 16 13 13 12 16 |
203 |
|
-> update output.txt |
204 |
|
o pkg/cd_code: add brackets in multiple terms sum (S/R CD_CODE_SCHEME): |
205 |
|
this affects truncation error: -> update output.txt of exp: |
206 |
|
global_ocean.90x40x15 (fw&adm), lab_sea (fw&adm) & lab_sea.lsr, |
207 |
|
ideal_2D_oce, isomip.htd, natl_box, tutorial_global_oce_latlon. |
208 |
|
|
209 |
|
checkpoint59f |
210 |
|
o pkg/autodiff: zero_adj resets an ajoint variable to zero (in adjoint mode) |
211 |
|
o pkg/ctrl: ctrl_bound forces parameter corrections to stay in |
212 |
|
a bounded range (in forward mode) |
213 |
|
o pkg/ecco, ctrl, autodiff and mom_common: |
214 |
|
internal parameter controls, completements of implementations |
215 |
|
o add few EXCH S/R (UV_BGRID, UV_DGRID, SM) for B & D-Grid velocity & 2nd Moment Sxy. |
216 |
|
o use UV_BGRID exch for dxV,dyU: for now, only with pkg/exch2 & forward ; |
217 |
|
(not seem any difference in testing results). |
218 |
|
o pkg/cd_code: use the right EXCH calls (for CS-grid); but problem remains |
219 |
|
at face corners. |
220 |
|
o pkg/generic_advdiff: |
221 |
|
- in GAD.h, define as parameters (iMinAdvR,iMaxAdvR,jMinAdvR,jMaxAdvR) |
222 |
|
loop range indices for computing vertical advection tendency |
223 |
|
and do the calculation in the interior only (no overlap) ; |
224 |
|
for now, only implemented for SOM advection (to save CPU time). |
225 |
|
- add argument "withSigns" to S/R FILL_CS_CORNER_TR_RL (needed for SOM_xy moment) |
226 |
|
o exch2 adjoint |
227 |
|
First set of changes: |
228 |
|
- add exch2 hand-written adjoint templates |
229 |
|
- exch2 hand-written no longer use TAF-flag 'nownew_arg' |
230 |
|
This will require cleanup in pkg/autodiff/*.F |
231 |
|
(changed routines currently kept separate in verif. code/) |
232 |
|
- Comment all relevant #ifndef ALLOW_AUTODIFF_TAMC |
233 |
|
that used to hide exch2 or cubed-sphere specific code |
234 |
|
(commented via 'cph-exch2') |
235 |
|
o pkg/seaice |
236 |
|
- Close southern and western boundaries for UICE/VICE when useOBCS=.TRUE. |
237 |
|
o pkg/bulk_force: fix loading into Qsw of Short-Wave flux; and update |
238 |
|
output of global_ocean.cs32x15.thsice . |
239 |
|
|
240 |
|
checkpoint59e |
241 |
|
o exch2: new S/R that only use the cube-tracer (center-position) exchange: |
242 |
|
for B-grid vector (not yet tested) and C-grid vector (<- only used |
243 |
|
when option W2_USE_R1_ONLY in W2_OPTIONS.h is defined). |
244 |
|
o starting implementation of Duffy et al. (GRL 1999) salt plume scheme |
245 |
|
(#ifdef ALLOW_SALT_PLUME) |
246 |
|
o gather_2d/scatter_2d: removed halo regions |
247 |
|
o gmredi: add option (GM_taper_scheme='fm07') for Ferrari & McWilliams 2007 |
248 |
|
scheme and the corresponding test case (under front_relax dir). For now, |
249 |
|
only available with Skew-flux form and not yet tested in realistic set-up. |
250 |
|
adjoint: store directives updated, but gradient checks deteriorated, |
251 |
|
so maybe GM/Redi adjoint is now broken. |
252 |
|
o seaice adjoint |
253 |
|
* add AREA, HEFF, HSNOW as control variable |
254 |
|
(should not change lab_sea results) |
255 |
|
* CTRL_OPTIONS.h needs new flag: CTRL_SET_OLD_MAXCVARS_40 |
256 |
|
o pkg/seaice: |
257 |
|
* added computation of saltFlux in seaice_growth; |
258 |
|
For time being, sea ice salinity is assumed constant |
259 |
|
contribution of snow flooding to freshening of sea ice is neglected. |
260 |
|
SEAICE_salinity is set in SEAICE_PARM01 of data.seaice and it |
261 |
|
defaults to 0.0 in order to maintain backward compatibility. |
262 |
|
Typical values for SEAICE_salinity are 4 to 10 g/kg. |
263 |
|
* replaced dRf(1) with dRf(kSurface)*hFacC(kSurface) in seaice_growth.F |
264 |
|
* added SEAICE_availHeatFrac, which specifies fraction of surface level |
265 |
|
heat content used to melt or grow ice |
266 |
|
* commented out cap of HICE: it helps keep ice thinner |
267 |
|
* reintroduced cap of HEFF via MAX_HEFF and SEAICE_CAP_HEFF option |
268 |
|
* applied OBCS T/S mask to HEFFM sea ice mask |
269 |
|
|
270 |
|
checkpoint59d |
271 |
|
o standard name: {PKG}_DIAGNOSTICS_STATE to fill diagnostics array |
272 |
|
for {PKG} state variables, and called from DO_STATEVARS_DIAGS. |
273 |
|
(keep {PKG}_DIAGNOSTICS_FILL for non-state variables diagnostics) |
274 |
|
o pkg/gmredi (gmredi_readparms.F): add some missing "_d 0" |
275 |
|
and change default value of parameter "GM_Small_Number"; |
276 |
|
update output of exp: lab_sea (x2), cfc_example, global_ocean.90x40x15, |
277 |
|
global_ocean.cs32x15 (x4), global_ocean_ebm, global_with_exf, |
278 |
|
tutorial_global_oce_biogeo, tutorial_global_oce_latlon |
279 |
|
o pkg/ecco: cost function when applying pkg/smooth to controls |
280 |
|
o pkg/ctrl: add forcingPrecond run time parameter |
281 |
|
o pkg/seaice: |
282 |
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
- replace ZMIN=4.e8 with ZMIN=0. in dynsolver.F as in C-grid code |
283 |
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
- fix bug in metric terms of u-equation in LSR solver (implicit part), |
284 |
changes verification/lab_sea |
changes verification/lab_sea |
286 |
read, understand, and debug. This causes changes at the truncation level. |
read, understand, and debug. This causes changes at the truncation level. |
287 |
- fix (serious) bug in the boundary conditions (sign error in the implicit |
- fix (serious) bug in the boundary conditions (sign error in the implicit |
288 |
part) of the LSR solver. Changes all LSR results. |
part) of the LSR solver. Changes all LSR results. |
289 |
|
- fixed problem with HSNOW initialization to avoid thick snow when AREA |
290 |
|
is initilized with small values - does not change lab_sea results. |
291 |
|
- added HsnowFile initialization capability |
292 |
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
o pkg/smooth: addition to model/src and pkg/ctrl so allow |
293 |
initialization of pkg/smooth and application to control vector |
initialization of pkg/smooth and application to control vector |
294 |
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
o pkg/seaice: fix another bug in the LSR no-slip boundary conditons |
302 |
that allow you to prepare netcdf input files. |
that allow you to prepare netcdf input files. |
303 |
- also modified: cleaner include statements, cleaner error print statements, |
- also modified: cleaner include statements, cleaner error print statements, |
304 |
cleaner stops when error, and more tests of the netcdf input files consistency. |
cleaner stops when error, and more tests of the netcdf input files consistency. |
|
|
|
305 |
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
o additional test (in global_ocean.cs32x15) using seaice+thsice pkgs. |
306 |
o pkg/seaice: |
o pkg/seaice: |
307 |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
- move seaice-diagnostics from seaice_do_diags to do_statevars_diags; this |
435 |
ATMOSPHERIC_LOADING is #define). |
ATMOSPHERIC_LOADING is #define). |
436 |
o pkg/kpp: replaced _KPP_RL with _RL |
o pkg/kpp: replaced _KPP_RL with _RL |
437 |
o bug fixes for vertical diffusivity computations when both KPP and |
o bug fixes for vertical diffusivity computations when both KPP and |
438 |
3D diffusivity arrays are used. |
3D diffusivity arrays are used; pkg/kpp/kpp_calc_diff_s & _t.F |
439 |
|
are no longer updating the vertical diffusivity array |
440 |
|
(passed as argument) but are (re-) setting those arrays. |
441 |
o pkg/seaice: fix bug in evp solver, while doing that |
o pkg/seaice: fix bug in evp solver, while doing that |
442 |
- change (improve?) discretization of stress computations for both |
- change (improve?) discretization of stress computations for both |
443 |
cgrid-lsr and evp solver |
cgrid-lsr and evp solver |