You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sedona.apache.org by Panos Konstantinidis <gi...@yahoo.com.INVALID> on 2021/07/23 12:51:46 UTC

Processing a netcdf file

Hello, I would like to try out Sedona (we already have a Spark cluster installed) in order to process and read netcdf files. If there an example of how to do it? Any pointers?
In your examples (https://sedona.apache.org/tutorial/rdd/) you don't have that information.
Regards
Panos

Re: Processing a netcdf file

Posted by Jia Yu <ji...@apache.org>.
Hi Panos,

NetCDF is currently supported only in Java and Scala API. You need to add
SerNetCF dependency:
https://sedona.apache.org/download/maven-coordinates/#sernetcdf-010

Here is an example for it. Basically you need to provide a CSV file that
describes the paths of a number of NetCDF files.

https://github.com/apache/incubator-sedona/blob/master/core/src/test/java/org/apache/sedona/core/io/EarthdataHDFTest.java

Thanks,
Jia

On Fri, Jul 23, 2021 at 5:59 AM Panos Konstantinidis
<gi...@yahoo.com.invalid> wrote:

> Hello, I would like to try out Sedona (we already have a Spark cluster
> installed) in order to process and read netcdf files. If there an example
> of how to do it? Any pointers?
> In your examples (https://sedona.apache.org/tutorial/rdd/) you don't have
> that information.
> Regards
> Panos