gdal
gdal copied to clipboard
Multidim: consider a default limit for "detailed"
Feature description
Naive use of "--detailed" for mdim info will result in really substantial output, even if "--limit" is modest that is a lot of values printed for a 4D array.
I think "--limit" should have a real default value, even 5 gives substantial (albeit really nicely displayed) output. The amount of output explodes with dimensions and multiple variables of course, this for example seems like a reasonable result, with a lot of information:
gdal mdim info --config AWS_NO_SIGN_REQUEST YES --limit 5 --detailed ZARR:\"/vsis3/mur-sst/zarr-v1\"
"unlimited" an unwanted surprise as a default, doing the entirety of possible input processing.
Additional context
No response