[ncl-talk] Multiple Issues

Jinwoong Yoo jinwoongyoo at unm.edu
Thu Nov 19 15:26:47 MST 2015


Thank you, Dave, for your reply.


Data that I'm plotting is difAve which is overlaid by prob.


Variable: difAve
Type: double
Total Size: 4629312 bytes
            578664 values
Number of Dimensions: 3
Dimensions and sizes: [lat | 171] x [lon | 282] x [month | 12]
Coordinates:
            lat: [-13.06634..47.43503]
            lon: [94.46107..205.5389]
            month: [0..11]
Number Of Attributes: 2
  units : m/s
  long_name : LGM-Modern


Variable: prob
Type: double
Total Size: 4629312 bytes
            578664 values
Number of Dimensions: 3
Dimensions and sizes: [lat | 171] x [lon | 282] x [month | 12]
Coordinates:
            lat: [-13.06634..47.43503]
            lon: [94.46107..205.5389]
            month: [0..11]
Number Of Attributes: 2
  long_name : Probability: difference between means
  _FillValue : 9.969209968386869e+36




Summaries for lat and lon are as below:

Variable: lat
Type: float
Total Size: 684 bytes
            171 values
Number of Dimensions: 1
Dimensions and sizes: [south_north | 171]
Coordinates:
Number Of Attributes: 7
  cell_methods : time: mean
  FieldType : 104
  MemoryOrder : XY
  description : LATITUDE, SOUTH IS NEGATIVE
  units : degrees_north
  stagger :
  _FillValue : 9.96921e+36

Variable: lon
Type: float
Total Size: 1128 bytes
            282 values
Number of Dimensions: 1
Dimensions and sizes: [south_north | 282]
Coordinates:
Number Of Attributes: 7
  cell_methods : time: mean
  FieldType : 104
  MemoryOrder : XY
  description : LONGITUDE, WEST IS NEGATIVE
  units : degrees_east
  stagger :
  _FillValue : 9.96921e+36


Thank you very much!

Regards,

Jinwoong

________________________________
From: David Brown <dbrown at ucar.edu>
Sent: Thursday, November 19, 2015 3:13 PM
To: Jinwoong Yoo
Cc: Alan Brammer; ncl-talk at ucar.edu
Subject: Re: [ncl-talk] Multiple Issues

The unwanted lines in your plot all seem to be pointing towards a single point. Perhaps an issue with a missing value not being recognized properly?
It might help us diagnose the problem if you printed out summaries of the lat, lon, and data variables.
 -dave


On Thu, Nov 19, 2015 at 1:35 PM, Jinwoong Yoo <jinwoongyoo at unm.edu<mailto:jinwoongyoo at unm.edu>> wrote:

Thank you, Alan, for your comment.


Regards,


Jinwoong


________________________________
From: Alan Brammer <abrammer at albany.edu<mailto:abrammer at albany.edu>>
Sent: Thursday, November 19, 2015 1:29 PM
To: Jinwoong Yoo
Cc: ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
Subject: Re: [ncl-talk] Multiple Issues

Have you tried doing what the error suggests?

(0) You may want to set the gsnAddCyclic resource to False to avoid a
(0) warning message from the spline function.

if your plotting resources are in a variable name res

res at gsnAddCyclic  = False


Alan.




On 19 Nov 2015, at 15:15, Jinwoong Yoo <jinwoongyoo at unm.edu<mailto:jinwoongyoo at unm.edu>> wrote:

Dear NCL users,

I am trying to plot an image following an example at https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png.<https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png>
[https://www.ncl.ucar.edu/Applications/Images/climo_1_lg.png]

but I'm getting a few warnings and my result plot is not pretty enough (attached).

Warning messages are as below:

(0) gsn_add_cyclic: Warning: The range of your longitude data is not 360.
(0) You may want to set the gsnAddCyclic resource to False to avoid a
(0) warning message from the spline function.
warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value
warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear



<test_MPI.png>_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151119/de6f0f7f/attachment.html 


More information about the ncl-talk mailing list