<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Ah, I see. You’re welcome! I’m glad you found it.<div class=""><br class=""></div><div class="">Toni<br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri" class=""><br class="Apple-interchange-newline"><br class=""></font></div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri" class=""><b class="">Toni Klemm, Ph.D.<br class=""></b>Postdoctoral Research Associate</font></div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Department of Ecosystem Science and Management</div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">College of Agriculture and Life Sciences</div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">Texas A&M University, College Station, TX</div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri" class="">Contributor at the <a href="http://www.eccforum.org" class="">Early Career Climate Forum</a><br class=""><a href="http://www.toni-klemm.de" class="">www.toni-klemm.de</a> | <a href="http://twitter.com/toniklemm" class="">@toniklemm</a></font></div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri" class=""><br class=""></font></div><div style="color: rgb(0, 0, 0); font-variant-caps: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><font face="Calibri" class=""><br class=""></font></div></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Aug 6, 2018, at 1:00 PM, Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" class="">ipsita.putatunda@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi Toni,<br class=""></div> I was using "r" while doing linint2_Wrap instead of "rnew", that is why it was plotting differently.<br class=""><br class=""></div>Thanks a lot.<br class=""></div>Ipsita<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 11:22 PM, Ipsita Putatunda <span dir="ltr" class=""><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div class="">Hi Toni,<br class=""></div> If you look in my script, in line 20 I have already lonFlip the data longitude. lonFlip is a function which flips the longitude from -180/+180 to 0/360 or vice versa. So though my initial data lon is in -180/+180 format, I have changed it to 0/360 via lonFlip and there after creating the variable for regridding.<br class=""><span style="font-family:Courier" class="">a1=fspan(0.,359.75,1441)</span><br class=""></div><div class="">Thanks,<br class=""></div><div class="">Ipsita<br class=""></div><div class=""><span style="font-family:Courier" class=""></span></div><span style="font-family:Courier" class=""></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 11:06 PM, Toni Klemm <span dir="ltr" class=""><<a href="mailto:toni-klemm@tamu.edu" target="_blank" class="">toni-klemm@tamu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Ipsita,<div class=""><br class=""></div><div class="">It looks indeed like your longitudes are shifted. In your script you created an array that spans 0 to 359</div><div class=""><span style="font-family:Courier" class=""><br class=""></span></div><div class=""><span style="font-family:Courier" class=""><span class="m_-7152475497409020513m_-2790115158788952572Apple-tab-span" style="white-space:pre-wrap">    </span>a1=fspan(0.,359.75,1441)</span></div><div class=""><div class=""><br class="m_-7152475497409020513m_-2790115158788952572webkit-block-placeholder"></div><div class="">
<div dir="auto" style="text-align:start;text-indent:0px;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="text-align:start;text-indent:0px;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="text-align:start;text-indent:0px;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="text-align:start;text-indent:0px;word-wrap:break-word;line-break:after-white-space" class=""><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class="">but the metadata of your file lists as the longitudes of your data ranging from -180 to 179.375 degrees.</font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><div class=""><font face="Courier" class=""><span class="m_-7152475497409020513m_-2790115158788952572Apple-tab-span" style="white-space:pre-wrap">        </span>:WesternmostLongitude = "-180.0" ;</font></div><div class=""><font face="Courier" class=""><span class="m_-7152475497409020513m_-2790115158788952572Apple-tab-span" style="white-space:pre-wrap">        </span>:EasternmostLongitude = "179.375" ;</font></div><div style="font-family: Calibri; font-variant-caps: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class=""><br class=""></div><div style="font-family: Calibri; font-variant-caps: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class=""><br class=""></div><div style="font-family: Calibri; font-variant-caps: normal; letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;" class="">I’m not familiar with the function lining_Wrap, but try setting up the array a1 so it ranges from -180 to +179.375 and see what happens.</div></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><br class=""></font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><span style="font-family:Courier" class=""><span class="m_-7152475497409020513m_-2790115158788952572Apple-tab-span" style="white-space:pre-wrap">  </span>a1=fspan(-180,179.375,1441)</span></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class="">Also, at first I wondered why the plot only covers the</font> region around the equator (30 S to 30 N). But from your script I assume you only want to plot that region.</div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Courier" class=""><span class="m_-7152475497409020513m_-2790115158788952572Apple-tab-span" style="white-space:pre-wrap">   </span>b1=fspan(-30.,30.,241)</font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class="">If not, that try changing the fspan from -90 to 90 and the steps from 241 to 723 (3x 241).</font></div><span class=""><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class="">Toni</font></div><div style="text-align:start;text-indent:0px" class=""><font face="Calibri" class=""><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline"><br class=""></font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><b class="">Toni Klemm, Ph.D.<br class=""></b>Postdoctoral Research Associate</font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class="">Department of Ecosystem Science and Management</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class="">College of Agriculture and Life Sciences</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class="">Texas A&M University, College Station, TX</div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class="">Contributor at the <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eccforum.org&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=hC7Jy6J4NpNHflaHzXEiWxJBsu50UiPokV6f3h8mg18&s=KWMDmP_MUoEz6emOPruGgN7E1YLxiGL7BGdQi6KNY7Q&e=" target="_blank" class="">Early Career Climate Forum</a><br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toni-2Dklemm.de&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=hC7Jy6J4NpNHflaHzXEiWxJBsu50UiPokV6f3h8mg18&s=dFvrD9TVPAcV2MZ-qe8fhEIfl9tMagRhNwdbeJeDHcU&e=" target="_blank" class="">www.toni-klemm.de</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_toniklemm&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=hC7Jy6J4NpNHflaHzXEiWxJBsu50UiPokV6f3h8mg18&s=xmgrg4QQp1XCAcid9QdF38s4ifaVxad2DFNcWyQdNf0&e=" target="_blank" class="">@toniklemm</a></font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><br class=""></font></div><div style="letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-variant-caps: normal; text-align: start; text-indent: 0px;" class=""><font face="Calibri" class=""><br class=""></font></div></span></div></div><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline"><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline">
</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="m_-7152475497409020513h5"><div class="">On Aug 6, 2018, at 12:20 PM, Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>> wrote:</div><br class="m_-7152475497409020513m_-2790115158788952572Apple-interchange-newline"></div></div><div class=""><div class=""><div class="m_-7152475497409020513h5"><div dir="ltr" class=""><div class=""><div class="">Hi Toni,<br class=""></div> Please find the attachment.<br class=""><br class=""></div>Thanks,<br class="">Ipsita<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 10:43 PM, Toni Klemm <span dir="ltr" class=""><<a href="mailto:toni-klemm@tamu.edu" target="_blank" class="">toni-klemm@tamu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><span class="">Ipsita,<div class=""><br class=""></div><div class="">Could you run the command </div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">ncdump -h <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__MERRA2-5F400.inst3-5F3d-5Fasm-5FNp.20170101.SUB.nc&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=SLg59Bo2un5Gc1gbYkbJx-YvAwqss_Dek2CXQ2STNHE&s=dxd4uHhDSIhFa7kqqt2VPyDxzvaTTJHrtiFXR-JfcmQ&e=" target="_blank" class="">MERRA2_400.inst3_3d_asm_Np.<wbr class="">20170101.SUB.nc</a></font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class="">and share the result of that? It should give you a summary of the header of your netCDF file, i.e. the metadata of the file and each variable, like latitude and longitude range, units, etc.</div></span><div class=""><div class=""><div dir="auto" style="word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><font face="Calibri" class=""><br class=""></font></div><div class=""><font face="Calibri" class="">Toni</font></div></div></div></div></div></div></div><span class=""><div class="">
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space" class=""><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline"><br class=""></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><b class="">Toni Klemm, Ph.D.<br class=""></b>Postdoctoral Research Associate</font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Department of Ecosystem Science and Management</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">College of Agriculture and Life Sciences</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Texas A&M University, College Station, TX</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class="">Contributor at the <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eccforum.org&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=SLg59Bo2un5Gc1gbYkbJx-YvAwqss_Dek2CXQ2STNHE&s=484HpwSun6C0ZiMj1-0Kg5OgKfF5MPH9TD5mFbp-Neg&e=" target="_blank" class="">Early Career Climate Forum</a><br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toni-2Dklemm.de&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=SLg59Bo2un5Gc1gbYkbJx-YvAwqss_Dek2CXQ2STNHE&s=HkRbQg4yW_BcdF8HHwfqByYj8e4_s3t6-apgDERmspQ&e=" target="_blank" class="">www.toni-klemm.de</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_toniklemm&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=SLg59Bo2un5Gc1gbYkbJx-YvAwqss_Dek2CXQ2STNHE&s=Lz6FlJH03nFr_L2Yqb2bVwWMICIpwxF41tbkRjASn5Y&e=" target="_blank" class="">@toniklemm</a></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class=""></font></div></div></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline"><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline">
</div>
</span><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="m_-7152475497409020513m_-2790115158788952572h5"><div class="">On Aug 6, 2018, at 12:05 PM, Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>> wrote:</div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818Apple-interchange-newline"></div></div><div class=""><div class=""><div class="m_-7152475497409020513m_-2790115158788952572h5"><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi all,<br class=""></div>Attaching my script herewith, though can't send the data file through email(already sent in ftp) due to its huge volume.<br class=""><br class=""></div>Thanks,<br class=""></div>Ipsita<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 10:33 PM, Ipsita Putatunda <span dir="ltr" class=""><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hi Toni,<br class=""></div>I have already sent my data and script through ftp, as the data file is big I can't attach it in mail.<br class=""></div>I first lonFlip my data from -180 to +180 to 0 to 360, till that point the plot was coming fine.<br class=""></div>After that I tried to regrid from 0.5 * 0.625 to 0.25*0.25, which is giving this plot.<br class=""></div>The point you mentioned for shifting 180 degree, I have noticed that also, but somehow not able to fix it.<br class=""><br class=""></div>Thanks,<br class=""></div>Ipsita<br class=""><div class=""><div class=""><div class=""><div class=""><br class=""></div></div></div></div></div><div class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818HOEnZb"><div class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 10:25 PM, Toni Klemm <span dir="ltr" class=""><<a href="mailto:toni-klemm@tamu.edu" target="_blank" class="">toni-klemm@tamu.edu</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Ipsita,<div class=""><br class=""></div><div class="">Would you mind sharing your NCL script and the metadata of your variables, i.e. an ncdump -h of your data files, with the listserv? I’m not sure many on the listserv have access to your data files and your script on the ftp server.</div><div class=""><br class=""></div><div class="">From which to which resolution did you regrid? Maybe check if your latitude range before and after the regrinding is the same, for example from 0 to 359 degrees or from -180 to +179 degrees? Judging from your plot (the position of Africa, for example) there might be a 180 degree shift between your data and your map overlay. <br class=""><div class=""><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102webkit-block-placeholder"></div><div class="">
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space" class=""><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word;line-break:after-white-space" class=""><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class="">Toni</font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline"><br class=""></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><b class="">Toni Klemm, Ph.D.<br class=""></b>Postdoctoral Research Associate</font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Department of Ecosystem Science and Management</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">College of Agriculture and Life Sciences</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class="">Texas A&M University, College Station, TX</div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class="">Contributor at the <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.eccforum.org&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=XVNuJ4lF58XrFDJa3KuL2JhhOUYC9qhu5P0f2FbS4jg&s=pwUb1iORHQjLkcIoGsCduDCmKc1xCPHjvAGzpZk2S1E&e=" target="_blank" class="">Early Career Climate Forum</a><br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.toni-2Dklemm.de&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=XVNuJ4lF58XrFDJa3KuL2JhhOUYC9qhu5P0f2FbS4jg&s=AyO6EOxiMiJtuJjCG8E6gJxcyuY_DhvETISLN3Ik-Ns&e=" target="_blank" class="">www.toni-klemm.de</a> | <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_toniklemm&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=XVNuJ4lF58XrFDJa3KuL2JhhOUYC9qhu5P0f2FbS4jg&s=fCKqNGjGZ_eVYsnTBfGzcaC9dMplBdDod9UH7gzlW9Y&e=" target="_blank" class="">@toniklemm</a></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class=""></font></div><div style="font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" class=""><font face="Calibri" class=""><br class=""></font></div></div></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline"></div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline"><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline">
</div><div class=""><div class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608h5">
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Aug 6, 2018, at 11:45 AM, Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>> wrote:</div><br class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">Hi Barry,<br class=""><br class=""></div>There is actually no particular reason for not using other regridding options. As I  have  used this method several times in my previous scripts and am much familiar with this method, and also  feel it is quicker process compare to other options, that is why I have chosen it. You are always welcome to suggest something different as well.<br class=""><br class=""></div>Thanks,<br class=""></div>Ipsita<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Aug 6, 2018 at 10:04 PM, Barry Lynn <span dir="ltr" class=""><<a href="mailto:barry.h.lynn@gmail.com" target="_blank" class="">barry.h.lynn@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="">Hi:<div class=""><br class=""></div><div class="">Is there  a particular reason you don't use </div><div class=""><br class=""></div><div class=""><a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ncl.ucar.edu_Applications_regrid.shtml&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=z_8XH5Nfko--z8kQcoLyR7TgUbSIqNJios95j_gBDhU&s=Rhqzff0XfY92jYqWoyOdJvMWFgdzGZP1L5Ngpclzknc&e=" target="_blank" class="">https://www.ncl.ucar.edu/Appli<wbr class="">cations/regrid.shtml</a>   ?<br class=""></div></div><br class=""><div class="gmail_quote"><div class=""><div class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102h5"><div dir="ltr" class="">On Mon, Aug 6, 2018 at 7:20 PM Ipsita Putatunda <<a href="mailto:ipsita.putatunda@gmail.com" target="_blank" class="">ipsita.putatunda@gmail.com</a>> wrote:<br class=""></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102h5"><div dir="ltr" class=""><div class=""><div class="">Dear all,<br class=""></div>I am not able to plot correctly after I regrid my data, using linint2_Wrap. I am attaching the plot herewith what I am getting.<br class=""> I have already sent my data file and script via ftp. Any help in this issue will be appreciated.<br class=""><br class=""></div><div class="">Thanks in advance,<br class=""></div><div class="">Ipsita<br class=""></div></div></div></div>
______________________________<wbr class="">_________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=z_8XH5Nfko--z8kQcoLyR7TgUbSIqNJios95j_gBDhU&s=0-9HbNHh-gfdMU8beZJdMGrGf7Mo8tSSWdBpUaEjMGo&e=" rel="noreferrer" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/listinfo/ncl-talk</a><br class="">
</blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818m_5659788651770988608m_-3549451848666750102m_-6530723475824300509gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class="">Barry H. Lynn, Ph.D<div class=""><div class="">Senior Associate Scientist, Lecturer,</div><div class=""><div class=""><span style="color:rgb(136,136,136)" class="">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)" class=""></div><span style="color:rgb(136,136,136)" class="">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)" class=""><span style="color:rgb(136,136,136)" class="">Fax: (972)-25662581</span></div></div><div class=""><span style="color:rgb(136,136,136)" class=""><br class=""></span></div><div class="">C.E.O, Weather It Is, LTD<br class="">Weather and Climate Focus<br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__weather-2Dit-2Dis.com&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=z_8XH5Nfko--z8kQcoLyR7TgUbSIqNJios95j_gBDhU&s=7H-awogmLMDx41uEHgNM5reEnkQstsgQ6tdGZAekd88&e=" target="_blank" class="">http://weather-it-is.com</a><br class="">Jerusalem, Israel<br class="">Local: 02 930 9525<br class="">Cell: 054 7 231 170<br class="">Int-IS: x972 2 930 9525<br class=""><br class=""></div></div></div></div></div>
</blockquote></div><br class=""></div>
______________________________<wbr class="">_________________<br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=XVNuJ4lF58XrFDJa3KuL2JhhOUYC9qhu5P0f2FbS4jg&s=S9k6flfF-_MuGpqVi3aMoYm1p6ZxWbqEFW99Mqmy_pM&e=" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/listinfo/ncl-talk</a><br class=""></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div>
</div></div><span id="m_-7152475497409020513m_-2790115158788952572m_-3681292346950780818cid:BA3F1B65-8189-4B8C-8561-6621B8D9BA84" class=""><merra1.ncl></span>__________________<wbr class="">_____________________________<span class=""><br class="">ncl-talk mailing list<br class=""><a href="mailto:ncl-talk@ucar.edu" target="_blank" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__mailman.ucar.edu_mailman_listinfo_ncl-2Dtalk&d=DwMFaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=WsLJ5ywbW3XnTzqo_ETV62H6s1a5bcGgnrpl7xPRfic&m=SLg59Bo2un5Gc1gbYkbJx-YvAwqss_Dek2CXQ2STNHE&s=nNYd_0WKTngaTKj5RQIssYSpNFpOuKsISGVrzxYuUfk&e=" target="_blank" class="">http://mailman.ucar.edu/mailma<wbr class="">n/listinfo/ncl-talk</a><br class=""></span></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
</div></div><span id="m_-7152475497409020513m_-2790115158788952572cid:D4745F51-2AC5-41E2-A1E4-77FF5F57E123" class=""><ncdump1.txt></span></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div>
</div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>