Re: [gdal-dev] RFC 75: Multidimensional arrays

2019-07-18 Thread Even Rouault
On jeudi 18 juillet 2019 09:20:13 CEST Sean Gillies wrote: > Hi Even, > > GDAL will already read and write multidimensional arrays > using GDALDatasetRasterIO, yes? No, that's a separate API. There's a bridge between both with the GDALRasterBand::AsMDArray() and GDALMDArray::AsClassicDataset() m

Re: [gdal-dev] RFC 75: Multidimensional arrays

2019-07-18 Thread Sean Gillies
Hi Even, GDAL will already read and write multidimensional arrays using GDALDatasetRasterIO, yes? Arrays of a single type per dimension, but that's conventional for N-D array implementations like Numpy. Perhaps the RFC and feature would be better named "hierarchical data"? On Tue, Jul 16, 2019 a

[gdal-dev] RFC 75: Multidimensional arrays

2019-07-16 Thread Even Rouault
Hi, I've updated the RFC text at https://github.com/OSGeo/gdal/pull/1580 Can be viewed at https://github.com/rouault/gdal/blob/rfc75_text/gdal/doc/source/development/rfc/rfc75_multidimensional_arrays.rst It is consistent with the initial implementation which is now available at https://github.com

Re: [gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-06-18 Thread Peter Baumann
In some cases this might be unavoidable, but GDAL > should provide the means to avoid it, if possible, e.g. by telling GDAL how > to parse the times from the file names. You are probably well aware of these > issues in developing the .vrt driver and similar projects. > >

Re: [gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-05-29 Thread Even Rouault
Jason, thanks for describing those use cases. For this first round of implementation, I just want to get basic API and functionnality working, mostly centered around I/O access. It is certain that later adjustments and enhancements will be needed. Advanced considerations regarding time manageme

Re: [gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-05-29 Thread Jason Roberts
driver and similar projects. I hope this helps. Thanks for your time and consideration. Jason > -Original Message- > From: gdal-dev On Behalf Of Even > Rouault > Sent: Friday, May 24, 2019 11:01 AM > To: gdal-dev@lists.osgeo.org > Subject: [gdal-dev] "RFC 75: Multid

Re: [gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-05-29 Thread Even Rouault
Hi Edzer, Thanks for the feedback > - what would be the advantage to GDAL users using this interface, as > opposed to reading/writing directly using the HDF or NetCDF4 interfaces? libnetcdf only handle netCDF datasets (and compatible HDF5 files). libhdf4 only handles HDF4 files. libhdf5 only ha

Re: [gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-05-29 Thread Edzer Pebesma
Thanks for that, Even, looks good! I have a couple of questions: - what would be the advantage to GDAL users using this interface, as opposed to reading/writing directly using the HDF or NetCDF4 interfaces? Will it for instance be able to figure out coordinate reference systems, and identify whic

[gdal-dev] "RFC 75: Multidimensional arrays" available for preliminary review

2019-05-24 Thread Even Rouault
Hi, I've prepared a preliminary version of a new RFC to add support for multidimensional arrays https://github.com/rouault/gdal/blob/rfc75_text/gdal/doc/source/development/rfc/rfc75_multidimensional_arrays.rst If you want to comment it inline, it is also available as a pull request at https://g