diff --git a/definitions/.gitkeep b/definitions/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/definitions/region/common.yaml b/definitions/region/common.yaml deleted file mode 100644 index aef9c53..0000000 --- a/definitions/region/common.yaml +++ /dev/null @@ -1,2 +0,0 @@ -- common: - - World diff --git a/mappings/.gitkeep b/mappings/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 70a15e3..0000000 --- a/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -pyam-iamc >= 1.0 # the `pyam` package is released on pypi under this name -nomenclature-iamc >= 0.11 diff --git a/workflow.py b/workflow.py deleted file mode 100644 index c85f21b..0000000 --- a/workflow.py +++ /dev/null @@ -1,15 +0,0 @@ -from pathlib import Path -import pyam -from nomenclature import DataStructureDefinition, RegionProcessor, process - - -here = Path(__file__).absolute().parent - - -def main(df: pyam.IamDataFrame) -> pyam.IamDataFrame: - """Project/instance-specific workflow for scenario processing""" - - # Run the validation and region-processing - dsd = DataStructureDefinition(here / "definitions") - processor = RegionProcessor.from_directory(path=here / "mappings", dsd=dsd) - return process(df, dsd, processor=processor)