https://github.com/climateimpactlab/impact-calculations

The impacts-calculations contains the code necessary to generate, aggregate, and analyze physical impacts from econometric response functions.

https://github.com/climateimpactlab/impact-calculations

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.4%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

The impacts-calculations contains the code necessary to generate, aggregate, and analyze physical impacts from econometric response functions.

Basic Info
  • Host: GitHub
  • Owner: ClimateImpactLab
  • Language: Python
  • Default Branch: master
  • Size: 131 MB
Statistics
  • Stars: 0
  • Watchers: 5
  • Forks: 1
  • Open Issues: 2
  • Releases: 1
Created over 4 years ago · Last pushed 12 months ago
Metadata Files
Readme

README.md

impact-calculations

impacts-calculations contains the code necessary to generate, aggregate, and analyze physical impacts from econometric response functions.

The package can be installed locally as a python package but it also includes several additional scripts.

Contents:

  • adaptation: Interpolation and adaptation logic
  • analysis: Post-processing analysis (mostly R)
  • climate: Interface to the climate data
  • computer: Tools that use computer to run, monitor, and collect results
  • datastore: Interfaces to the input datasets
  • docs: Various documentation-- should probably be moved!
  • generate: Top-level functions for climate result-making
  • helpers: Helper code
  • impacts: Definitions of calculation
  • interpolate: Used by Chicago to make .csvv file
  • shortterm: Top-level functions for forecast result-making
  • tests: Unit tests

Installation

Clone the repository to a local directory and install the python package components with

pip install -e .

Although the code in the repo can be installed as a Python package, there are additional bits of supplimental code and scripts that are hard-coded to the local directory and so will only function from the root directory of this repository.

Generating projections, diagnostics, and projection aggregations depends on additional input files in a particular directory structure. Users can point to the root of this directory with the IMPERICS_SHAREDDIR environment variable. For example, if the root of the directory is /sharedir we can append ```

Configs for impact projection runs

export IMPERICS_SHAREDDIR=/shareddir `` to~/.bashrc`.

For more details on installation, or to install the repository in a way more conducive to doing development work on the projection system, see docs/install.md.

Projections with the imperics CLI

The installed python package includes a command-line interface (CLI) to handle projection generation, diagnostics, and aggregation. This is done with imperics generate, imperics diagnostic and imperics aggregate. All commands accept a YAML run configuration file as the first argument. For basic options, see imperics --help, or use --help with any imperics subcommand.

Support

See docs/ for additional documentation.

Owner

  • Name: Climate Impact Lab
  • Login: ClimateImpactLab
  • Kind: organization
  • Email: info@impactlab.org

A team of scientists, economists and engineers measuring the real-world costs of climate change.

GitHub Events

Total
  • Member event: 1
  • Push event: 4
  • Pull request event: 1
  • Create event: 2
Last Year
  • Member event: 1
  • Push event: 4
  • Pull request event: 1
  • Create event: 2

Dependencies

Dockerfile docker
  • continuumio/miniconda3 latest build
setup.py pypi
  • click *
  • impactcommon *
  • impactlab-tools *
  • metacsv *
  • netCDF4 *
  • numpy *
  • openest >=3
  • scipy *
  • statsmodels *
  • xarray *
environment.yml pypi