[ncl-talk] non-monotonic array plot
Mary Haley
haley at ucar.edu
Thu Oct 4 12:32:41 MDT 2018
Elham,
You must provide more information if you want people to help you. Just
providing the error message without any code or information about the
variable makes it hard for us to tell you what the solution is.
It helps to try to understand the error message. It is telling you that
the coordinates specified for the X axis are non monotonic. To debug this,
I would first check to make sure you're using the correct array for the X
axis, and I would also print out the values to see what they look like.
It helps if you can provide the code and even better if you can include the
data so we can try your code ourselves.
Also, if you could do a "printVarSummary" of the variable that you are
trying to plot and how you are trying to plot it (i.e. using
gsn_csm_contour or gsn_csm_contour_map) is helpful.
--Mary
On Wed, Oct 3, 2018 at 9:10 AM, Elham Ghasemifar <
elham.ghasemifar at modares.ac.ir> wrote:
> Dear Colleagues
>
> hello
>
> i have one question, when i wanted to plot cloudsat data against latitude,
> i got the warning,
>
>
> warning:ScalarFieldSetValues: irregular coordinate array sfXArray
> non-monotonic: defaulting sfXArray
>
> how i can split my data for latitude?
>
> best regards
>
>
>
> _______________________________________________
> ncl-talk mailing list
> 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/20181004/1ed0fe2f/attachment.html>
More information about the ncl-talk
mailing list