Coder Social home page Coder Social logo

cohnlab / ecosystem_climate_regulation_services Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.39 GB

Replication data for the manuscript 'Conserving the Cerrado and Amazon biomes of Brazil protects the soy economy from damaging warming'

R 73.66% Python 26.34%
ecosystem-services land cerrado

ecosystem_climate_regulation_services's Introduction

Ecosystem Climate Regulation Services

Introduction

This repository contains the data and codes for replication of the results presented in the manuscript entitled 'Conserving the Cerrado and Amazon biomes of Brazil protects the soy economy from damaging warming', submitted to the journal World Development.

The scripts presented here process data on native vegetation, past climate, future climate projections, agriculture, and future projections of land use and land cover. This data is used to estimate the role of native vegetation in Brazil in providing regulation of extreme heat for neighboring soybean production.

The materials in this repository allow users to reproduce the results and figures appearing in the main text of the manuscript.

To reproduce the figures appearing in the manuscript, it is necessary only to run the script Result_Analysis.R. To reproduce the methodology to generate the results presented in the paper, the script Master.R shows the order in which the several scripts for data analysis should be run, and the role of each of them.

The main scripts are written in R, with the exception of the scripts in the folder "Aux_codes/Compute_EDD/". These python scripts are auxiliary to calculate changes in Extreme Degree Days, and are not used independently, as they called from within other R scripts.

Main structure

Main scripts

  • Result_analysis.R.

This is the main R script in this repository that replicates the generation of tables and figures presented in the manuscript.

  • Master.R.

This is the master R script that runs all the auxiliary scripts in the Aux_codes folder, processing the input data and calculating the ecosystem extreme heat regulation services.

Folders

  • Aux_codes/

This folder contains the R ad Python scripts used to estimate changes in temperature resulting from land use and land cover change; the changes in extreme heat exposure to soybean production, through estimation of changes extreme degree days; the value of loss revenue due to increased exposure to extreme heat in the historical period and future scenarios; and the ecosystem services provided by native vegetation in the future scenarios.

  • Figures/

This folder contains the tables and figures that present the results from this analysis. The figure and table titles correspond to the order they are presented in the manuscript.

  • Input_Data/

The input data used in the analysis of extreme heat regulation services in Brazilian Cerrado and Amazon ecosystems. Better detail on the input data is presented in the file Input_Data/READMEinput.md

  • Output/

Results obtained in the analysis, used to produce the figures and tables presented in the Figures/ folder.

Instructions

The repository with all codes and input data occupies around 6.9Gb. It can be downloaded in its entirety, or in parts.

In case the figures are to be replicated:

  • The script Result_Analysis.R, the folder Output/ and Figures/ are necessary to download
  • The script Result_Analysis.R needs to be run in R.

In case the results and figures are to be replicated:

  • The entire repository should be downloaded.
  • The script Master.R shows the order in which the auxiliary scripts that process the data and calculate the indicators of relevance should be run.

ecosystem_climate_regulation_services's People

Contributors

rafarafarafa avatar

Watchers

 avatar  avatar

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.