<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<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;"><br />
On 1 Feb 2017, 12:11 +0100, Ciao Kai Liang <ciaokailiang@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">Dear NCL users, 
<div><br /></div>
<div>
<p class="MsoNormal"><span lang="EN-US" xml:lang="EN-US">I have one model reported hourly matric with 4-dimensional resolution of 280x180x1x8760(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" xml:lang="EN-US"><br /></span></p>
<p class="MsoNormal">Best Regards,</p>
<p class="MsoNormal">Joe</p>
</div>
</div>
_______________________________________________<br />
ncl-talk mailing list<br />
ncl-talk@ucar.edu<br />
List instructions, subscriber options, unsubscribe:<br />
http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br /></blockquote>
</div>
</body>
</html>