<div dir="ltr"><div><div>As noted: lonFlip or lonPivot <br><br>However, you list the dimension order as: <br><span lang="EN-US">280x180x1x8760 (<wbr>lonxlatxlevxtime). <br></span></div><span lang="EN-US">Is this fortran dimension ordering?<br><br></span></div><div><span lang="EN-US">In NCL this would be:    x(time,lev,lat,lon)<br><br></span></div><div><span lang="EN-US">x = lonFlip(x)<br></span></div><div><span lang="EN-US"></span></div><div><div><div><br><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/lonFlip.shtml">http://www.ncl.ucar.edu/Document/Functions/Contributed/lonFlip.shtml</a><br><a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/lonPivot.shtml">http://www.ncl.ucar.edu/Document/Functions/Contributed/lonPivot.shtml</a><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 4:45 AM, Marston Johnston <span dir="ltr">&lt;<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div>
<div name="messageBodySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif">Try lonFlip(Variable with lon(0:360))
<div><br></div>
<div>/M</div>
</div>
<div name="messageReplySection" style="font-size:14px;font-family:-apple-system,BlinkMacSystemFont,sans-serif"><div><div class="h5"><br>
On 1 Feb 2017, 12:11 +0100, Ciao Kai Liang &lt;<a href="mailto:ciaokailiang@gmail.com" target="_blank">ciaokailiang@gmail.com</a>&gt;, wrote:<br>
</div></div><blockquote type="cite" style="margin:5px 5px;padding-left:10px;border-left:thin solid #1abc9c"><div><div class="h5">
<div dir="ltr">Dear NCL users, 
<div><br></div>
<div>
<p class="MsoNormal"><span lang="EN-US">I have one model reported hourly matric with 4-dimensional resolution of 280x180x1x8760(<wbr>lonxlatxlevxtime). Since its longitude coordinate is 0deg to 360deg and latitude is -90deg to 90deg. However, I want to change its longitude to <b>-180deg to 180deg </b>but keep latitude coordinate. Can anyone provide me the code to do this job?  kind of desperately need this help. Thank you</span></p>
<p class="MsoNormal"><span lang="EN-US"><br></span></p>
<p class="MsoNormal">Best Regards,</p>
<p class="MsoNormal">Joe</p>
</div>
</div></div></div>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br></blockquote>
</div>
</div>

<br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>