[Java] Update of NetCDF library 4.2.20

1 view
Skip to first unread message

SAINTIN Katy

unread,
Feb 14, 2013, 8:16:48 AM2/14/13
to common-d...@googlegroups.com

Hello,

 

We have developed a new pure java databrowser version :

-          Swing components(http://cdmaapps.googlecode.com/svn/trunk/DataBrowser/ )

-          NetCDF ANSTO plugin. (http://cdma.googlecode.com/svn/java/plugins/org.cdma.plugin.ansto/tags/NetcdfAnsto-1.0.1/ )

-          CDMA Core-3.2.2 (http://cdma.googlecode.com/svn/java/core/org.cdma.core/tags/Core-3.2.2/ )

 

The version is available here, and very easy to install.

 

A presentation has been done to a responsible of HDFGroup.

We trying to open one of their  HDF5 file.

 

But it doesn’t work  because one  of the dataItem containing serialized object.

The same error that described on this post :

http://www.unidata.ucar.edu/mailing_lists/archives/netcdf-java/2012/msg00165.html

 

We used now the last version of NetCDF :

edu.ucar.netcdf-4.2.20.jar

 

And now it is work but unfortunately there is some breaking API, see the stack trace below :

Factory class=org.cdma.plugin.ansto.AnstoFactory
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: ucar.nc2.dataset.VariableDS.<init>(Lucar/nc2/dataset/VariableDS;)V
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at javax.swing.SwingWorker.get(SwingWorker.java:582)

For SOLEIL, we moved and comment  the part of the code that generate the error :

The class NcMLReader is now in the plugin and not in the engine.

AggregationFmrc class have no setInventoryDefinition method anymore.

The class AggregationFmrcSingle doesn’t exist anymore.

 

Are you using the last version of NetCDF,

and if not could you check, your plugin NetCDF with the last version ?

 

Thank you.

 

Katy Saintin

 

Ingénieur logiciel du Groupe ICA

Synchrotron SOLEIL

L’Orme des Merisiers

Saint-Aubin -  BP 48

91192 GIF-sur-YVETTE Cedex

Tél. : 01 69 35 93 36

Fax : 01 69 35 94 53

 

Reply all
Reply to author
Forward
0 new messages