GithubHelp home page GithubHelp logo

danijonesocean / expose-tracer Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 102.27 MB

Tracer distributions from passive tracer release experiments in Subantarctic Mode Water pools

License: MIT License

MATLAB 0.78% Jupyter Notebook 99.22%
ocean-modelling ocean-sciences ocean jupyter-notebook matlab

expose-tracer's Introduction

expose-tracer

This repository contains code and data from a set of passive tracer experiments [Fig. 4, Jones et al. (2016)]. This figure has been included as part of a review paper on ventilation (Morrison et al., 2021)

tracer_ventilation

Requirements for Matlab code

  • Matlab 2018b
  • M_Map v1.4k

Requirements for Jupyter notebook

  • python 3.7.4
  • matplotlib 3.1.1
  • cartopy 0.17.0
  • numpy 1.17.2
  • xaray 0.16.2

Project Organization

├── colormaps                 <- Various colormaps used in these plots
├── data_in                   <- Tracer data from Jones et al. (2016)
├── data_pre                  <- Matlab code that was used to create the NetCDF file
├── notebooks                 <- Jupyter notebook for visualization
├── plots                     <- Plots from Matlab code
|
├── LICENSE
|
├── README.md                 <- Overall description
|
├── tracer_histogram_plot.m   <- Matlab code to plot distribution 

References

Jones, D. C., Meijers, A. J. S., Shuckburgh, E., Sallée, J.-B., Haynes, P., McAufield, E. K., and Mazloff, M. R. (2016), How does Subantarctic Mode Water ventilate the Southern Hemisphere subtropics?, J. Geophys. Res. Oceans, 121, 6558– 6582, doi:10.1002/2016JC011680.

Morrison, A. K., Waugh, D. W., Hogg, A. McC., Jones, D. C., and Abernathey, R. P. (2021), Ventilation of the Southern Ocean pycnocline, under review

expose-tracer's People

Contributors

danijonesocean avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

chanjeunlam

expose-tracer's Issues

Convert tracer histogram files to NetCDF

I've located the original tracer histogram files on BAS HPC at this location:

/data/expose/archive/expose/analysis/tracer_runs/tracer_histogram/data_out/exposeOnSteady_v3

The goal is to (1) perform the time integration step, (2) convert to NetCDF, and (3) save in this new expose-tracer repository. This conversion will need to include relevant factors of the MITgcm grid. We may create a brief plotting notebook in this repository.

NetCDF data looks fine when read by Matlab but incorrect when read by Xarray

In this repository, I've collected various fields into a single NetCDF. I produced the file using Matlab. The resulting data, stored in NetCDF, looks okay when read back in using Matlab. However, when I use Xarray to read in the data, some values seem to be missing for some coordinate values.

The code used to create the NetCDF file in Matlab is here:
https://github.com/DanJonesOcean/expose-tracer/blob/main/data_pre/now_convert.m

And the notebook where the NetCDF file is read back in is here:
https://github.com/DanJonesOcean/expose-tracer/blob/main/Southern%20Ocean%20Thermocline%20Ventilation.ipynb

Advice is greatly appreciated.

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.