Skip to main content

The next generation of the PRIMAP climate policy analysis suite.

Project description

PRIMAP2

PyPI status Documentation Status Zenodo release

PRIMAP2 is the next generation of the PRIMAP climate policy analysis suite. PRIMAP2 is free software, you are welcome to use it in your own research. The documentation can be found at https://primap2.readthedocs.io.

Structure

PRIMAP2 is:
  • A flexible and powerful data format built on xarray.

  • A collection of functions for common tasks when wrangling climate policy data, like aggregation and interpolation.

  • A format for data packages built on datalad, providing metadata extraction and search on a collection of data packages.

Status

PRIMAP2 is in active development, and not everything promised above is built yet.

License

Copyright 2020-2021, Potsdam-Institut für Klimafolgenforschung e.V.

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

PRIMAP2 incorporates parts of xarray and pint_xarray, which are available under the Apache License, Version 2.0 as well. The full text of the xarray copyright statement is included in the licenses directory.

Citation

If you use this library and want to cite it, please cite it as:

Mika Pflüger. (2021, February 11). pik-primap/primap2: Version 0.3.1. Zenodo. http://doi.org/10.5281/zenodo.4535903

Changelog

0.3.1

  • Re-release 0.3.0 to trigger zenodo.

0.3.0

  • Add functions for downscaling and aggregation of gas baskets and categorical baskets.

  • Add functions, docs, and tests for basic GWP handling.

  • Add Makefile target to generate patched stub files for xarray containing the primap2 API.

  • Add development documentation detailing the structure of the repository and the tools used to development of PRIMAP2.

  • Add selection and indexing which understands dimension names like area in addition to the full dimension key including the category set like area (ISO3). Works with ds.pr[key] and ds.pr.loc[selection] as well as da.pr.loc[selection].

  • Add usage documentation for all currently included functionality.

  • Access metadata easily via properties like ds.pr.references.

0.2.0

  • Add documentation.

  • Add tests.

  • Add continuous integration using github actions.

  • Add functions for storing to and loading from netcdf.

  • Add description of the data format.

  • Add function which ensures that a dataset is in this data format.

  • Provide all functions using a pint extension accessor.

0.1.0

  • First development release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

primap2-0.3.1.tar.gz (528.4 kB view hashes)

Uploaded Source

Built Distribution

primap2-0.3.1-py2.py3-none-any.whl (31.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page