[gdal-dev] Want to work with MDArrays

Laurențiu Nicola lnicola at dend.ro
Fri Jun 2 09:28:39 PDT 2023


Hi Barry,

I think you want GDAL_OF_MULTIDIM_RASTER. There's an example here: https://gdal.org/tutorials/multidimensional_api_tut.html.

Laurentiu

On Fri, Jun 2, 2023, at 19:25, Barry DeZonia wrote:
> Hello,
> 
> I am a software developer that has written a numerical analysis software package that has support for n-dimensional data (https://github.com/bdezonia/zorbage). I sometimes write importer libraries to pull data into my data structures for further processing. It is primarily a package for scientists.
> 
> Anyhow in the past I wrote a library that will import data from GDAL (https://github.com/bdezonia/zorbage-gdal). It is using gdal.Open(filename) to load data as a Dataset but I think the approach taken is limited to 3-d data. Plus testing has shown that sometimes (like with a tif stack) images come in as many separate planes of data.
> 
> I see that you have MDArrays in your libraries. And that they are associated with a Group. Do you have something like gdal.Open() that opens data file(s) as a Group? That way I could then open one or more MDArrays into my n-dimensional structures from the Group in a more direct fashion than the Dataset way. Can you advise me on how to proceed? Thanks.
> 
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20230602/105ed445/attachment.htm>


More information about the gdal-dev mailing list