From 1182ce0e98c0a13b7df488b4cc31890fe0e7e061 Mon Sep 17 00:00:00 2001 From: Javier Tausia Hoyal Date: Mon, 11 May 2026 08:23:40 +0200 Subject: [PATCH] [JTH] fiz thredds error --- bluemath_tk/config/paths.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bluemath_tk/config/paths.py b/bluemath_tk/config/paths.py index 0c94a26..4fb32ec 100644 --- a/bluemath_tk/config/paths.py +++ b/bluemath_tk/config/paths.py @@ -1,5 +1,4 @@ import os.path as op -from typing import Dict from siphon.catalog import TDSCatalog @@ -99,20 +98,18 @@ def get_thredds_catalog() -> TDSCatalog: Siphon TDSCatalog object containing the catalog information. """ - catalog_url = ( - "https://geoocean.unican.es/thredds/catalog/catalog.html" - ) + catalog_url = "https://geoocean.unican.es/thredds/catalog/catalog.html" return TDSCatalog(catalog_url) -def get_catalog_folders() -> Dict[str, str]: +def get_catalog_folders() -> dict[str, str]: """ Get a dictionary of folder names and their links from the first level of the catalog. Returns ------- - Dict[str, str] + dict[str, str] Dictionary with folder names as keys and their catalog URLs as values. """