[Geoserver-users] NETCDF Plugin for geoserver-2.8-RC1

Hi all,

Can someone point me in the right direction to download the correct netcdf plugin to match geoserver-2.8-RC1? I don’t see anything that looks right on boundlessgeo. Also, I can’t seem to find any specific installation instructions for this plugin, any help would be greatly appreciated.

Thanks very much.

Steve Ferguson
Application Developer

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.

Dear Steve,
the NetCDF plugin is a community module.
2.8-RC1 has been recently released so I think there is some temporary misalignments between versions and downloads.
(I have sent an email to GeoServer devel, asking for details on this)

I can see the netcdf community module for 2.9.x (the incoming master):
http://ares.boundlessgeo.com/geoserver/master/community-latest/

as well as the latest for 2.8.x (the previous master before the RC1).

http://ares.boundlessgeo.com/geoserver/master/community-2015-09-11/

In the meantime you can consider using the 2015-09-11 one (I guess it will be automatically deleted tomorrow since a nightly build is preserved 1 week before being deleted in favor of more recent ones).

That plugin doesn’t require special installation instruction: just unzip the zip in geoserver/WEB-INF/lib (in order to deploy its jars beside the other GeoServer jars) and restart GeoServer.

Finally, you can take a look to the GeoServer NetCDF documentation.
http://docs.geoserver.org/latest/en/user/community/netcdf/netcdf.html

Hope this helps.

Daniele

···

On Wed, Sep 16, 2015 at 6:37 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

Hi all,

Can someone point me in the right direction to download the correct netcdf plugin to match geoserver-2.8-RC1? I don’t see anything that looks right on boundlessgeo. Also, I can’t seem to find any specific installation instructions for this plugin, any help would be greatly appreciated.

Thanks very much.

Steve Ferguson
Application Developer

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Daniele,

Thanks for the response. Much appreciated. I’ve been trying off and on for quite a while now to work with the NETCDF plugin, several versions, always matching the version of geoserver, and can’t seem to make it work on the file I need to consume. When I try to load the file, I get an Exception that simply says :

Could not list layers for this store, an error occurred retrieving them

My question is how can I get information about what the NETCDF plugin thinks is wrong with this file? I have some control over how the file is created and can change things if need be, but I haven’t a clue what to fix/change. The file has similar form to examples contained in the geotools source distribution, but will not load.

The file is in the EPSG:3666 and has bands that represent different time series and I would like to be able to “play” the different point in time images, but I can’t seem to get the file loaded to be able to go to the next step.

The file is located at : http://mtnweather.info/download/wrf.nc. Any help or pointers would be greatly appreciated.

With geoserver-2.8-RC1 and the 2015-09-11 NETCDF plugin, the detailed exception is :

java.lang.RuntimeException: Could not list layers for this store, an error occur

red retrieving them: Failed to create reader from file://C:\projects\firewx\wrf.

nc and hints null

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:151)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:59)

at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:242)

at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:566)

at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:559)

at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:171)

at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)

at org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:106)

at org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:106)

at org.geoserver.web.data.store.CoverageStoreNewPage.onSuccessfulSave(CoverageStoreNewPage.java:79)

at org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:70)

at org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:116)

Caused by: java.io.IOException: Failed to create reader from file://C:\projects\

firewx\wrf.nc and hints null

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1443)

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1369)

at org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)

at com.sun.proxy.$Proxy9.getGridCoverageReader(Unknown Source)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)

… 108 more

···

Dear Steve,

the NetCDF plugin is a community module.

2.8-RC1 has been recently released so I think there is some temporary misalignments between versions and downloads.
(I have sent an email to GeoServer devel, asking for details on this)

I can see the netcdf community module for 2.9.x (the incoming master):

http://ares.boundlessgeo.com/geoserver/master/community-latest/

as well as the latest for 2.8.x (the previous master before the RC1).

http://ares.boundlessgeo.com/geoserver/master/community-2015-09-11/

In the meantime you can consider using the 2015-09-11 one (I guess it will be automatically deleted tomorrow since a nightly build is preserved 1 week before being deleted in favor of more recent ones).

That plugin doesn’t require special installation instruction: just unzip the zip in geoserver/WEB-INF/lib (in order to deploy its jars beside the other GeoServer jars) and restart GeoServer.

Finally, you can take a look to the GeoServer NetCDF documentation.
http://docs.geoserver.org/latest/en/user/community/netcdf/netcdf.html

Hope this helps.

Daniele

On Wed, Sep 16, 2015 at 6:37 PM, Ferguson, Steve -FS <sferguson@…102…> wrote:

Hi all,

Can someone point me in the right direction to download the correct netcdf plugin to match geoserver-2.8-RC1? I don’t see anything that looks right on boundlessgeo. Also, I can’t seem to find any specific installation instructions for this plugin, any help would be greatly appreciated.

Thanks very much.

Steve Ferguson
Application Developer

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

Hi Steve,

you could consider trying to raise the logging level to check if more information on the issue is provided.

Anyway, I did a quick look to your dataset.

This is what is reported by the UCAR NetCDF Java lib. (I’m using toolsUI)

int Lambert_Conformal;
:grid_mapping_name = “lambert_conformal_conic”;
:standard_parallel = 30.0, 60.0; // double
:longitude_of_central_meridian = 262.0; // double
:latitude_of_projection_origin = 90.0; // double

These are the projections parameter reported by the NetCDF Java lib.

The main elements seem really different with respect to the EPSG:3666 params:
http://spatialreference.org/ref/epsg/3666/prettywkt/

Moreover, trying to display that file on ToolsUI (FeatureTypes->Grids) or Panoply throws an exception while parsing the coordinate reference system.

Therefore I think that the coordinate reference system information stored in that file is malformed/inconsistent which prevent this file to be opened by any NetCDF tools/reader parsing GeoSpatial info. It requires to be fixed before being parseable.

Hope this helps.

Cheers,

Daniele

···

On Thu, Sep 17, 2015 at 2:55 PM, Ferguson, Steve -FS <sferguson@anonymised.com> wrote:

Daniele,

Thanks for the response. Much appreciated. I’ve been trying off and on for quite a while now to work with the NETCDF plugin, several versions, always matching the version of geoserver, and can’t seem to make it work on the file I need to consume. When I try to load the file, I get an Exception that simply says :

Could not list layers for this store, an error occurred retrieving them

My question is how can I get information about what the NETCDF plugin thinks is wrong with this file? I have some control over how the file is created and can change things if need be, but I haven’t a clue what to fix/change. The file has similar form to examples contained in the geotools source distribution, but will not load.

The file is in the EPSG:3666 and has bands that represent different time series and I would like to be able to “play” the different point in time images, but I can’t seem to get the file loaded to be able to go to the next step.

The file is located at : http://mtnweather.info/download/wrf.nc. Any help or pointers would be greatly appreciated.

With geoserver-2.8-RC1 and the 2015-09-11 NETCDF plugin, the detailed exception is :

java.lang.RuntimeException: Could not list layers for this store, an error occur

red retrieving them: Failed to create reader from file://C:\projects\firewx\wrf.

nc and hints null

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:151)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:59)

at org.geoserver.web.wicket.GeoServerDataProvider.fullSize(GeoServerDataProvider.java:242)

at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:566)

at org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.(GeoServerTablePanel.java:559)

at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:171)

at org.geoserver.web.wicket.GeoServerTablePanel.(GeoServerTablePanel.java:96)

at org.geoserver.web.data.layer.NewLayerPage$1.(NewLayerPage.java:106)

at org.geoserver.web.data.layer.NewLayerPage.(NewLayerPage.java:106)

at org.geoserver.web.data.store.CoverageStoreNewPage.onSuccessfulSave(CoverageStoreNewPage.java:79)

at org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:70)

at org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:116)

Caused by: java.io.IOException: Failed to create reader from file://C:\projects\

firewx[wrf.nc](http://wrf.nc) and hints null

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1443)

at org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1369)

at org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:146)

at com.sun.proxy.$Proxy9.getGridCoverageReader(Unknown Source)

at org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:90)

… 108 more

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of Daniele Romagnoli
Sent: Thursday, September 17, 2015 3:14 AM
To: Ferguson, Steve -FS
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] NETCDF Plugin for geoserver-2.8-RC1

Dear Steve,

the NetCDF plugin is a community module.

2.8-RC1 has been recently released so I think there is some temporary misalignments between versions and downloads.
(I have sent an email to GeoServer devel, asking for details on this)

I can see the netcdf community module for 2.9.x (the incoming master):

http://ares.boundlessgeo.com/geoserver/master/community-latest/

as well as the latest for 2.8.x (the previous master before the RC1).

http://ares.boundlessgeo.com/geoserver/master/community-2015-09-11/

In the meantime you can consider using the 2015-09-11 one (I guess it will be automatically deleted tomorrow since a nightly build is preserved 1 week before being deleted in favor of more recent ones).

That plugin doesn’t require special installation instruction: just unzip the zip in geoserver/WEB-INF/lib (in order to deploy its jars beside the other GeoServer jars) and restart GeoServer.

Finally, you can take a look to the GeoServer NetCDF documentation.
http://docs.geoserver.org/latest/en/user/community/netcdf/netcdf.html

Hope this helps.

Daniele

On Wed, Sep 16, 2015 at 6:37 PM, Ferguson, Steve -FS <sferguson@anonymised.com102…> wrote:

Hi all,

Can someone point me in the right direction to download the correct netcdf plugin to match geoserver-2.8-RC1? I don’t see anything that looks right on boundlessgeo. Also, I can’t seem to find any specific installation instructions for this plugin, any help would be greatly appreciated.

Thanks very much.

Steve Ferguson
Application Developer

This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.


Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.