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

dbekaert / RAiDER / 18f513ef-6bf0-4777-bdcf-b87b9bf5fef6
51%
dev: 55%

Build:
Build:
LAST BUILD BRANCH: pr/multiday_download
DEFAULT BRANCH: dev
Ran 11 Aug 2026 02:03PM UTC
Jobs 1
Files 53
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 Aug 2026 12:06PM UTC coverage: 51.261% (+0.1%) from 51.138%
18f513ef-6bf0-4777-bdcf-b87b9bf5fef6

Pull #808

circleci

jlmaurer
Revert the merged ECMWF CDS request and pin the download layout with tests

The single combined request for lnsp/z/t/q could not work. ERA-5 archives lnsp
and z at model level 1 only, so a mixed-level request is not something CDS will
return as one netCDF -- the multi-date path added in #810 splits the request for
exactly this reason. Where a single file is returned at all, the surface fields
come back padded onto the full 137-level axis, so .squeeze() no longer collapses
the level dimension and calcgeoh raises:

  ValueError: could not broadcast input array from shape (137,11,11) into (11,11)

reproduced against test/weather_files/ERA-5_2020_01_30_T13_52_45.nc, which was
downloaded by the pre-split single-request path and still carries that layout.

Restore the two requests and keep the rest of the cleanup: the full-cube
shutil.copy is dead (to_netcdf overwrites out_path) and is dropped.

Nothing in CI performs a CDS retrieval, which is why _get_from_cds had no cover
at all. test_ecmwf_fetch.py stubs cdsapi.Client and drives the real
post-processing into the real reader, asserting the layout contract the two
share: t/q/z as (time, level, lat, lon) cubes and lnsp recovered as lnsp[0, 0].
The stub refuses a mixed-level request, so re-merging the two retrievals fails
the suite instead of failing at download time.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #808: Update xarray usage in RAiDER to use lazy loading

33 of 58 new or added lines in 5 files covered. (56.9%)

20 existing lines in 1 file now uncovered.

3313 of 6463 relevant lines covered (51.26%)

0.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
71.84
-0.04% tools/RAiDER/cli/raider.py
7
42.16
0.0% tools/RAiDER/models/merra2.py
1
77.51
-0.13% tools/RAiDER/delay.py

Coverage Regressions

Lines Coverage ∆ File
20
59.87
4.02% tools/RAiDER/models/ecmwf.py
Jobs
ID Job ID Ran Files Coverage
1 18f513ef-6bf0-4777-bdcf-b87b9bf5fef6.1 11 Aug 2026 02:03PM UTC 53
51.26
CircleCI Job
Source Files on build 18f513ef-6bf0-4777-bdcf-b87b9bf5fef6
  • Tree
  • List 53
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #18F513EF...
  • Pull Request #808
  • PR Base - dev (#510157AB...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc