4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf (interpolation): |
8 |
|
- assume periodicity in X only if input field cover full longitude range. |
9 |
|
- improve search for lat. index (supposed to be faster, in ~log2(ny) steps, |
10 |
|
and should vectorise). |
11 |
|
- fix input lat of the 2 added row (in case we provide N.pole data). |
12 |
|
|
13 |
|
checkpoint63h (2011/12/30) |
14 |
|
o pkg/seaice: |
15 |
|
- change declaration of UVM from _RL to _RS in order to get B-grid |
16 |
|
uIce,vIce monitor when _RS = real*4 |
17 |
|
o pkg/offline: |
18 |
|
- new S/R OFFLINE_RESET_PARMS for resetting main-model params (switch off flags); |
19 |
|
- compute vertical velocity if not read from file (switch on exactConserv |
20 |
|
& staggerTimeStep); |
21 |
|
- fix output of ptracer monitor iter & time for default PTRACERS_monitorFreq. |
22 |
|
o verification: |
23 |
|
- update grid-files (in tutorial_held_suarez_cs/input and fizhi-cs-32x32x40/input) |
24 |
|
with grid-angle generated using "utils/matlab/cs_grid/cubeCalcAngle.m": |
25 |
|
fix Pb in yG definition @ 2 missing corners (previously yG was averaged); |
26 |
|
- update output of exp. global_ocean.cs32x15.viscA4 after changing |
27 |
|
grid-file angles (used here for coriolis-3d); |
28 |
|
- remove (or gzip) few files not needed to run fizhi-cs experiments. |
29 |
|
o pkg/exf (vector interpolation): |
30 |
|
- rotate vector component toward local grid-axis orientation using grid-angles |
31 |
|
(stored in GRID.h) instead of locally computed rotation angle; keep old code |
32 |
|
available with exf option EXF_USE_OLD_VEC_ROTATION (undef by default). |
33 |
|
o pkg/seaice: |
34 |
|
- allow to compile with exf options ALLOW_ATM_TEMP or ALLOW_DOWNWARD_RADIATION |
35 |
|
undefined. Fix and remove the stop when ALLOW_RUNOFF is undefined. |
36 |
|
o pkg/PKG_OPTIONS.h files: |
37 |
|
- move #include "CPP_OPTIONS.h" just after #include "PACKAGES_CONFIG.h", |
38 |
|
outside of the #ifdef ALLOW_THISPKG / #endif block. |
39 |
|
- update verification/*/code/PKG_OPTIONS.h files. |
40 |
|
o add a verification experiment (offline_exf_seaice/input.seaice) that test |
41 |
|
the B-grid LSOR solver |
42 |
|
o pkg/seaice: sort out emissivity and long wave radiation step 2: |
43 |
|
- add emissivity for snow and ice as new run-time parameters |
44 |
|
(unfortunately) that default to the corresponding exf values; this |
45 |
|
changes results in most verification experiments so that for backward |
46 |
|
compatibility these parameter have to be set explicitly to inconsistent |
47 |
|
values (ugly); |
48 |
|
- the exf-flag EXF_LWDOWN_WITH_EMISSIVITY then gets rid off the hard-wired |
49 |
|
emissivities of 0.97 associated with lwdownloc in S/R seaice_solve4temp |
50 |
|
until we agree how to handle this bug properly |
51 |
|
o pkg/exf (interpolation): |
52 |
|
- add a set of run-time param ({inputfield}_interpMethod), one for |
53 |
|
each interpolated input field, to select the interpolation method |
54 |
|
with a value of zero switching off the interpolation; |
55 |
|
- print interpolation parameters to standard output; |
56 |
|
- refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined |
57 |
|
(to use instead runoff_interpMethod=0 in data.exf). |
58 |
|
- simplify default setting of interpolation parameters (for all fields, |
59 |
|
set position to match model grid cell-center position, leading to trivial |
60 |
|
interpolation in case of regular Lat-Lon grid) and fix for the case of |
61 |
|
non-uniform delY. |
62 |
|
o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for |
63 |
|
within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1. |
64 |
|
this factor is absolutely required, because the lw exitance (= out-going |
65 |
|
long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown, |
66 |
|
where the reflectivity rho = 1-emissivity for conservation reasons. Once |
67 |
|
this is established, we can remove the CPP-Flag (if we want to). |
68 |
|
o pkg/seaice: |
69 |
|
- qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and |
70 |
|
ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined |
71 |
|
- sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity |
72 |
|
what the name implies (and not emissivity*BoltzmannConstant), this means |
73 |
|
the old default value of 5.5e-8 now means |
74 |
|
5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in |
75 |
|
S/R exf_readparms |
76 |
|
- FV-discretization of the B-grid LSOR solver, turn on with |
77 |
|
SEAICE_LSRBNEW. This new solver also involves a slight re-organization |
78 |
|
of the calling routine dynsolver, so that B and C-grid code look a |
79 |
|
little more alike. |
80 |
|
- fix index bugs in ostres.F (B-grid code) |
81 |
|
o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better |
82 |
|
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
83 |
|
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
84 |
|
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
85 |
|
backward compatiblity |
86 |
|
o model/src: use sigmaR in calc_ivdc |
87 |
|
|
88 |
|
checkpoint63g (2011/12/16) |
89 |
|
o pkg/seaice/seaice_growth.F: |
90 |
|
fix heat conservation of the coupled ocean-seaice system. |
91 |
|
when SEAICE_HEAT_CONSERV_FIX is defined, the mismatch of |
92 |
|
solid vs liquid water treatment is resolved via QNET. |
93 |
|
o pkg/seaice/seaice_growth.F: |
94 |
|
add missing term for sublimation in saltFlux, which was breaking conservation. |
95 |
|
o pkg/seaice/seaice_model.F: |
96 |
|
Remove this patholigical case treatment in evolution branch, |
97 |
|
where it is un-necessary and breaks conservation. |
98 |
|
Update global_ocean.cs32x15/results accordingly for |
99 |
|
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
100 |
|
o model/src: |
101 |
|
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
102 |
|
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |
103 |
|
o pkg/obcs: |
104 |
|
modify Stevens boundary conditions so that S/R obcs_calc_stevens computes |
105 |
|
tendency for temperature and salinity that is then applied to update |
106 |
|
theta and salt in S/R obcs_apply_ts; this requires proper masking of all |
107 |
|
horizontal advection and diffusion contributions on the boundary (in |
108 |
|
S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and |
109 |
|
removing the mask in S/R timestep_tracer. The advantage of this approach is |
110 |
|
that the updated tracer values include contributions from the surface |
111 |
|
forcing and vertical diffusion. |
112 |
|
This modification changes exp4.stevens because of vertical diffusion. |
113 |
|
o model/src: |
114 |
|
change non-curvilinear grid setting to also work with exch2 + blank tiles: |
115 |
|
- move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst |
116 |
|
face dimensions. |
117 |
|
- new S/R INI_LOCAL_GRID to define model tile-local grid (using same units |
118 |
|
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID |
119 |
|
and INI_SPHERICAL_POLAR_GRID. |
120 |
|
change test-experiment global_ocean.90x40x15: |
121 |
|
- split the domain in many more tiles (9x4 tiles of 10x10 each); |
122 |
|
- switch to exch2 and remove 1 blank-tile (but only for MPI test). |
123 |
|
- update results of both test (std & dwnslp). |
124 |
|
o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in |
125 |
|
tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation |
126 |
|
o model/src: |
127 |
|
- take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS |
128 |
|
and fix initialisation when using sigma-coords. |
129 |
|
o model/src: |
130 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
131 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
132 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
133 |
|
- set doResetHFactors=T in the following test exp: |
134 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
135 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
136 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
137 |
|
o pkg/ecco |
138 |
|
- added IES cost term |
139 |
|
o verification/advect_xz |
140 |
|
- scale down the depth by 1/100 (from 200 km to just 2.km) |
141 |
|
- add secondary test using divergent flow, r-star and implicit vertical advection. |
142 |
|
- add note (check_conserve_TS.txt) and matlab script to check global |
143 |
|
conservation of T & S with NonLin-FreeSurf and Adams-Bashforth. |
144 |
|
o pkg/rbcs: |
145 |
|
- add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F). |
146 |
|
o pkg/obcs (Stevens BCs): |
147 |
|
- fix various problems in the phase speed computations of the Stevens |
148 |
|
boundary conditions: |
149 |
|
- sign error for western and southern boundaries, |
150 |
|
- time tendencies were underestimated by factor of dTracerLev and some just |
151 |
|
zero (for multidim advection schemes) -> now estimate time tendencies |
152 |
|
from difference between previous (n) time level and the one before (n-1); |
153 |
|
this requires storing a field per tracer per boundary, also in the pickup |
154 |
|
files. |
155 |
|
- replace deltaTmom in cflMer/Zon computation with dTracerLev |
156 |
|
- set default phase velocity to cflMer/Zon |
157 |
|
- update verification experiment exp4.stevens |
158 |
|
o pkg/generic_advdiff (implicit_r): |
159 |
|
- fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf |
160 |
|
(remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F); |
161 |
|
- fix implicit vertical diffusion or advection with NonLin FreeSurf |
162 |
|
(was using current recip_hFacC instead of future recip_hFacC): set future |
163 |
|
recip_hFac in thermodynamics.F and pass & use it in all vertical implicit |
164 |
|
solver S/R ; |
165 |
|
- fill diagnostics of vertical advective fluxes (computed from tendency) |
166 |
|
when using implicit vert. advection; |
167 |
|
- update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion: |
168 |
|
global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD), |
169 |
|
tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD) |
170 |
|
and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5. |
171 |
|
o pkg/diagnostics: |
172 |
|
- add diags for T & S tendency which goes through Adams-Bashforth. |
173 |
|
|
174 |
|
checkpoint63f (2011/11/30) |
175 |
o pkg/obcs/obcs_calc_stevens.F: |
o pkg/obcs/obcs_calc_stevens.F: |
176 |
|
- join some loops to reduce number of if-statements |
177 |
- fix a bug in code for northern and southern boundaries. |
- fix a bug in code for northern and southern boundaries. |
178 |
o pkg/seaice/seaice_init_varia.F |
o pkg/seaice/seaice_init_varia.F |
179 |
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
180 |
caused zero ice-velocities for the B-grid code |
caused zero ice-velocities for the B-grid code |
181 |
o pkg/seaice/seaice_init_fixed.F |
o pkg/seaice/seaice_init_fixed.F |
182 |
- fix a bug in the initialisation of the second metric terms |
- fix a bug in the initialisation of the second metric terms |
183 |
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
184 |
- this affects all seaice configurations with useCurviLinearGrid = .true. |
- this affects all seaice configurations with useCurviLinearGrid = .true. |
185 |
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |