GDAL-MDIM-CONVERT(1) GDAL GDAL-MDIM-CONVERT(1) (NAME) gdal-mdim-convert - 3.11. (SYNOPSIS) Usage: gdal mdim convert [OPTIONS] Convert a multidimensional dataset. Positional arguments: -i, --input Input raster or multidimensional raster dataset [required] -o, --output Output multidimensional raster dataset (created by algorithm) [required] Common Options: -h, --help Display help message and exit --json-usage Display usage as JSON document and exit --config = Configuration option [may be repeated] -q, --quiet Quiet mode (no progress bar or warning message) [not available in pipelines] Options: -f, --of, --format, --output-format Output format --co, --creation-option = Creation option [may be repeated] --overwrite Whether overwriting existing output dataset is allowed --array Select a single array instead of converting the whole dataset. [may be repeated] --array-option = Option passed to GDALGroup::GetMDArrayNames() to filter arrays. [may be repeated] --group Select a single group instead of converting the whole dataset. [may be repeated] --subset Select a subset of the data. [may be repeated] --scale-axes Applies a integral scale factor to one or several dimensions [may be repeated] --strict Turn warnings into failures. Advanced Options: --oo, --open-option = Open options [may be repeated] --if, --input-format Input formats [may be repeated] (DESCRIPTION) gdal mdim convert . : (Standard options) -f, --of, --format, --output-format . ( NetCDF: Network Common Data Form Multidimensional VRT) <<>> . . --co, --creation-option = . . --format . Raster drivers . ARRAY: . GDALGroup::CopyFrom() . --overwrite . gdal . --array . . (/group/subgroup/array_name) . : name={src_array_name}[,dstname={dst_array_name}][,resample=yes][,transpose=[{axis1},{axis2},...][,view={view_expr}] : o resample=yes GDALMDArray::GetResampled() . o [{axis1},{axis2},...] GDALMDArray::Transpose() . transpose=[1,0] . . o {view_expr} viewExpr GDALMDArray::GetView() . . view_expr . --array-option = GDALGroup::GetMDArrayNames() . . . . --group . . . . (/group/subgroup/subsubgroup_name) . : name={src_group_name}[,dstname={dst_group_name}][,recursive=no] --subset ( ) . OGC WCS 2.0 KVP encoding . dim_name(min_val,max_val) dim_name(sliced_val) dim_name [min_val,max_val] . dim_name sliced_val ( ). . . --subset view --array . . --scale-axes N ( ). KVP SCALEAXES OGC WCS 2.0 Scaling Extension . (). . --scale-axes view --array . . --strict . . (Advanced options) --oo, --open-option = ( ). . --if, --input-format / () . . . . . . (RETURN STATUS CODE) ( ). (EXAMPLES) : netCDF VRT gdal mdim convert in.nc out.vrt : time,Y,X gdal mdim convert in.nc out.tif --subset "time(\"2010-01-01\")" --array temperature : GRIB GeoTIFF gdal mdim convert /vsicurl/https://tgftp.nws.noaa.gov/SL.us008001/ST.opnl/DF.gr2/DC.ndfd/AR.conus/VP.001-003/ds.qpf.bin tst.tif --subset "TIME(1763164800,1763251200)" --array QPF_0-SFC --co COMPRESS=DEFLATE : x y gdal mdim convert in.nc out.nc --scale-axes "x(2),y(2)" : time,Y,X Y ( ) gdal mdim convert in.nc out.nc --array "name=temperature,view=[:,::-1,:]" : X,Y,time time,Y,X gdal mdim convert in.nc out.nc --array "name=temperature,transpose=[2,1,0]" (AUTHOR) Even Rouault (COPYRIGHT) 1998-2026 August 18, 2026 GDAL-MDIM-CONVERT(1)