Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use mamba to setup test environments #256

Merged
merged 3 commits into from
Jan 15, 2022
Merged

Use mamba to setup test environments #256

merged 3 commits into from
Jan 15, 2022

Conversation

dnerini
Copy link
Member

@dnerini dnerini commented Jan 15, 2022

Try using mamba to speedup installing dependencies.

@codecov
Copy link

codecov bot commented Jan 15, 2022

Codecov Report

Merging #256 (89329ab) into master (c8e3c74) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #256   +/-   ##
=======================================
  Coverage   80.79%   80.79%           
=======================================
  Files         140      140           
  Lines       10625    10625           
=======================================
  Hits         8584     8584           
  Misses       2041     2041           
Flag Coverage Δ
unit_tests 80.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c8e3c74...89329ab. Read the comment docs.

@dnerini dnerini merged commit fc8e00a into master Jan 15, 2022
@dnerini dnerini deleted the use-mamba branch January 15, 2022 09:43
dnerini added a commit to EsmailGhaemi/pysteps that referenced this pull request Jan 15, 2022
* Try using mamba to speedup installing dependencies

* Use mamba.bat command for windows
dnerini added a commit that referenced this pull request Jan 15, 2022
* Add initial structure

* Add SAL method

* Refactor imports

* Add MissingOptionalDependency checks

* Rename methods

* Apply suggestions from code review

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>

* Add basic test

* Add interface

* More testing

* Return a tuple instead of pandas dataframe

* Some refactoring

* More refactoring

* Avoid re-computing the same calculations

* Extract sal method into separate module

* Minor refactoring

* Rename tests

* Fix compability issue and rename module

* Remove unused argument

* Add thr_factor argument

* Fix backward compatibility

* Rename variable

* Fix black

* Fix black part 2

* Replace max_precip with quantile95_precip

Replace max_precip with quantile95_precip for calculating the threshold.

* Convert masked arrays to numpy arrays

This avoids problems with nanquantile

* Fix skimage backward compatibility

* Add bibliography

* Compute quantile on wet pixels only

* Fix property name

* Set fill value in all cases

* Make sure that it works with empty inputs

Return nan when a score is undefined

* Aesthetics

* Add no-cache-dir flag

* Pin numpy build version to match the one available on conda-forge

* Update module name

* Pin maximum numpy version

* Revert commit 94ea041

* Set minmax=minref

Following suggestion from @feldmann-m

* Subpress all splits if thr_factor is passed

Following suggestion from @feldmann-m

* New set of parameters for tstorm

* Add option to specifiy the detection quantile

* Improve docstrings

* Set minimum python version to 3.7  (#253)

* Set minimum python version to 3.7

and maximum version to 3.9

* Update github actions

Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>

* Add docstring references

* Use mamba to setup test environments (#256)

* Try using mamba to speedup installing dependencies

* Use mamba.bat command for windows

Co-authored-by: Esmail Ghaemi <esi@Esmails-Air.fritz.box>
Co-authored-by: Esmail Ghaemi <esi@Esmails-MacBook-Air.local>
Co-authored-by: Daniele Nerini <daniele.nerini@gmail.com>
Co-authored-by: Andres Perez Hortal <16256571+aperezhortal@users.noreply.github.com>
Co-authored-by: Daniele Nerini <daniele.nerini@meteoswiss.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant