4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o verification (hs94): |
8 |
|
- convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords |
9 |
|
bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments |
10 |
|
hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of |
11 |
|
apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged. |
12 |
|
o pkg/ptracers: |
13 |
|
- implement Adams-Bashforth on pTracers (instead of on tracer tendency), |
14 |
|
switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs) |
15 |
|
- change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer |
16 |
|
with AB-2 code (so that it get tested). |
17 |
|
o model/src: |
18 |
|
- allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS) |
19 |
|
with AB-2 code (previously only available with AB-3 code). |
20 |
|
Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F |
21 |
|
to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done |
22 |
|
there, by calling CYCLE_AB_TRACER). |
23 |
|
o pkg/generic_advdiff: |
24 |
|
- change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS, |
25 |
|
GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R |
26 |
|
+ also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in |
27 |
|
S/R temp/salt/ptracers_integrate.F |
28 |
|
o model/src & pkg/ptracers: |
29 |
|
- remove common block variables gT,gS (in DYNVARS.h), except when |
30 |
|
USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly. |
31 |
|
- remove common block variable gPtr. |
32 |
|
o model/src & pkgs: |
33 |
|
- change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R |
34 |
|
ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G, |
35 |
|
IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT, |
36 |
|
GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T |
37 |
|
+ change accordingly all calling S/R. |
38 |
|
- use local temperature/salinity/ptracer tendency array (without bi,bj) |
39 |
|
in S/R temp/salt/ptracers_integrate.F |
40 |
|
o pkg/seaice: |
41 |
|
- move computation of stress contributions to rhsU/V in s/r seaice_lsr |
42 |
|
to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code |
43 |
|
- make u/vIceC local variables if SEAICE_CGRID is defined only to be used |
44 |
|
in seaice_lsr |
45 |
|
- seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D |
46 |
|
in s/r seaice_lsr_calc_coeffs |
47 |
|
o pkg/mdsio: |
48 |
|
- in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long |
49 |
|
(e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is |
50 |
|
too long (e.g., > MAX_LEN_FNAM/2 ) |
51 |
|
|
52 |
|
checkpoint65b (2014/08/12) |
53 |
|
o pkg/matrix: |
54 |
|
- pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP |
55 |
|
o model/src: |
56 |
|
- fix initialisation of geothermalFile; compile geothermal-flux code in |
57 |
|
natl_box verification experiment. |
58 |
|
o model/src & pkg/down_slope: |
59 |
|
- push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop). |
60 |
|
- in dwnslp_apply.F, update tracer tendency instead of the future tracer |
61 |
|
field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects |
62 |
|
results at machine truncation level: update output of experiments |
63 |
|
global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD). |
64 |
|
o pkg/diagnostics (Stats-Diags): |
65 |
|
- do not cumulate the full volume when DIAGNOSTICS_FILL is |
66 |
|
called with bibjFlg < 0 (no increment of the counter for 2D/3D diag); |
67 |
|
This fix the mean statistics when DIAGNOSTICS_FILL is called multiple |
68 |
|
times (but Min,Max and StD are still wrong). |
69 |
|
o model/src: |
70 |
|
- add geothermal flux forcing: read in ini_forcing.F as time-constant |
71 |
|
field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F) |
72 |
|
o model/src: |
73 |
|
- move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer |
74 |
|
_integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac |
75 |
|
arrays are already updated while adjustments (filters, conv.adjustment) are |
76 |
|
still applied later, in S/R TRACERS_CORRECTION_STEP. |
77 |
|
o model/src: |
78 |
|
- store in common bloc array "rhoInSitu" the virtual potential temperature |
79 |
|
anomaly that is used to compute geopotential: this make the atmos code |
80 |
|
more similar to ocean code which already uses rhoInSitu in calc_phi_hyd.F |
81 |
|
o pkg/seaice/seaice_lsr.F |
82 |
|
- rename integer variable ilcall to ipass (that's what it is called |
83 |
|
in the residual diagnostics |
84 |
|
- change time stepping for NPSEUDOTIMESTEP > 2 (does not change the |
85 |
|
default) for improved non-linear convergence of the first few steps |
86 |
|
- adjust a few comments and add new ones to explain some of the store |
87 |
|
directives |
88 |
|
o pkg/generic_advdiff (& ptracers): |
89 |
|
- re-work the code to check for valid advection scheme and for minimum |
90 |
|
size of overlap (now stored in local common bloc in gad_advscheme.F) |
91 |
|
o pkg/seaice: another attempt to make the adjoint work for sea ice dynamics |
92 |
|
- re-initialize more variables in seaice_lsr: u/vIceC, u/vIceNm1 |
93 |
|
- add an auxilliary variable "bet" and fix store directives and keys in |
94 |
|
seaice_lsr_tridiagu/v, this seems to do the trick (i.e. more or |
95 |
|
less exact gradients in my tests); but there are still |
96 |
|
recomputation warning (although gradients are sort of OK), when |
97 |
|
SEAICE_LSR_VECTORIZE is not defined, so this flag and |
98 |
|
SEAICE_LSR_VECTORIZE_ZEBRA are recommended for efficiency. |
99 |
|
- update verification experiments lab_sea. |
100 |
|
- change some comments in S/R seaice_calc_viscosities |
101 |
|
o model/src: |
102 |
|
- if staggerTimeStep=T, always apply exchange to velocity field in |
103 |
|
do_stagger_fields_exchanges.F instead of in do_fields_blocking_exchanges.F |
104 |
|
(independent of using multi-dim advection or not); no effect on FWD run |
105 |
|
but affects AD results (at machine truncation level): update output of |
106 |
|
experiment 1D_ocean_ice_column (ad: 12 digits), hs94.1x64x5 (ad,oad: 13.d) |
107 |
|
and isomip (oad: 12.d). |
108 |
|
o pkg/generic_advdiff: |
109 |
|
- stop if doAB_onGtGs is set to FALSE but ignored |
110 |
|
- refine warning related to stability of tracer time-stepping |
111 |
|
regarding internal wave dynamics. |
112 |
|
- setting of AdamsBashforth_T,S when doAB_onGtGs=F: remove condition |
113 |
|
on staggerTimeStep & implicitIntGravWave (will now get a warning |
114 |
|
if potentially unstable). |
115 |
|
o pkg/kl10: |
116 |
|
- add new pkg "kl10" for mixing due to internal wave breaking, from |
117 |
|
http://www.sciencedirect.com/science/article/pii/S1463500310000144 |
118 |
|
(contribution from Jody Klymak), tested in verification experiment |
119 |
|
verification/internal_wave/input.kl10/ |
120 |
|
o isomip experiment: |
121 |
|
- test pkg/shelfice with Non-Lin Free-Surf in one of the FWD set-up |
122 |
|
(input.htd) and update the output. |
123 |
|
o cd_code experiments: |
124 |
|
- use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM & |
125 |
|
#undef CD_CODE_NO_AB_CORIOLIS) in experiments: cfc_example (fwd) |
126 |
|
global_ocean.90x40x15 (ad & oad) and OpenAD (ad & oad) and |
127 |
|
update the corresponding output. |
128 |
|
o pkg/seaice: |
129 |
|
- reduce the number of include files and store directives in |
130 |
|
S/R seaice_lsr_tridiagu/v |
131 |
|
- change the order of loops in one case in S/R seaice_lsr_tridiagv |
132 |
|
(only for SEAICE_VECTORIZE_LSR_ZEBRA defined), which allows me to |
133 |
|
get rid off one store directive (a TAF bug?) |
134 |
|
- add one more instance of ifdef SEAICE_VECTORIZE_LSR_ZEBRA in |
135 |
|
S/R seaice_lsr_tridiagv to change the loop range for consistency |
136 |
|
- remove ilcall, m from parameter list of S/R seaice_lsr_tridiagu/v |
137 |
|
- fix a bug that affects the JFNK solver: replace sNx/y by i/jMax in |
138 |
|
S/R seaice_lsr_tridiagu/v (requires update of |
139 |
|
offline_exf_seaice/input.dyn_jfnk) |
140 |
|
|
141 |
|
checkpoint65a (2014/07/27) |
142 |
|
o model/src: |
143 |
|
- Non-Lin Free-Surf in p/z coords: allows hFacW,S to be larger than |
144 |
|
surrounding hFacC=1 @ edge of a step with different kSurfC on either side |
145 |
|
(topo in p-coords, ice-shelf in z-coords); update output of experiments |
146 |
|
tutorial_global_oce_in_p and isomip (both AD and OpenAD output). |
147 |
|
o model/src: |
148 |
|
- collect momentum forcing tendency into local 2-D array (passed as argument |
149 |
|
to apply_forcing S/R); this simplifies mom. Forcing diagnostics and CD_CODE |
150 |
|
parts in timestep.F (without CD_CODE_NO_AB_MOMENTUM defined = the default); |
151 |
|
affects results at machine truncation level (e.g., if using OBCS_SPONGE). |
152 |
|
- collect T & S forcing tendency into local 2-D array (passed as argument to |
153 |
|
apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency. |
154 |
|
affects results at machine truncation level (e.g., ocean: if using |
155 |
|
SHORTWAVE_HEATING and atmos:, if using FrictionHeating or (atm_Rq<>0) |
156 |
|
moist correction due to vertical advection). |
157 |
|
- update output of experiments: fizhi-cs-32x32x40 (13 digits), |
158 |
|
global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml: |
159 |
|
seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13), |
160 |
|
obcs_ctrl (ad & fwd grd @ 12 & 7). |
161 |
|
o pkg/ptracers & diagnostics: |
162 |
|
- use ptracers (short) name (instead of long one) to make ptracers diagnostics |
163 |
|
title (to avoid some unexpected truncation); sort out ptracers diags units. |
164 |
|
- collect ptracer forcing tendency into local 2-D array (passed as argument |
165 |
|
to apply_forcing S/R); add 3-D diagnostics for ptracers forcing tendency. |
166 |
|
|
167 |
|
checkpoint65 (2014/07/18) |
168 |
|
o pkg/fizhi: |
169 |
|
- add parenthesis around fizhi tendencies in fizhi_tendency_apply.F: this |
170 |
|
affects results at machine truncation level. Update output of experiments |
171 |
|
fizhi-cs-32x32x40 (12 digits for cg2d) & fizhi-cs-aqualev20 (13 digits). |
172 |
|
o pkg/seaice: more clean up |
173 |
|
- rename TAF common block tapes to be more consistent and remove |
174 |
|
unnecessary duplicates |
175 |
|
- add store directives to remove more recomputations, but use smaller |
176 |
|
tapes (and adjust keys) when SEAICE_LSR_ADJOINT_ITER is undefined. |
177 |
|
The idea behind this flag is to reduce the memory footprint when the |
178 |
|
adjoint of the LSR is not required. As of now, defining the flag |
179 |
|
SEAICE_LSR_ADJOINT_ITER increases 4 common block tapes for 2D field by |
180 |
|
a factor of SOLV_MAX_FIXED (=500 by default in SEAICE_SIZE.h). |
181 |
|
For experiment offline_exf_seaice, this means on a linux box with gfortran |
182 |
|
nearly a factor of 10 (but keep in mind there is mostly seaice code in |
183 |
|
this experiment): |
184 |
|
> size mitgcmuv_ad |
185 |
|
text data bss dec hex |
186 |
|
5100659 1216 220458952 225560827 d71c8fb |
187 |
|
5339425 1200 1868783272 1874123897 6fb4dc79 (SEAICE_LSR_ADJOINT_ITER) |
188 |
|
but only a moderate increase of 36% for global_ocean.cs32x15: |
189 |
|
text data bss dec hex |
190 |
|
6695027 1648 1014578664 1021275339 3cdf6ccb |
191 |
|
6695203 1648 1382505320 1389202171 52cd8afb (SEAICE_LSR_ADJOINT_ITER) |
192 |
|
- note: there are still recomputations in global_ocean.cs32x15 and |
193 |
|
offline_exf_seaice and the gradient agreement changes (gets a |
194 |
|
little worse) for global_ocean.cs32x15 (-> update output_adm.seaice.txt) |
195 |
|
- in general, the AD gradients still are wrong |
196 |
|
o OpenAD |
197 |
|
- clean up code_oad/ directories somewhat by moving files |
198 |
|
dontCompile, dontTransform, keepOriginal to OAD_support/ |
199 |
|
o model/src: |
200 |
|
- using MOM fluxform and Non-Lin Free-Surf with momDissip_In_AB=F |
201 |
|
(not currently tested): add dissipation terms before NLFS rescaling of |
202 |
|
tendencies (previously done after). |
203 |
|
o pkg/diagnostics: |
204 |
|
- write stats-diags in ascii file with more digits (same as in monitor). |
205 |
|
o pkg/down_slope: |
206 |
|
- drop the bi,bj dimension of argument recip_hFac in S/R DWNSLP_APPLY; with |
207 |
|
NLFS (not tested), use new recip_hFac value in order to conserve tracer. |
208 |
|
o model/src: |
209 |
|
- new file "apply_forcing.F" containing all the code previously in |
210 |
|
external_forcing.F, but with new argument list: pass, as new argument, |
211 |
|
the current level tendency array to update (instead of a direct update |
212 |
|
of the common bloc array). Change the corresponding calls. |
213 |
|
- add CPP option USE_OLD_EXTERNAL_FORCING (default is undef) to use |
214 |
|
EXTERNAL_FORCING_U,V,T,S subroutines (for backward compatibility). |
215 |
|
o pkg/seaice/seaice_lsr, a little bit of clean up |
216 |
|
- rearrange some code blocks, so that now all calculations for |
217 |
|
setting up the right-hand-sides done within one single block |
218 |
|
(I find that easier to read and understand) |
219 |
|
- rearrange freedrift-code to reduce the number of ifdefs |
220 |
|
- adjust some indentations and comments |
221 |
|
|
222 |
|
checkpoint64z (2014/07/10) |
223 |
|
o model/src and several pkgs: |
224 |
|
- change argument list of all S/R called from external_forcing.F and |
225 |
|
called from ptracers_forcing.F (renamed to ptracers_apply_forcing.F) |
226 |
|
to pass, as argument, the current level tendency array to update |
227 |
|
(instead of a direct update of the common bloc array). |
228 |
|
- change also (in the same way) argument list of PTRACERS_APPLY_FORCING; |
229 |
|
- rename taueddy_external_forcing.f to taueddy_tendency_apply.F |
230 |
|
o pkg/seaice/seaice_lsr.F |
231 |
|
- always initialize local arrays in seaice_lsr_tridiagu/v |
232 |
|
- add more local tapes to seaice_lsr_tridiagu/v |
233 |
|
- move storing u/vice(:,:,bi,bj) out of seaice_lsr_tridiagu/v, but |
234 |
|
keep it in bi/bj loop; this seems to be essential |
235 |
|
- gradients are still wrong but only by 4-7 orders of magnitude |
236 |
|
instead of 15 orders of magnitude, lab_sea improves a little |
237 |
|
o pkg/seaice |
238 |
|
- (pkg/autodiff) remove storing/restoring of seaiceMaskU/V that |
239 |
|
generates unnecessary code in seaice_lsr_ad |
240 |
|
- add more store directives in seaice_lsr to avoid unnecessary code |
241 |
|
in seaice_lsr_ad |
242 |
|
- exclude some residual computations in seaice_lsr when |
243 |
|
ALLOW_AUTODIFF_TAMC is defined in order to avoid unnecessary code |
244 |
|
in seaice_lsr_ad |
245 |
|
- add more storing, a new tape (model/src/the_main_loop.F) and |
246 |
|
another key for SEAICE_LSR_VECTORIZE_ZEBRA (the local keys ilockey |
247 |
|
and klockey should be checked by a specialist) |
248 |
|
- modify ( define SEAICE_VECTORIZE_LSR and SEAICE_LSR_ADJOINT_ITER ) |
249 |
|
and update lab_sea after previous changes in pkg/seaice below |
250 |
|
o pkg/autodiff: |
251 |
|
- introduce useSmoothCorrel2DinAdMode, SEAICEapproxLevInAd, and |
252 |
|
viscFacInAd : run time parameters allowing for adjoint switches |
253 |
|
note : logic for useSmoothCorrel2DinAdMode is in ctrl_readparms.F |
254 |
|
o pkg/ecco: |
255 |
|
- introduce cost_gencost_boxmean.F that computes a box mean |
256 |
|
temperature (for use in adjoint sensitivity studies). |
257 |
|
o model/src/set_defaults.F : initialize viscFacAdj to 1. |
258 |
|
o pkg/mom_common/mom_calc_visc.F: |
259 |
|
- ifdef ALLOW_AUTODIFF then include viscFacAdj factor. |
260 |
|
o pkg/seaice/seaice_summary.F: |
261 |
|
- statement for SEAICEadjMODE now in autodiff_readparms.F |
262 |
|
o pkg/seaice: |
263 |
|
- remove some store directives and add new ones in an effort to get |
264 |
|
finally rid off the recomputation warnings. This is successful |
265 |
|
when SEAICE_VECTORIZE_LSR ***and*** SEAICE_LSR_ADJOINT_ITER are |
266 |
|
defined (i.e. no extensive recomputation warnings left), but there |
267 |
|
are still too many recomputations on the solver iteration level |
268 |
|
- define SEAICE_VECTORISZE_LSR in offline_exf_seaice/code_ad/SEAICE_OPTIONS.h |
269 |
|
- move definition of MPSEUDOTIMESTEPS into TAMC-block in |
270 |
|
SEAICE_SIZE.h |
271 |
|
- add a store directive in S/R seaice_calc_viscosities |
272 |
|
o pkg/seaice (ITD code): |
273 |
|
- fix definition of Hlimit for multi-threaded case |
274 |
|
- use double precision arithmetic to compute Hlimit: this affects results; |
275 |
|
update output of experiment seaice_itd. |
276 |
|
o replace content of verification/seaice_itd |
277 |
|
- instead of a 1D column use the configuration of offline_exf_seaice |
278 |
|
to test the ice thickness distribution code with ridging |
279 |
|
- this is a first shot at this experiment |
280 |
|
- change of some defaults of ridging parameters SEAICEhStar (from |
281 |
|
100 to 25) and SEAICEmuRidging (from 5 to 3) in seaice_readparms.F |
282 |
|
and lot of new comments. |
283 |
|
|
284 |
|
checkpoint64y (2014/06/20) |
285 |
|
o pkg/seaice/seaice_reg_ridge.F: |
286 |
|
- modify the regularization of very small volumes of ice; only check |
287 |
|
total volume HEFF, and do not apply correction to individual ice |
288 |
|
classes because that leads to funny patterns in the heat and fw-fluxes |
289 |
|
into the ocean. Adjust seaice_itd/results/output.txt |
290 |
|
- replace nITD by SEAICE_multDim in loop-ranges |
291 |
|
o pkg/exf: |
292 |
|
- add code to process the case field period = -12. with UV interpolation. |
293 |
|
- move debug print (formerly active when exf_verbose=T) from EXF_getFFieldRec |
294 |
|
into S/R that calls it (i.e., exf_set_gen.F, exf_set_uv.F & obcs_exf_load.F) |
295 |
|
o verification/global_with_exf: |
296 |
|
- switch all fields period to -12. (was previously untested) in input/data.exf |
297 |
|
(but keep secondary test ".yearly" unchanged); update the reference output. |
298 |
|
o pkg/cal: |
299 |
|
- new calendar type "noLeapYear" for 365 days calendar without any leap year. |
300 |
|
o pkg/exf: |
301 |
|
- new integer parameter "exf_debugLev" (default set to main model debugLevel) |
302 |
|
to replace logical switch "exf_verbose" |
303 |
|
- report in STDOUT when loading a new record (if exf_debugLev >= 3) |
304 |
|
o pkg/sbo: |
305 |
|
- update from Katherine Quinn: evaluate mass directly from density and SSH |
306 |
|
(budget using Finite Volume method) instead of from bottom pressure. |
307 |
|
- allow testreport to collect few selected SBO output ; tested in exp. |
308 |
|
global_ocean.90x40x15 (after updating the results, to include SBO output). |
309 |
|
- fix some multi-threading issues (in output part). |
310 |
|
o model/src & most packages: |
311 |
|
- always call {PKG}_READPARMS even if corresponding use{PKG}=F; |
312 |
|
- in {PKG}_READPARMS, in case use{PKG}=F: add a call to new S/R |
313 |
|
PACKAGES_UNUSED_MSG to print a weak warning when parameter file |
314 |
|
"data.{pkg}" exist ; and leave the S/R (return) just after. |
315 |
|
- more standard LAND pkg interface (land_init_fixed.F, land_check.F). |
316 |
|
+ call LAND_READPARMS from packages_readparms.F |
317 |
|
o pkg/seaice: |
318 |
|
- remove code that resets useThSice in S/R seaice_readparms and |
319 |
|
replace it by a warning in S/R seaice_check |
320 |
|
- remove parameter MULTDIM, replace with nITD and runtime |
321 |
|
parameter SEAICE_multDim (still hard-wired to nITD if |
322 |
|
SEAICE_ITD is defined) |
323 |
|
|
324 |
|
checkpoint64x (2014/05/24) |
325 |
|
o verification/lab_sea: |
326 |
|
- update adjoint and TLM output following changes to pkg/salt_plume |
327 |
|
- un-do the update after putting back local recip_Cp in few places. |
328 |
|
o pkg/salt_plume: modifications by An Nguyen: |
329 |
|
- add capability to do brine rejection (salt-plume) as function of |
330 |
|
volume+tracers (instead of only salinity tracer). |
331 |
|
- conserve volume by exchanging volume from each kLev to above to |
332 |
|
accommodate in-coming brine volume |
333 |
|
- store surface and klev exchanged fraction + volume in 4 new 3-d arrays |
334 |
|
- switch KPP surf buoyancy due to brine forcing to 3-d |
335 |
|
(3 more 3-d arrays, 2 for SPforcing[T,S], 1 for boplume) |
336 |
|
- add salt_plume_volfrac, salt_plume_apply, salt_plume_tendency_apply_t |
337 |
|
- unrelatedly, also add ad-hoc capability to vary salt_plume scheme |
338 |
|
in East/West Arctic. |
339 |
|
o pkg/sbo: |
340 |
|
- incorporate modifications from Katherine Quinn to enable the use of sbo |
341 |
|
pkg in ECCO-v4 set-up ; remove SBO-TimeAve output ; add monitor-like |
342 |
|
output for future testreport verification (unfinished). |
343 |
|
o pkg/atm_phys: |
344 |
|
- change diagnostics (AtPh_Trf & AtPh_Qrf) of DARGAN_BETTSMILLER S/R: |
345 |
|
skip the reseting of t_ref & q_ref to initial t & q ; this preserve the |
346 |
|
output of S/R CAPECALCNEW (Parcel temp & q) for diagnostics. |
347 |
|
o pkg/seaice |
348 |
|
seaice_calc_ice_strength.F: modify expression to avoid divisions |
349 |
|
(affects truncation) |
350 |
|
seaice_do_ridging.F: clean up the insectarium |
351 |
|
- fix a bug that was compensated by areaScaling (-> remove areaScaling code) |
352 |
|
- added SEAICEsnowFracRidge to redistributed snow (2nd bug) |
353 |
|
- set closing/openingRate to zero where no extra iteration is need (3rd bug) |
354 |
|
- add some debugging information and error messages (warnings) |
355 |
|
o model/src: modifications relatd to atmosphere p*: |
356 |
|
- Switch to more accurate p* coordinate slope term (calc_grad_phi_hyd.F) |
357 |
|
- With p* or Sigma-P, use constant reference Pot.Temp (thetaConst) instead |
358 |
|
of vertical profile tRef in geopotential background and anomaly. |
359 |
|
- Acount for true p* correction in theta <-> T conversion in pkg/aim_v23 |
360 |
|
and pkg/atm_phys. |
361 |
|
- Update FWD output of experiments: aim.5l_cs (x2), fizhi-cs-32x32x40, |
362 |
|
fizhi-cs-aqualev20, fizhi-gridalt-hs, tutorial_held_suarez_cs, cpl_aim+ocn. |
363 |
|
o pkg/seaice: fix a bug in seaice_prepare_ridging.F, forgot a sqrt |
364 |
|
o pkg/ptracers: compute ptracer source/sink due to linear free surface. |
365 |
|
not used right now, but can be used in BGC packages to fix conservation. |
366 |
|
o pkg/dic, pkg/gchem: move tracer_meanarea to gchem, so it can be used by |
367 |
|
other packages too. |
368 |
|
o pkg/seaice/seaice_calc_ice_strength.F: replace SEAICE_rhoSnow by |
369 |
|
SEAICE_rhoIce in the Rothrock (1975)-type strength calculations (bug fix) |
370 |
|
o model/src: |
371 |
|
- since we have several heat capacity (even in model/src), define "recip_Cp" |
372 |
|
as local variable (no longer in common block) to avoid any confusion. |
373 |
|
- add thetaConst in PARAMS.h (to be used with pStar or sigma-P coords). |
374 |
|
o pkg/exf: |
375 |
|
- from Jeff Scott: add option (#define EXF_CALC_ATMRHO) to calculate local |
376 |
|
air density as function of air Temp, Humidity and atm pressure. |
377 |
|
|
378 |
|
checkpoint64w (2014/05/02) |
379 |
|
o verification: |
380 |
|
- update output_adm.txt files for experiment global_ocean.cs32x15 (seaice & |
381 |
|
seaice_dynmix) and lab_sea (primary test & noseaicedyn): moving/changing |
382 |
|
code from seaice_growth.F & seaice_advdiff.F to new ridging routines |
383 |
|
seaice_reg_ridge.F seaice_do_ridging.F affects AD gradient |
384 |
|
(down to 8-7 matching digits for global_ocean and 5-6 for lab_sea). |
385 |
|
o model/src: for atmosphere in p* coords: |
386 |
|
- store factor rStarFacC**atm_kappa (= pStarFacK) in common block |
387 |
|
- implement more accurate p* coordinate slope term (in calc_grad_phi_hyd.F), |
388 |
|
but not yet activated. |
389 |
|
o pkg/seaice: fix restart problem for ITD with new ice strength parameterisation: |
390 |
|
- move computation of opnWtrFrac = 1-AREA to before computing ice strength |
391 |
|
- this changes the results (but not for any verification experiment, because |
392 |
|
none tests this), but avoids having an extra field in the restart files |
393 |
|
o pkg/seaice: remove global variable TICE (not needed) |
394 |
|
- replace by TICES or local variable where necessary (cost_seaice_test, |
395 |
|
seaice_diagnostics_state) |
396 |
|
- move copying TICE to TICES from seaice_check_pickup to seaice_read_pickup |
397 |
|
- use specific read/write routines for reading and writing individual leves |
398 |
|
of a multilevel field |
399 |
|
o pkg/ctrl & model/inc: |
400 |
|
- move additional anomaly fields of control vars (related to options: |
401 |
|
ALLOW_KAPGM_CONTROL, ALLOW_KAPREDI_CONTROL and ALLOW_BOTTOMDRAG_CONTROL) |
402 |
|
from DYNVARS.h into new header file: CTRL_FIELDS.h |
403 |
|
o pkg/seaice: some small modifications to the ridging code |
404 |
|
- make fw2ObyRidge a global variable and add the freshwater flux to |
405 |
|
seaice_growth |
406 |
|
- pass actual thickness from seaice_prepare_ridging, so that it is |
407 |
|
computed only in one place and compute it in the same way as in |
408 |
|
seaice_growth |
409 |
|
- initialise more fields in seaice_do_ridging that where cause floating |
410 |
|
point exceptions over land |
411 |
o pkg/seaice: preparations for ridging code and first real ridging code |
o pkg/seaice: preparations for ridging code and first real ridging code |
412 |
- move most of "PART 1" of S/R seaice_growth into a new and separate |
- move most of "PART 1" of S/R seaice_growth into a new and separate |
413 |
S/R seaice_reg_ridge that will both regularize the state variable after |
S/R seaice_reg_ridge that will both regularize the state variable after |
414 |
advection call the actual ridging routine; |
advection call the actual ridging routine; |
415 |
- requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG, |
- requires to make 5 fields global fields: d_HEFFbyNEG,d_HSNWbyNEG, |
416 |
d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust; |
d_AREAbyRLX,d_HEFFbyRLX,saltFluxAdjust; |
417 |
- remove ridging code from seaice_advdiff |
- remove ridging code from seaice_advdiff |
418 |
- clean up remaining part 1 of seaice_growth in an attempt to make it |
- clean up remaining part 1 of seaice_growth in an attempt to make it |
419 |
more readable (this is probably subjective) |
more readable (this is probably subjective) |
420 |
- call seaice_itd_redist once in the initialisation phase to have the initial |
- call seaice_itd_redist once in the initialisation phase to have the initial |
421 |
conditions in the correct category |
conditions in the correct category |