[ncl-talk] lonPivot

gibies george gibies at tropmet.res.in
Thu Feb 12 06:40:05 MST 2015


Dear NCL support team,

Here I am reporting a probable bug in the lonPivot function.

Hope the following script and its output are self-explanatory.

Regards

Gibies

________________Script_________________

printVarSummary(hcst_sst)
hcst_sst=lonPivot(hcst_sst,0)
printVarSummary(hcst_sst)
*lonnew=fspan(0.25,359.75,720)*
*hcst_sst&lon=lonnew*
printVarSummary(hcst_sst)
_________________________Output________


Variable: hcst_sst
Type: float
Total Size: 273945600 bytes
            68486400 values
Number of Dimensions: 4
Dimensions and sizes: [year | 29] x [month | 8] x [lat | 410] x [lon | 720]
Coordinates:
            year: [1981..2009]
            month: [2..9]
            lat: [-80.75..89.75]
            lon: [-279.75..79.75]
Number Of Attributes: 1
  _FillValue : -1e+10

Variable: hcst_sst
Type: float
Total Size: 273945600 bytes
            68486400 values
Number of Dimensions: 4
Dimensions and sizes: [year | 29] x [month | 8] x [lat | 410] x [lon | 720]
Coordinates:
            year: [1981..2009]
            month: [2..9]
            lat: [-80.75..89.75]
            lon:* [-0.25..-0.75]*
Number Of Attributes: 2
  lonPivot : reordered via lonPivot [NCL]: pivotLon=0
  _FillValue : -1e+10

Variable: hcst_sst
Type: float
Total Size: 273945600 bytes
            68486400 values
Number of Dimensions: 4
Dimensions and sizes: [year | 29] x [month | 8] x [lat | 410] x [lon | 720]
Coordinates:
            year: [1981..2009]
            month: [2..9]
            lat: [-80.75..89.75]
            lon: [0.25..359.75]
Number Of Attributes: 2
  lonPivot : reordered via lonPivot [NCL]: pivotLon=0
  _FillValue : -1e+10
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150212/0cd62c10/attachment.html 


More information about the ncl-talk mailing list