Giter VIP home page Giter VIP logo

climpact2's Introduction

			ClimPACT2
		Last updated: February 2016

What is it?

ClimPACT2 is an R software package that calculates the ET-SCI indices, as well as additional climate extremes indices. It directly incorporates the R climdex.pcic package (available on CRAN) to perform most of the calculations, which is available thanks to the efforts of the Pacific Climate Impacts Consortium (PCIC). ClimPACT2 was developed at the University of New South Wales and has several dependencies on other R packages. Two separate files allow the indices to be calculated in different ways. The climpact.loader function in climpact2.r allows power users to process gridded netCDF data, while climpact2.GUI.r provides a basic graphical user interface for processing ASCII time-series data.

Where can I get it?

ClimPACT2 is available on github @ https://github.com/ARCCSS-extremes/climpact2

How do I use the GUI?

Software you will need installed:
    -R (for Windows, version 3.2.3 or later. For Linux/MacOS version 3.0.2 
       or later)

1) Download and extract the following file:
   https://github.com/ARCCSS-extremes/climpact2/archive/master.zip

2) In Windows, open R and select "File->Change dir..." and select the 
   climpact2-master directory created in step 1. Then type 
   "source('climpact2.GUI.r')"

   In Linux or MacOS, cd to the climpact2-master directory created in
   step 1, then open R in a terminal windows and type 
   "source('climpact2.GUI.r')".

   The first time ClimPACT2 is run it will install required R packages.
   This will likely require you to select a mirror to download from.

Video tutorial on how to install R in Windows -> https://www.youtube.com/watch?v=Nb-yt3gSnQw

Video tutorial on how to run ClimPACT2 in Windows -> https://www.youtube.com/watch?v=eD8FqXdGNCs

Video tutorial on how to run ClimPACT2 in Linux/MacOS -> https://www.youtube.com/watch?v=1sSCqsRMCZI

What if I want to calculate the indices on a netCDF dataset? (Linux only)

Software you will need installed:
    -R (version 3.0.2 or later)
    -netCDF

1) Create a new directory

2) cd to new directory, and download and extract the following file:
   https://github.com/ARCCSS-extremes/climpact2/archive/master.zip

3) Run climpact2.checker.r file to install required R packages.

4) Modify the climpact2.wrapper.r file to suit your needs (see manual
   for optional parameters to specify). Then execute by running 
   'Rscript climpact2.wrapper.r' from the Linux command line.***

*** Calculating all 51 indices for a 20 year record with horizontal resolution of 144 x 215 takes approximately 12 hours on 2 cores.

Common problems

 - Running the GUI in Linux; when trying to install packages R fails with 
   "/bin/bash: g++: command not found"
   You need to install g++ onto your system via the package manager on your 
   particular operating system. In most Linux operating system a command such 
   as "sudo apt-get install g++" at the command line (i.e. not inside R) will
   suffice in installing the software. Once done, run ClimPACT2 again.

 - If you experience trouble installing R packages in Windows, try to disable
   your antivirus temporarily.

Documentation

Documentation exists in the form of this README file, the official ClimPACT2 manual (available with this software on github) as well as the source code itself.

Licensing

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Contacts

Software issues contact Nicholas Herold : [email protected]

All other issues contact Lisa Alexander : [email protected]

climpact2's People

Contributors

heroldn avatar

Watchers

James Cloos avatar Charles Bwalya Chisanga 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.