<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear MITgcm users,
<div class="moz-forward-container">
<p>I have made some modifications in the code to force a model
with forcing files that are made as sub-samples (in time) of
longer time series. This avoid the use of too large forcing
files, and, I think, speeds up the reading, which becomes
interesting when the model is integrated on a platform with a
time limit. It might be of interest for some of you.<br>
</p>
<p>The idea is to use periodicExternalForcing=.TRUE., and to
modify the interpolation in time made at the beginning and at
the end of a cycle. Then, externForcingCycle corresponds now to
the length of a sub-sample, and externForcingPeriod is the usual
time step between time records. Instead of interpolating data
between the last and the first time record at the beginning and
at the end of a cycle, the interpolation is now made between the
third last and the second last time record at the end of a
cycle, and between the last and the first time record at the
beginning of a cycle. This is made by settingĀ
useYearlyField=.TRUE. in data, &PARM03. Forcing files have
to be extended accordingly, with 2 additional time records
placed at the end, the last (second last) corresponding to the
last (first) time record of the preceding (following) cycle. <br>
</p>
<p>These modifications are made in get_periodic_interval.F, where
two global model parameters are added as input: nIter0 and
useYearlyField. <br>
- nIter0 is used to discriminate if the interpolation is made
between the last and the first time record at the very first
model time step within a cycle, or between the third last and
the second last time record at the very last model time step
within a cycle.<br>
- useYearlyField (defined in PARAMS.h, and set by default to
.FALSE. in set_defaults.F) allows to switch from periodic to
non-periodic (sub-sampled) forcing files. <br>
All files that CALL GET_PERIODIC_INTERVAL have to be modified
accordingly. A specific flag 'useYearlyField_xxx' can be defined
for each package.</p>
<p>Modified files are available here: <a
class="moz-txt-link-freetext"
href="http://ocean.fsu.edu/%7Eqjamet/data/yearlyForcing/code/"
moz-do-not-send="true">http://ocean.fsu.edu/~qjamet/data/yearlyForcing/code/</a><br>
</p>
<p>Feel free to comment/update/share.<br>
</p>
<p>Best,</p>
<p>Quentin<br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
</div>
</body>
</html>