Recent Releases of nomenclature

nomenclature - v0.26.3

What's Changed

  • Only include renamed native-regions in rename mapping by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/515

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.26.2...v0.26.3

- Python
Published by phackstock 6 months ago

nomenclature - v0.26.2

What's Changed

  • Allow python3.13 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/512

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.26.1...v0.26.2

- Python
Published by phackstock 6 months ago

nomenclature - Release v0.26.1

What's Changed

  • Update hash for external repo aggregation tests by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/514

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.26.0...v0.26.1

- Python
Published by dc-almeida 7 months ago

nomenclature - Release v0.26.0

What's Changed

  • Add rename to Aggregator by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/496
  • Add "name" attribute to DataValidationItem by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/505
  • Rename "time" to "time-domain" in NomenclatureConfig, fix aliases and update tests by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/509
  • Set meta indicator from validate_data() by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/507
  • Fix region aggregation skip by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/495

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.25.1...v0.26.0

- Python
Published by dc-almeida 7 months ago

nomenclature - Release v0.25.1

What's Changed

  • Fix illegal characters validation by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/504

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.25.0...v0.25.1

- Python
Published by dc-almeida 7 months ago

nomenclature - Release v0.25.0

What's Changed

  • Add datetime validation by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/487

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.24.0...v0.25.0

- Python
Published by dc-almeida 7 months ago

nomenclature - v0.24.0

What's Changed

  • Add generic Aggregator processor by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/462
  • Use logging-config instead of basicConfig by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/476
  • Add docstrings and docs pages for RequiredDataValidator and DataValidator by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/470
  • Add a range-validation feature by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/477
  • Update GitHub actions by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/480
  • Add mypy support when using nomenclature as part of another project by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/482
  • Update to using poetry 2 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/486
  • Add option to output DataValidator results in xlsx by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/484
  • Don't show index-column for data-validator xlsx output by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/491
  • Automate region countries list for parse_model_registration by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/493
  • Add alias and improve flexibility for illegal_characters config attribute by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/494
  • Enable mixed criteria/filter config for DataValidator by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/490
  • Add filter to CodeList by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/489
  • Add Repository.has_auto_update and dry_run option for NomenclatureConfig by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/501

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.23.0...v0.23.1

- Python
Published by phackstock 8 months ago

nomenclature - Release v0.23.0

What's Changed

  • Pin Poetry version to 1.8 by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/450
  • Remove redundant illegal character check attribute by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/452
  • Rename NUTS hierarchy by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/455
  • Filter mappings from external repo by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/460
  • Remove None defaults from RegionAggregationMapping by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/466
  • Add from_external_repository attribute to Code by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/459
  • Specify illegal character(s) found and respective attribute(s) by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/456
  • Refactor multiple warning levels for same data validation filter by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/461
  • Check if constituents of common regions are in native regions by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/463
  • Update citation by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/472

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.22.1...v0.23.0

- Python
Published by phackstock about 1 year ago

nomenclature - Release v0.22.1

What's Changed

  • Support pyam v3.0 and fix incompatible test by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/447
  • Fix wildcard aggregation by skipping by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/448

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.22.0...v0.22.1

- Python
Published by phackstock about 1 year ago

nomenclature - Release v0.22.0

What's Changed

  • Allow numpy 2x by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/430
  • Format type hinting to 3.10+ by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/433
  • Allow easier import of NUTS regions by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/436
  • Add warning level to DataValidator by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/431
  • Check for illegal characters in codelists by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/418
  • Add a test for unexpected failing of validation with multiple units by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/442
  • Support directional region validation by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/440

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.21.0...v0.22.0

- Python
Published by phackstock about 1 year ago

nomenclature - Release v0.21.0

What's Changed

  • Remove dimensions implicit default from DataStructureDefinition by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/422
  • Update README.md by @gidden in https://github.com/IAMconsortium/nomenclature/pull/425
  • Update installation.rst by @gidden in https://github.com/IAMconsortium/nomenclature/pull/423
  • Filter external repos by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/396

New Contributors

  • @gidden made their first contribution in https://github.com/IAMconsortium/nomenclature/pull/425

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.20.0...v0.21.0

- Python
Published by phackstock over 1 year ago

nomenclature - Release v0.20.0

What's Changed

  • Read dimensions other than variable and region from external repo by @korsbakken in https://github.com/IAMconsortium/nomenclature/pull/415
  • Add CLI command to validate scenario data file from definitions by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/419
  • Add tier as named attribute for VariableCode by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/420
  • Added explicit encoding to all open statements. by @korsbakken in https://github.com/IAMconsortium/nomenclature/pull/407
  • Add dimensions option to CLI validate-scenarios by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/421

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.19.1...v0.20.0

- Python
Published by dc-almeida over 1 year ago

nomenclature - Release v0.19.1

What's Changed

  • Quickfix NUTS Excel file URL in docs by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/408
  • Extend stray tag check by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/411
  • Allow countries attribute as string by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/412
  • Update pysquirrel dependency by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/413

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.19.0...v0.19.1

- Python
Published by dc-almeida over 1 year ago

nomenclature - Release v0.19.0

What's Changed

  • Add function to add missing variables directly to yaml codelist by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/362
  • Run workflow file directly from cli by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/363
  • Build the docs directly on RTD for each PR by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/365
  • Create new IamcDataFilter class by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/360
  • Add parsing of data-validation yaml files by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/366
  • Add check for validate_data consistency to validate-project CLI by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/367
  • Implement DataValidator.apply() by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/368
  • Support data validation using value and tolerance (subclass implementation) by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/371
  • Add preliminary alpha3 code for Kosovo by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/373
  • Add a countries attribute to the region codelist by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/374
  • Update model-registration template to include Kosovo codes by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/377
  • Add Ruff by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/380
  • Improve missing data output by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/384
  • Improve unknown value error message by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/388
  • Bring back Windows tests by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/375
  • Add ErrorCollector to iso3_codes validation by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/390
  • Format RegionNotDefined error by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/391
  • Remove missing model mapping warning by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/392
  • Add NUTS regions by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/393
  • Add pysquirrel to docs by @dc-almeida in https://github.com/IAMconsortium/nomenclature/pull/395
  • Clean up test data folders by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/399
  • Wildcard matching by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/397

New Contributors

  • @dc-almeida made their first contribution in https://github.com/IAMconsortium/nomenclature/pull/380

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.18.1...v0.19.0

- Python
Published by phackstock over 1 year ago

nomenclature - Release v0.18.1

What's Changed

  • Update dependencies by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/354
  • Fix enum use in config by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/356

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.18.0...v0.18.1

- Python
Published by phackstock over 1 year ago

nomenclature - Release v0.18.0

What's Changed

  • Update dependencies to fix failing nightly tests by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/344
  • Pin versions of common and legacy definitions for test by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/349
  • Replace tags in attribute lists and dicts by @korsbakken in https://github.com/IAMconsortium/nomenclature/pull/352
  • Extend Nomenclature config to specify dimensions by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/353

New Contributors

  • @korsbakken made their first contribution in https://github.com/IAMconsortium/nomenclature/pull/352

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.17.0...v0.18.0

- Python
Published by phackstock over 1 year ago

nomenclature - Release v0.17.0

What's Changed

  • Add dynamic versioning plugin for readthedocs by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/329
  • Do not show full error message for missing weights by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/330
  • Set repository attribute correctly by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/335
  • Revert country name to "Turkey" by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/334
  • Extend the to_excel() method and add to CLI by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/331
  • Use correct virtual environment for building the docs on ReadTheDocs by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/336
  • Add python3.12 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/339
  • Improve duplicate code output by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/338
  • Rename cli to export-definitions by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/340

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.16.0...v0.17.0

- Python
Published by phackstock almost 2 years ago

nomenclature - Release v0.16.0

What's Changed

  • Allow nomenclatureconfig to have region country only by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/320
  • Making aggregation compatible with pyam 2.1 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/322
  • Change dimension parameter to singular in cli by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/323
  • Disallow external repo double stacking by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/324

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.15.0...v0.16.0

- Python
Published by phackstock about 2 years ago

nomenclature - Release v0.15.0

What's Changed

  • Fix .readthedocs.yaml by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/303
  • Fix pydantic warnings by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/308
  • Add link to ISO homepage by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/306
  • Improve test coverage by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/310
  • Use multiple external repos for definitions and mappings by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/311
  • Collect duplicate code errors by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/314
  • Apply black 24.1.1 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/318

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.14.0...v0.15.0

- Python
Published by phackstock about 2 years ago

nomenclature - Release v0.14.0

What's Changed

  • Bring cli back by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/300

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.13.0...v0.14.0

- Python
Published by phackstock about 2 years ago

nomenclature - Release v0.13.0

What's Changed

  • Raise error for unknown region by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/284
  • Fix for general config failing without definitions by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/288
  • Add VariableCodeList.units attribute and tests by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/289
  • Add link from model-mapping page to region-aggregation-attributes by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/292
  • Prototype for a model-registration parser by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/285
  • Use poetry by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/293
  • Fix typo in nightly tests by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/296
  • Update to pydantic v2 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/297

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.12.0...v0.13.0

- Python
Published by phackstock about 2 years ago

nomenclature - Release v0.12.0

Highlights

Compatibility with pyam v2.0

What's Changed

  • Refactor MetaValidator tests to not use exclude indicator by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/272
  • Extend the Countries docstring by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/273
  • Check if path is contained in cwd by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/276
  • Update pyam-imports prior to pyam v2.0 by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/277
  • Update supported python versions by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/280
  • Add RegionProcessor.revert() by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/279
  • Update RequiredDataValidator by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/281
  • Release candidate v0.12 by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/282

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.11.0...v0.12.0

- Python
Published by danielhuppmann over 2 years ago

nomenclature - Release v0.11.0

What's Changed

  • Add a general-config feature to add all countries to RegionCodeList by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/262
  • Import (region) definitions from other repository by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/264
  • Add a module for translating between country names and alpha-2/3 codes by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/263
  • Include definitions from GitHub repo by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/265
  • Improve the docs of the countries feature by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/266
  • Rename US/British Virgin Islands in countries module by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/269
  • Import mappings from external repo by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/268
  • Add config docs by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/271

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.10.1...v0.11.0

- Python
Published by phackstock over 2 years ago

nomenclature - Release v0.10.1

What's Changed

  • Simplify docs folder structure, move to Black GitHub Actions by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/256
  • Pin pydantic to < 2 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/260
  • Add a model-registration xlsx template by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/257

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.10.0...v0.10.1

- Python
Published by phackstock over 2 years ago

nomenclature - Release v0.10.0

What's Changed

  • Remove jsonschema by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/250
  • Renamed 'countries' attribute to 'iso3_codes'in RegionCode class by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/252
  • Allow ISO3 codes as string by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/253
  • Meta validator by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/249
  • Export aggregation difference to excel by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/237
  • Update the pyam-logo-path in the docs by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/254
  • Add explanation on native-model-names by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/255

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.9.1...v0.10.0

- Python
Published by phackstock over 2 years ago

nomenclature - Release v0.9.1

What's Changed

  • Second PR to update the Nomenclature documentation by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/242
  • MetaCode and MetaCodeList classes with allowed_values attribute by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/246
  • Streamline code list filter by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/245
  • Update required data validator by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/243
  • Exclude defaults for yaml export by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/247
  • Added the countries attribute and checkiso3codes() method to RegionCode object by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/240
  • General cleanup by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/244

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.9...v0.9.1

- Python
Published by phackstock almost 3 years ago

nomenclature - Release v0.9

Highlights

  • RegionProcessor now requires a DataStructureDefinition as input
  • Codelist instances now have a filter function which can be used to select Code objects based on attribute values

What's Changed

  • Refactor RegionProcessor by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/213
  • Refactor RegionProcessor apply interface by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/216
  • Serialize and read complex attributes by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/218
  • Remove unnecessary test module by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/229
  • Hierarchy Filter (first pull request) by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/226
  • Fix a bug where meta-indicators are dropped during region-processing by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/228
  • Adding to hierarchy method in codelist.py by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/232
  • Fix failing test after pandas 2.0 update by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/235
  • General Filter: Addresses the "Filter CodeLists by any attribute" issue #233 by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/236
  • RegionCode class added with one hierarchy attribute by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/239
  • Updated nomenclature documentation by removing the methods from being listed in the sidebar by @GretchenSchowalter in https://github.com/IAMconsortium/nomenclature/pull/238

New Contributors

  • @GretchenSchowalter made their first contribution in https://github.com/IAMconsortium/nomenclature/pull/226

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.8...v0.9

- Python
Published by phackstock almost 3 years ago

nomenclature - Release v0.8

New features

Introduced the RequiredDataValidator class which is used for validating that a given pyam.IamDataFrame contains data specified by a given set of region, variable, unit, year.

What's Changed

  • Correct test pypi installation test by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/202
  • Check against duplicate native region names (and rename-targets) by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/204
  • Clean up imports by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/206
  • Improve readability of illegal unit error by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/207
  • Require data by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/205
  • Update pyam to >= 1.7.0 by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/211
  • Rename CodeList.invaliditems to CodeListvalidateitems by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/212

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.7...v0.8

- Python
Published by phackstock about 3 years ago

nomenclature - Release v0.7

New features

Improved tag replacement logic. Occurrences of {tag} inside a code object are now replaced with the tag name if the tag in question does not feature the attribute in question.

For further details please see https://nomenclature-iamc.readthedocs.io/en/stable/user_guide/codelist.html#the-tag-feature.

Breaking changes

The CodeList classes now contain dictionaries mapping the name of a code to a Code object. Previously instead of the Code object, a dictionary was used. Therefore attribute access has changed.

As an example, to access the file attribute of a code called "code1", previously we would have used codelist["code1"]["file"]. This will no longer work, instead codelist["code1"].file, has to be used.

In order to make this attribute access work, the allowed names of attributes have been restricted to valid, non-keyword, python identifiers. An attribute called "iso2" is allowed while an attribute called "while" or "2iso" is not. This restriction is enforced using a pydantic validator.

What's Changed

  • Codelist/variable subclass by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/174
  • Fix RegionAggregationMapping.commonregionnames docstring by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/178
  • Quickfix to make yaml-check less stringent by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/179
  • Add a to_csv() method by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/185
  • Codelist/region subclass by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/177
  • Cleanup RegionCodeList by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/187
  • Feature/code usage by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/188
  • Add multi unit support by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/197
  • Apply tag replacing to named attributes as well by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/199
  • Change attributes to extra_attributes by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/200
  • Simplify Code.attributes type hint by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/195
  • Check names of additional attribute keys by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/196
  • Improve tag replacement by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/201

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.6...v0.7

- Python
Published by phackstock over 3 years ago

nomenclature - Release v0.6

What's Changed

  • Fix/small inconsistencies by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/167
  • Fix a bug casting Norway-ISO2-code "NO" to bool False by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/171
  • Fix/check hidden character by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/169
  • Features/end whitespace by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/170
  • Feature/no sub folder by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/168

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.5...v0.6

- Python
Published by phackstock over 3 years ago

nomenclature - Release v0.5

What's Changed

  • Check that weight variables exist by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/133
  • Restructure docs user-guide for toc-depth by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/140
  • Docs/add howto by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/144
  • Fix 2 typos : model-mapping by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/149
  • Change path representation to posix style by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/150
  • Add nightly run with multiple OS by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/151
  • Add CITATION.cff by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/152
  • Features/add cli folders by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/153
  • Features/add cli option by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/147
  • Check if user provided "mapping" attribute in assertvalidstructure by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/156
  • Docs/numpystyle use by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/159
  • Add common vs native region explanation by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/161
  • Features/default command cli by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/160
  • Docs/developing instructions by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/162
  • Fix/stray tags by @luciecastella in https://github.com/IAMconsortium/nomenclature/pull/163

New Contributors

  • @luciecastella made their first contribution in https://github.com/IAMconsortium/nomenclature/pull/149

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.4...v0.5

- Python
Published by phackstock over 3 years ago

nomenclature - Release v0.4

What's Changed

  • Add a docs page for the testing module by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/129
  • Add allowed attributes to variable schema by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/130
  • Enable aggregation-checks along the variable dimensions by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/131
  • Cast components-attribute to dict instead of CodeList by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/136

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.3...v0.4

- Python
Published by phackstock over 3 years ago

nomenclature - Release v0.3

Highlights

  • Rewrite the docs (PRs: #117, #119, #120, #121, #124, #15)
  • Extended region aggregation (PRs: #99, #123)
  • Better error reporting (PRs: #93, #95, #101, #107, #110, #113)

What's Changed

  • Collect errors during reading of region by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/93
  • Silence logger during region processing by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/95
  • Feature/add yml parsing by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/94
  • Add a CodeList.to_excel method by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/98
  • Refactor create_yaml_from_xlsx() into methods of CodeList by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/97
  • Support list of models in a region mapping by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/100
  • Quickfix for region-aggregation with missing weights by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/101
  • Fix handling of boolean attributes in codelists by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/106
  • Partial region aggregation by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/99
  • Add a test for a variable with brackets in the name by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/109
  • Update error message for empty dataframe by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/107
  • Unexpected region check by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/110
  • Check if region-processing results are empty by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/113
  • Restructure documentation by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/117
  • Add explicit tests for all supported Python versions by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/118
  • Migrate CLI-page to top-level docs by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/119
  • Rewrite the user-guide page for local usage by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/120
  • Rewrite the overview section on the docs index page by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/121
  • Rewrite the pyam-references by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/122
  • Single constituent region common region bypass by @phackstock in https://github.com/IAMconsortium/nomenclature/pull/123
  • Migrate variable-naming-conventions to own docs page by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/124
  • Fix indentation of yaml examples by @danielhuppmann in https://github.com/IAMconsortium/nomenclature/pull/125

Full Changelog: https://github.com/IAMconsortium/nomenclature/compare/v0.2...v0.3

- Python
Published by phackstock over 3 years ago

nomenclature - Release v0.2

Highlights

  • A detailed documentation is now available under nomenclature-iamc.readthedocs.io.
  • The new process function makes interaction with the nomenclature package more seamless. (link to the docs).
  • Variable region aggregation can now be combined with renaming. (link to the docs)
  • Tag code lists no longer use the <tag> format but employ "f-strings" in closer alignment with python. (link to the docs)
  • The RegionProcessor.apply() function now has better performance.

- Python
Published by phackstock about 4 years ago

nomenclature - Release v0.1

Highlights

This is the first release of the nomenclature package which facilitates working with data templates that follow the format developed by the Integrated Assessment Modeling Consortium (IAMC). It supports validation of scenario data and region processing, which consists of renaming and aggregation of model "native regions" to "common regions" used in a project. Further details can be found in the README.

- Python
Published by phackstock over 4 years ago