Skip to content

Commit

Permalink
Merge branch 'climatological_op' into select_indicators_for_available…
Browse files Browse the repository at this point in the history
…_vars
  • Loading branch information
RondeauG authored Nov 29, 2023
2 parents ffabb74 + 4cc6928 commit 5a0abdb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- shapely >=2.0
- sparse
- toolz
- xarray
- xarray <2023.11.0
- xclim >=0.46.0
- xesmf >=0.7
- zarr
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- shapely >=2.0
- sparse
- toolz
- xarray
- xarray <2023.11.0
- xclim >=0.46.0
- xesmf >=0.7
- zarr
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run(self):
"shapely>=2.0",
"sparse",
"toolz",
"xarray",
"xarray<2023.11.0", # TODO: UNPIN BEFORE RELEASING
"xclim>=0.43",
"xesmf>=0.7.0",
"zarr",
Expand Down
2 changes: 1 addition & 1 deletion xscen/aggregate.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def climatological_op(
['max', 'mean', 'median', 'min', 'std', 'sum', 'var', 'linregress'].
Operations beyond methods of xarray.core.rolling.DatasetRolling include:
- 'linregress' : Computes the linear regression over the periods or it's windows, using
- 'linregress' : Computes the linear regression over the periods or its windows, using
scipy.stats.linregress employing years as regressors.
Here the output has a new dimension 'linreg_param' with coordinates:
['slope', 'intercept', 'rvalue', 'pvalue', 'stderr', 'intercept_stderr'].
Expand Down

0 comments on commit 5a0abdb

Please sign in to comment.