Allow GDAL raster bands to set parent name and name when converted to MDArrays
Feature description
When using https://github.com/OSGeo/gdal/blob/master/gcore/gdalrasterband.cpp#L9551 which is called from poBand->AsMDArray(); it isn't possible to set the parent name or the array name.
The array name is easy enough to fix by changing the dataset description but then it gets appended with band n. The parent is always / which doesn't allowing nesting.
There are several raster formats which are a single file with multiple image segments which would benefit from being grouped as a multi dim structure with a hierarchy.
Additional context
No response
it isn't possible to set the parent name or the array name.
is it just about the name of the array or about inserting the array as a child of a GDALGroup ? I guess a more extensive explanation of the use case would help finding the best technical solution