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

Ouranosinc / miranda / 17135863835
18%

Build:
DEFAULT BRANCH: main
Ran 21 Aug 2025 06:41PM UTC
Jobs 7
Files 68
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

21 Aug 2025 06:38PM UTC coverage: 18.726% (-0.2%) from 18.928%
17135863835

push

github

web-flow
No longer initialize logging within library (#264)

### What kind of change does this PR introduce?

* Adjusts logging so that submodules do not initialize the logging
configuration.
* Sets all modules using logging to log relative to the `miranda`
library (never `root`).
* Adds a missing function needed for a submodule that was removed in an
earlier PR.

### Does this PR introduce a breaking change?

Yes. If you rely on the logging messages, you need to initialize the
logger in your scripts as follows:
```python
import logging.config

from miranda.scripting import LOGGING_CONFIG

logging.config.dictConfig(LOGGING_CONFIG)
```

There might be a much easier way to get this up and running, but with
these changes, we no longer need to worry about submodules setting this
accidentally.

### Other information:

There was a missing function (`group_by_length`) that was entirely
missing. This wasn't raising errors, as the module that relied on it
wasn't being loaded on import.

48 of 231 new or added lines in 28 files covered. (20.78%)

3 existing lines in 3 files now uncovered.

1199 of 6403 relevant lines covered (18.73%)

1.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% src/miranda/eccc/_homogenized.py
1
0.0
0.0% src/miranda/ncar/_aws_cordex.py
2
22.73
-1.38% src/miranda/convert/eccc_rdrs.py
2
16.09
-0.95% src/miranda/convert/utils.py
2
33.33
-2.67% src/miranda/io/_input.py
2
79.17
0.0% src/miranda/testing/utils.py
3
13.99
-0.6% src/miranda/io/utils.py
4
29.63
0.0% src/miranda/convert/_data_definitions.py
4
14.62
-0.67% src/miranda/convert/melcc.py
5
18.06
-1.12% src/miranda/treatments/__init__.py
7
11.35
0.44% src/miranda/structure/_structure.py
8
0.0
0.0% src/miranda/convert/ghcn.py
9
9.41
0.54% src/miranda/treatments/_variables.py
10
16.26
-0.68% src/miranda/io/_rechunk.py
11
16.67
-0.66% src/miranda/convert/_reconstruction.py
12
11.56
-0.51% src/miranda/io/_output.py
13
11.64
-0.14% src/miranda/decode/_decoder.py
19
31.36
-3.1% src/miranda/utils.py
26
7.63
-0.15% src/miranda/convert/_data_corrections.py
42
0.0
0.0% src/miranda/eccc/_raw.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% src/miranda/eccc/_raw.py
1
11.56
-0.51% src/miranda/io/_output.py
1
11.35
0.44% src/miranda/structure/_structure.py
Jobs
ID Job ID Ran Files Coverage
1 run-Python3.13-conda - 17135863835.1 21 Aug 2025 06:41PM UTC 68
18.48
GitHub Action Run
2 run-3.10 - 17135863835.2 21 Aug 2025 06:42PM UTC 68
18.55
GitHub Action Run
3 run-Python3.12-conda - 17135863835.3 21 Aug 2025 06:41PM UTC 68
18.48
GitHub Action Run
4 run-Python3.11-conda - 17135863835.4 21 Aug 2025 06:41PM UTC 68
18.48
GitHub Action Run
5 run-3.12 - 17135863835.5 21 Aug 2025 06:42PM UTC 68
18.55
GitHub Action Run
6 run-Python3.10-conda - 17135863835.6 21 Aug 2025 06:41PM UTC 68
18.48
GitHub Action Run
7 run-3.11 - 17135863835.7 21 Aug 2025 06:42PM UTC 68
18.55
GitHub Action Run
Source Files on build 17135863835
  • Tree
  • List 68
  • Changed 29
  • Source Changed 29
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17135863835
  • 5908d1e5 on github
  • Prev Build on main (#17134902652)
  • Next Build on main (#17249301051)
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