[ncl-talk] spline error/warning

Mary Haley haley at ucar.edu
Sun May 24 10:21:14 MDT 2015


Did you try setting the gsnAddCyclic resource to False, as the error
message suggested? It is True by default (in most cases).

--Mary


On Sat, May 23, 2015 at 3:45 AM, Marston Johnston <shejo284 at gmail.com>
wrote:

> Hi,
>
> I’m trying to plot some data using the contour plot
> function: gsn_csm_contour_map
> But I keep getting this annoying error/warning:
>
> gsn_add_cyclic: Warning: The range of your longitude coordinate array is
> at least 360.
> (0) You may want to set gsnAddCyclic to False to avoid a warning
> (0) 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
>
> The plot looks good so I’m wondering if I need to do anything about this
> warning/error?
>
> Appreciate any advice on this,
>
> /M
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Marston S. Johnston, PhD
> Department of Earth Sciences
> University of Gothenburg, Sweden
> Email: marston.johnston at gu.se
> Phone: +46-31-7862859
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Only the fruitful thing is true!
>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20150524/a824449c/attachment.html 


More information about the ncl-talk mailing list