4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o change FIND_RHO to FIND_RHO_2D : |
8 |
|
pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK. |
9 |
|
o new pkg: cheapaml |
10 |
|
|
11 |
|
checkpoint61b |
12 |
|
o exch2: |
13 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
14 |
|
- no longer depend on the order sequence (N,S,E,W). |
15 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
16 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
17 |
|
- exch_UV_A-grid readily available (but not yet tested). |
18 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
19 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
20 |
|
get truncation error differences with adjoint exch. |
21 |
|
o exch2: |
22 |
|
- change index-bounds storage (moved from target to local tile, |
23 |
|
more intuitive this way) ; rename/remove some variables. |
24 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
25 |
|
|
26 |
|
checkpoint61a |
27 |
|
o exch2/matlab-topology-generator: |
28 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
29 |
|
had any effect on the solution). |
30 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
31 |
|
is exceeded |
32 |
|
o testreport: modify syntax of awk, so that it works also with |
33 |
|
awk, and not only with nawk and gawk |
34 |
|
|
35 |
|
checkpoint61 |
36 |
|
o autodiff |
37 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
38 |
|
This changes TAF subroutine argument list (ordering of active var.) |
39 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
40 |
|
To restore TAMC-compatibility, need following modifs: |
41 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
42 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
43 |
|
Tested TAF version is 1.9.22 |
44 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
45 |
|
|
46 |
|
checkpoint60 |
47 |
|
--->>> This is the last checkpoint for which generating the adjoint |
48 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
49 |
|
--->>> by default. |
50 |
|
--->>> Future checkpoints will ommit this flag by default. |
51 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
52 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
53 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
54 |
|
o pkg/autodiff: more flexibility in zeroadj. |
55 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
56 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
57 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
58 |
|
special setup of gmredi for which the adjoint is stable |
59 |
|
enough for parameter optimization. |
60 |
|
o bridging the gap between eddy stress and GM. |
61 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
62 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
63 |
|
-> when using GM w/ GM_AdvForm: |
64 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
65 |
|
is applied either in the tracer Eq. or in momentum Eq. |
66 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
67 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
68 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
69 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
70 |
|
|
71 |
|
checkpoint59r |
72 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
73 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
74 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
75 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
76 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
77 |
|
mass points, when using mnc for output |
78 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
79 |
|
default (which is the value of getcon('UNDEF')) |
80 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
81 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
82 |
|
initialisation of never used fields |
83 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
84 |
|
versions |
85 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
86 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
87 |
|
are missing. |
88 |
|
o move from external_forcing_surf.F to ini_forcing.F |
89 |
|
the p-coord. hack consisting in using pLoad to set phi0surf ; |
90 |
|
update output of tutorial_global_oce_in_p (affected @ truncation level). |
91 |
|
o Freshen up a bit hs94.1x64x5, notably: |
92 |
|
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
93 |
|
exactConserv=.TRUE. |
94 |
|
o pkg/generic_advdiff: |
95 |
|
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
96 |
|
applies to files where Temperature & Salinity 2nd Order moments are used. |
97 |
|
o pkg/ptracers: add second-order moment advection schemes (80 and 81); |
98 |
|
this uses a dynamically allocated internal state data structure |
99 |
|
(#define PTRACERS_ALLOW_DYN_STATE in PTRACERS_OPTIONS.h) |
100 |
|
and requires a fortran 90 compiler |
101 |
|
|
102 |
|
checkpoint59q |
103 |
|
o pkg/mom_vecinv: Add energy & enstrophy conserving scheme (selectVortScheme=3) |
104 |
|
(from Sadourny, described by Burridge & Haseler, ECMWF Rep.4, 1977) |
105 |
|
o Refresh tutorial_global_oce_biogeo, notably: |
106 |
|
- change bathymetry (put back seamounts in ACC, use hFacs) |
107 |
|
- change EOS (POLY3 --> JMD95Z) |
108 |
|
- use Bryan-Lewis vertical diffusivity |
109 |
|
- use multidimensional advection |
110 |
|
- remove old virtual virtual in dic pkg, now done through ptracer pkg |
111 |
|
- change a couple of parameters in dic pkg |
112 |
|
o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F |
113 |
|
o pkg/obcs: change default to OBCSfixTopo = .true., |
114 |
|
- set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result |
115 |
|
- replace "debugMode" with "debugLevel .GE. debLevB" |
116 |
|
o implementation of TAF directives for gchem,cfc,dic |
117 |
|
o remove "exp5" (replaced by tutorial_deep_convection). |
118 |
|
o pkg/obcs: add code to fix topography gradients normal to open boundaries; |
119 |
|
this requires computing the index fields OB_Jn/Js/Ie/Iw in obcs_readparms; |
120 |
|
the code can be turned on by setting OBCSfixTopo = .true. in data.obcs |
121 |
|
--> changes results in exp4, seaice_obcs |
122 |
|
o tutorial_deep_convection : |
123 |
|
update the set-up and increase resolution and domain size ; start |
124 |
|
from pseudo initial conditions = output at t=120mn in order to see |
125 |
|
something happening when running testreport. |
126 |
|
o pkg/seaice: add os7mp as an advection scheme |
127 |
|
add check for advection schemes |
128 |
|
add a flag for restoring T and S underneath sea ice |
129 |
|
o pkg/my82: add netcdf-support and diagnostics |
130 |
o thsice pkg: |
o thsice pkg: |
131 |
- Now hsMax limits snow heitght by turning it into ice following |
- Now hsMax limits snow height by turning it into ice following |
132 |
flooding scheme (and now conserving energy) |
flooding scheme (and now conserving energy) |
133 |
- Slight rewriting of the formula in thsice_calc_thick.F |
- Slight rewriting of the formula in thsice_calc_thick.F |
134 |
- Parameter rhowi eliminated to be replaced by floodFac = (rhosw-rhoi)/rhos |
- Parameter rhowi eliminated to be replaced by floodFac = (rhosw-rhoi)/rhos |
135 |
--> changes results of global_ocean.cs32x15.icedyn and global_ocean.cs32x15.thsice |
--> changes results of global_ocean.cs32x15.icedyn and global_ocean.cs32x15.thsice |
136 |
|
|
137 |
checkpoint59p |
checkpoint59p |
138 |
o gchem / dic / cfc : |
o gchem / dic / cfc : |