<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">So both latidute and longitude intervals are constant? I didn’t get that. In that case you need to set<div><br></div><div> precip_lon_inc = 0.25D0, # as you did</div><div>and </div><div> precip_lat_inc = 719*0.25D0, # this assumes that there are 720 grid point in latitude direction so that you have 719 intervals. *_lat_inc expects the “correct” number of intervals.</div><div><br></div><div>As far as I can see from the data.exf file, you are already doing this right, except for precipitation.</div><div><br></div><div>Martin</div><div><div><br><blockquote type="cite"><div>On 1. Sep 2023, at 10:06, Haoran Xu <xu1jian2wei3@163.com> wrote:</div><br class="Apple-interchange-newline"><div><meta http-equiv="Content-Type" content="text/html; charset=utf-8">Thanks for your reply again Martin.<br>Sorry. I am confused because the latitude intervals of the ERA5 data are constant.So are the latitude from ERA5 or other data?I don't really understand.<br><br><br>
<div>
<div class="ntes-mailmaster-quote" style="padding-top: 1px; padding-bottom: 1px">
<div style=" margin-top: 20px; margin-bottom: 12px; font-size: 14px; line-height: 1.25; color: #89898c; ">---- 回复的原邮件 ----</div>
<div style=" margin-bottom: 12px; font-size: 13px; line-height: 1.25; color: #2c2c2e; padding: 2px; border-radius: 8px; background-color: #f0f0f0; ">
<table width="100%" cellpadding="0" cellspacing="10" border="0">
<tbody><tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">发件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-from" style="color: #1c83eb; text-decoration: none" href="mailto:Martin.Losch@awi.de">Martin Losch<Martin.Losch@awi.de></a></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">日期</td>
<td class="mail-date" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">2023年09月01日 15:46</td>
</tr>
<tr style="">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">收件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-to" style="color: #1c83eb; text-decoration: none" href="mailto:mitgcm-support@mitgcm.org">MITgcm Support<mitgcm-support@mitgcm.org></a></td>
</tr>
<tr style="display:none;">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">抄送至</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">主题</td>
<td class="mail-subject" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">Re: [MITgcm-support] EXF configuration</td>
</tr>
</tbody></table>
</div>
<div><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div><br></div>dlat(1) = lat(2) - lat(1), etc.?<br><div><br><blockquote type="cite"><div>On 1. Sep 2023, at 09:43, Haoran Xu <<a data-auto-link="1" href="mailto:xu1jian2wei3@163.com">xu1jian2wei3@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div>Thanks Martin.May I ask in detail how to calculate the intervals?<br><br><br><br>
<div>
<div class="ntes-mailmaster-quote" style="padding-top: 1px; padding-bottom: 1px">
<div style=" margin-top: 20px; margin-bottom: 12px; font-size: 14px; line-height: 1.25; color: #89898c; ">---- 回复的原邮件 ----</div>
<div style=" margin-bottom: 12px; font-size: 13px; line-height: 1.25; color: #2c2c2e; padding: 2px; border-radius: 8px; background-color: #f0f0f0; ">
<table width="100%" cellpadding="0" cellspacing="10" border="0">
<tbody><tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">发件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-from" style="color: #1c83eb; text-decoration: none" href="mailto:Martin.Losch@awi.de">Martin Losch<Martin.Losch@awi.de></a></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; white-space: nowrap; ">日期</td>
<td class="mail-date" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">2023年09月01日 15:26</td>
</tr>
<tr style="">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">收件人</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "><a class="mail-to" style="color: #1c83eb; text-decoration: none" href="mailto:mitgcm-support@mitgcm.org">MITgcm Support<mitgcm-support@mitgcm.org></a></td>
</tr>
<tr style="display:none;">
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">抄送至</td>
<td valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; "></td>
</tr>
<tr>
<td valign="top" style=" width: 4em; font-size: 13px; line-height: 1.25; color: #89898c; ">主题</td>
<td class="mail-subject" valign="top" style=" font-size: 13px; line-height: 1.25; color: #2c2c2e; word-break: break-all; ">Re: [MITgcm-support] EXF configuration</td>
</tr>
</tbody></table>
</div>
<div><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Haoran,<div><br></div><div>you can specify non-constant latitude intervals like this:</div><div><br></div><div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> precip_lat_inc = 0.556914D0, 0.560202D0, 0.560946D0, 0.561227D0, 0.561363D0,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 0.561440D0, 0.561487D0, 0.561518D0, 0.561539D0, 0.561554D0,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 0.561566D0, 0.561575D0, 0.561582D0, 0.561587D0, 0.561592D0,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 289*0.561619268965519,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 0.561592D0, 0.561587D0, 0.561582D0, 0.561575D0, 0.561566D0,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 0.561554D0, 0.561539D0, 0.561518D0, 0.561487D0, 0.561440D0,</span></div><div style="margin: 0px; font-style: normal; font-variant-caps: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; font-size-adjust: none; font-kerning: auto; font-variant-alternates: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-east-asian: normal; font-variant-position: normal; font-feature-settings: normal; font-optical-sizing: auto; font-variation-settings: normal;"><span style="font-variant-ligatures: no-common-ligatures"> 0.561363D0, 0.561227D0, 0.560946D0, 0.560202D0, 0.556914D0,</span></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures">Note that this is *not* correct for Era5 with 0.25 deg grid spacing, just to illustrate how to do this, and you’ll have to figure out the intervals yourself. With very large forcing data sets you may have to increase some constants in EXF_INTERP_SIZE.h</span></div><div><span style="font-variant-ligatures: no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures: no-common-ligatures">Martin</span></div><div><br><blockquote type="cite"><div>On 1. Sep 2023, at 08:55, Haoran Xu <<a data-auto-link="1" href="mailto:xu1jian2wei3@163.com">xu1jian2wei3@163.com</a>> wrote:</div><br class="Apple-interchange-newline"><div><div style="line-height: 1.7; font-size: 14px; font-family: Arial;"><div><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 20px;">Dear
MITgcm community,<o:p></o:p></span></p><p class="MsoNormal"><span style="font-family: "Times New Roman", serif; font-size: 20px;">
I am simulating South China Sea current using the configuration in <a href="https://data.nas.nasa.gov/ecco/data.php?dir=/eccodata/llc_4320/regions/SouthChinaSea3">https://data.nas.nasa.gov/ecco/data.php?dir=/eccodata/llc_4320/regions/SouthChinaSea3</a> Simulating the current in South China Sea And I am using ERA5 data (0.25°)as atmospheric forcing. The
Latitude interval (for 0.14°) in data.exf is not equally spaced distributed. I
have not found the configuration for resolution 0.25°(<a href="https://github.com/MITgcm-contrib/llc_hires">https://github.com/MITgcm-contrib/llc_hires</a>
). So I set the latitude interval equally spaced(file attached).I want to know
if this configuration right. Or can anybody teach me how to set this(for 0.25)? Thanks in advance.</span><span lang="EN-US" style="font-family:"Times New Roman",serif"><o:p></o:p></span></p><p class="MsoNormal"><span style="font-size: 18px; font-family: "Times New Roman";">Best regards,</span></p></div><div><span style="background-color: rgb(255, 255, 255); color: rgb(16, 18, 20); white-space-collapse: preserve; font-size: 18px; font-family: "Times New Roman";">Haoran</span></div></div><span id="cid:1159A97E-419E-4410-BAC2-A57ACFE41864"><data.exf></span>_______________________________________________<br>MITgcm-support mailing list<br><a data-auto-link="1" href="mailto:MITgcm-support@mitgcm.org">MITgcm-support@mitgcm.org</a><br>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br></div></blockquote></div><br></div></div></div>
</div>
</div>
_______________________________________________<br>MITgcm-support mailing list<br><a data-auto-link="1" href="mailto:MITgcm-support@mitgcm.org">MITgcm-support@mitgcm.org</a><br>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br></div></blockquote></div><br></div></div>
</div>
</div>
_______________________________________________<br>MITgcm-support mailing list<br>MITgcm-support@mitgcm.org<br>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br></div></blockquote></div><br></div></body></html>