4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf: |
8 |
|
- change masking flags definition (no longer "parameter"), put them in |
9 |
|
common block and set them in S/R EXF_INIT_FIXED. |
10 |
|
- change recognized masking flag from s,u,v to c,w,s since the mask |
11 |
|
to use (maskC,W,S) depends on position on model grid and has little to |
12 |
|
do with scalar/vector difference; fix masking if using P-coordinates. |
13 |
|
- fix masking of wind-stress (was wrong if interpolated or read on A-grid) |
14 |
|
and update results of exp. global_with_exf (x2). |
15 |
|
- fix setting of zenith-angle table when SHORTWAVE_HEATING is undef. |
16 |
|
o pkg/obcs |
17 |
|
- S/R obcs_calc_stevens: fix a small bug (gammat -> gammas where appropriate) |
18 |
|
o pkg/exf (interpolation): |
19 |
|
- assume periodicity in X only if input field cover full longitude range. |
20 |
|
- improve search for lat. index (supposed to be faster, in ~log2(ny) steps, |
21 |
|
and should vectorise). |
22 |
|
- fix input lat of the 2 added row (in case we provide N.pole data). |
23 |
|
|
24 |
|
checkpoint63h (2011/12/30) |
25 |
|
o pkg/seaice: |
26 |
|
- change declaration of UVM from _RL to _RS in order to get B-grid |
27 |
|
uIce,vIce monitor when _RS = real*4 |
28 |
|
o pkg/offline: |
29 |
|
- new S/R OFFLINE_RESET_PARMS for resetting main-model params (switch off flags); |
30 |
|
- compute vertical velocity if not read from file (switch on exactConserv |
31 |
|
& staggerTimeStep); |
32 |
|
- fix output of ptracer monitor iter & time for default PTRACERS_monitorFreq. |
33 |
|
o verification: |
34 |
|
- update grid-files (in tutorial_held_suarez_cs/input and fizhi-cs-32x32x40/input) |
35 |
|
with grid-angle generated using "utils/matlab/cs_grid/cubeCalcAngle.m": |
36 |
|
fix Pb in yG definition @ 2 missing corners (previously yG was averaged); |
37 |
|
- update output of exp. global_ocean.cs32x15.viscA4 after changing |
38 |
|
grid-file angles (used here for coriolis-3d); |
39 |
|
- remove (or gzip) few files not needed to run fizhi-cs experiments. |
40 |
|
o pkg/exf (vector interpolation): |
41 |
|
- rotate vector component toward local grid-axis orientation using grid-angles |
42 |
|
(stored in GRID.h) instead of locally computed rotation angle; keep old code |
43 |
|
available with exf option EXF_USE_OLD_VEC_ROTATION (undef by default). |
44 |
|
o pkg/seaice: |
45 |
|
- allow to compile with exf options ALLOW_ATM_TEMP or ALLOW_DOWNWARD_RADIATION |
46 |
|
undefined. Fix and remove the stop when ALLOW_RUNOFF is undefined. |
47 |
|
o pkg/PKG_OPTIONS.h files: |
48 |
|
- move #include "CPP_OPTIONS.h" just after #include "PACKAGES_CONFIG.h", |
49 |
|
outside of the #ifdef ALLOW_THISPKG / #endif block. |
50 |
|
- update verification/*/code/PKG_OPTIONS.h files. |
51 |
|
o add a verification experiment (offline_exf_seaice/input.seaice) that test |
52 |
|
the B-grid LSOR solver |
53 |
|
o pkg/seaice: sort out emissivity and long wave radiation step 2: |
54 |
|
- add emissivity for snow and ice as new run-time parameters |
55 |
|
(unfortunately) that default to the corresponding exf values; this |
56 |
|
changes results in most verification experiments so that for backward |
57 |
|
compatibility these parameter have to be set explicitly to inconsistent |
58 |
|
values (ugly); |
59 |
|
- the exf-flag EXF_LWDOWN_WITH_EMISSIVITY then gets rid off the hard-wired |
60 |
|
emissivities of 0.97 associated with lwdownloc in S/R seaice_solve4temp |
61 |
|
until we agree how to handle this bug properly |
62 |
|
o pkg/exf (interpolation): |
63 |
|
- add a set of run-time param ({inputfield}_interpMethod), one for |
64 |
|
each interpolated input field, to select the interpolation method |
65 |
|
with a value of zero switching off the interpolation; |
66 |
|
- print interpolation parameters to standard output; |
67 |
|
- refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined |
68 |
|
(to use instead runoff_interpMethod=0 in data.exf). |
69 |
|
- simplify default setting of interpolation parameters (for all fields, |
70 |
|
set position to match model grid cell-center position, leading to trivial |
71 |
|
interpolation in case of regular Lat-Lon grid) and fix for the case of |
72 |
|
non-uniform delY. |
73 |
|
o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for |
74 |
|
within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1. |
75 |
|
this factor is absolutely required, because the lw exitance (= out-going |
76 |
|
long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown, |
77 |
|
where the reflectivity rho = 1-emissivity for conservation reasons. Once |
78 |
|
this is established, we can remove the CPP-Flag (if we want to). |
79 |
|
o pkg/seaice: |
80 |
|
- qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and |
81 |
|
ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined |
82 |
|
- sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity |
83 |
|
what the name implies (and not emissivity*BoltzmannConstant), this means |
84 |
|
the old default value of 5.5e-8 now means |
85 |
|
5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in |
86 |
|
S/R exf_readparms |
87 |
|
- FV-discretization of the B-grid LSOR solver, turn on with |
88 |
|
SEAICE_LSRBNEW. This new solver also involves a slight re-organization |
89 |
|
of the calling routine dynsolver, so that B and C-grid code look a |
90 |
|
little more alike. |
91 |
|
- fix index bugs in ostres.F (B-grid code) |
92 |
|
o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better |
93 |
|
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
94 |
|
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
95 |
|
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
96 |
|
backward compatiblity |
97 |
|
o model/src: use sigmaR in calc_ivdc |
98 |
|
|
99 |
|
checkpoint63g (2011/12/16) |
100 |
|
o pkg/seaice/seaice_growth.F: |
101 |
|
fix heat conservation of the coupled ocean-seaice system. |
102 |
|
when SEAICE_HEAT_CONSERV_FIX is defined, the mismatch of |
103 |
|
solid vs liquid water treatment is resolved via QNET. |
104 |
|
o pkg/seaice/seaice_growth.F: |
105 |
|
add missing term for sublimation in saltFlux, which was breaking conservation. |
106 |
|
o pkg/seaice/seaice_model.F: |
107 |
|
Remove this patholigical case treatment in evolution branch, |
108 |
|
where it is un-necessary and breaks conservation. |
109 |
|
Update global_ocean.cs32x15/results accordingly for |
110 |
|
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
111 |
o model/src: |
o model/src: |
112 |
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
113 |
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. |