[ncl-talk] do loop problem for overlay plot

Ying Song ying.song at sjsu.edu
Wed Jan 3 12:09:00 MST 2018


Thanks, Rick,

I printed the min_z and max_z. They the smaller than actual value due to
the "floattointeger" so the range of color bar is not appropriate. I should
use *decimalPlaces* instead.

Thanks!

On Tue, Jan 2, 2018 at 10:08 AM, Rick Brownrigg <brownrig at ucar.edu> wrote:

> Are you getting valid values when you subset the variable "z" the second
> time through the loop; e.g., what does printVarSummary(z_kk) and min_z and
> max_z report?
>
> On Mon, Jan 1, 2018 at 6:41 PM, Ying Song via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> Hi NCL help,
>>
>> I have a question about overlay plot with do loop. I have two loops (time
>> and level).  The plot is okay for first loop(time) but the second loop
>> (level) misses one layer (color filled contour plot) when overlaying. This
>> is actually the base layer. But the vector and epv are still plotted. No
>> sure what's wrong in my script. Please help me check. Thank you very much!
>> Script and plot are attached.
>>
>> _______________________________________________
>> 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/20180103/a1e53016/attachment.html>


More information about the ncl-talk mailing list