4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
- mask (in exf_init_fixed.F) atemp,aqh,evap,precip,runoff,lwflx,areamask |
9 |
|
and climsst/sss even when using seaice (to prevent calculation that might |
10 |
|
use SST on land); does not affect any verification exp. |
11 |
|
- apply mask to taux,tauy (in seaice_get_dynforcing.F); update output |
12 |
|
of lab_sea.fd & lab_sea.hb87 and global_ocean.cs32x15.seaice_dynmix. |
13 |
|
o pkg/seaice/seaice_growth.F: add mask to avoid non-zero ice thickness |
14 |
|
over land (non-legacy code) |
15 |
|
o vectorize salt_plume package: |
16 |
|
- add extra code to salt_plume_frac and salt_plume_tendency_apply_s |
17 |
|
- this code computes plumebk everywhere (also over land), thus requires |
18 |
|
code to avoid divisions by zero and catch the case of kLev=Nr. |
19 |
|
- efficiency of salt_plume_frac is still sub-optimal |
20 |
|
o tools (genmake2): |
21 |
|
- fix makefile NAME specification (option: -makefile NAME) by adding |
22 |
|
"-f $MAKEFILE" in few places where it was missing including makedepend |
23 |
|
command (contribution from Paul). |
24 |
|
|
25 |
|
checkpoint63i (2012/01/24) |
26 |
|
o model/src: |
27 |
|
- add factorized versions of some EOS code to find_rho.F, |
28 |
|
define USE_FACTORIZED_EOS to turn it on (default for TARGET_NEC_SX) |
29 |
|
o model/src: |
30 |
|
- add celsius2K to namelist PARM01; remove unused recip_rhoNil from PARAMS.h; |
31 |
|
- change default celsius2K from 273.16 to 273.15 |
32 |
|
- to keep results unchanged, add back old value of celsius2K in verification |
33 |
|
exp. input*/data : aim.5l_cs, 1D_ocean_ice_column, lab_sea (fwd), |
34 |
|
global_ocean.cs32x15(seaice) & cpl_aim+ocn(input_atm). |
35 |
|
o model/src: add a little initialisation trick to find_rho.F and find_alpha.F |
36 |
|
to make TAF generate vectorizable code |
37 |
|
o pkg/seaice/seaice_evp.F: add code (copied from CICE) that avoids underflows. |
38 |
|
Turn on by defining SEAICE_EVP_ELIMINATE_UNDERFLOWS. Most compilers |
39 |
|
have flags that do this more efficiently. |
40 |
|
o pkg/diagnostics/diagstats_calc.F |
41 |
|
- for TARGET_NEC_SX fix the treatment of the scaling factor tmpFac=scaleFact |
42 |
|
o pkg/obcs (with exch2): |
43 |
|
- derive OB indices in overlap region from OB-InsideMask (in obcs_init_fixed.F) |
44 |
|
and remove code (in obcs_readparms.F) which was based on EXCH of indices |
45 |
|
(through buffer) and did not account for exch2 (e.g., CS-grid) topology. |
46 |
|
o pkg/exf and seaice exp: |
47 |
|
- change offline_exf_seaice.seaicetd test exp. to use default DIFF1 value (=0) |
48 |
|
so that switching off area & heff advection flags does not affect results. |
49 |
|
- change default EXF_LWDOWN_WITH_EMISSIVITY to #define in EXF_OPTIONS.h |
50 |
|
- keep exp. seaice_obcs & 1D_ocean_ice_column(ad) unchanged (using #undef |
51 |
|
EXF_LWDOWN_WITH_EMISSIVITY) and, using pkg/exf default emissivities, update |
52 |
|
results of verification experiments: 1D_ocean_ice_column(fwd), |
53 |
|
global_ocean.cs32x15.seaice(fwd+ad) & seaice_dynmix(ad), lab_sea (all 8) |
54 |
|
and offline_exf_seaice (all 4). |
55 |
|
o pkg/seaice: |
56 |
|
- remove array YNEG, RIVER, TMIX (replaced by local var) from common block; |
57 |
|
remove also areaNm1 & hEffNm1 when SEAICE_GROWTH_LEGACY is undef. |
58 |
|
- fix bug: areaNm1 & hEffNm1 are needed in seaice_growth (SEAICE_GROWTH_LEGACY) |
59 |
|
but were not filled when resp. SEAICEadvArea=F & SEAICEadvHeff=F and |
60 |
|
not multi-dim advection; |
61 |
|
- fix seaice_growth.F to compile with both SEAICE_GROWTH_LEGACY and |
62 |
|
SHORTWAVE_HEATING #undef. |
63 |
|
o optim: make Makefile more robust (?) |
64 |
|
o pkg/obcs: |
65 |
|
* fix treatment of obcs_read_pickup for TAF |
66 |
|
o pkg/shelfice: |
67 |
|
* add missing initialisation of num_shifwflx |
68 |
|
* new adjoint verification exp. for isomip |
69 |
|
* change Prandtl and Schmidt numbers from generic formulations |
70 |
|
(in terms of model diffus. and visc.) to separate runtime |
71 |
|
parameters, with Holland and Jenkins (1999) default values. |
72 |
|
o pkg/exf (interpolation): |
73 |
|
- extended input field (2 rows) near the N & S poles: |
74 |
|
* fill in with the symetric value (when even Nb of data in longitude) |
75 |
|
* add average value at the poles only for scalar quantities ; for vector |
76 |
|
component interpolation, skip the averaging and keep duplicated values, |
77 |
|
unless the 2 components have same location (uvInterp=T) in which case |
78 |
|
interpolate the 2 components together using S/R EXF_INTERP_UV. |
79 |
|
- new S/R EXF_INTERP_UV to interpolate the 2 components of a vector field |
80 |
|
together: this allows to account properly for local orientation when |
81 |
|
averaging at N & S pole. |
82 |
|
- add CPP option EXF_USE_OLD_INTERP_POLE to recover old results regarding |
83 |
|
exf-interpolation near N & S poles. Undef by default. |
84 |
|
- add debug check/print on 1rst iter if debugLevel >=2. |
85 |
|
o pkg/exf: |
86 |
|
- change masking flags definition (no longer "parameter"), put them in |
87 |
|
common block and set them in S/R EXF_INIT_FIXED. |
88 |
|
- change recognized masking flag from s,u,v to c,w,s since the mask |
89 |
|
to use (maskC,W,S) depends on position on model grid and has little to |
90 |
|
do with scalar/vector difference; fix masking if using P-coordinates. |
91 |
|
- fix masking of wind-stress (was wrong if interpolated or read on A-grid) |
92 |
|
and update results of exp. global_with_exf (x2). |
93 |
|
- fix setting of zenith-angle table when SHORTWAVE_HEATING is undef. |
94 |
|
o pkg/obcs |
95 |
|
- S/R obcs_calc_stevens: fix a small bug (gammat -> gammas where appropriate) |
96 |
|
o pkg/exf (interpolation): |
97 |
|
- assume periodicity in X only if input field cover full longitude range. |
98 |
|
- improve search for lat. index (supposed to be faster, in ~log2(ny) steps, |
99 |
|
and should vectorise). |
100 |
|
- fix input lat of the 2 added row (in case we provide N.pole data). |
101 |
|
|
102 |
|
checkpoint63h (2011/12/30) |
103 |
|
o pkg/seaice: |
104 |
|
- change declaration of UVM from _RL to _RS in order to get B-grid |
105 |
|
uIce,vIce monitor when _RS = real*4 |
106 |
|
o pkg/offline: |
107 |
|
- new S/R OFFLINE_RESET_PARMS for resetting main-model params (switch off flags); |
108 |
|
- compute vertical velocity if not read from file (switch on exactConserv |
109 |
|
& staggerTimeStep); |
110 |
|
- fix output of ptracer monitor iter & time for default PTRACERS_monitorFreq. |
111 |
|
o verification: |
112 |
|
- update grid-files (in tutorial_held_suarez_cs/input and fizhi-cs-32x32x40/input) |
113 |
|
with grid-angle generated using "utils/matlab/cs_grid/cubeCalcAngle.m": |
114 |
|
fix Pb in yG definition @ 2 missing corners (previously yG was averaged); |
115 |
|
- update output of exp. global_ocean.cs32x15.viscA4 after changing |
116 |
|
grid-file angles (used here for coriolis-3d); |
117 |
|
- remove (or gzip) few files not needed to run fizhi-cs experiments. |
118 |
|
o pkg/exf (vector interpolation): |
119 |
|
- rotate vector component toward local grid-axis orientation using grid-angles |
120 |
|
(stored in GRID.h) instead of locally computed rotation angle; keep old code |
121 |
|
available with exf option EXF_USE_OLD_VEC_ROTATION (undef by default). |
122 |
|
o pkg/seaice: |
123 |
|
- allow to compile with exf options ALLOW_ATM_TEMP or ALLOW_DOWNWARD_RADIATION |
124 |
|
undefined. Fix and remove the stop when ALLOW_RUNOFF is undefined. |
125 |
|
o pkg/PKG_OPTIONS.h files: |
126 |
|
- move #include "CPP_OPTIONS.h" just after #include "PACKAGES_CONFIG.h", |
127 |
|
outside of the #ifdef ALLOW_THISPKG / #endif block. |
128 |
|
- update verification/*/code/PKG_OPTIONS.h files. |
129 |
|
o add a verification experiment (offline_exf_seaice/input.seaice) that test |
130 |
|
the B-grid LSOR solver |
131 |
|
o pkg/seaice: sort out emissivity and long wave radiation step 2: |
132 |
|
- add emissivity for snow and ice as new run-time parameters |
133 |
|
(unfortunately) that default to the corresponding exf values; this |
134 |
|
changes results in most verification experiments so that for backward |
135 |
|
compatibility these parameter have to be set explicitly to inconsistent |
136 |
|
values (ugly); |
137 |
|
- the exf-flag EXF_LWDOWN_WITH_EMISSIVITY then gets rid off the hard-wired |
138 |
|
emissivities of 0.97 associated with lwdownloc in S/R seaice_solve4temp |
139 |
|
until we agree how to handle this bug properly |
140 |
|
o pkg/exf (interpolation): |
141 |
|
- add a set of run-time param ({inputfield}_interpMethod), one for |
142 |
|
each interpolated input field, to select the interpolation method |
143 |
|
with a value of zero switching off the interpolation; |
144 |
|
- print interpolation parameters to standard output; |
145 |
|
- refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined |
146 |
|
(to use instead runoff_interpMethod=0 in data.exf). |
147 |
|
- simplify default setting of interpolation parameters (for all fields, |
148 |
|
set position to match model grid cell-center position, leading to trivial |
149 |
|
interpolation in case of regular Lat-Lon grid) and fix for the case of |
150 |
|
non-uniform delY. |
151 |
|
o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for |
152 |
|
within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1. |
153 |
|
this factor is absolutely required, because the lw exitance (= out-going |
154 |
|
long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown, |
155 |
|
where the reflectivity rho = 1-emissivity for conservation reasons. Once |
156 |
|
this is established, we can remove the CPP-Flag (if we want to). |
157 |
|
o pkg/seaice: |
158 |
|
- qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and |
159 |
|
ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined |
160 |
|
- sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity |
161 |
|
what the name implies (and not emissivity*BoltzmannConstant), this means |
162 |
|
the old default value of 5.5e-8 now means |
163 |
|
5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in |
164 |
|
S/R exf_readparms |
165 |
|
- FV-discretization of the B-grid LSOR solver, turn on with |
166 |
|
SEAICE_LSRBNEW. This new solver also involves a slight re-organization |
167 |
|
of the calling routine dynsolver, so that B and C-grid code look a |
168 |
|
little more alike. |
169 |
|
- fix index bugs in ostres.F (B-grid code) |
170 |
|
o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better |
171 |
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
172 |
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
173 |
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
184 |
o pkg/seaice/seaice_model.F: |
o pkg/seaice/seaice_model.F: |
185 |
Remove this patholigical case treatment in evolution branch, |
Remove this patholigical case treatment in evolution branch, |
186 |
where it is un-necessary and breaks conservation. |
where it is un-necessary and breaks conservation. |
187 |
Update global_ocean.cs32x15/results accordingly for |
Update global_ocean.cs32x15/results accordingly for |
188 |
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
189 |
o model/src: |
o model/src: |
190 |
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
191 |
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |