From e566dc9adc054bbfac1d4c365b3be1b767776c0d Mon Sep 17 00:00:00 2001 From: Even Rouault Date: Fri, 3 Jan 2025 05:05:39 +0100 Subject: [PATCH] netCDF: fix warning message mentioning Time dimension instead of Vertical --- frmts/netcdf/netcdfdataset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frmts/netcdf/netcdfdataset.cpp b/frmts/netcdf/netcdfdataset.cpp index fb31d0d4e1f2..56a1d9fa5103 100644 --- a/frmts/netcdf/netcdfdataset.cpp +++ b/frmts/netcdf/netcdfdataset.cpp @@ -8568,7 +8568,7 @@ GDALDataset *netCDFDataset::Open(GDALOpenInfo *poOpenInfo) if (NCDFIsVarVerticalCoord(cdfid, -1, szDimName3) == false) { CPLError(CE_Warning, CPLE_AppDefined, - "dimension #%d (%s) is not a Time dimension.", + "dimension #%d (%s) is not a Vertical dimension.", nd - 3, szDimName3); } if (NCDFIsVarTimeCoord(cdfid, -1, szDimName4) == false)