<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Tahoma,Arial,Helvetica,sans-serif'>
<p>Hi</p>
<p><br /></p>
<p>I have a file which its longitude is from <span>-279.5 to 79.5 , I reorder the longitudes with the help of using "lonPivot(sst, 0.5) "</span></p>
<p><span>here I send you the result of "printVarSummary" befor and afte using "lonPivot".</span></p>
<p><span>================================================</span></p>
<p><span>Variable: sst<br />Type: float<br />Total Size: 653460480 bytes<br /> 163365120 values<br />Number of Dimensions: 3<br />Dimensions and sizes: [time | 1956] x [rlat | 232] x [rlon | 360]<br />Coordinates:<br /> time: [15.5..59479.5]<br /> rlat: [-81.5..89.5]<br /> rlon: [-279.5..79.5]</span></p>
<p><span>------------------------------------------</span></p>
<p><span>Variable: ss<br />Type: float<br />Total Size: 653460480 bytes<br /> 163365120 values<br />Number of Dimensions: 3<br />Dimensions and sizes: [time | 1956] x [rlat | 232] x [rlon | 360]<br />Coordinates:<br /> time: [15.5..59479.5]<br /> rlat: [-81.5..89.5]<br /> rlon: [ 0.5..359.5]</span></p>
<p><span>=======================================================</span></p>
<p><span><span style="font-size: 18pt;">my problem is :</span></span></p>
<p><span>I want to print and save new longitudes, cause i want to use it in command below =></span></p>
<pre>newsst = linint2(lon,sst&LAT,sst,True,newlon,newlat,0)<br /><br /> which is in this example <span>https://www.ncl.ucar.edu/Applications/Scripts/regrid_1.ncl</span></pre>
<p>but i can not call new longitude.</p>
<p>infact I want to rearrange the longitude and then regrid it and use with some other sst data ,that i interpolate them before.</p>
<p><br /></p>
<p><br /></p>
<p><br /></p>
<p><br /></p>
<p><br /></p>
<p><br /></p>
<p><br /><br /></p>
</body></html>