Hi Nicola,

NetCDF/HDF function currently only available in our Scala and Java API of
Sedona-core, not in Python.

Some coding examples are here:

1. Run queries on HDF SpatialRDD:
https://github.com/apache/incubator-sedona/blob/master/core/src/test/java/org/apache/sedona/core/io/EarthdataHDFTest.java#L150
2. Visualize HDF SpatialRDD:
https://github.com/apache/incubator-sedona/blob/a6a651e83df0e6da810f98d67c29bd1e17e4f6b6/examples/viz/src/main/scala/ScalaExample.scala#L158

It basically partitions a CSV file which contains a number of HDF file
names and the format mapper will load these small HDF files in parallel.

Thanks,
Jia


On Wed, Feb 17, 2021 at 9:41 AM Nicola Ghirardi <[email protected]>
wrote:

> Hi,
> i cannot find any example in how to open and use a netcdf file.
> Can you help me?
> I'm using pyspark 3.
> Thanks
>

Reply via email to