<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Kaitlin,</p>
<p>I think your first method should work, BUT you need to provide
also the monthly fields for the adjacent years, so the model has
something to interpolate. In your case, was there a file
UVEL_piControl.OBCS_N_1980 present?<br>
</p>
<p>Best regards, Christoph<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">Am 25.10.19 um 11:37 schrieb Naughten,
Kaitlin A.:<br>
</div>
<blockquote type="cite"
cite="mid:CWXP123MB197665FE1130F1B41CAE68328E650@CWXP123MB1976.GBRP123.PROD.OUTLOOK.COM">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi everyone,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
I am trying to run with monthly-averaged OBCS which change every
year (useOBCSYearlyFields=true) and a Gregorian calendar meaning
the months are different lengths. I am not sure that the code
allows me to do this. I have tried two different things:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<ol>
<li>Set obcs*period to 2592000 (30 days) and hope that the
code turns it into a "real" month, as it does for the
diagnostics. This doesn't seem to work as the model dies
near the end of the first year when wants a 13th record to
interpolate to, and can't find it.<br>
</li>
<li>Set obcs*period to -12 as you do for a repeating monthly
climatology. Now the code dies because it's constructing a
weird file name which doesn't exist (seems to be
either UVEL_piControl.OBCS_N
or UVEL_piControl.OBCS_N.001.001.data when it should just be
UVEL_piControl.OBCS_N_1979). Looking through the code in
obcs_exf_load, it seems that obcs*period=-12 isn't set up to
work with useOBCSYearlyFields, because the variables year0
and year1 are never initialised.</li>
</ol>
<div>What do you suggest I do? Is there a way to set a
non-constant OBCS period so the months can be different
lengths? Or, an easy way to add this functionality to the
code?</div>
<div><br>
</div>
<div>Many thanks,</div>
<div>Kaitlin Naughten</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt;
color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px; margin-bottom:0px;
font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple
Color Emoji","Segoe UI
Emoji",NotoColorEmoji,"Segoe UI
Symbol","Android Emoji",EmojiSymbols;
font-size:16px">
</p>
<div><span style="font-size:11pt; color:rgb(117,123,128)">
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt;
font-family:Calibri,sans-serif; color:rgb(32,31,30);
text-align:start; background-color:rgb(255,255,255)">
<b><span style="margin:0px; color:rgb(31,73,125)">Dr
Kaitlin Naughten</span></b><b><span
style="margin:0px; font-size:9pt;
color:rgb(31,73,125)"><span> </span></span></b><span
style="margin:0px; font-size:9pt;
color:rgb(31,73,125)">|<b><span> </span></b></span><span
style="margin:0px; color:rgb(31,73,125)">Ocean-Ice
Modeller | British Antarctic Survey</span></p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt;
font-family:Calibri,sans-serif; color:rgb(32,31,30);
text-align:start; background-color:rgb(255,255,255)">
<span style="margin:0px; color:rgb(31,73,125)">High
Cross, Madingley Road, Cambridge CB3 0ET</span></p>
<p style="margin:0cm 0cm 0.0001pt; font-size:11pt;
font-family:Calibri,sans-serif; color:rgb(32,31,30);
text-align:start; background-color:rgb(255,255,255)">
<span style="margin:0px; color:rgb(31,73,125)">Email:<span> </span></span><u><span
style="margin:0px; color:rgb(68,114,196)"><a
href="mailto:kaight@bas.ac.uk" target="_blank"
rel="noopener noreferrer"
title="mailto:kaight@bas.ac.uk" style="margin:0px;
color:rgb(149,79,114); text-decoration:underline"
moz-do-not-send="true">kaight@bas.ac.uk</a></span></u></p>
</span></div>
</div>
</div>
<br>
<br>
This email and any attachments are intended solely for the use of
the named recipients. If you are not the intended recipient you
must not use, disclose, copy or distribute this email or any of
its attachments and should notify the sender immediately and
delete this email from your system. <br>
UK Research and Innovation has taken every reasonable precaution
to minimise risk of this email or any attachments containing
viruses or malware but the recipient should carry out its own
virus and malware checks before opening the attachments. UK
Research and Innovation does not accept any liability for any
losses or damages which the recipient may sustain due to presence
of any viruses.
<br>
Opinions, conclusions or other information in this message and
attachments that are not related directly to UK Research and
Innovation business are solely those of the author and do not
represent the views of UK Research and Innovation.<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
MITgcm-support mailing list
<a class="moz-txt-link-abbreviated" href="mailto:MITgcm-support@mitgcm.org">MITgcm-support@mitgcm.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Christoph Voelker
Alfred Wegener Institute
Helmholtz Centre for Polar and Marine Research
Am Handelshafen 12
27570 Bremerhaven, Germany
e: <a class="moz-txt-link-abbreviated" href="mailto:Christoph.Voelker@awi.de">Christoph.Voelker@awi.de</a>
t: +49 471 4831 1848</pre>
</body>
</html>