Giter VIP home page Giter VIP logo

pywombat's Introduction

pyWOMBAT

Here we provide 0D chemostat and 1D water column models of the Australian ocean biogeochemical model WOMBAT (World Ocean Model of Biogeochemistry and Trophic-dynamics). It is written in python and intended for development purposes.

*** 0D model functional *** *** 1D model non-functional ***

0D model components

  • run_0D.py [Master file]
  • bgc_sms_0D.py [BGC routine]
  • mass_balance_0D.py [Checks for mass balance conservation]

1D model components

  • run.py [Master file]
  • bgc_sms.py [BGC routine]
  • advect_diff.py [Mixing and advection]
  • phyparams.py [Physical input parameters and z-grid]
  • bgcparams.py [Biogeochemical input parameters]
  • tra_init.py [Tracer initialisation]
  • mass_balance.py [Checks for mass balance conservation]

Structure of run_0D.py

  1. Set timestep, run length and logicals
  2. Initialise tracers
  3. Loops through model [calls bgc_sms_0D].. [calls mass_balance_0D]
  4. Final call of BGC routine [calls bgc_sms_0D]
  5. Save restart to output file
  6. Visualise the results

Structure of run.py

  1. Set timestep, run length and logicals
  2. Loads physical parameters and vertical grid [calls phyparams]
  3. Initialise tracers [calls tra_init]
  4. Loads biogeochemical parameters [calls bgcparams]
  5. Loops through model [calls advect_diff].. [calls mix_mld].. [calls bgc_sms].. [calls massb_c].. [calls massb_n].. [calls massb_p].. [calls massb_fe]
  6. Final call of BGC routine [calls bgc_sms]
  7. Save output to output file
  8. Visualise the results

pywombat's People

Contributors

pearseb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  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.