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

uwefladrich / scriptengine-tasks-ecearth / 13385449036
97%

Build:
DEFAULT BRANCH: master
Ran 18 Feb 2025 07:35AM UTC
Jobs 1
Files 50
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

18 Feb 2025 07:32AM UTC coverage: 97.067% (+0.06%) from 97.005%
13385449036

push

github

web-flow
Add NemoGlobalSumYearMeanTimeseries processing task (#106)

Create new timeseries processing task as requested in #105.
Added a simple test case and documentation.

* Add a new class NemoTimeseries that can be used for creating NEMO timeseries processing tasks

* make NemoGlobalMeanYearMeanTimeseries and NemoGlobalSumYearMeanTimeseries children of said class

* adjust entry points accordingly (user-facing behavior does not change)

Change spatial weights computation:
Iris can automatically take care of unit conversion when aggregating, as long as the spatial weights are added to the cube as a CellMeasure. (cf. https://scitools-iris.readthedocs.io/en/latest/userguide/cube_statistics.html#area-averaging).
I have thus changed the spatial_weights function to add a "cell_size" as a cell measure, containing the grid area/volume
This means I do not have to multiply by m2/m3 depending on the aggregation.
It also leads to a slight simplification of the SI3 Timeseries task.
This works since Iris 3.5, so I updated the minimal required version.

Updated the tests, I also now check that the units are changed when summing (but not when computing the global mean)

* Unrelated Formatting caught by black

* Update Changes

85 of 85 new or added lines in 6 files covered. (100.0%)

2019 of 2080 relevant lines covered (97.07%)

0.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 13385449036.1 18 Feb 2025 07:35AM UTC 50
97.07
GitHub Action Run
Source Files on build 13385449036
  • Tree
  • List 50
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 43fe1dc3 on github
  • Prev Build on master (#13283344883)
  • Next Build on master (#13543652076)
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