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

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



> The jar file worked on the "UGRD,VGRD" fields.  My question is can the
> java be modified to include the "EPOT" parameter?  All the fields output
> from my prediction model use "-999.0" as the missing value.
> 

Yes, you can unjar this file, and inside the ncml file, looks for what I did 
for U, V and do the same for the other parameter, and then recreate the jar 
file.


Yuan
> On 7/13/2016 4:01 PM, Unidata IDV Support wrote:
> >> Excellent!  I will do that.
> >>
> > Robert,
> >
> > If you don't have the privilege to modify the file and have to live with 
> > the current format, I have a better solution here:
> >
> > install the attached jar file open the plugin manager: Tools > Plugin 
> > manager, and then File > install from file > NCST.jar
> >
> > restart your IDV.  Now you have a new data source type named NCST12 Data 
> > files, you only need to specify this type each time loading this kind of 
> > NCST file. You don't need to
> > worry about the ncml or do any editing. Life is good.
> >
> >
> > Yuan
> >
> >
> >> On 7/13/2016 3:37 PM, Unidata IDV Support wrote:
> >>> Robert,
> >>>
> >>> You put the NCML and grib files wherever you want. The only catch is you 
> >>> have to
> >>> point to the correct location of the grib file in the NCML.
> >>>
> >>> For example, in my NCML I had
> >>>
> >>> location="file:/Users/chastang/Downloads/NCST12_AHI.grib2"
> >>>
> >>> you will have something like
> >>>
> >>> location="file:C:\Users\boba\Downloads\NCST12_AHI.grib2"
> >>>
> >>> in fact, you have an example of this location in the NCML file you 
> >>> successfully
> >>> loaded earlier.
> >>>
> >>> You then load the NCML file in the IDV as you normally would wherever it 
> >>> is
> >>> located on your computer.
> >>>
> >>> Best,
> >>>
> >>> Unidata IDV Support
> >>>
> >>>> Where do I put the edited file?
> >>>>
> >>>>
> >>>> On 7/13/2016 2:22 PM, Unidata IDV Support wrote:
> >>>>> 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.
> >>>>>
> >>>>>
> >>>> --
> >>>> 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.
> >>>
> >>>
> >> --
> >> 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.
> 
> --
> 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.