Re: [netcdf-java] GRIB file in VerticalPerspectiveView projection has NaN Bounding Box

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.

Cheers, Jon

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
> *************************************************************
>
>



-- 
Dr Jon Blower
Technical Director, Reading e-Science Centre
Environmental Systems Science Centre
University of Reading
Harry Pitt Building, 3 Earley Gate
Reading RG6 6AL. UK
Tel: +44 (0)118 378 5213
Fax: +44 (0)118 378 6413
j.d.blower@xxxxxxxxxxxxx
http://www.nerc-essc.ac.uk/People/Staff/Blower_J.htm



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: