Skip to content

Commit

Permalink
MAINT: Update generated API
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot - API updater committed Mar 20, 2024
1 parent 9597315 commit 092cbc8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/icclim/_generated/_dcsc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import icclim
from icclim.dcsc.dcsc_indices import DcscIndexRegistry
from icclim.dcsc.utils import get_dataarray_from_dataset
from icclim.generic.thresholds.factory import build_threshold
from icclim.generic_indices.thresholds.factory import build_threshold

if TYPE_CHECKING:
import datetime as dt
Expand Down
2 changes: 1 addition & 1 deletion src/icclim/_generated/_ecad.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import icclim
from icclim.ecad.ecad_indices import EcadIndexRegistry
from icclim.generic.thresholds.factory import build_threshold
from icclim.generic_indices.thresholds.factory import build_threshold

if TYPE_CHECKING:
import datetime as dt
Expand Down
8 changes: 5 additions & 3 deletions src/icclim/_generated/_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from typing import TYPE_CHECKING

import icclim
from icclim.generic.registry import GenericIndicatorRegistry
from icclim.generic_indices.registry import GenericIndicatorRegistry

if TYPE_CHECKING:
import datetime as dt
Expand Down Expand Up @@ -67,8 +67,10 @@ def count_occurrences(
logs_verbosity: Verbosity | str = "LOW",
date_event: bool = False,
) -> Dataset:
"""
Count occurrences where threshold(s) are met (e.g. SU, Tx90p, RR1).
"""count_occurrences.
Count occurrences where threshold(s) are met (e.g. SU, Tx90p, RR1).
Parameters
----------
Expand Down

0 comments on commit 092cbc8

Please sign in to comment.