Re: IDV display error

Hello Don

Thank you very much, it works ! :)
Using 2.2b1

Lukas


Don Murray napsal(a):
Hi Lukas-

This is a bug in the netcdf-Java library that was distributed
with IDV 2.1.  It has since been fixed and the fix is available
in the latest stable beta and nightly build.  You can access
either of those from:

http://www.unidata.ucar.edu/software/idv/release

Sorry for the inconvenience.

Don Murray

Lukas Lehner wrote:
Dear IDV users

I'm trying to modify our in house data to comply with CF convention and
also to work with IDV.
Here http://www.cs.cas.cz/~lehner/t2.nc is a small portion, a sample. It can be loaded well, it show
the correct area. But if I try to display it show the following error.


Unable to load t2 field

java.lang.NullPointerException
    at
ucar.nc2.dataset.CoordinateAxis2D.getCoordValues(CoordinateAxis2D.java:86)
    at
ucar.unidata.data.grid.GeoGridAdapter.getInitialSpatialDomain(GeoGridAdapter.java:735)
    at
ucar.unidata.data.grid.GeoGridAdapter.getSpatialDomainSet(GeoGridAdapter.java:381)
    at
ucar.unidata.data.grid.GeoGridAdapter.getFlatField(GeoGridAdapter.java:1033)
    at
ucar.unidata.data.grid.GeoGridAdapter.makeSequence(GeoGridAdapter.java:1162)
    at
ucar.unidata.data.grid.GeoGridAdapter.getSequence(GeoGridAdapter.java:983)
    at
ucar.unidata.data.grid.GeoGridDataSource.makeFieldImpl(GeoGridDataSource.java:832)
    at
ucar.unidata.data.grid.GeoGridDataSource.getDataInner(GeoGridDataSource.java:604)
    at ucar.unidata.data.DataSourceImpl.getData(DataSourceImpl.java:1510)
at ucar.unidata.data.DirectDataChoice.getData(DirectDataChoice.java:319)
    at ucar.unidata.data.DataChoice.getData(DataChoice.java:550)
    at ucar.unidata.data.DataInstance.getData(DataInstance.java:239)
    at ucar.unidata.data.DataInstance.getData(DataInstance.java:203)
    at
ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:204)
    at
ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:161)
    at
ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:142)
    at
ucar.unidata.idv.control.PlanViewControl.doMakeDataInstance(PlanViewControl.java:1050)
    at
ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:2719)
    at
ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:2701)
    at
ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:415)
    at
ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:115)
    at
ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:321)
    at
ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1172)
    at
ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:925)
    at
ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:946) at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:874)
    at ucar.unidata.util.Misc$2.run(Misc.java:931)

It's a little bit strange, the two validators
http://motherlode.ucar.edu:8080/thredds/cdmValidate.html and
http://titania.badc.rl.ac.uk/cgi-bin/cf-checker.pl show correct results.
I'm running IDV from webstart on linux platform (ubuntu).
Would you please take a look at this problem?

Lukas




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