4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
8 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
9 |
|
o pkg/autodiff: more flexibility in zeroadj. |
10 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
11 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
12 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
13 |
|
special setup of gmredi for which the adjoint is stable |
14 |
|
enough for parameter optimization. |
15 |
|
o bridging the gap between eddy stress and GM. |
16 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
17 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
18 |
|
-> when using GM w/ GM_AdvForm: |
19 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
20 |
|
is applied either in the tracer Eq. or in momentum Eq. |
21 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
22 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
23 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
24 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
25 |
|
checkpoint59r |
26 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
27 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
28 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
29 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
30 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
31 |
|
mass points, when using mnc for output |
32 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
33 |
|
default (which is the value of getcon('UNDEF')) |
34 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
35 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
36 |
|
initialisation of never used fields |
37 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
38 |
|
versions |
39 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
40 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
41 |
|
are missing. |
42 |
|
o move from external_forcing_surf.F to ini_forcing.F |
43 |
|
the p-coord. hack consisting in using pLoad to set phi0surf ; |
44 |
|
update output of tutorial_global_oce_in_p (affected @ truncation level). |
45 |
|
o Freshen up a bit hs94.1x64x5, notably: |
46 |
|
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
47 |
|
exactConserv=.TRUE. |
48 |
|
o pkg/generic_advdiff: |
49 |
|
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
50 |
|
applies to files where Temperature & Salinity 2nd Order moments are used. |
51 |
|
o pkg/ptracers: add second-order moment advection schemes (80 and 81); |
52 |
|
this uses a dynamically allocated internal state data structure |
53 |
|
(#define PTRACERS_ALLOW_DYN_STATE in PTRACERS_OPTIONS.h) |
54 |
|
and requires a fortran 90 compiler |
55 |
|
|
56 |
|
checkpoint59q |
57 |
|
o pkg/mom_vecinv: Add energy & enstrophy conserving scheme (selectVortScheme=3) |
58 |
|
(from Sadourny, described by Burridge & Haseler, ECMWF Rep.4, 1977) |
59 |
|
o Refresh tutorial_global_oce_biogeo, notably: |
60 |
|
- change bathymetry (put back seamounts in ACC, use hFacs) |
61 |
|
- change EOS (POLY3 --> JMD95Z) |
62 |
|
- use Bryan-Lewis vertical diffusivity |
63 |
|
- use multidimensional advection |
64 |
|
- remove old virtual virtual in dic pkg, now done through ptracer pkg |
65 |
|
- change a couple of parameters in dic pkg |
66 |
|
o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F |
67 |
|
o pkg/obcs: change default to OBCSfixTopo = .true., |
68 |
|
- set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result |
69 |
|
- replace "debugMode" with "debugLevel .GE. debLevB" |
70 |
|
o implementation of TAF directives for gchem,cfc,dic |
71 |
|
o remove "exp5" (replaced by tutorial_deep_convection). |
72 |
|
o pkg/obcs: add code to fix topography gradients normal to open boundaries; |
73 |
|
this requires computing the index fields OB_Jn/Js/Ie/Iw in obcs_readparms; |
74 |
|
the code can be turned on by setting OBCSfixTopo = .true. in data.obcs |
75 |
|
--> changes results in exp4, seaice_obcs |
76 |
|
o tutorial_deep_convection : |
77 |
|
update the set-up and increase resolution and domain size ; start |
78 |
|
from pseudo initial conditions = output at t=120mn in order to see |
79 |
|
something happening when running testreport. |
80 |
|
o pkg/seaice: add os7mp as an advection scheme |
81 |
|
add check for advection schemes |
82 |
|
add a flag for restoring T and S underneath sea ice |
83 |
|
o pkg/my82: add netcdf-support and diagnostics |
84 |
|
o thsice pkg: |
85 |
|
- Now hsMax limits snow height by turning it into ice following |
86 |
|
flooding scheme (and now conserving energy) |
87 |
|
- Slight rewriting of the formula in thsice_calc_thick.F |
88 |
|
- Parameter rhowi eliminated to be replaced by floodFac = (rhosw-rhoi)/rhos |
89 |
|
--> changes results of global_ocean.cs32x15.icedyn and global_ocean.cs32x15.thsice |
90 |
|
|
91 |
|
checkpoint59p |
92 |
|
o gchem / dic / cfc : |
93 |
|
- add useDIC, useCFC , read from "data.gchem" (& hold in GCHEM.h); |
94 |
|
- add new parameter files: "data.dic" & "data.cfc" ; |
95 |
|
- various re-arrangement in initialisation & header file ; |
96 |
|
- fix tutorial_global_oce_biogeo for multi-threaded test. |
97 |
|
o pkg/dic: test for "pickup_dic" file when restarting ; |
98 |
|
if no pickup-file, can restart with a re-initialised pH (same as it did |
99 |
|
before) providing pickupStrictlyMatch is set to False. |
100 |
|
o change argument list of S/R PTRACERS_WRITE_PICKUP & MYPACKAGE_WRITE_PICKUP |
101 |
|
+ fix call to S/R GGL90_WRITE_PICKUP & DIC_WRITE_PICKUP |
102 |
|
o add a "warning" (to Error msg file) when an Active Tracer is not using AB-2 |
103 |
|
and staggerTimeStep is off (needed for stability of Internal-wave dynamics). |
104 |
|
o move out of PARAMS.h & data the last pieces of old-ptracer code: tauTr1ClimRelax, |
105 |
|
& lambdaTr1ClimRelax ; put those 2 params in PTRACERS_PARAMS.h & data.ptracers |
106 |
|
(note: not clear to me what lambdaTr1ClimRelax is still used for ...) |
107 |
|
o pkg/mom_vecinv: - new parameter "selectVortScheme" to select which |
108 |
|
scheme to use for vorticty-term ; |
109 |
|
- compute upwindVorticity=T case within mom_vi_u/v_coriolis_c4.F |
110 |
|
(with default selectVortScheme, return to original discretisation) |
111 |
|
- remove weird combination (e.g.: upwindVorticity & highOrderVorticity) |
112 |
|
o pkg/seaice: add a line to the summary to indicate grid type (B/C) |
113 |
|
o in mom_calc_visc, fix average value of viscAh_W & viscA4_W next to the |
114 |
|
bottom ; only used with variable horizontal viscosity and non-hydrostatic. |
115 |
|
also fix diagnostics VISCAHW & VISCA4W. |
116 |
|
|
117 |
|
checkpoint59o |
118 |
|
o dome/code/obcs_calc.F: avoid division by zero (detected using gfortran). |
119 |
|
o change the loop ordering in most gad_*_adv_x.F to improve vectorization: |
120 |
|
move a few statemens out the main loop into separate loops |
121 |
|
o pkg/shelfice: |
122 |
|
- sort out freshwater flux; convert freshwater fluxes to mass fluxes |
123 |
|
(kg/m^2/s), does not break tests, because in verification/isomip, |
124 |
|
rhoConstFresh=rhoConst (by accident) |
125 |
|
- rearrange computation of tLoc, sLoc, pLoc to make code more efficient |
126 |
|
- move S/R find_rho_scalar, pkg/ecco/sw_ptmp.F, pkg/ecco/sw_adtg.F into |
127 |
|
new file model/src/seawater.F, so that they are available for all pkgs. |
128 |
|
- convert potential temperature into in-situ temperature. This changes the |
129 |
|
isomip tests => update tests |
130 |
|
o add a flag writePickupAtEnd (default=true) to be able to suppress |
131 |
|
writing a pickup at the last timestep |
132 |
|
o tools/mpack-1.6 : |
133 |
|
- disable automake (not working) and autoconf (not needed). |
134 |
|
- update to version 1.6.4 which fix MD5 code on some 64 bits platforms |
135 |
|
also cleaner with much less compilation warnings. |
136 |
|
o pkg/profiles: |
137 |
|
rename profiles_interp_mean_genericgrid as profiles_interp_mean_gg |
138 |
|
(for "less than 32 characters name" compiler requirement) |
139 |
|
o pkg/obcs and pkg/exf: added capability to specify seaice open boundary |
140 |
|
conditions that have a different sampling frequency than S/T/U/V obcs |
141 |
|
o pkg/diagnostics (stats-diags): |
142 |
|
- fix global Min/Max in case 1 processor get only empty tiles |
143 |
|
o genmake2: replace (4 times) |
144 |
|
make genmake_tc_1.o >> genmake_warnings 2>&1 |
145 |
|
with |
146 |
|
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
147 |
|
echo $COMM >> genmake_warnings |
148 |
|
$COMM >> genmake_warnings 2>&1 |
149 |
|
to make genmake2 always see the value of CC as specified in the optfile. |
150 |
|
o generic_advdiff: - prather advection scheme (SOM) coded for CS-grid. |
151 |
|
- add diagnostics for 1srt & 2nd Order moments and sub-grid variance. |
152 |
|
- modify verification advect_cs test to test SOM-advection on CS-grid. |
153 |
|
o pkg/ctrl: |
154 |
|
- Rewrite of ctrl_map_ini_ecco.F, |
155 |
|
introducing a generic routine (ctrl_map_ini_gen.F). |
156 |
|
- Modification of ctrl_bound/adctrl_bound handling control vector bounds. |
157 |
|
|
158 |
|
checkpoint59n |
159 |
|
o pkg/diagnostics: for large number of diagnostics, store diagnostic mate |
160 |
|
number in dedicate array "hdiag": |
161 |
|
- new version of S/R DIAGNOSTICS_ADD2LIST : DIAGNOSTICS_ADDTOLIST |
162 |
|
with 1 more argument (mate number); modify old version DIAGNOSTICS_ADD2LIST. |
163 |
|
- many small changes (integer format) for large number of diagnostics |
164 |
|
- start to use DIAGNOSTICS_ADDTOLIST (necessary for diagnostics with |
165 |
|
a counter mate) in pkg diagnostics, ptracers, thsice & aim_v23. |
166 |
|
o add parameter rotateGrid and Euler angles EulerPhi/Theta/Psi. For |
167 |
|
usingSphericalGrid, this allows to define the rotated grid coordinates |
168 |
|
via phiMin/thetaMin/dxSpacing/dySpacing, etc., but then re-compute the |
169 |
|
geographical coordinates according to the inverse of the rotation defined |
170 |
|
by the Euler angles, so that Coriolis parameter and online-interpolation by |
171 |
|
exf works with the geographical coordinates on XC/YC/XG/YG. |
172 |
|
Naturally, this feature does not work with all packages, so some |
173 |
|
combinations are prohibited in config_summary (flt, flt_zonal, ecco, |
174 |
|
profiles), because there the coordinates are assumed to be regular |
175 |
|
spherical grid coordinates. |
176 |
|
o pkg/gmredi,ctrl,ecco,autodiff,grdchk and model/src,inc: |
177 |
|
- introduce isopycnal diffusion coefficient control. |
178 |
|
o tools/adjoint_options: |
179 |
|
- additional control vector components. |
180 |
|
o pkg/mnc: have mnc create marginally meaning full coordinate variables |
181 |
|
(that is the grid indices) if usingCurvilinearGrid and NOT EXCH2 |
182 |
|
o pkg/mypackage: |
183 |
|
- add example of read/write pickup for state-var ; |
184 |
|
- add entry points to the main code for state-vars diags & write-pickup. |
185 |
|
o pkg/exf: rewrite of exf_getffieldrec.F to properly deal with year |
186 |
|
transitions for useExfYearlyFields |
187 |
|
- add new subroutine that determines the file to read from for |
188 |
|
use*YearlyFields = .TRUE. and .FALSE. |
189 |
|
- add a verification experiment to global_with_exf that tests |
190 |
|
useExfYearlyFields with USE_EXF_INTERPOLATION defined |
191 |
|
o pkg/obcs/exf: add useOBCSYearlyFields (=.FALSE.) to obcs with exf in |
192 |
|
analogy to useExfYearlyFields; rearrange obcs_prescribe_read: two new |
193 |
|
subroutines (which could be generated from a template, because they are |
194 |
|
almost identical), for now they are included in obcs_prescribe_read.F for |
195 |
|
simplicity |
196 |
o pkg/exf: |
o pkg/exf: |
197 |
- add a little more diagnostic to exf_interp_read (in analogy to |
- add a little more diagnostic to exf_interp_read (in analogy to |
198 |
mds_read_field, can be turned off with debugLevel < debugLevA=1) |
mds_read_field, can be turned off with debugLevel < debugLevA=1) |