Skip to content

Commit

Permalink
Snow season title adj - grammaire
Browse files Browse the repository at this point in the history
  • Loading branch information
aulemahal committed Apr 17, 2024
1 parent fb3a2f9 commit 6f7f81e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
8 changes: 4 additions & 4 deletions xclim/data/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1012,13 +1012,13 @@
"SND_SEASON_START": {
"long_name": "Date du début du couvert de neige continu",
"description": "Première date à laquelle l'épaisseur de neige est au-dessus ou égale à {thresh} pendant au moins {window} jours consécutifs.",
"title": "Date du début du couvert de neige (épaisseur)",
"title": "Date de début du couvert de neige (épaisseur)",
"abstract": "Première date à partir de laquelle l'épaisseur de neige est au-dessus ou égale à un seuil donné pendant un nombre de jours consécutifs."
},
"SND_SEASON_END": {
"long_name": "Date de fin du couvert de neige continu",
"description": "Première date à laquelle l'épaisseur de neige passe sous {thresh} pendant au moins {window} jours consécutifs suite à l'établissement du couvert de neige.",
"title": "Date du fin du couvert de neige (épaisseur)",
"title": "Date de fin du couvert de neige (épaisseur)",
"abstract": "Première date à partir de laquelle l'épaisseur de neige est sous à un seuil donné pendant un nombre de jours consécutifs suite au début du couvert de neige."
},
"SND_DAYS_ABOVE": {
Expand All @@ -1036,13 +1036,13 @@
"SNW_SEASON_START": {
"long_name": "Date du début du couvert de neige continu",
"description": "Première date à laquelle la quantité de neige est au-dessus ou égale à {thresh} pendant au moins {window} jours consécutifs.",
"title": "Date du début du couvert de neige (quantité)",
"title": "Date de début du couvert de neige (quantité)",
"abstract": "Première date à partir de laquelle la quantité de neige est au-dessus ou égale à un seuil donné pendant un nombre de jours consécutifs."
},
"SNW_SEASON_END": {
"long_name": "Date de fin du couvert de neige continu",
"description": "Première date à laquelle la quantité de neige passe sous {thresh} pendant au moins {window} jours consécutifs suite à l'établissement du couvert de neige.",
"title": "Date du fin du couvert de neige (quantité)",
"title": "Date de fin du couvert de neige (quantité)",
"abstract": "Première date à partir de laquelle la quantité de neige est sous à un seuil donné pendant un nombre de jours consécutifs suite au début du couvert de neige."
},
"SNW_DAYS_ABOVE": {
Expand Down
6 changes: 0 additions & 6 deletions xclim/indicators/land/_snow.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):


snd_season_length = SnowWithIndexing(
title="Snow cover duration (depth)",
identifier="snd_season_length",
units="days",
long_name="Snow cover duration",
Expand All @@ -53,7 +52,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):
)

snw_season_length = SnowWithIndexing(
title="Snow cover duration (amount)",
identifier="snw_season_length",
units="days",
long_name="Snow cover duration",
Expand All @@ -65,7 +63,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):
)

snd_season_start = Snow(
title="Start date of continuous snow depth cover",
identifier="snd_season_start",
standard_name="day_of_year",
long_name="Start date of continuous snow depth cover",
Expand All @@ -77,7 +74,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):
)

snw_season_start = Snow(
title="Start date of continuous snow amount cover",
identifier="snw_season_start",
standard_name="day_of_year",
long_name="Start date of continuous snow amount cover",
Expand All @@ -89,7 +85,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):
)

snd_season_end = Snow(
title="End date of continuous snow depth cover",
identifier="snd_season_end",
standard_name="day_of_year",
long_name="End date of continuous snow depth cover",
Expand All @@ -100,7 +95,6 @@ class SnowWithIndexing(ResamplingIndicatorWithIndexing):
)

snw_season_end = Snow(
title="End date of continuous snow amount cover",
identifier="snw_season_end",
standard_name="day_of_year",
long_name="End date of continuous snow amount cover",
Expand Down
12 changes: 6 additions & 6 deletions xclim/indices/_threshold.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def snd_season_end(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""End date of continuous snow depth cover.
r"""Snow cover end date (depth).
First day after the start of the continuous snow depth cover when snow depth is below a threshold
for at least `N` consecutive days.
Expand Down Expand Up @@ -398,7 +398,7 @@ def snw_season_end(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""End date of continuous snow cover.
r"""Snow cover end date (amount).
First day after the start of the continuous snow water cover
when snow water is below a threshold for at least `N` consecutive days.
Expand Down Expand Up @@ -444,7 +444,7 @@ def snd_season_start(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""Start date of continuous snow depth cover.
r"""Snow cover start date (depth).
Day of year when snow depth is above or equal to a threshold
for at least `N` consecutive days.
Expand Down Expand Up @@ -495,7 +495,7 @@ def snw_season_start(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""Start date of continuous snow water cover.
r"""Snow cover start date (amount).
Day of year when snow water is above or equal to a threshold
for at least `N` consecutive days.
Expand Down Expand Up @@ -547,7 +547,7 @@ def snd_season_length(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""Snow season length.
r"""Snow cover duration (depth).
The season starts when snow depth is above a threshold for at least `N` consecutive days
and stops when it drops below the same threshold for the same number of days.
Expand Down Expand Up @@ -592,7 +592,7 @@ def snw_season_length(
window: int = 14,
freq: str = "YS-JUL",
) -> xarray.DataArray:
r"""Snow season length.
r"""Snow cover duration (amount).
The season starts when the snow amount is above a threshold for at least `N` consecutive days
and stops when it drops below the same threshold for the same number of days.
Expand Down

0 comments on commit 6f7f81e

Please sign in to comment.