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

[IDV #EEU-631514]: issue plotting variables from netCDF file



> Dear Yuan,
> 
> Thank you for taking a look at this. I think what's happened is that there
> is a scale factor still in the .nc file which used to convert meters to
> decimal degrees. But the new model output is already in decimal degrees. So
> IDV may be reading the obsolete scale factor and converting the numbers to
> nonsense. Is that consistent with what you're seeing? If this is the case,
> is there a way to get IDV to ignore the scale factor?
> 
> All the best
> 
> Alexa


Hi Alexa,
      Sorry for the delay, we are in the meeting this week.
      The answer is yes, you can use the ncml to remove the attribute you don't 
wanted. 

https://www.unidata.ucar.edu/software/thredds/current/netcdf-java/ncml/Cookbook.html


Yuan
> 
> address@hidden> wrote:
> 
> > > Dear IDV Support,
> > >
> > > I am having trouble getting IDV to read atmospheric model output file.
> > The
> > > data seem to load, and all the variables are recognized, but none of them
> > > actually show up as a plot in the Map View. I'm also not getting any
> > error
> > > messages.
> > >
> > > The other curious thing is that the rectangular domain shown by wireframe
> > > box in Map View seems to be in the default location over the USA, rather
> > > than where it should be, over the Philippines.
> > >
> > > I would be very appreciative if someone is available to take a look at
> > this
> > > .nc file and see where it may be incompatible with IDV.
> > >
> > > I am using the newest version of IDV (5.1u2) for Mac OS X (v. 10.10.3).
> > >
> > > I've dropped an example file here (~444 MB):
> > >
> > >
> > https://drive.google.com/folderview?id=0B1jVlP9ZfAZCc21DNWFxWExwMzA&usp=sharing
> > >
> > > And attached to this email is the 'aggregate grids by time' ncml script
> > > I've been using to combine multiple files.
> > >
> > > All the best
> > >
> > > Alexa
> > >
> > >
> > Alexa,
> >       There is some problem with the value of latitude, values at:
> >
> > 13.800309, 13.80031, 13.80031, 13.80031, 13.800311, 13.800311, 13.800311,
> > 13.800312, 13.800312, 13.800312, 13.800313, 13.800313, 13.800313,
> > 13.800314, 13.800314, 13.800314, 13.800315, 13.800315, 13.800315,
> > 13.800316, 13.800316, 13.800316, 13.800317, 13.800317, 13.800317,
> > 13.800318, 13.800318, 13.800318, 13.800318, 13.800318, 13.800319,
> > 13.800319, 13.800319, 13.800319, 13.800319, 13.800319, 13.800319, 13.80032,
> > 13.80032, 13.80032, 13.80032, 13.80032, 13.80032, 13.80032, 13.80032,
> > 13.80032, 13.80032, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800321, 13.800321, 13.800321, 13.800321, 13.800321,
> > 13.800321, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13
> >  .800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800322,
> > 13.800322, 13.800322, 13.800322, 13.800322, 13.800322, 13.800323,
> > 13.800323, 13.800323, 13.800323, 13.800323, 13.800323, 13.800323,
> > 13.800323, 13.800323, 13.800323, 13.800323, 13.800323, 13.800323,
> > 13.800323, 13.8003235, 13.8003235, 13.8003235, 13.8003235, 13.8003235,
> > 13.8003235, 13.8003235, 13.800324, 13.800324, 13.800324, 13.800324,
> > 13.800324, 13.800325, 13.800325, 13.800325, 13.800325, 13.80
> >  0326, 13.800326, 13.800326, 13.800327, 13.800327, 13.800327, 13.800328,
> > 13.800328, 13.800329, 13.800329, 13.800329, 13.80033, 13.80033, 13.800331,
> > 13.800331, 13.800332, 13.800332, 13.800333, 13.800333, 13.800334,
> > 13.800334, 13.800334, 13.800335, 13.800335, 13.800336, 13.800336,
> > 13.800337, 13.800337
> >
> > So it is basically a line, not a region. Does it look correct to you?
> >
> > Yuan
> >
> > Ticket Details
> > ===================
> > Ticket ID: EEU-631514
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> >
> >
> 
> 

Ticket Details
===================
Ticket ID: EEU-631514
Department: Support IDV
Priority: Normal
Status: Closed