Re: NGSETI error in vector plots

From: <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Mar 22 2011 - 14:48:45 MDT

Hi Steve,

I've tracked down where in the code this emanates, but that of course
yields no insight as to why. How much trouble is it for you to
provide a script and data that exhibits the problem?

Rick

On Tue, 22 Mar 2011 14:02:15 -0600 (MDT)
  Stephen Yeager <yeager@ucar.edu> wrote:
>
> Hello:
>
> This vector plot issue was brought up in a 2008 post by Dave
>Allured, and
> I'm not sure what the status is of any fix...
>
>
> I get the following errors when attempting a vector plot:
>
> ERROR 2 IN NGSETI - Parameter value out of range for CT
> fatal:VectorPostPlotDraw: SET - UNCLEARED PRIOR ERROR
> fatal:VectorPostPlotDraw: error drawing vectors
> fatal:VectorPlotDraw: draw error
> warning:WorkstationDeactivate: workstation not active or not opened
> fatal:VectorPlotDraw: draw error
> fatal:PlotManagerPostDraw: error in plot post-draw
> fatal:_NhlPlotManagerDraw: PostDraw error
>
>
>
> This is generated by the following code sequence
> tmprcu = where(prob(i,:,:).lt.0.9,rcu@_FillValue,rcu(i,:,:))
> tmprcv = where(prob(i,:,:).lt.0.9,rcv@_FillValue,rcv(i,:,:))
> copy_VarMeta(rcu,tmprcu)
> copy_VarMeta(rcv,tmprcv)
> plotvec = gsn_csm_vector(wks,tmprcu,tmprcv,resv)
> overlay(plot(i),plotvec)
>
> The vector plot is failing because I'm masking out the vector
>components
> whereever probability is below 0.9. Apparently, this results in too
> many _FillValues, which gsn_csm_vector can't handle. The sequence
> works in other situations where probabilities are high and there is
> relatively little masking. Similarly, I have no problems if I skip
> the masking step.
>
> gsn_csm_vector() should be able to handle an array full of
>_FillValues,
> shouldn't it?
>
> Thanks,
> Steve
>
>
>
>
> ++++++++++++++++
> Stephen Yeager
> yeager@ucar.edu
> (303) 497-1721
> ++++++++++++++++
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Mar 22 14:48:52 2011

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2011 - 16:15:59 MDT