Git Product home page Git Product logo

metis's Introduction

Travis build status

Contents

Introduction

Back to Contents

Metis provides a framework allowing analysis of dynamics across multiple sectors including water, energy, land and socio-economics at various spatial and temporal scales. It is designed to be a flexible tool which can take inputs from both global integrated assessment models (IAMs) which capture global dynamics as well as more detailed models which can capture specific sub-regional and sectoral details at finer resolutions. Metis integrates across tools by sharing data in standardized formats.

In most projects looking at multi-sector dynamics one of the key constraints is data availability and a key goal of Metis is to overcome this barrier by providing users with default data across sectors for their specific region. The default data is built from outputs of the open-source Global Change Assessment Model (GCAM) eco-system which provides downscaled gridded global data for water, energy and land. Metis aggregates gridded data to any spatial boundary and offers users a first look at the water-energy-land situation in their regions of interest. The idea is to use this as a starting point and then improve the data as and when it becomes available while working with local stakeholders.

After aggregating data to relevant spatial and temporal scales, Metis finds relationships between the sectors using input/output methods to establish correlation matrices. The correlation matrices represent the inter-sectoral links throughout the system and are then used to investigate impacts of changes in one sector on others.

Metis - A model to bridge the gap between coarse resolution IAMs and finer-resolution sector specific models

Citation

Back to Contents

Khan, Z., Wild, T., Vernon, C., Miller, A., Hejazi, M., Clarke, L., Miralles-Wilhelm, F., Castillo, R.M., Moreda, F., Bereslawski, J.L., Suriano, M. and Casado, J., 2020. Metis – A Tool to Harmonize and Analyze Multi-Sectoral Data and Linkages at Variable Spatial Scales. Journal of Open Research Software, 8(1), p.10. DOI: http://doi.org/10.5334/jors.292

Installation Guide

Back to Contents

  1. Download and install:

  2. Open R studio:

install.packages(“devtools”)
devtools::install_github(“JGCRI/rgcam”)
devtools::install_github(“JGCRI/metis”)

Additional steps for UBUNTU

sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update
sudo apt-get install libudunits2-dev libgdal-dev libgeos-dev libproj-dev libmagick++-dev

Additional steps for MACOSX

brew install pkg-config
brew install gdal
brew install imagemagick@6

Key Function Guides

Back to Contents

Cheatsheet: https://github.com/JGCRI/metis/blob/master/metisCheatsheet.pdf

Publications

Back to Contents

  • Khan, Z., Wild, T., Carrazzone, M.E.S., Gaudioso, R., Mascari, M.P., Bianchi, F., Weinstein, F., Pérez, F., Pérez, W., Miralles-Wilhelm, F. and Clarke, L., 2020. Integrated energy-water-land nexus planning to guide national policy: an example from Uruguay. Environmental Research Letters. DOI: https://doi.org/10.1088/1748-9326/ab9389

  • Khan, Z., Wild, T., Vernon, C., Miller, A., Hejazi, M., Clarke, L., Miralles-Wilhelm, F., Castillo, R.M., Moreda, F., Bereslawski, J.L., Suriano, M. and Casado, J., 2020. Metis – A Tool to Harmonize and Analyze Multi-Sectoral Data and Linkages at Variable Spatial Scales. Journal of Open Research Software, 8(1), p.10. DOI: http://doi.org/10.5334/jors.292

metis's People

Contributors

andym331 avatar crvernon avatar feralflows avatar mengqi-z avatar zarrarkhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metis's Issues

Fix Metis Scarcity Calculation

Currently "gridded scarcity" is calculatedin metis.prepGrid.R for each grid cell based on runoff from Xanthos and water demands from Tethys. This is the later aggregated into polygons by taking the area weighted mean in metis.grid2poly.R. The resulting scarcity is incorrect because we cannot aggregate like that. Scarcity should be recalculated for each polygon by re-doing the calculation (i.e. aggregated water withdrawals for each polygon/aggregated runoff for each polygon). This could be done in grid2poly with an if statement where if tethys and xanthos data is provided then the model calculates the aggregated polygon scarcity.

metis.bia.R Electricty Demand Downscaling

Need to add electricity demand downscaling in metis.bia.R. For each GCAM scenario read into bia we need take the electricty demand by sector and then downscale it using population weighted by GCAM region. We should use the poplation distribution files saved in ./metis/dataFiles which are the same ones used by Tethys.

How to plot GCAM results in bar charts?

Hi,

This tool is very useful. I have installed it and I can extract GCAM scenario results using it. I see a lot of plot options though maps but at the moment I would be more interested in plotting GCAM results in bar charts. Is this feature available?

Thanks.

Add fixed scales for diff plots

If possible, it would be helpful to be able to have a different, or fixed scale of some nature for when the diffOn = T in the metis.mapProcess function call. What is happening now is that the diff plots are using the original scale parameters used to calculate the scale for all of the plots, however the difference data sets are usually far different and may require a different type of scale to view properly.

metis.readgcam.R query for variable "transportPassengerVMTByFuel"

Currently we are using the "transport service output by tech (new)" query for the transportPassengerVMTByFuel paramx. This is reporting transportation service by tech for the new (current model year) vintage only. I believe readgcam should just use the query "transport service output by tech".

Add unit testing

Add unit testing for functions to improving testing. This would be particularly useful for metis.grid2poly, metis.gridBypoly and metis.io. Can also think of adding tests for visualizations (see https://github.com/r-lib/vdiffr).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.