4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o external_fields_load: |
8 |
|
new S/R GET_PERIODIC_INTERVAL to calculate which time-record (and linear |
9 |
|
interpolation weights) to use in a periodic time-series ; do not divide by |
10 |
|
time-step to convert to integer: |
11 |
|
- this fixes case where externForcingPeriod is not multiple of time-step |
12 |
|
(Thanks to Christopher L. Wolfe) |
13 |
|
- this fixes case where externForcingPeriod is an odd multiple of time-step |
14 |
|
(was wrong by half of time-step); update results of tutorial_global_oce_in_p. |
15 |
|
store index of time-record which is currently loaded: |
16 |
|
- works without any assumption on sequence of calls to EXTERNAL_FIELDS_LOAD ; |
17 |
|
- needed for the adjoint but not yet used because of extensive recomputations; |
18 |
|
(to be fixed soon) |
19 |
|
|
20 |
|
checkpoint62v (2011/04/02) |
21 |
|
o verification/1D_ocean_ice_column added to test Ian Fenty's |
22 |
|
pkg/seaice_growth.F modifications for improving sea ice code differentiability |
23 |
|
o update output of exp4, internal_wave, seaice_obcs, tutorial_plume_on_slope |
24 |
|
(new velocity statistics after changing maskInW & maskInS definition) |
25 |
|
o pkg/generic_advdiff with OBCS: |
26 |
|
use maksInW & maskInS in advective flux and in biharmonic diffusion calculation: |
27 |
|
equivalent to assumption of no tracer gradient outside the OB region. |
28 |
|
This will affect the results if using obcs+biharmonic diffusion. |
29 |
|
update output_adm.txt of experiment bottom_ctrl_5x5 (not expected since no obc) |
30 |
|
o pkg/obcs: |
31 |
|
change definition of maskInW & maskInS: leave OB edges inside (maskIn=1) |
32 |
|
(e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still |
33 |
|
in Interior region. No impact on solution but affects Velocity monitor stats. |
34 |
|
o pkg/ptracers (adjoint) |
35 |
|
New option AUTODIFF_PTRACERS_SPLIT_FILES for writing separate |
36 |
|
tape file for each tracer |
37 |
|
o model/inc/src and pkg/autodiff: add parameters that allow to turn |
38 |
|
of parts of the adjoint code at run time. For now, there are only |
39 |
|
useKPPinAdMode, useGMrediInAdMode, and useSEAICEinAdMode. These |
40 |
|
parameters are set in data.pkg. |
41 |
|
This is the lazy coward's version of doing this, but still useful for |
42 |
|
debugging. In order to do it right, everything needs to be moved to |
43 |
|
pkg/autodiff. |
44 |
|
o pkg/autodiff: fix global_sum_tile_ad.F by resetting adsumPhi at |
45 |
|
the end; this fixes the adjoint balancing code for open boundaries. |
46 |
|
o pkg/ctrl: |
47 |
|
- change behavior of xx_${varname}period to be analogous to exf-conventions: |
48 |
|
xx_${varname}period = 0., means time-independent control part |
49 |
|
xx_${varname}period = -12., means one-year-periodic monthly control part |
50 |
|
- introduce helper routine ctrl_init_rec (part of ctrl_init.F) to |
51 |
|
clean up ctrl_init a little, remove unused variables |
52 |
|
- ctrl_init: fixed the handling of the start/endrec for obcs-variables |
53 |
|
- move "call cal_GetMonthsRec" from s/r ctrl_get_gen to s/r ctrl_get_gen_rec |
54 |
|
|
55 |
|
checkpoint62u (2011/03/15) |
56 |
|
o model/src: |
57 |
|
- for the adjoint, change NonLin-FreeSurf initialisation sequence: fill-in |
58 |
|
h0Fac from INITIALISE_FIXED and reset hFac to h0Fac in INITIALISE_VARIA ; |
59 |
|
- in initialise_varia.F (except for ALLOW_DEPTH_CONTROL) remove 2nd call to |
60 |
|
INI_DEPTHS, INI_MASKS_ETC & INI_LINEAR_PHISURF. |
61 |
|
o pkg/ctrl/obcs/ecco: |
62 |
|
- remove obsolete, unused, and partially broken code: |
63 |
|
ctrl_obcsvol/ctrl_obcsbal/ctrl_volflux and code within |
64 |
|
ALLOW_CTRL_OBCS_BALANCE |
65 |
|
- put a stop statement into ecco/cost_obcsvol.F, but also add |
66 |
|
cost_obcsvol to ecco_ad_diff.list |
67 |
|
o pkg/ecco: fix counting cost function contributions for obcs (code |
68 |
|
by Matt M.) and diffkr for diagnostics |
69 |
|
o pkg/ecco, pkg/ctrl, pkg/grdchk: |
70 |
|
add cost penalty terms for initial uvel, vvel, eta controls |
71 |
|
and I/O for prior error files |
72 |
|
o pkg/mdsio: |
73 |
|
move mds_check4file.F from eesupp/src to mdsio_check4file.F ; add option |
74 |
|
(new argument) to check for tiled file in mdsioLocalDir : this fix the |
75 |
|
restart from pickup_som , pickup_dic (& dic_co2atm) with mdsioLocalDir. |
76 |
|
o pkg/ctrl: |
77 |
|
- ctrl_obcsbal.F, ctrl_obcsvol.F: replace last calls of ctrl_getrec by |
78 |
|
ctrl_get_gen_rec, put a stop statement into ctrl_getrec. Remove |
79 |
|
unused and superfluous variables |
80 |
|
- ctrl_get_gen_rec.F: catch the case of xx_genperiod=0. |
81 |
|
o pkg/ecco |
82 |
|
- enable adjoint of Stevens OB |
83 |
|
o pkg/ctrl/ecco/grdchk: |
84 |
|
- remove global declaration of tmpfldx/yz and tmpfldx/yz2. |
85 |
|
Fortunately, we do not have any tests for the numerous cpp-flagged |
86 |
|
option of "obcs as control parameters" so we will never know |
87 |
|
if this is an improvement (but at least now things compile). |
88 |
|
- remove an obsolete initialization from ecco_cost_init_barfiles.F |
89 |
|
- fix some problems within never used ifdefs to make the code compile |
90 |
|
o pkg/obcs: |
91 |
|
- Refine Interior mask definition to work with more complex OB (e.g. |
92 |
|
if OB_Ie < OB_Iw); In case default setting is not sufficient, allows to |
93 |
|
read in Interior mask from file. Check if Interior mask is consistent |
94 |
|
with OB list of indices. |
95 |
|
o pkg/seaice |
96 |
|
- beginning code for a seaice tracer package, |
97 |
|
but currently only used for seaice age: SEAICE_AGE |
98 |
|
SEAICE_num = 4 |
99 |
|
iTracer = 1: area-weighted ice age |
100 |
|
= 2: volume-weighted ice age |
101 |
|
= 3, 4: template for one-year vs. multi-year ice |
102 |
|
data.seaice has new namelist SEAICE_PARM03 for arrays related to |
103 |
|
SEAICE_num |
104 |
|
|
105 |
|
checkpoint62t (2011/03/05) |
106 |
o pkg/obcs: |
o pkg/obcs: |
107 |
- obcs_apply_uv.F: change to a 2 steps method, first tangential component; |
- obcs_apply_uv.F: change to a 2 steps method, first tangential component; |
108 |
then normal component. This ensures that the normal component is set |
then normal component. This ensures that the normal component is set |
127 |
- add new param to scale curvilinear grid distance and area when using |
- add new param to scale curvilinear grid distance and area when using |
128 |
a different sphere radius from the grid-files. |
a different sphere radius from the grid-files. |
129 |
- test/check multi-threads EXCH applied to local variable (cg2d_x) |
- test/check multi-threads EXCH applied to local variable (cg2d_x) |
130 |
|
o adjoint: |
131 |
|
- enable adjoint of Stevens OB |
132 |
|
- add dummy_in_dynamics to enable extraction of ADJrhoinsitu |
133 |
|
(a bit delicate because of potentially modified adj. common block structure; |
134 |
|
current switch is ALLOW_AUTODIFF_MONITOR_DIAG, could be changed later) |
135 |
|
|
136 |
checkpoint62s (2011/02/15) |
checkpoint62s (2011/02/15) |
137 |
o pkg/seaice (seaice_growth v 1.112): |
o pkg/seaice (seaice_growth v 1.112): |