Giter Club home page Giter Club logo

globaloceannotebooks's Introduction

GlobalOceanNotebooks

Binder DOI

Jupyter / Julia notebooks that illustrate some of the JuliaClimate packages working in concert.

For example, MeshArrays.jl is used to analyze global ocean transports derived accurately from gridded model output. An important requirement in climate science is to derive transports using native model grid output to allow for maximum precision e.g. in closing energy budgets.

IndividualDisplacements.jl extends this approach by providing a Lagrangian tracking framework that readily operates on any model C-grid supported by MeshArrays.jl. In our examples, model output from the MITgcm are loaded into MeshArray using functions provided by MITgcmTools.jl.

Table of content

    1. Ocean Transports
    1. Data Structures

1. Ocean Transports

The following notebooks demonstrate various standard computations related to ocean transports.

  • 04_transports.ipynb uses TransportThrough() and LatCircles() to compute seawater transports between latitude bands. It plots interpolated results over the Global Ocean.
  • 05_streamfunction.ipynb uses ScalarPotential() and VectorPotential() to compute horizontal streamfunction along with the divergent transport component.
  • 06_overturning.ipynb computes meridional overturning streamfunctions (the MOC).
  • 07_particles.ipynb computes particle trajectories that follow a gridded flow field.

0. Data Structures

  • 01_MeshArrays.ipynb illustrates the main data structures defined in MeshArrays.jl (documented here), the exchange of data between neighboring arrays in a MeshArray, and demo's these concepts in a simulation of diffusive transport.
  • 02_climatetools.ipynb illustrates the use of ClimateTools.jl and ClimatePlots.jl
  • 03_nctiles.ipynb converts binary data into meta-data-rich NetCDF files using NCTiles.jl for (1) a simple rectangular grid written to single file; (2) a tiled model domain on a less simple grid written to multiple files.

Notes

  • MeshArrays.jl is a Julia package that handles gridded earth variables. It was introduced in this JuliaCon-2018 presentation which corresponds to 01_MeshArrays.ipynb in this folder.
  • Each .ipynb notebook is paired with a .jl file via jupytext
  • An interactive version can readily be spun up via the launch binder badge
  • Rerunning the examples can involve data downloads into the inputs/ folder that can safely be removed afterwards
  • For now, this is serial. Efficiency can be improved in various places or simply through parallelization.
  • Please use the repository issue tracker for queries, bug reports, new contributions, etc.

globaloceannotebooks's People

Contributors

gaelforget avatar abelolivelanna avatar lmilechin avatar balinus avatar

Watchers

James Cloos 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.