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

Ouranosinc / xscen / 10818804113
90%

Build:
DEFAULT BRANCH: main
Ran 11 Sep 2024 08:05PM UTC
Jobs 8
Files 152
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

11 Sep 2024 08:02PM UTC coverage: 76.078% (-1.4%) from 77.445%
10818804113

push

github

web-flow
Various utilities (#431)

<!-- 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:
- [ ] This PR addresses an already opened issue (for bug fixes /
features)
    - This PR fixes #xyz
- [x] (If applicable) Documentation has been added / updated (for bug
fixes / features).
- [x] (If applicable) Tests have been added.
- [x] This PR does not seem to break the templates.
- [x] CHANGELOG.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?

* `zip_directory` and `unzip_directory` to do what their name hints to.
Useful for working with zipped zarrs. I compared different tools and
using python's built-in `zipfile` was only slightly slower than
subprocessing something like `7z` or `zip`. So I chose that module for
maximum compatibility (not tested on windows though).
* `DataCatalog.copy_files` : copy everything from a catalog to a new
root folder. Can unzip on the way, can recreate a structure or not. At
first I didn't want to do this in-place, but the result of
`search_data_catalogs` is not easily copiable.
- I use this to transfer my inputs from a network to a local storage on
narval because I know my workflow (indicators) will read the input
multiple times.
* Allow string `directories` in `parse_directory`. Wow did I wonder why
my parsing was taking so much time. When passing a single string, it is
still treated as a sequence so my path starting with `/tank` was first
looking through `/ `...
* `indicators.get_indicator_output` : a helper for something we often do
when checking if indicators exist in a catalog. Returns the output
frequency and variable names of an indicator.
* Option `rechunk_for_resample` for `compute_indicators` (and
corresponding util). Not 100% h... (continued)

25894 of 34036 relevant lines covered (76.08%)

0.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 run-Python3.9-conda - 10818804113.1 11 Sep 2024 08:09PM UTC 0
77.23
GitHub Action Run
2 run-Python3.9 - 10818804113.2 11 Sep 2024 08:09PM UTC 0
74.88
GitHub Action Run
3 run-Python3.12 - 10818804113.3 11 Sep 2024 08:09PM UTC 0
74.91
GitHub Action Run
4 run-Python3.10 - 10818804113.4 11 Sep 2024 08:09PM UTC 0
74.91
GitHub Action Run
5 run-Python3.11-conda - 10818804113.5 11 Sep 2024 08:09PM UTC 0
77.26
GitHub Action Run
6 run-Python3.12-conda - 10818804113.6 11 Sep 2024 08:09PM UTC 0
77.26
GitHub Action Run
7 run-Python3.11 - 10818804113.7 11 Sep 2024 08:09PM UTC 0
74.91
GitHub Action Run
8 run-Python3.10-conda - 10818804113.8 11 Sep 2024 08:09PM UTC 0
77.26
GitHub Action Run
Source Files on build 10818804113
Detailed source file information is not available for this build.
  • Back to Repo
  • da5aeece on github
  • Prev Build on main (#10799223210)
  • Next Build on main (#10818810256)
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

© 2026 Coveralls, Inc