From 6cdc126d3ff9a345b5a450f7008aa3ab39c27ab2 Mon Sep 17 00:00:00 2001 From: iferencik <92793531+iferencik@users.noreply.github.com> Date: Tue, 11 Aug 2026 01:25:59 +0200 Subject: [PATCH] Update CloudMaskBinary path format in cmask.py --- rapida/ntl/noaa/cmask.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rapida/ntl/noaa/cmask.py b/rapida/ntl/noaa/cmask.py index ab2a998..b230a38 100644 --- a/rapida/ntl/noaa/cmask.py +++ b/rapida/ntl/noaa/cmask.py @@ -327,9 +327,9 @@ def cloud_coverage(hdf_url: str, bbox: list) -> int: gdal.SetConfigOption('GDAL_SKIP', '') # On Linux, we use the native NetCDF driver base_ds = f'HDF5:"/vsicurl/{hdf_url}"' - mask_str = f'{base_ds}:CloudMaskBinary' - lon_str = f'{base_ds}:Longitude' - lat_str = f'{base_ds}:Latitude' + mask_str = f'{base_ds}://CloudMaskBinary' + lon_str = f'{base_ds}://Longitude' + lat_str = f'{base_ds}://Latitude' gdal.SetConfigOption('GDAL_HTTP_TIMEOUT', '600') gdal.SetConfigOption('GDAL_HTTP_MULTIPLEX', 'YES')