• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hydrologie / xhydro / 8253179421
92%

Build:
DEFAULT BRANCH: main
Ran 12 Mar 2024 05:29PM UTC
Jobs 4
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Mar 2024 05:25PM UTC coverage: 95.833% (+0.8%) from 95.051%
8253179421

push

github

web-flow
Adding first gis module to perform geospatial operations, notebook builds (#61)

<!-- Please ensure the PR fulfills the following requirements! -->
<!-- If this is your first PR, make sure to add your details to the
AUTHORS.rst! -->
### Pull Request Checklist:
- [x] This PR addresses an already opened issue (for bug fixes /
features)
  - This PR fixes #60 
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [X] (If applicable) Tests have been added.
- [X] CHANGES.rst has been updated (with summary of main changes).
- [X] Link to issue (:issue:`number`) and pull request (:pull:`number`)
has been added.

### What kind of change does this PR introduce?
This PR adds a GIS module for usual geospatial operations that are
common in hydrology such a watershed delineation, watershed properties
extraction, etc. It adapts the work that's been done in
[ravenpy](https://ravenpy.readthedocs.io/) while also adding some new
functionalities.

**Watershed Delineation**

- [x] Support concurrent delineation of multiple watersheds
simultaneously.
- [X] Enable access to official watershed polygons
(shapefiles/geojson/geoparquet) from authoritative sources (DEH, HYDAT,
USGS, HQ, etc.) —implemented collaboratively with xdatasets.

**Physiographic Variable (or others) Extraction**

- [x] Support simultaneous extraction of physiographic variables across
multiple watersheds.
- [X] Facilitate the extraction of variables present in STAC catalogs
(e.g., Planetary Computer).
- [X] Implement extraction considering pixel weighting rather than an
"all_touched" approach, as this can significantly impact final results
—implemented collaboratively with xdatasets.

### Does this PR introduce a breaking change?
No

### Other information:
This PR also integrates the changes from #65 and #68

157 of 159 new or added lines in 2 files covered. (98.74%)

713 of 744 relevant lines covered (95.83%)

3.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
98.73
xhydro/gis.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.10-conda - 8253179421.1 12 Mar 2024 05:32PM UTC 13
95.83
2 run-Python3.11-conda - 8253179421.2 12 Mar 2024 05:32PM UTC 13
95.83
3 run-Python3.9-conda - 8253179421.3 12 Mar 2024 05:32PM UTC 13
95.81
4 run-Python3.12-conda - 8253179421.4 12 Mar 2024 05:32PM UTC 13
95.83
Source Files on build 8253179421
  • Tree
  • List 13
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 376684fa on github
  • Prev Build on main (#8234428218)
  • Next Build on main (#8267679207)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc