From f50fd6502a8f7bd2890c95dd091a5835a9724415 Mon Sep 17 00:00:00 2001 From: Alexandre Georges Date: Wed, 15 Jul 2026 11:52:00 -0700 Subject: [PATCH 1/2] Fix: dropbox command is not registered in the CLI dropbox_cli is imported but had no matching cli.add_command, leading to an error when dms dropbox is called. This one liner fix adds the missing command. --- dms_datastore/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dms_datastore/__main__.py b/dms_datastore/__main__.py index 6b82238..f650f2a 100644 --- a/dms_datastore/__main__.py +++ b/dms_datastore/__main__.py @@ -54,6 +54,7 @@ def cli(): cli.add_command(download_dcc_cli, "download_dcc") cli.add_command(download_montezuma_gates_cli, "download_montezuma_gates") cli.add_command(download_smscg_cli, "download_smscg") +cli.add_command(dropbox_cli, "dropbox") cli.add_command(compare_dir_cli, "compare_directories") cli.add_command(populate_main_cli, "populate_repo") cli.add_command(station_info_cli, "station_info") From 19329a96b86c74663cd11cb8ffeea5bbe48a9ccc Mon Sep 17 00:00:00 2001 From: Alexandre Georges Date: Wed, 15 Jul 2026 11:54:59 -0700 Subject: [PATCH 2/2] Temporary Fix: download_wdl is imported in main but the modeule is missing. download_wdl is imported and referenced but the file containing that module (expected to be under `dms_datastore/download_wdl.py`) seems to be missing in the recent master. Commenting out those imports in main temporarily lets the rest of datastore to be used while the missing module is restored. --- dms_datastore/__main__.py | 4 ++-- pyproject.toml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dms_datastore/__main__.py b/dms_datastore/__main__.py index f650f2a..a0709b4 100644 --- a/dms_datastore/__main__.py +++ b/dms_datastore/__main__.py @@ -3,7 +3,7 @@ from dms_datastore.download_hycom import download_hycom_cli from dms_datastore.download_hrrr import download_hrrr_cli from dms_datastore.download_cdec import download_cdec_cli -from dms_datastore.download_wdl import download_wdl_cli +#from dms_datastore.download_wdl import download_wdl_cli from dms_datastore.download_nwis import download_nwis_cli from dms_datastore.download_des import download_des_cli from dms_datastore.download_ncro import download_ncro_cli @@ -44,7 +44,7 @@ def cli(): cli.add_command(download_hycom_cli, "download_hycom") cli.add_command(download_hrrr_cli, "download_hrrr") cli.add_command(download_cdec_cli, "download_cdec") -cli.add_command(download_wdl_cli, "download_wdl") +#cli.add_command(download_wdl_cli, "download_wdl") cli.add_command(download_nwis_cli, "download_nwis") cli.add_command(download_des_cli, "download_des") cli.add_command(download_ncro_cli, "download_ncro") diff --git a/pyproject.toml b/pyproject.toml index 1afb13f..5bac77d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,7 @@ doc = [ "ipython" ] -#These are the tools needed to perform testing. +#These are the tools needed to perform testing. test = [ "pytest>=3", "pytest-cov", @@ -136,7 +136,7 @@ download_noaa = "dms_datastore.download_noaa:download_noaa_cli" download_hycom = "dms_datastore.download_hycom:download_hycom_cli" download_hrrr = "dms_datastore.download_hrrr:download_hrrr_cli" download_cdec = "dms_datastore.download_cdec:download_cdec_cli" -download_wdl = "dms_datastore.download_wdl:download_wdl_cli" +#download_wdl = "dms_datastore.download_wdl:download_wdl_cli" download_nwis = "dms_datastore.download_nwis:download_nwis_cli" download_des = "dms_datastore.download_des:download_des_cli" download_ncro = "dms_datastore.download_ncro:download_ncro_cli"