NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi Jon- Jon Blower wrote:
Thanks Don, that's very helpful. I guess as a workaround I could just set the bbox to [-180,-90,180,90] for a VerticalPerspectiveView? It's only a hint to a Web Map Service, so it won't affect any calculations.
You could have a VerticalPerspective projection and only be showing a piece of the image and in that case the lat/lon box would be defined (e.g. a blowup of the grib file over Africa). So, if the rectangle has any missing values, maybe default to that.
I've attached an image from the IDV of the file you sent. It shows why you have NaNs (box defines the projection) and some of the issues with the projection (map doesn't line up with features exactly).
Don
On Wed, Dec 2, 2009 at 3:40 PM, Don Murray <dmurray@xxxxxxxxxxxxxxxx> wrote:Jon- The grib data represent a disc of the earth so the corners are off the earth, thus the NaN's. Even so, the VerticalPerspectiveView does not presently support a non-spherical earth, so the data are not exactly navigated. This is a known issue and one that we have not yet had the time to address. Don Murray Jon Blower wrote:Hi, We have a GRIB file can mostly be read using NetCDF-Java, except that the GridCoordSystem's lat-lon bounding box is a set of four NaNs. It uses a VerticalPerspectiveView projection. The attached test file may help to diagnose the problem and produces the following output: class ucar.unidata.geoloc.projection.VerticalPerspectiveView ll: NaNS NaNW+ ur: NaNS NaNW The data file itself can be downloaded from http://dl.dropbox.com/u/2984763/MSG2-SEVI-MSGCLMK-0100-0100-20091028120000.000000000Z-958792.grb. Can anyone offer any pointers? Is there a bug in the VerticalPerspectiveView code? Thanks, Jon ------------------------------------------------------------------------ _______________________________________________ netcdf-java mailing list netcdf-java@xxxxxxxxxxxxxxxx For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/-- ************************************************************* Don Murray UCAR Unidata Program dmurray@xxxxxxxxxxxxxxxx P.O. Box 3000 (303) 497-8628 Boulder, CO 80307 http://www.unidata.ucar.edu/staff/donm *************************************************************
-- ************************************************************* Don Murray UCAR Unidata Program dmurray@xxxxxxxxxxxxxxxx P.O. Box 3000 (303) 497-8628 Boulder, CO 80307 http://www.unidata.ucar.edu/staff/donm *************************************************************
netcdf-java
archives: