[geotk] Status on reading and displaying netCDF-files

Westgård Trond trondwe at IMR.no
Mon Sep 17 04:47:16 PDT 2012


Hi Martin,
It is about this file:

ftp://ftp.imr.no/geomatys/herring.nc

The file should follow the CF-convention for netCDF files according to one of my colleagues. I really need an example of a working netCDF-example to show to my colleagues.

A small working file as an example would do ! Do you have one ?

I  use the geotoolkit SNAPSHOT both for the geotoolkit and geotoolkit-pending libraries.

The error message when trying to render the file is (so I really never get to the point where the time-slider comes into use .....):

java.lang.AssertionError
                at org.geotoolkit.referencing.operation.AbstractCoordinateOperationFactory.concatenate(AbstractCoordinateOperationFactory.java:537)
                at org.geotoolkit.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:1419)
                at org.geotoolkit.referencing.operation.DefaultCoordinateOperationFactory.createOperationStep(DefaultCoordinateOperationFactory.java:1165)
                at org.geotoolkit.referencing.operation.DefaultCoordinateOperationFactory.createOperation(DefaultCoordinateOperationFactory.java:209)
                at org.geotoolkit.coverage.processing.operation.Resampler2D.reproject(Resampler2D.java:365)
                at org.geotoolkit.coverage.processing.operation.Resample.doOperation(Resample.java:249)
                at org.geotoolkit.coverage.processing.DefaultCoverageProcessor.doOperation(DefaultCoverageProcessor.java:321)
                at org.geotoolkit.coverage.processing.CachingCoverageProcessor.doOperation(CachingCoverageProcessor.java:167)
                at org.geotoolkit.coverage.processing.Operations.doOperation(Operations.java:788)
                at org.geotoolkit.coverage.processing.Operations.resample(Operations.java:458)
                at org.geotoolkit.display2d.style.renderer.DefaultRasterSymbolizerRenderer.portray(DefaultRasterSymbolizerRenderer.java:214)
                at org.geotoolkit.display2d.style.renderer.AbstractSymbolizerRendererService.portray(AbstractSymbolizerRendererService.java:67)
                at org.geotoolkit.display2d.GO2Utilities.portray(GO2Utilities.java:264)
                at org.geotoolkit.display2d.container.statefull.StatefullCoverageLayerJ2D.paintRaster(StatefullCoverageLayerJ2D.java:162)
                at org.geotoolkit.display2d.container.statefull.StatefullCoverageLayerJ2D.paintLayer(StatefullCoverageLayerJ2D.java:134)
                at org.geotoolkit.display2d.container.stateless.StatelessMapLayerJ2D.paint(StatelessMapLayerJ2D.java:109)
                at org.geotoolkit.display2d.container.stateless.StatelessMapItemJ2D.paint(StatelessMapItemJ2D.java:153)
                at org.geotoolkit.display2d.canvas.J2DCanvas.render(J2DCanvas.java:198)
                at org.geotoolkit.display2d.canvas.J2DCanvasVolatile.render(J2DCanvasVolatile.java:209)
                at org.geotoolkit.display2d.canvas.J2DCanvasVolatile.access$400(J2DCanvasVolatile.java:42)
[catch] at org.geotoolkit.display2d.canvas.J2DCanvasVolatile$DrawingThread.run(J2DCanvasVolatile.java:268)

Best Regards

Trond


From: geotoolkit-bounces at lists.osgeo.org [mailto:geotoolkit-bounces at lists.osgeo.org] On Behalf Of Martin Desruisseaux
Sent: 17. september 2012 12:58
To: geotoolkit at lists.osgeo.org
Subject: Re: [geotk] Status on reading and displaying netCDF-files

Hello Trond

I didn't expected the time- and depth- sliders to be affected... The work on NetCDF files is rather about Coordinate Reference System supports. Could you tell which widget is affected?

    Thanks,

        Martin


Le 17/09/12 18:17, Westgård Trond a écrit :
In earlier versions of geotoolkit it was possible to render netCDF-files and also to use a time- and depth-slider in the swing display-widget when displaying the netCDF-files.

I know that there is considerable work going on "under the hood" at the moment to rewrite modules that works with netCDF-files.

Is there anyone that knows the timeframe for this work as we need the functionality in one of our projects and must know if we have to go for alternative solutions.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geotoolkit/attachments/20120917/73b44cc0/attachment.html>


More information about the Geotoolkit mailing list