[ncl-talk] print longitude after using lonPivot

sjd.marjani sjd.marjani at ut.ac.ir
Fri Jan 26 02:49:21 MST 2018


Hi 

I have a file which its longitude is from -279.5  to   79.5  ,  I 
reorder the longitudes with  the help of using "lonPivot(sst, 0.5) " 

here I send you the result of "printVarSummary" befor and afte using
"lonPivot". 

================================================ 

Variable: sst
Type: float
Total Size: 653460480 bytes
163365120 values
Number of Dimensions: 3
Dimensions and sizes: [time | 1956] x [rlat | 232] x [rlon | 360]
Coordinates:
time: [15.5..59479.5]
rlat: [-81.5..89.5]
rlon: [-279.5..79.5] 

------------------------------------------ 

Variable: ss
Type: float
Total Size: 653460480 bytes
163365120 values
Number of Dimensions: 3
Dimensions and sizes: [time | 1956] x [rlat | 232] x [rlon | 360]
Coordinates:
time: [15.5..59479.5]
rlat: [-81.5..89.5]
rlon: [ 0.5..359.5] 

======================================================= 

my problem is : 

I want to print and save new longitudes, cause i want to use it in 
command below =>

newsst = linint2(lon,sst&LAT,sst,True,newlon,newlat,0)

                                            which is in this example   
https://www.ncl.ucar.edu/Applications/Scripts/regrid_1.ncl

but i can not call new longitude. 

infact I want to rearrange the longitude and then regrid it and use with
some other sst data ,that i interpolate them before.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180126/b6566f05/attachment.html>


More information about the ncl-talk mailing list