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

IAMconsortium / pyam / 814 / 4
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2019 11:25AM UTC
Files 11
Run time 0s
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

29 Apr 2019 11:12AM UTC coverage: 91.918% (+0.08%) from 91.838%
PYENV=py37

push

travis-ci

gidden
Add a function to aggregate a variable to a region from subregions (#207)

* clean-up of `aggregate()` function

using latest `pyam.append()` beauty

* auxiliary function `_variable_components()`

* move `_variable_components()` below aggregate function block

* make `_apply_filters()` take kwargs instead of `dict`

* make `_apply_filter(col=None)` behave as if no filter applied

* refactor all aggregate-functions to `unit` as kwarg

for consistency with `filter()`

* replace `_aggregate_by_variables()` by more generic function

* refactor internal pd.Series variables to be not called `df_*`

* shorten name of auxiliary function `_aggregate`, allow `by` as list

* add function `aggregate_region()`

* refactor `check_aggregate_region()` function to use `aggregate_region()`

* remove deprecated auxiliary function and index lists

* check for subregions only where variable exists

* use `df.timeseries()` as return of check_aggregate[_region]()`

* update order of index in tests (using `timeseries()` in `check*()`)

* implement refactoring of function name and args in tests

* update inline comments and logger messages

* add to release notes

* update `check_internal_consistency()`

* add docstring for `_variable_components()` as requested by @gidden

* remove `unit` arg from `(check_)aggregate(_region)` functions as requested by @gidden

* appease stickler

* restrict `geopandas<0.5.0`to make region-plot tests pass

cherrypicked from `gidden:testci`

1649 of 1794 relevant lines covered (91.92%)

0.92 hits per line

Source Files on job 814.4 (PYENV=py37)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 272
  • Travis Job 814.4
  • 4077929c on github
  • Prev Job for PYENV=py37 on master (#803.2)
  • Next Job for PYENV=py37 on master (#829.2)
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