4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/ecco: increase modularity and improve logic |
8 |
|
- ecco_toolbox.F (new) : basic operations that are often used, |
9 |
|
including ecco_zero, ecco_cp, ecco_cprsrl, ecco_diffmsk, |
10 |
|
ecco_addcost, ecco_add, ecco_div, ecco_readbar. |
11 |
|
- cost_gencal.F (new) : determine filnames and records. |
12 |
|
- cost_genread.F, cost_generic.F : condense code using ecco_toolbox. |
13 |
|
- cost_generic.F : use spzeroloc rather than hard-coded -9999, |
14 |
|
and exploit the above functions leading to more compact code. |
15 |
|
- cost_genread.F : rm un-necessary arguments, re-arrange args order. |
16 |
|
- ecco_check.F, ecco_readparms.F : bring logic up to date (using_tpj, |
17 |
|
using_ers, using_gfo, using_mdt is now only defined within gencost) |
18 |
|
o pkg/ecco: extend generic cost capabilities |
19 |
|
- pkg/ecco : added 3D gencost (ALLOW_GENCOST3D), added gencost |
20 |
|
capabilities via gencost_preproc (+ _c,_i,_r related params), |
21 |
|
gencost_posproc (+ _c,_i,_r related params), gencost_nrecperiod, |
22 |
|
gencost_outputlevel arguments to cost_generic |
23 |
|
- pkg/ecco/cost_genread.F (new) : interface between cost_generic |
24 |
|
and active_read, making room for gencost_preproc to take effect. |
25 |
|
Added preproc code ('climmon') to replace GENERIC_BAR_MONTH. |
26 |
|
- pkg/ecco/cost_generic.F : |
27 |
|
compute and store misfit maks*(model-data) in localdif that is |
28 |
|
then used in cost and for output, output misfit if outlev.GT.0 |
29 |
|
- pkg/ecco/cost_averagesfields.F : depend on gencost_barskip |
30 |
|
rather gencost_barfile for deciding whether to write barfile |
31 |
|
- pkg/ecco/ecco_cost_driver.F : extract call to cost_profiles from cost_hyd |
32 |
|
- pkg/ecco/ecco_cost_init_fixed.F : extract gencost weights from |
33 |
|
ecco_cost_weights, re-activate ecco_summary, determine gencost_barskip |
34 |
|
- pkg/ecco/ecco_summary.F : report gencost variables |
35 |
|
- pkg/ecco/cost_gencost_customize.F : treat case of scatterometer costs |
36 |
|
o pkg/sea/SEAICE_OPTIONS.h : add ALLOW_COST_ICE, ALLOW_SEAICE_COST_SMR_AREA |
37 |
|
o pkg/ecco: internal re-organization |
38 |
|
- resolve un-necessary dependancies within pkg/ecco and to pkg/ctrl |
39 |
|
(rm includes of optim.h and ctrl.h, replace optimcycle with eccoiter, |
40 |
|
mv relevant variables definition from ecco_cost.h to ecco.h, |
41 |
|
make sure gencost routines only include ecco.h) |
42 |
|
- throughout : add missing CCP switches, rm unused variables, |
43 |
|
and rm un-necessary CPP switches |
44 |
|
- throughout gencost routines : replace modelstartdate with |
45 |
|
gencost_startdate when needed |
46 |
|
- cost_bp_read.F : use arguments, instead of common blocs |
47 |
|
so that it can be used also by (new) cost_gencost_bpv4.F |
48 |
|
- ecco_init_varia.F : initialize RHOsumGlob_0, VOLsumGlob_0 |
49 |
|
- ecco_phys.F : compute etanFull |
50 |
|
- ecco_readparms.F : rename using_topex as using_tpj, add |
51 |
|
bpv4-grace to gencost list, initialize added parameters |
52 |
|
- ecco_summary.F : include SIZE.h needed for augmented ecco.h |
53 |
|
|
54 |
|
checkpoint65e (2014/09/28) |
55 |
|
o pkg/obcs: |
56 |
|
- replaced the just-added CPP options with run-time variables |
57 |
|
(see pkg/obcs/OBCS_PARAMS.h for details) |
58 |
|
o pkg/obcs: |
59 |
|
- add additional CPP options for sponge boundary layers |
60 |
|
(see pkg/obcs/OBCS_OPTIONS.h for details) |
61 |
|
o pkg/atm_phys: |
62 |
|
- implement simple (obliquity only, assuming circular planet orbit) |
63 |
|
seasonal cycle for incoming insolation ; used when run-time parameter |
64 |
|
"select_incSW" is set to 1 ; by default (=0), uses old unchanged formula. |
65 |
|
o pkg/exf, pkg/ecco, pkg/ctrl: |
66 |
|
- add ctrlUseGen and .NOT.ctrlUseGen exclusive brackets |
67 |
|
- activate gentim2d for xx_atemp,xx_aqh,xx_swdown,xx_lwdown,xx_precip |
68 |
|
- implement gentim2d for xx_tauu, xx_tauv |
69 |
|
o pkg/ctrl, pkg/ecco : |
70 |
|
- fix and complement the generic controls implementation |
71 |
|
o pkg/exf/exf_getclim.F, exf_getffields.F, exf_getsurfacefluxes.F, |
72 |
|
pkg/shelfice/shelfice_thermodynamics.F, |
73 |
|
verification/hs94.1x64x5/code_ad/ctrl_map_gentim2d.F, |
74 |
|
verification/hs94.1x64x5/code_oad/ctrl_map_gentim2d.F : |
75 |
|
- add weight in CTRL_GET_GEN calls |
76 |
|
o pkg/ctrl : |
77 |
|
- ctrl_get_gen.F : add weight as input parameter, and apply |
78 |
|
it directly rather than using smooth_correl2Dw (to be retired). |
79 |
|
- ctrl_map_gentim2d.F : add wgentim2d in CTRL_GET_GEN call |
80 |
|
o pkg/ctrl : |
81 |
|
- introduce run time switch ctrlUseGen (in ctrl.h, ctrl_check.F, |
82 |
|
ctrl_init_variables.F, ctrl_readparms.F, ctrl_summary.F) |
83 |
|
- re-activate ctrl_summary (call in ctrl_init.F) |
84 |
|
o pkg/ctrl/ctrl_cost_gen.F : |
85 |
|
- fix CCP brackets, remove un-necessary myiter, mytime |
86 |
|
o pkg/ecco, pkg/ctrl : |
87 |
|
- remove cost_genctrl.F (now pkg/ctrl/ctrl_cost_driver.F) |
88 |
|
- remove cost_forcing_gen.F (now pkg/ctrl/ctrl_cost_gen2d.F) |
89 |
|
- add ctrl_cost_driver.F (replaces pkg/ecco/cost_genctrl.F) |
90 |
|
- add ctrl_cost_gen2d.F (replaces pkg/ecco/cost_forcing_gen.F) |
91 |
|
|
92 |
|
checkpoint65d (2014/09/15) |
93 |
|
o pkg/ctrl/CTRL_GENARR.h, ctrl_readparms.F : |
94 |
|
- add xx_genarr2d_bounds,xx_genarr3d_bounds, |
95 |
|
xx_genarr2d_numsmooth, xx_genarr3d_numsmooth |
96 |
|
o pkg/ctrl/ctrl_map_ini_genarr.F : |
97 |
|
- remove compilation failure |
98 |
|
- replace hard coded example |
99 |
|
- use ctrl_map_ini_gen2D, 3D |
100 |
|
o pkg/ctrl/ctrl_pack.F, ctrl_unpack.F : |
101 |
|
- on/off switch based upon xx_genarr2d_weight,3d |
102 |
|
o src/packages_init_variables.F : |
103 |
|
- regroup pkg/estimation calls |
104 |
|
- remove CTRL_MAP_INI, CTRL_MAP_INI_ECCO |
105 |
|
(moved to ctrl_init_variables) |
106 |
|
o cost/cost_init_varia.F : |
107 |
|
- remove ecco_cost_init_varia |
108 |
|
(moved to ecco_init_varia) |
109 |
|
o ctrl/ctrl_init_variables.F : |
110 |
|
- add CTRL_MAP_INI, CTRL_MAP_INI_ECCO |
111 |
|
- add CTRL_MAP_INI_GENARR, SEAICE_CTRL_MAP_INI |
112 |
|
o ctrl/ctrl_map_ini.F : |
113 |
|
- remove ctrl_map_ini_genarr, seaice_ctrl_map_ini |
114 |
|
(moved to ctrl_init_variables) |
115 |
|
o ctrl/ctrl_map_ini_ecco.F : |
116 |
|
- remove ECCO_PHYS (mv to ecco_init_varia) |
117 |
|
- remove seaice_ctrl_map_ini (mv to ctrl_init_variables) |
118 |
|
o ecco/ecco_ad_diff.list : |
119 |
|
- add ecco_init_varia.f |
120 |
|
o ecco/ecco_init_varia.F |
121 |
|
- new routine |
122 |
|
o pkg/streamice: |
123 |
|
- move call to STREAMICE_INITIALIZE_PETSC from the_model_main.F |
124 |
|
to streamice_init_fixed.F ; fix setting of STREAMICEisOn. |
125 |
|
- from model/src, only call pkg/streamice routines if useStreamIce is TRUE. |
126 |
|
o pkg/generic_advdiff: |
127 |
|
- fix bug causing negatives in GAD_SMOLARKIEWICZ_HACK, introduced 8/8/2014. |
128 |
|
o pkg/exf: |
129 |
|
- exf_getffields.F : add xxg_atemp, xxg_aqh, xxg_swdown, xxg_lwdown, |
130 |
|
xxg_precip capability |
131 |
|
- exf_wind.F : no need for ALLOW_WSPEED_CONTROL cpp switch |
132 |
|
o pkg/ctrl: |
133 |
|
- ctrl_pack.F, ctrl_unpack.F : omit (un)packing of undefined xx_gentim2d |
134 |
|
o model/src/load_fields_driver.F : |
135 |
|
- move call to CTRL_MAP_GENTIM2D ahead of BULKF_FIELDS_LOAD, EXF_GETFORCING |
136 |
|
so xx_gentim2d can be applied to e.g. exf fields in a timely manner. |
137 |
|
o OpenAD verification experiments: |
138 |
|
- Include explicitly AUTODIFF_OPTIONS.h, COST_OPTIONS.h, and CTRL_OPTIONS.h |
139 |
|
in src files (to enable to skip the ECCO_CPPOPTIONS.h); |
140 |
|
for now, only in pkgs used in OpenAD verification experiments. |
141 |
|
- Change all except one (halfpipe_streamice) OpenAD experiments to use pkg |
142 |
|
specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h & CTRL_OPTIONS.h) |
143 |
|
instead of using ECCO_CPPOPTIONS.h (with all relevant options in it). |
144 |
|
This applies to both TAF (*/code_ad/) and OpenAD (*/code_oad/) tests. |
145 |
|
o OpenAD verification tests: |
146 |
|
- finish removing ALLOW_AUTODIFF_OPENAD (replaced by ALLOW_OPENAD); |
147 |
|
- finish replacing ALLOW_AUTODIFF_TAMC by ALLOW_AUTODIFF (except for |
148 |
|
tape/storage which are specific to TAF/TAMC) in pkgs used in OpenAD exp. |
149 |
|
- leave ALLOW_AUTODIFF_TAMC undef in OpenAD verification tests (*/code_oad/) |
150 |
|
and remove local copy of "tamc.h" (needed only if ALLOW_AUTODIFF_TAMC). |
151 |
|
o model/src & generic_advdiff: |
152 |
|
- change hard-coded loop-range in S/R APPLY_FORCING_T/S to set T & S |
153 |
|
forcing over 0:sNx+1, 0:sNy=1 (instead of just 1:sNx,1:sNy): Model |
154 |
|
dynamics requires valid tracer forcing only over tile interior but, for |
155 |
|
some diagnostics, may need to extend it over 1 point in tile halo region. |
156 |
|
- in gad_calc_rhs.F, update calls to gmredi_x/ytransport to get valid |
157 |
|
tendency over i,j_Min,Max range. This allows to simplfy i,j_Min,Max |
158 |
|
setting in temp/salt/ptracer_integrate.F |
159 |
|
o pkg/dic: |
160 |
|
- multiply tracer tendencies by maskInC (if ussing OBCS) before updating |
161 |
|
gchem tracers: this allows to skip the 2nd call to OBCS_APPLY_PTRACER |
162 |
|
in gchem_forcing_sep.F |
163 |
|
o pkg/autodiff & obcs: |
164 |
|
- add storage of current OB values for U & V (was already done for T & S). |
165 |
|
|
166 |
|
checkpoint65c (2014/08/30) |
167 |
|
o pkg/dic: |
168 |
|
- take out of dic_atmos.F the initialisation part (corresponding to istate=0) |
169 |
|
and move it to new S/R DIC_INI_ATMOS ; also simplify the dependencies for |
170 |
|
AD compilers (but still a Pb with multi-threading and Ajoint dependencies). |
171 |
|
o verification: |
172 |
|
- new experiment testing OBCS and DIC pkgs, using params & output from |
173 |
|
tutorial_global_oce_biogeo but limited to a sub-domain around Drake |
174 |
|
passage: take OBCS from the last year of a 2 yrs simulation and initial |
175 |
|
conditions from t=1.yr while keeping the same forcing. |
176 |
|
o model/src: |
177 |
|
- when allowFreezing=T, only reset below freezing initial Temp to Tfreezing |
178 |
|
(at any k) if checkIniTemp is not set to FALSE (default checkIniTemp=T). |
179 |
|
o pkg/diagnostics (Stats-Diags): |
180 |
|
- re-write S/R DIAGSTATS_CALC (more similar to TARGET_NEC_SX part) to: |
181 |
|
a) refine region where stats are computed, excluding where arrhFac=0 ; |
182 |
|
b) fix missing interior mask (use with OBCS) in 3-D fields statistics; |
183 |
|
c) extend regional stats over the region edges (for U or V pt location). |
184 |
|
o pkg/gchem: |
185 |
|
- add a (2nd) call to OBCS_APPLY_PTRACER in gchem_forcing_sep.F (needed since |
186 |
|
pkg/dic is currently changing/updating ptracers values beyond the OB). |
187 |
|
o verification (hs94): |
188 |
|
- convert Held & Suarez external_forcing.F (from hs94.cs, with Sigma-coords |
189 |
|
bits) to apply_forcing.F and undef USE_OLD_EXTERNAL_FORCING in experiments |
190 |
|
hs94.cs-32x32x5 and tutorial_held_suarez_cs ; also use the same version of |
191 |
|
apply_forcing.F in 2D hs94 (fwd, ad & oad) but keep LatLon hs94 unchanged. |
192 |
|
o pkg/ptracers: |
193 |
|
- implement Adams-Bashforth on pTracers (instead of on tracer tendency), |
194 |
|
switched on by setting PTRACERS_doAB_onGpTr=F (default set to doAB_onGtGs) |
195 |
|
- change exp4 secondary test (input.nlfs) to test AB on T & S & pTracer |
196 |
|
with AB-2 code (so that it get tested). |
197 |
|
o model/src: |
198 |
|
- allow to apply Adams-Bashforth on Temp & Salt (instead of on gT,gS) |
199 |
|
with AB-2 code (previously only available with AB-3 code). |
200 |
|
Also move the code (call to ADAMS_BASHFORTH S/R) form thermodynamics.F |
201 |
|
to temp/salt_integrate.F (since the 2nd part of gt/sNm1 update is done |
202 |
|
there, by calling CYCLE_AB_TRACER). |
203 |
|
o pkg/generic_advdiff: |
204 |
|
- change Tracer argument (drop bi,bj indices) in S/R GAD_CALC_RHS, |
205 |
|
GAD_C2_ADV_R, GAD_U3_ADV_R, GAD_C4_ADV_R, GAD_DIFF_R, GAD_BIHARM_R |
206 |
|
+ also in GMREDI_X/Y/RTRANSPORT ; and update corresponding calls in |
207 |
|
S/R temp/salt/ptracers_integrate.F |
208 |
|
o model/src & pkg/ptracers: |
209 |
|
- remove common block variables gT,gS (in DYNVARS.h), except when |
210 |
|
USE_OLD_EXTERNAL_FORCING is defined; update TAF storage accordingly. |
211 |
|
- remove common block variable gPtr. |
212 |
|
o model/src & pkgs: |
213 |
|
- change gTracer (and/or tracer) argument (drop bi,bj indices) in S/R |
214 |
|
ADAMS_BASHFORTH(2&3), CYCLE_(AB_)TRACER, FREESURF_RESCALE_G, |
215 |
|
IMPLDIFF, SOLVE_TRIDIAGONAL & _PENTADIAGONAL, GAD_SOM_ADVECT, |
216 |
|
GAD_ADVECTION, GAD_CALC_RHS, GAD_IMPLICIT_R, TIMEAVE_CUMUL_DIF_1T |
217 |
|
+ change accordingly all calling S/R. |
218 |
|
- use local temperature/salinity/ptracer tendency array (without bi,bj) |
219 |
|
in S/R temp/salt/ptracers_integrate.F |
220 |
|
o pkg/seaice: |
221 |
|
- move computation of stress contributions to rhsU/V in s/r seaice_lsr |
222 |
|
to separate s/r seaice_lsr_rhsu/v in order to be able to re-use code |
223 |
|
- make u/vIceC local variables if SEAICE_CGRID is defined only to be used |
224 |
|
in seaice_lsr |
225 |
|
- seaice_lsr.F: make local 4D arrays UXX, VYY, etc 2D |
226 |
|
in s/r seaice_lsr_calc_coeffs |
227 |
|
o pkg/mdsio: |
228 |
|
- in MDS_READ/WRITE_FIELD, stop if file-name (+prefix) is too long |
229 |
|
(e.g., > MAX_LEN_MBUF -90 ) or, in INI_MODEL_IO, if mdsioLocalDir is |
230 |
|
too long (e.g., > MAX_LEN_FNAM/2 ) |
231 |
|
|
232 |
|
checkpoint65b (2014/08/12) |
233 |
|
o pkg/matrix: |
234 |
|
- pass, as argument, updated tracer field to S/R MATRIX_STORE_TENDENCY_EXP |
235 |
|
o model/src: |
236 |
|
- fix initialisation of geothermalFile; compile geothermal-flux code in |
237 |
|
natl_box verification experiment. |
238 |
|
o model/src & pkg/down_slope: |
239 |
|
- push the k loop inside S/R TIMESTEP_TRACER (now called outside the k loop). |
240 |
|
- in dwnslp_apply.F, update tracer tendency instead of the future tracer |
241 |
|
field and call S/R DWNSLP_APPLY before TIMESTEP_TRACER; this affects |
242 |
|
results at machine truncation level: update output of experiments |
243 |
|
global_ocean.90x40x15.dwnslp (FWD) and lab_sea.noseaicedyn (AD). |
244 |
|
o pkg/diagnostics (Stats-Diags): |
245 |
|
- do not cumulate the full volume when DIAGNOSTICS_FILL is |
246 |
|
called with bibjFlg < 0 (no increment of the counter for 2D/3D diag); |
247 |
|
This fix the mean statistics when DIAGNOSTICS_FILL is called multiple |
248 |
|
times (but Min,Max and StD are still wrong). |
249 |
|
o model/src: |
250 |
|
- add geothermal flux forcing: read in ini_forcing.F as time-constant |
251 |
|
field "geothermalFlux" applied in S/R APPLY_FORCING_T (apply_forcing.F) |
252 |
|
o model/src: |
253 |
|
- move CYCLE_TRACER calls from tracers_correction_step.F to temp/salt/ptracer |
254 |
|
_integrate.F so that, when leaving S/R THERMODYANMICS, theta,salt and pTrac |
255 |
|
arrays are already updated while adjustments (filters, conv.adjustment) are |
256 |
|
still applied later, in S/R TRACERS_CORRECTION_STEP. |
257 |
o model/src: |
o model/src: |
258 |
- store in common bloc array "rhoInSitu" the virtual potential temperature |
- store in common bloc array "rhoInSitu" the virtual potential temperature |
259 |
anomaly that is used to compute geopotential: this make the atmos code |
anomaly that is used to compute geopotential: this make the atmos code |
332 |
- collect T & S forcing tendency into local 2-D array (passed as argument to |
- collect T & S forcing tendency into local 2-D array (passed as argument to |
333 |
apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency. |
apply_forcing S/R); add 3-D diagnostics for temp & salt forcing tendency. |
334 |
affects results at machine truncation level (e.g., ocean: if using |
affects results at machine truncation level (e.g., ocean: if using |
335 |
SHORTWAVE_HEATING and atmos:, if using FrictionHeating or (atm_Rq<>0) |
SHORTWAVE_HEATING ; atmos: if using FrictionHeating or (atm_Rq<>0) moist |
336 |
moist correction due to vertical advection). |
correction due to vertical advection). |
337 |
- update output of experiments: fizhi-cs-32x32x40 (13 digits), |
- update output of experiments: fizhi-cs-32x32x40 (13 digits), |
338 |
global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml: |
global_ocean.cs32x15 (fwd: icedyn, seaice, thsice, all 3 @ 11d; adm & tml: |
339 |
seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13), |
seaice_dynmix & thsice, fwd grd @ 3 & 8), hs94.1x64x5 (ad grd @ 13), |