<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:12.0pt;
font-family:"Aptos",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Dimitris,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you for the reply. I am using a rectangular grid, which is for a regional modeling near Antarctica.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yilang <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="color:black">From:
</span></b><span style="color:black">MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Menemenlis, Dimitris (US 329B) <dimitris.menemenlis@jpl.nasa.gov><br>
<b>Date: </b>Tuesday, April 16, 2024 at 00:52<br>
<b>To: </b>mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Subject: </b>Re: [MITgcm-support] Curvilinear grid generation<o:p></o:p></span></p>
</div>
<p class="MsoNormal">What is the desired characteristics of your grid? Would a latitude/longitude or a rectangular grid suffice for your application?
</p>
<div>
<p class="MsoNormal"><br>
<br>
</p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-bottom:12.0pt">On Apr 15, 2024, at 8:18<span style="font-family:"Arial",sans-serif"> </span>AM, Yilang Xu <yxu@whoi.edu> wrote:</p>
</blockquote>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif"></span> <o:p>
</o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt">Dear MITgcm community, </span>
</p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I am wondering if there is any standard way or package to generate curvilinear grid.
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I set usingCurvilinearGrid=.TRUE., in data, and #define OLD_GRID_IO in CPP_OPTIONS.h.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Currently I have LATC.bin, LONC.bin, LATG.bin, LONG.bin, etc. I also generate some dummy variables such as DXF=DXG=DXV=DXC, DYF=DYG=DYU=DYC, RA=RAZ=RAW=RAS, in order to get the model running at first and then
I could correct them later. </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">The model output shows that there is mismatch in the grid. For example, noise exists around the ice shelf, where freshwater flux should not happen.
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">I would assume many people used curvilinear grid in the past, and I am wondering if there is any existing method to accurately generate the required grid variables. I appreciate any suggestions on this issue.
</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you very much.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Cheers,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Yilang </span></p>
</div>
<p class="MsoNormal">_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
https://urldefense.us/v3/__http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support__;!!PvBDto6Hs4WbVuu7!Las8ExWvHmBKqrCL0q3Cacy8vbuvOBxElg0U3GWhDuUXsBd0CdTS9CwNE8QuXToyaW-C-VJjKVtDbnsc1Y0ZK3QP$
<o:p></o:p></p>
</div>
</blockquote>
</div>
</div>
</div>
</body>
</html>