[ncl-talk] Subset Returning Wrong Values

Zach Rieck zrr817 at gmail.com
Sun Apr 21 17:45:05 MDT 2019


To Whom it May Concern-

I'm trying to subset my data so I can use a section of it for comparison.
My data runs from 1978 through 2013, but I'm trying to grab just Jan 1- Mar
31 2001. I subsetted this by determining the range of values I needed from
the array to accomplish this and storing them as separate functions.
However, when I outputted the values, I saw that the prec2_f (y-axis)
variable was only outputting a bunch of 5s, which aren't even a value
within that range of data. I also noticed my date2_f variable (x-axis) is
slightly off and is showing dates from Dec 2000.

 I was wondering if you might be able to help me determine why my values
are off? I have attached both the code and data. Thanks in advance for the
help!

Respectfully,

-Zach Rieck
zrr817 at gmail.com
(513)-502-5652
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190421/1ae5ae6a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plots.ncl
Type: application/octet-stream
Size: 5086 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190421/1ae5ae6a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Trial Lake-daily.csv
Type: application/octet-stream
Size: 411628 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190421/1ae5ae6a/attachment-0003.obj>


More information about the ncl-talk mailing list