4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
- remove (comment out) diagnostics SIuwind,SIvwind,SIfu,SIfv (duplicate of |
9 |
|
EXFuwind,EXFvwind,oceTAUX,oceTAUY) and point them to their equivalent. |
10 |
|
- add diagnostics of wind-stress over seaice (SItaux,SItauy) and seaice |
11 |
|
fraction weighted wind stress over ocean+seaice (SIatmTx,SIatmTy). |
12 |
|
o pkg/diagnostics: |
13 |
|
- small piece of code to rename (old) diagnostics, when namelist is processed. |
14 |
|
o model/src: |
15 |
|
- new run-time param (useMin4hFacEdges) to select method for setting hFacW,S: |
16 |
|
originally, set as minimum of adjacent hFacC factor ; now (new default) |
17 |
|
computed from rSurfW,S and rLowW,S by applying same rules as for hFacC. |
18 |
|
Only matters when useShelfIce=T with particular ice-shelf cavity geometry. |
19 |
|
o pkg/seaice: |
20 |
|
- add momemtum advection, off by default, still in test phase |
21 |
|
most of the momentum advection code is adapted and reused from mom_vecinv |
22 |
|
o pkg/mom_vecinv: |
23 |
|
- pass these runtime flags: |
24 |
|
selectVortScheme, highOrderVorticity, upwindVorticity, useJamartMomAdv |
25 |
|
as formal parameters to s/r mom_vi_u/v_coriolis, mom_vi_u/v_coriolis_c4, |
26 |
|
so that these routines can also be used in pkg/seaice. |
27 |
|
|
28 |
|
checkpoint66g (2017/04/24) |
29 |
|
o model/src: |
30 |
|
- more robust ordering of column thickness integral (=Sum_k(drF*hFac) ) |
31 |
|
to get same expression (regarding machine truncation) in different places |
32 |
|
in ini_masks_etc.F (e.g., rSurfC,W,S is now exactly zero when it should). |
33 |
|
Update forward output of experiments: global_ocean.cs32x15 (all 5 except |
34 |
|
viscA4), isomip (x3), tutorial_global_oce_in_p & tutorial_plume_on_slope. |
35 |
|
o pkg/shelfice: |
36 |
|
- ALLOW_SHIFWFLX_CONTROL: move setting of maskSHI from shelfice_update_masks.F |
37 |
|
to shelfice_init_fixed.F |
38 |
|
- change S/R SHELFICE_UPDATE_MASKS to SHELFICE_INIT_DEPTHS (still called from |
39 |
|
ini_masks_etc.F for now) to update ocean upper boundary position according |
40 |
|
to ice-shelf topography (instead of directly updating hFacC). |
41 |
|
o model/src: |
42 |
|
- move call to CTRL_INIT & CTRL_ADMTLM from the middle to the bottom of |
43 |
|
packages_init_fixed.F to allow other pkgs to set mask and weight fields. |
44 |
|
|
45 |
|
checkpoint66f (2017/04/06) |
46 |
|
o model/src: |
47 |
|
- add specific run-time param to select level of printed plot-field-maps, |
48 |
|
set by default to debugLevel. Remove internal param "printDomain". |
49 |
|
o pkg/seaice: |
50 |
|
- add flag to add snow mass to seaiceMassC/U/V, the default is |
51 |
|
SEAICEaddSnowMass=.FALSE., not to change previous results |
52 |
|
o pkg/bling |
53 |
|
- Bug fix in bling_production regarding unit conversion for diagnostics |
54 |
|
being put in the wrong place |
55 |
|
o model/src: |
56 |
|
- add back recomputation of rSurfW & S to ensure consistent column thickness |
57 |
|
(needed for rStar) between Sum_k(hFac*drF) and rSurf-rLow, for now only |
58 |
|
when using pkg/shelfice; was initially added on 2012/06/01 (ini_masks_etc.F |
59 |
|
revision 1.51) but was removed accidentally on 2014/02/08 (v1.53). |
60 |
|
o pkg/autodiff: |
61 |
|
- clean-up "checkpoint.flow" |
62 |
|
o pkg/rw (Contribution from Jody Klymak): |
63 |
|
option to set mds file suffix as function of time in simulation: |
64 |
|
*) new input parameter "rwSuffixType" (read from PARM03 namelist) |
65 |
|
to select file suffix format; by default (=0), use iteration number; |
66 |
|
*) add simple routine to return file suffix according to rwSuffixType; |
67 |
|
*) in model/src and in most pkgs (except: atm2d, fizhi, regrid & streamice), |
68 |
|
use new S/R to get file suffix, except for debug output file (diagFreq) |
69 |
|
and pkgs offline & rbcs input files. |
70 |
|
o pkg/rw: |
71 |
|
- uniform processing of "I10" suffix across writing fld routines; used to |
72 |
|
simplify debug writing of cg2/3d_b/x in solve_for_pressure.F & post_cg3d.F |
73 |
|
(similar to cg3d.F, cg3d_ex0.F) |
74 |
|
o pkg/mom_vecinv: |
75 |
|
- highOrderVorticity in selectVortScheme=2 case: fix c4 coeff in splitted |
76 |
|
vorticity flux (keep same sum in case vBarXm=vBaXp, uBarYm=uBarYp). |
77 |
|
o pkg/bling: |
78 |
|
- Many small changes intended to clean the code. |
79 |
|
Unnecessary ADJOINT_SAFEs removed ; |
80 |
|
removed BLING_COST.h BLING_CTRL.h bling_cost.F ; |
81 |
|
diagnostics added. |
82 |
|
|
83 |
|
checkpoint66e (2017/03/14) |
84 |
|
o pkg/exf: |
85 |
|
- interpolation with #undef EXF_INTERP_USE_DYNALLOC: move buffer size |
86 |
|
definition outside EXF_PARAM.h in new header file: EXF_INTERP_SIZE.h; |
87 |
|
use fixed size buffer (passed to S/R EXF_INTERP & EXF_INTERP_UV) to |
88 |
|
avoid any dynamic allocation ; |
89 |
|
- S/R EXF_CHECK: add new check & stop when file-name is defined but not |
90 |
|
read-in ; add warning when file is read-in but not used within pkg/exf ; |
91 |
|
+ check for buffer-size (if #undef EXF_INTERP_USE_DYNALLOC). |
92 |
|
- update exf_summary.F (print {FLD}RepCycle). |
93 |
|
o verification/global_with_exf: |
94 |
|
- switch on exf interpolation in AD test (just like the forward test) |
95 |
|
o pkg/mom_vecinv: |
96 |
|
- add storage directives to avoid recomputations within mom_vecinv.F |
97 |
|
which were generating seg. fault with gfortran -devel |
98 |
|
o pkg/ctrl, pkg/smooth: |
99 |
|
- initialize array halos which were generating seg. fault with |
100 |
|
gfortran -devel in adjoint mode |
101 |
|
o pkg/exf: |
102 |
|
- for each input field, enable to specify a field specific repeat-cycle |
103 |
|
({FLD}RepCycle) which defaults to pkg/exf main "repeatPeriod". |
104 |
|
o verification/lab_sea: |
105 |
|
- update AD results of primary test and noseaicedyn test after switching |
106 |
|
to new version of TAF (5.3.13 vs 5.3.2 before); agreement with gradient |
107 |
|
check stays about the same. |
108 |
|
o pkg/exf: |
109 |
|
- fix bug in exf_zenithangle.F for cases select_ZenAlbedo > 0 with useCAL=T. |
110 |
|
- exf_check: MAX_LAT_INC need only be "loc_nlat-1", not equal to loc_nlat |
111 |
|
o pkg/bling, USE_EXFCO2 code: |
112 |
|
- add parameter "apco2RepCycle" (set to pkg/exf "repeatPeriod" by default); |
113 |
|
- update calls to EXF S/R (use new version: EXF_INIT_FLD & EXF_SET_FLD). |
114 |
|
o pkg/exf: |
115 |
|
- rename S/R EXF_INIT to EXF_INIT_VARIA ; |
116 |
|
- add arguments: fldName (for debug msg) and fldRepeatCycle (set to |
117 |
|
repeatPeriod) to S/R EXF_SET_UV and to S/R EXF_SET_GEN (renamed EXF_SET_FLD) |
118 |
|
and update calls in pkg/exf calling S/R (exf_getffields.F & exf_getclim.F) ; |
119 |
|
- add argument: fldName (for debug msg) to S/R EXF_INIT_GEN (renamed |
120 |
|
EXF_INIT_FLD) and update calls in exf_init_varia.F |
121 |
|
- For now, for backward compatibility, keep a simplified version of S/Rs |
122 |
|
EXF_SET_GEN & EXF_INIT_GEN in file exf_set_gen.F |
123 |
|
- add and pass new arguments: fldName (for debug msg) and fldRepeatCycle |
124 |
|
to S/R EXF_GetFFieldRec ; update calls in pkg/obcs/obcs_exf_load.F |
125 |
|
o tools/genmake2: |
126 |
|
- replace "bc -l" (only used once) by "expr" (already used). |
127 |
|
o verification/global_ocean.cs32x15: |
128 |
|
- turn off pkg/cal (useCAL=F) in secondary FWD exp. "icedyn". |
129 |
|
Note: exf setting (data.exf) can be compared to other exf secondary exp |
130 |
|
"seaice" (kept with useCAL=T) which has same time dependent forcing. |
131 |
|
|
132 |
|
checkpoint66d (2017/02/13) |
133 |
|
o pkg/exf: |
134 |
|
- remove setting of useCAL=T when using pkg/exf (useEXF=T); add warning |
135 |
|
early on (in packages_boot.F) to stress this change in pkg setting. |
136 |
|
- In (most) verification exp. that use pkg/exf, add useCAL=.TRUE. to data.pkg |
137 |
|
o model/src: |
138 |
|
- move call to ecco_phys to end of time step; this may induce minor |
139 |
|
cost function changes by shifting time averages by one time step |
140 |
|
for some variables; this revision resulted in changed adjoint results |
141 |
|
in MITgcm_contrib/verification_other/global_oce_cs32 |
142 |
|
o pkg/exf: |
143 |
|
- Change EXF_READ_EVAP to only activate code within #ifdef ALLOW_ATM_TEMP ; |
144 |
|
this prevents to read evap when ALLOW_ATM_TEMP is undef and other fields, |
145 |
|
e.g. precip, are not available. |
146 |
|
o pkg/flt: |
147 |
|
- flt_init_varia.F: use pickupSuff if specified |
148 |
|
- add code (within #ifdef DEVEL_FLT_EXCH2) and test case as a first, |
149 |
|
intermediate, step towards completing pkg/exch2 support within pkg/flt; |
150 |
|
ifdef DEVEL_FLT_EXCH2 then: |
151 |
|
- flt_init_fixed.F: comment out stop |
152 |
|
- flt_exch2.F: conserve ipart, jpart (grid coordinates) |
153 |
|
- exch2_recv_get_vec.F: transform ipart, jpart (grid coordinates) |
154 |
|
- flt_mapping.F: attempt to fix longitude diagnostic near date-line |
155 |
|
- flt_init_varia.F: hack initialization (for testing purposes w. LLC90) |
156 |
|
o tools/genmake2 & pkg/pkg_depend: |
157 |
|
- define new type of pkg dependency rule ("=pkg_x"), less strict than |
158 |
|
the "+" rule, that add the dependent pkg (pkg_x) unless it's disabled |
159 |
|
(-pkg_x in packages.conf). |
160 |
|
- change pkg/exf dependency rule from "exf +cal" to "exf =cal"; |
161 |
|
- add "+cal" to dependency list of pkg/ecco (needed to compile). |
162 |
|
- simplify FWD experiment "offline_exf_seaice" by removing pkg/cal. |
163 |
|
o utils/matlab: |
164 |
|
- adding ocean_basin routines for defining basin masks. |
165 |
|
o pkg/exf: |
166 |
|
- new S/R EXF_GETFFIELD_START replacing EXF_GETFIELD_START, but with more |
167 |
|
arguments, allowing to check (and stop) if parameter setting of |
168 |
|
{FLD}startdate1 & date2 and of {FLD}StartTime are consistent with |
169 |
|
useCAL= T or F. For now, kept a simplified version of EXF_GETFIELD_START |
170 |
|
for backward compatibility. |
171 |
|
- change accordingly calls in exf_init_fixed.F + default {FLD}StartTime in |
172 |
|
exf_readparms.F ; apply same changes to pkg/icefront (for SGRunOff field). |
173 |
|
o pkg/bling (USE_EXFCO2 code): |
174 |
|
- fix missing setting of apco2StartTime according to apco2startdate1 & date2 |
175 |
|
by adding a call to S/R EXF_GETFFIELD_START. |
176 |
|
o pkg/exf: |
177 |
|
- allows to compile without pkg/cal (but disabled by current dependency |
178 |
|
rules, i.e., default "pkg/pkg_depend"). Minimal changes to enable to |
179 |
|
run with useCAL=F ; this involves setting directly {FLD}StartTime instead |
180 |
|
of {FLD}startdate1 & date2 ; consistency check not yet coded. |
181 |
|
o verification/global_ocean.cs32x15: |
182 |
|
- fix all data.exf for a shift of 1 day in all field startdate1 so that it now |
183 |
|
corresponds to middle of 1rst month; update outputs (2 fwd + 3 adm + 3 tlm). |
184 |
|
o pkg/exf: |
185 |
|
- allow to use EXF_ZENITHANGLE without pkg/cal + simplify (saving some |
186 |
|
calculations); change FWD experiment global_ocean.cs32x15 |
187 |
|
(#define ALLOW_ZENITHANGLE) to test/check that this code compiles. |
188 |
|
o pkg/exf: |
189 |
|
- In preparation for addition to NAMELIST, rename internal (_RL) parameter |
190 |
|
{FIELD}startdate to {FIELD}StartTime |
191 |
|
Note: new name also fit better the content, i.e, a start time in second. |
192 |
|
o eesupp/src: |
193 |
|
- add 1 argument to S/R EEBOOT & EEBOOT_MINIMAL for interface with ESMF |
194 |
|
o pkg/exf: |
195 |
|
- add option ALLOW_READ_TURBFLUXES (and corresponding set of parameters) |
196 |
|
to allow to read-in Sensible & Latent Heat flux ; |
197 |
|
- simplify pkg/exf main options: |
198 |
|
1) move small piece of code (case ALLOW_ATM_TEMP undef) out of |
199 |
|
exf_bulkformulae.F into exf_wind.F so that exf_bulkformulae.F is |
200 |
|
compiled only when both ALLOW_ATM_TEMP & ALLOW_BULKFORMULAE are defined; |
201 |
|
2) make call to EXF_RADIATION and to EXF_WIND independent of CPP option |
202 |
|
ALLOW_BULKFORMULAE which now only applies to S/R EXF_BULKFORMULAE ; |
203 |
|
3) improve options documentation in EXF_OPTIONS.h. |
204 |
|
o pkg/ecco: |
205 |
|
- cost_gencost_customize.F,ecco.h,ecco_phys.F,ecco_readparms.F, and |
206 |
|
ecco_summary.F: add passive tracer cost functions to gencost; |
207 |
|
m_ptracer and m_boxmean_ptracer |
208 |
|
o pkg/ctrl: |
209 |
|
- ctrl_map_forcing.F: pass myIter and myTime to ctrl_map_forcing as input |
210 |
|
parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing; add to list |
211 |
|
of implemented gentim2d contol parameters: xx_qnet, xx_empmr, xx_qsw, |
212 |
|
xx_sst, xx_sss, xx_pload, xx_saltflux, xx_fu, xx_fv, xx_fe, xx_fn |
213 |
|
o model/src: |
214 |
|
- forward_step.F: pass myIter and myTime to ctrl_map_forcing as input |
215 |
|
parameters; move myIter .EQ. nIter0 inside ctrl_map_forcing |
216 |
|
o pkg/exf: |
217 |
|
- exf_getffields.F: add to list of implemented gentim2d contol parameters: |
218 |
|
xx_lwflux, xx_swflux, xx_evap, xx_apressure, xx_areamask |
219 |
|
|
220 |
|
checkpoint66c (2017/01/19) |
221 |
|
o verification: |
222 |
|
- add new option "-src" to testreport to only produce source code (*.f), |
223 |
|
including taf output src code (if using '-adm'/'-tlm' option). |
224 |
|
o pkg/exf: |
225 |
|
- add saltflx :: Net upward salt flux in psu.kg/m^2/s |
226 |
|
o pkg/diagnostics: |
227 |
|
- add run-time variable diagMdsDir to specify a subdirectory for |
228 |
|
diagnostic output when mds is being used and mdsioLocalDir is not. |
229 |
|
o pkg/mnc: |
230 |
|
- mnc_utils.F: edit stop message |
231 |
|
o pkg/autodiff: |
232 |
|
- autodiff_ini_model_io.F: PRINT_MESSAGE, clean-up comments, add _*_MASTER, |
233 |
|
add HAVE_SYSTEM bracket around system call to mkdir |
234 |
|
o pkg/profiles: |
235 |
|
- profiles_findunit.F, profiles_init_fixed.F, profiles_interp.F, |
236 |
|
profiles_readparms.F: call ALL_PROC_DIE before 'stop' |
237 |
|
- profiles_ini_io.F: use PRINT_MESSAGE, clean-up comments, add _*_MASTER, |
238 |
|
add HAVE_SYSTEM bracket around system call to mkdir |
239 |
|
o pkg/smooth: |
240 |
|
- smooth_filtervar2d.F, smooth_filtervar3d.F: call ALL_PROC_DIE before 'stop' |
241 |
|
- smooth_init2d.F, smooth_init3d.F: move print statements to readparms |
242 |
|
- smooth_readparms.F: add cleaner print statements from smooth_init?d.F |
243 |
|
o pkg/exf: |
244 |
|
- check: count errors and stop cleanly at the end (call to ALL_PROC_DIE); |
245 |
|
issue error message when climsst_interpMethod.GT.0 and climsst_lon_inc > 500 |
246 |
|
generalize tests on interpMethod, nlat, and lon_inc to all exf variables. |
247 |
|
- summary: skip detailed field report if not used (empty file-name). |
248 |
|
o tools/xmakedepend: |
249 |
|
- In case line editor "ed" is missing, switch to "sed" command to clean-up |
250 |
|
Makefile from previous dependencies (anything after "# DO NOT DELETE" line). |
251 |
|
o pkg/exf: |
252 |
|
- change definition of "hflux" input file to always include Short-Wave; |
253 |
|
this is now consistent with hflux computation (if using bulk-formulae) |
254 |
|
and hflux diagnostic & documentation (in EXF_FIELDS.h). |
255 |
|
|
256 |
|
checkpoint66b (2016/12/01) |
257 |
|
o model & momentum pkgs: |
258 |
|
- implement fully implicit bottom friction combined with implicit surf. |
259 |
|
pressure, for now, only in hydrostic formulation: |
260 |
|
+ to use: compile with #define ALLOW_SOLVE4_PS_AND_DRAG in CPP_OPTIONS.h |
261 |
|
and run with selectImplicitDrag=2 ; |
262 |
|
+ currently missing diagnostics of bottom drag and vert. viscosity tendency; |
263 |
|
- partial implicit time-stepping (bot. friction + vert. visc first, then |
264 |
|
surf. press) corresponding to selectImplicitDrag=1 should be applicable |
265 |
|
to NH formulation but not available until we solve for surf. pressure |
266 |
|
increment (instead of full etaN). |
267 |
|
- change exp. global_ocean.cs32x15.thsice to test implicit bottom drag |
268 |
|
with implicit vertical viscosity. |
269 |
o pkg/seaice: add linear remapping scheme (Lipscomb 2001) to ITD model |
o pkg/seaice: add linear remapping scheme (Lipscomb 2001) to ITD model |
270 |
- this is a first version that includes many regularisations that may |
- this is a first version that includes many regularisations that may |
271 |
not all be necessary, to be sorted out, |
not all be necessary, to be sorted out, |
272 |
- turned on by runtime parameter SEAICEuseLinRemapITD (true by default) |
- turned on by runtime parameter SEAICEuseLinRemapITD (true by default) |
273 |
- change one verification experiment in seaice_itd to use and test new code |
- change one verification experiment in seaice_itd to use and test new code |
274 |
- seaice_growth: catch a case where the argument of log can be zero |
- seaice_growth: catch a case where the argument of log can be zero |
275 |
or smaller (important for code stability) |
or smaller (important for code stability) |
276 |
o model/src: |
o model/src: |
277 |
- modify SOLVE_DIAGONAL_LOWMEMORY version of solve_tridiagonal.F |
- modify SOLVE_DIAGONAL_LOWMEMORY version of solve_tridiagonal.F |