From 69601e5dd483d36d7e5731d791345757f476f4a4 Mon Sep 17 00:00:00 2001 From: James Byrne Date: Thu, 25 Jan 2024 17:50:19 +0000 Subject: [PATCH] Dev #186: linking to download toolbox --- icenet/data/sic/mask.py | 2 +- pyproject.toml | 13 +++---------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/icenet/data/sic/mask.py b/icenet/data/sic/mask.py index f73e71ec..0704b2d3 100644 --- a/icenet/data/sic/mask.py +++ b/icenet/data/sic/mask.py @@ -10,7 +10,7 @@ from icenet.data.cli import download_args from icenet.data.producers import Generator from icenet.utils import run_command -from icenet.data.sic.utils import SIC_HEMI_STR +from download_toolbox.utils import SIC_HEMI_STR """Sea Ice Masks """ diff --git a/pyproject.toml b/pyproject.toml index d087c09f..e4f4bb21 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ dependencies = [ "cfgrib", "dask", "distributed", + "download-toolbox @ git+https://github.com/antarctica/download-toolbox@icenet_v0.3.0_dev", "eccodes", "ecmwf-api-client", "h5py", @@ -54,15 +55,6 @@ classifiers = [ ] [project.scripts] -icenet_data_masks = "icenet.data.sic.mask:main" -icenet_data_cmip = "icenet.data.interfaces.esgf:main" -icenet_data_era5 = "icenet.data.interfaces.cds:main" -icenet_data_oras5 = "icenet.data.interfaces.cmems:main" -icenet_data_hres = "icenet.data.interfaces.mars:hres_main" -icenet_data_seas = "icenet.data.interfaces.mars:seas_main" -icenet_data_sic = "icenet.data.sic.osisaf:main" -icenet_data_reproc_monthly = "icenet.data.interfaces.utils:reprocess_main" -icenet_data_add_time_dim = "icenet.data.interfaces.utils:add_time_dim_main" icenet_process_cmip = "icenet.data.processors.cmip:main" icenet_process_era5 = "icenet.data.processors.era5:main" icenet_process_oras5 = "icenet.data.processors.oras5:main" @@ -109,7 +101,8 @@ dev = [ "pytest", "black", "build", - "importlib_metadata" + "importlib_metadata", + "pre-commit", ] docs = [ "jinja2",