Giter Club home page Giter Club logo

oggr's Introduction

#Glacier mass balance model of Marzeion et al. 2012 adapted for OGGR

#Versions

  • v1.0 (master_fortran): benchmark version replicating Marzeion 2012 results

##Current (main) branches:

###master:

  • using scons to build fortran

    • to install: e.g. apt-get install scons
    • build main : scons
    • build precompute: scons -Q mmbm_precomp.exe
    • clean main: scons -c
    • clean precompute: scons -c -Q mmbm_precomp.exe
  • developed and tested with gfortran

  • uses netcdf

  • main loop is parallelized with openMP. To use this:

    • set environment variable: set -x OMP_NUM_THREADS 4
    • set it to your number of CPU-cores as a first estimate
    • enable the two -fopenmp flags in SConstruct
    • BEWARE: if you use parallel version and add new variables, make sure you set the context i.e. private or shared (see beginning of loop)
  • all python packages are installable via pip or easy_install

  • directory structure:

    Directories should be symlinked if not wanted in local dir; they are NOT included in the repo

    • data directory
      • {METTYPE}_anom_interp_{YEAR}.nc interpolated anomalies
      • {METTYPE}_t2m_tp_CLIM_{YEARSTART}_{YEAREND}.nc climatologies
      • cross_validation.nc guess what
    • precomputed directory
      • {REGION}/{METTYPE}_precomp_{REGION}_{YEAR}.nc
    • results directory
  • NETCDF Conventions:

    • ALL NETCDF files should contain variables in SI units!
    • all lat lons are named latitude, longitude
    • lons range from -180 to + 180
    • time is expressed as decimal years
    • time variable is called month in case of climatology, else time
    • temperature is t2m
    • precip is tp

oggr's People

Contributors

fso42 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

whigg

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.