Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emileten committed Apr 12, 2024
1 parent 62a9c98 commit 269bc8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/hazard/cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging # noqa: E402
from typing import List
from typing import List, Optional

import fire
from dask.distributed import Client, LocalCluster # noqa: E402
Expand All @@ -19,12 +19,12 @@
def days_tas_above_indicator(
gcm_list: List[str] = ["NorESM2-MM"],
scenario_list: List[str] = ["ssp585"],
threshold_list: List[int] = [20],
threshold_list: List[float] = [20],
central_year_list: List[int] = [2090],
window_years: int = 1,
bucket: str = None,
prefix: str = None,
store: str = None,
bucket: Optional[str] = None,
prefix: Optional[str] = None,
store: Optional[str] = None,
):
"""
Run the days_tas_above indicator generation for a list of models,scenarios, thresholds,
Expand Down
2 changes: 1 addition & 1 deletion src/hazard/sources/osc_zarr.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(
bucket: str = default_dev_bucket,
prefix: str = "hazard",
s3: Optional[s3fs.S3File] = None,
store: Optional[MutableMapping] = None,
store: Optional[Any] = None,
):
"""For reading and writing to OSC Climate Zarr storage.
If store is provided this is used, otherwise if S3File is provided, this is used.
Expand Down

0 comments on commit 269bc8f

Please sign in to comment.