Git Product home page Git Product logo

cable_cnp's Introduction

CABLE CNP

Repository to run CABLE CNP at a FLUXNET site(s).

Simulations spin the model up to equilibirum using fixed CO2, Ndep & Pdep (depending on what cycles you turn on). Following this, there is a transient simulation from 1850 to the first year of the FLUXNET met file. Finally, a simulation is run for the site years in the FLUXNET file.

You will need a FLUXNET netCDF file and a CO2/Ndep/Pdep input file.

To get started:

$ git clone https://github.com/mdekauwe/CABLE_CNP.git CABLE_CNP

To work, the expectation is that the user will update the relevant entries (paths, library locations, etc) within:

$ initial_setup.py

#------------- User set stuff ------------- #
user = "XXX579"

...
# ------------------------------------------- #

In many cases we recommend you don't change the defaults, e.g. (however things should be robust to you doing as you please)

src_dir = "src"
run_dir = "runs"
log_dir = "logs"
plot_dir = "plots"

Code dependencies

The code has been written such that it has very few dependancies to ease personal set up. Nevertheless, it does depend on a few fairly standard python libraries:

All of which can be easily built using anaconda.

To install on raijin in your personal space:

Download the linux anaconda file. Then create an environment called "science" (or whatever sensible name springs to mind).

$ conda create --name science python=3

then

$ source activate science

then

$ conda install xarray matplotlib pandas scipy numpy

If you're working locally on a mac or linux machine, you could as easily use your favourite package manager (e.g. macports, apt-get, etc).

Contacts

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.