[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #EHD-488664]: grids of wind vector plots with missing value flags



Robert,

What you did is fine and will work but can be a bit unwieldy as you point out.
You could have simply edited the file I attached earlier to point to the correct
grib file and it would have worked.

Again, if you can fix the problem in the original data, that would be best
especially now that you have a better understanding of the problem.

There are yet other ways to deal with this issue perhaps by creating a Jython
grid mask in the IDV if the other solutions are too cumbersome.

Best,

Unidata IDV Support

> I have never heard of NcML so I went to the NcML web page, downloaded
> the ToolsUI application, loaded my grib2 file under the NcML tab,
> changed the "missing_value" value from "NaN" to "-999.0", and saved the
> file as NetCDF.  The winds plotted correctly! I guess I'll have to do
> this for every grib2 file I generate.
> 
> On 7/12/2016 4:52 PM, Unidata IDV Support wrote:
> > Hi Robert,
> >
> > Here is at least one way to this. See the attached NCML that correctly 
> > defines
> > the correct "missing_value" attribute which is the root of the problem here.
> >
> > You will have to change the path to the location of your data file in the 
> > NCML.
> >
> > Sometimes NCML is not the optimal choice for a variety of reasons so let us 
> > know
> > if that works for you (or properly define the missing_value attribute in 
> > the original
> > data).
> >
> > Keep us up-to-date on your progress.
> >
> > Best,
> >
> > Unidata IDV Support
> >
> >> Full Name: Robert Aune
> >> Email Address: address@hidden
> >> Organization: NOAA/NESDIS - CIMSS
> >> Package Version: 5.3 build date:2016-05-23 19:17 UTC
> >> Operating System: Windows 7
> >> Hardware: Java: home: C:\Program Files\IDV_5.3\jre version: 1.8.0_45 
> >> j3d:1.6.0-pre9-daily-experimental daily
> >> Description of problem: I'm plotting wind vectors on a grid that contains 
> >> a missing value flag (-999).  Is there a way to skip plotting the vectors 
> >> at the missing value grid points?
> >>
> >>
> >
> > Ticket Details
> > ===================
> > Ticket ID: EHD-488664
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> > ===================
> > NOTE: All email exchanges with Unidata User Support are recorded in the 
> > Unidata inquiry tracking system and then made publicly available through 
> > the web.  If you do not want to have your interactions made available in 
> > this way, you must let us know in each email you send to us.
> 
> --
> Robert M. Aune
> Research Meteorologist, Advanced Satellite Products Branch
> COoperative Research Program
> Center for Satellite Applications and Research
> DOC/NOAA/NESDIS
> 1225 W. Dayton St., Madison, WI 53706
> Ph: 608-262-1071      Fax: 608-262-5974
> 
> 


Ticket Details
===================
Ticket ID: EHD-488664
Department: Support IDV
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.