<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- P { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,<br>
</p>
<p><br>
</p>
<p>I'm trying to shift a repeating annual cycle of (monthly mean data) sss restoring as specified in file data (where it works) to data.rbcs.<br>
</p>
<p><br>
</p>
<p>In data:<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> periodicExternalForcing=.TRUE.,</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> externForcingPeriod=2592000.,</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> externForcingCycle=31104000.,</span></p>
<div>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> saltClimFile= 'sss25_128x60x12.bin',</span></p>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">In rbcs, following the manual example </span><span class="section-number" style="font-size: 12pt;">8.3.2.4.1. </span><span style="font-size: 12pt;">Cyclic data in a single file</span></div>
<div><br>
<span style="font-size: 12pt;"></span>
<p></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> rbcsForcingPeriod =2592000.,</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> rbcsForcingCycle=31104000.,</span></p>
<div>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures"> relaxSFile='sss25_128x60x12.bin',</span></p>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
</div>
<div><span style="font-variant-ligatures: no-common-ligatures">(with default settings <a class="reference external" href="http://mitgcm.org/lxr/ident/MITgcm?_i=rbcsSingleTimeFiles">rbcsSingleTimeFiles</a> FALSE and ForcingOffset=0)<br>
</span></div>
<p><br>
</p>
<p>but I get this in STDERR<br>
</p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">(PID.TID 0000.0001) *** ERROR *** RBCS_READPARAMS: startTime before rbcsForcingOffset+0.5*rbcsForcingPeriod</span></p>
<p style="margin-right: 0px; margin-left: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">(PID.TID 0000.0001) *** ERROR *** RBCS_READPARAMS: will use last record</span></p>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">and then a crash attempting to access non-existing record. I would think it should average record 12 and record 1 at the start of the simulation</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">(nIter0 = 0) which is what I believe is done when restoring through data (?)</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">Either I'm misunderstanding something, or the manual is not correct, or I have something wrong somewhere (?)</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">Thanks,</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures">Jeff</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<p><br>
</p>
<p><br>
</p>
<span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<p><br>
</p>
</body>
</html>