[Geoserver-users] NetCDF variable extractor

Hello all,

I’m curious if there is a way to extract variables other than time & elevation from a NetCDF. I followed the example here to create the indexer & auxiliary file and I’m able to insert data via the REST interface, but the additional domain I added ends up as NULL in the DB. The example indexer pulls time & elevation from the NetCDF file, but the other attributes (fileDate & updated) are parsed by data extractors that read the filename & filesystem modified time respectively. I need to pull an additional dimension from the NetCDF data to be stored in the DB as a filterable dimension.

I tried listing the dimensions in the same manner as the time & elevation dimensions in the indexer.xml and auxiliary file, but that doesn’t appear to work. Any help or examples would be greatly appreciated.

Thanks,

Kevin M. Weiss

Software Engineer

HARRIS IT Services

Hello Kevin,

you should define your custom schema adding the attribute having the same name of the dimension you want to add.

I’m attaching a couple of AUX / indexer file where you can see an example.

The example contains both an explicit schema with attributes (surf_temp) as well as a schema used by reference (cloud).

Hope this helps.

Please, let us know if you still need clarifications.

Cheers,
Daniele

AUXfile.xml (678 Bytes)

indexer.xml (1.31 KB)

···

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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


On Wed, Apr 9, 2014 at 11:30 PM, Weiss, Kevin <kweiss01@anonymised.com> wrote:

Hello all,

I’m curious if there is a way to extract variables other than time & elevation from a NetCDF. I followed the example here to create the indexer & auxiliary file and I’m able to insert data via the REST interface, but the additional domain I added ends up as NULL in the DB. The example indexer pulls time & elevation from the NetCDF file, but the other attributes (fileDate & updated) are parsed by data extractors that read the filename & filesystem modified time respectively. I need to pull an additional dimension from the NetCDF data to be stored in the DB as a filterable dimension.

I tried listing the dimensions in the same manner as the time & elevation dimensions in the indexer.xml and auxiliary file, but that doesn’t appear to work. Any help or examples would be greatly appreciated.

Thanks,

Kevin M. Weiss

Software Engineer

HARRIS IT Services


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


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

Hello again Kevin,
If needed, you can also take a look on a Training we made, related to Multidimensional data management:
http://geoserver.geo-solutions.it/downloads/training/windows/multidim/

That link contains both documentation and Geoserver instances/sample data too.

We are periodically improving and updating it…

Cheers,
Daniele

···

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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


On Thu, Apr 10, 2014 at 9:58 AM, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:

Hello Kevin,

you should define your custom schema adding the attribute having the same name of the dimension you want to add.

I’m attaching a couple of AUX / indexer file where you can see an example.

The example contains both an explicit schema with attributes (surf_temp) as well as a schema used by reference (cloud).

Hope this helps.

Please, let us know if you still need clarifications.

Cheers,
Daniele

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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


On Wed, Apr 9, 2014 at 11:30 PM, Weiss, Kevin <kweiss01@anonymised.com> wrote:

Hello all,

I’m curious if there is a way to extract variables other than time & elevation from a NetCDF. I followed the example here to create the indexer & auxiliary file and I’m able to insert data via the REST interface, but the additional domain I added ends up as NULL in the DB. The example indexer pulls time & elevation from the NetCDF file, but the other attributes (fileDate & updated) are parsed by data extractors that read the filename & filesystem modified time respectively. I need to pull an additional dimension from the NetCDF data to be stored in the DB as a filterable dimension.

I tried listing the dimensions in the same manner as the time & elevation dimensions in the indexer.xml and auxiliary file, but that doesn’t appear to work. Any help or examples would be greatly appreciated.

Thanks,

Kevin M. Weiss

Software Engineer

HARRIS IT Services


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


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

Hello Daniele,

Thank you for the examples. With your help I was able to get my prototype configured and working. I haven’t had a chance to try the Multidimensional data management training yet, but I’ll definitely check it out.

Thanks again for the help and all the hard work making this project great!

Kevin M. Weiss

Software Engineer

HARRIS IT Services

···

From: dany.geotools@anonymised.com [mailto:dany.geotools@anonymised.com] On Behalf Of Daniele Romagnoli
Sent: Thursday, April 10, 2014 2:59 AM
To: Weiss, Kevin
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] NetCDF variable extractor

Hello Kevin,

you should define your custom schema adding the attribute having the same name of the dimension you want to add.

I’m attaching a couple of AUX / indexer file where you can see an example.

The example contains both an explicit schema with attributes (surf_temp) as well as a schema used by reference (cloud).

Hope this helps.

Please, let us know if you still need clarifications.

Cheers,
Daniele

==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
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


On Wed, Apr 9, 2014 at 11:30 PM, Weiss, Kevin <kweiss01@anonymised.com> wrote:

Hello all,

I’m curious if there is a way to extract variables other than time & elevation from a NetCDF. I followed the example here to create the indexer & auxiliary file and I’m able to insert data via the REST interface, but the additional domain I added ends up as NULL in the DB. The example indexer pulls time & elevation from the NetCDF file, but the other attributes (fileDate & updated) are parsed by data extractors that read the filename & filesystem modified time respectively. I need to pull an additional dimension from the NetCDF data to be stored in the DB as a filterable dimension.

I tried listing the dimensions in the same manner as the time & elevation dimensions in the indexer.xml and auxiliary file, but that doesn’t appear to work. Any help or examples would be greatly appreciated.

Thanks,

Kevin M. Weiss

Software Engineer

HARRIS IT Services


Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees


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