4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o optim: make Makefile more robust (?) |
8 |
|
o pkg/shelfice: add missing initialisation of num_shifwflx |
9 |
|
o pkg/exf (interpolation): |
10 |
|
- extended input field (2 rows) near the N & S poles: |
11 |
|
* fill in with the symetric value (when even Nb of data in longitude) |
12 |
|
* add average value at the poles only for scalar quantities ; for vector |
13 |
|
component interpolation, skip the averaging and keep duplicated values, |
14 |
|
unless the 2 components have same location (uvInterp=T) in which case |
15 |
|
interpolate the 2 components together using S/R EXF_INTERP_UV. |
16 |
|
- new S/R EXF_INTERP_UV to interpolate the 2 components of a vector field |
17 |
|
together: this allows to account properly for local orientation when |
18 |
|
averaging at N & S pole. |
19 |
|
- add CPP option EXF_USE_OLD_INTERP_POLE to recover old results regarding |
20 |
|
exf-interpolation near N & S poles. Undef by default. |
21 |
|
- add debug check/print on 1rst iter if debugLevel >=2. |
22 |
|
o pkg/exf: |
23 |
|
- change masking flags definition (no longer "parameter"), put them in |
24 |
|
common block and set them in S/R EXF_INIT_FIXED. |
25 |
|
- change recognized masking flag from s,u,v to c,w,s since the mask |
26 |
|
to use (maskC,W,S) depends on position on model grid and has little to |
27 |
|
do with scalar/vector difference; fix masking if using P-coordinates. |
28 |
|
- fix masking of wind-stress (was wrong if interpolated or read on A-grid) |
29 |
|
and update results of exp. global_with_exf (x2). |
30 |
|
- fix setting of zenith-angle table when SHORTWAVE_HEATING is undef. |
31 |
|
o pkg/obcs |
32 |
|
- S/R obcs_calc_stevens: fix a small bug (gammat -> gammas where appropriate) |
33 |
|
o pkg/exf (interpolation): |
34 |
|
- assume periodicity in X only if input field cover full longitude range. |
35 |
|
- improve search for lat. index (supposed to be faster, in ~log2(ny) steps, |
36 |
|
and should vectorise). |
37 |
|
- fix input lat of the 2 added row (in case we provide N.pole data). |
38 |
|
|
39 |
|
checkpoint63h (2011/12/30) |
40 |
|
o pkg/seaice: |
41 |
|
- change declaration of UVM from _RL to _RS in order to get B-grid |
42 |
|
uIce,vIce monitor when _RS = real*4 |
43 |
|
o pkg/offline: |
44 |
|
- new S/R OFFLINE_RESET_PARMS for resetting main-model params (switch off flags); |
45 |
|
- compute vertical velocity if not read from file (switch on exactConserv |
46 |
|
& staggerTimeStep); |
47 |
|
- fix output of ptracer monitor iter & time for default PTRACERS_monitorFreq. |
48 |
|
o verification: |
49 |
|
- update grid-files (in tutorial_held_suarez_cs/input and fizhi-cs-32x32x40/input) |
50 |
|
with grid-angle generated using "utils/matlab/cs_grid/cubeCalcAngle.m": |
51 |
|
fix Pb in yG definition @ 2 missing corners (previously yG was averaged); |
52 |
|
- update output of exp. global_ocean.cs32x15.viscA4 after changing |
53 |
|
grid-file angles (used here for coriolis-3d); |
54 |
|
- remove (or gzip) few files not needed to run fizhi-cs experiments. |
55 |
|
o pkg/exf (vector interpolation): |
56 |
|
- rotate vector component toward local grid-axis orientation using grid-angles |
57 |
|
(stored in GRID.h) instead of locally computed rotation angle; keep old code |
58 |
|
available with exf option EXF_USE_OLD_VEC_ROTATION (undef by default). |
59 |
|
o pkg/seaice: |
60 |
|
- allow to compile with exf options ALLOW_ATM_TEMP or ALLOW_DOWNWARD_RADIATION |
61 |
|
undefined. Fix and remove the stop when ALLOW_RUNOFF is undefined. |
62 |
|
o pkg/PKG_OPTIONS.h files: |
63 |
|
- move #include "CPP_OPTIONS.h" just after #include "PACKAGES_CONFIG.h", |
64 |
|
outside of the #ifdef ALLOW_THISPKG / #endif block. |
65 |
|
- update verification/*/code/PKG_OPTIONS.h files. |
66 |
|
o add a verification experiment (offline_exf_seaice/input.seaice) that test |
67 |
|
the B-grid LSOR solver |
68 |
|
o pkg/seaice: sort out emissivity and long wave radiation step 2: |
69 |
|
- add emissivity for snow and ice as new run-time parameters |
70 |
|
(unfortunately) that default to the corresponding exf values; this |
71 |
|
changes results in most verification experiments so that for backward |
72 |
|
compatibility these parameter have to be set explicitly to inconsistent |
73 |
|
values (ugly); |
74 |
|
- the exf-flag EXF_LWDOWN_WITH_EMISSIVITY then gets rid off the hard-wired |
75 |
|
emissivities of 0.97 associated with lwdownloc in S/R seaice_solve4temp |
76 |
|
until we agree how to handle this bug properly |
77 |
|
o pkg/exf (interpolation): |
78 |
|
- add a set of run-time param ({inputfield}_interpMethod), one for |
79 |
|
each interpolated input field, to select the interpolation method |
80 |
|
with a value of zero switching off the interpolation; |
81 |
|
- print interpolation parameters to standard output; |
82 |
|
- refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined |
83 |
|
(to use instead runoff_interpMethod=0 in data.exf). |
84 |
|
- simplify default setting of interpolation parameters (for all fields, |
85 |
|
set position to match model grid cell-center position, leading to trivial |
86 |
|
interpolation in case of regular Lat-Lon grid) and fix for the case of |
87 |
|
non-uniform delY. |
88 |
|
o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for |
89 |
|
within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1. |
90 |
|
this factor is absolutely required, because the lw exitance (= out-going |
91 |
|
long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown, |
92 |
|
where the reflectivity rho = 1-emissivity for conservation reasons. Once |
93 |
|
this is established, we can remove the CPP-Flag (if we want to). |
94 |
|
o pkg/seaice: |
95 |
|
- qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and |
96 |
|
ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined |
97 |
|
- sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity |
98 |
|
what the name implies (and not emissivity*BoltzmannConstant), this means |
99 |
|
the old default value of 5.5e-8 now means |
100 |
|
5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in |
101 |
|
S/R exf_readparms |
102 |
|
- FV-discretization of the B-grid LSOR solver, turn on with |
103 |
|
SEAICE_LSRBNEW. This new solver also involves a slight re-organization |
104 |
|
of the calling routine dynsolver, so that B and C-grid code look a |
105 |
|
little more alike. |
106 |
|
- fix index bugs in ostres.F (B-grid code) |
107 |
|
o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better |
108 |
|
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
109 |
|
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
110 |
|
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
111 |
|
backward compatiblity |
112 |
|
o model/src: use sigmaR in calc_ivdc |
113 |
|
|
114 |
|
checkpoint63g (2011/12/16) |
115 |
|
o pkg/seaice/seaice_growth.F: |
116 |
|
fix heat conservation of the coupled ocean-seaice system. |
117 |
|
when SEAICE_HEAT_CONSERV_FIX is defined, the mismatch of |
118 |
|
solid vs liquid water treatment is resolved via QNET. |
119 |
|
o pkg/seaice/seaice_growth.F: |
120 |
|
add missing term for sublimation in saltFlux, which was breaking conservation. |
121 |
|
o pkg/seaice/seaice_model.F: |
122 |
|
Remove this patholigical case treatment in evolution branch, |
123 |
|
where it is un-necessary and breaks conservation. |
124 |
|
Update global_ocean.cs32x15/results accordingly for |
125 |
|
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
126 |
|
o model/src: |
127 |
|
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
128 |
|
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |
129 |
|
o pkg/obcs: |
130 |
|
modify Stevens boundary conditions so that S/R obcs_calc_stevens computes |
131 |
|
tendency for temperature and salinity that is then applied to update |
132 |
|
theta and salt in S/R obcs_apply_ts; this requires proper masking of all |
133 |
|
horizontal advection and diffusion contributions on the boundary (in |
134 |
|
S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and |
135 |
|
removing the mask in S/R timestep_tracer. The advantage of this approach is |
136 |
|
that the updated tracer values include contributions from the surface |
137 |
|
forcing and vertical diffusion. |
138 |
|
This modification changes exp4.stevens because of vertical diffusion. |
139 |
|
o model/src: |
140 |
|
change non-curvilinear grid setting to also work with exch2 + blank tiles: |
141 |
|
- move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst |
142 |
|
face dimensions. |
143 |
|
- new S/R INI_LOCAL_GRID to define model tile-local grid (using same units |
144 |
|
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID |
145 |
|
and INI_SPHERICAL_POLAR_GRID. |
146 |
|
change test-experiment global_ocean.90x40x15: |
147 |
|
- split the domain in many more tiles (9x4 tiles of 10x10 each); |
148 |
|
- switch to exch2 and remove 1 blank-tile (but only for MPI test). |
149 |
|
- update results of both test (std & dwnslp). |
150 |
|
o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in |
151 |
|
tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation |
152 |
|
o model/src: |
153 |
|
- take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS |
154 |
|
and fix initialisation when using sigma-coords. |
155 |
|
o model/src: |
156 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
157 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
158 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
159 |
|
- set doResetHFactors=T in the following test exp: |
160 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
161 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
162 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
163 |
o pkg/ecco |
o pkg/ecco |
164 |
- added IES cost term |
- added IES cost term |
165 |
o verification/advect_xz |
o verification/advect_xz |