Skip to content

Jupyter notebook to extract modeled tritium outputs from MIROC5-iso simulations at the desired time and location.

Notifications You must be signed in to change notification settings

acauquoin/extractor_tritium_miroc5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 

Repository files navigation

extractor_tritium_miroc5

Jupyter notebook to plot and extract data at a specific location and time range from MIROC5-iso simulations. Simulations nudged to ERA5 and JRA-55 are available.

  • The mean tritium in precipitation map can be plotted for a specified area and time period. The map can be downloaded as a pdf file.
  • Time series of tritium and $\delta^{18}O$ and d-excess in precipitation, precipitation rate, evaporation, and air temperature at 2 m can be plotted for a specified location and time interval. The data can be downloaded as a CSV file, and the figure can be downloaded as a pdf file.
  • The map of vertically integrated water vapor transport can be plotted for a given area and month. The figure can be downloaded as a pdf file.

To open and run this notebook in the Binder server, where the required environment and packages are installed automatically, click on the badge below.

Binder

Running, plot and extract data

If the Binder environment is already built and initialized (i.e. if no changes are made to the GitHub repository and if it is run frequently by other users), the launch time should not exceed 30 seconds.

Once in the JupyterLab environment, run the entire notebook with the menu Run > Run All Cells. Wait for the end of the runtime, indicated by the kernel wheel at the top right of the screen kernel_wheel. This procedure may take a few minutes the first time it is run, due to the downloading of the necessary MIROC5-iso netcdf outputs.

Once executed, you can interactively extract and plot MIROC5-iso data for a specific location and date range, save the figure as a pdf and download the data as a CSV file, as shown in the figure below.

monitoring_plot

About the Jupyter Lab application

The left sidebar shows the file browser, open tabs and running kernels, notebook table of contents and notebook extensions.

left_panel_buttons

From the file browser panel, it is possible to view and download the saved notebook, MIROC5-iso data and figures.

file_browser_section

Open tabs and running kernels, as well as the notebook's table of contents :

opened_tabs_and_kernels table_of_contents

If you're not interested in the Python code, you can reduce it for greater clarity by selecting View > Collapse All Code from the menu.

Reproducibility

MIROC5-iso data can be downloaded directly as NetCDF files from a public repository (Zenodo, to be done). The notebook and the packages needed to run it locally can be downloaded via this GitHub repository (binder/environment.yml). The packages' version can also be viewed in the notebook Packages version section. To install python and the required packages locally, use conda on the binder/environment.yml file: https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#creating-an-environment-from-an-environment-yml-file.

Data Availability Statement

The code of the isotopic version MIROC5-iso is available upon request on the Institute of Industrial Science's GitLab repository (Okazaki & Yoshimura, 2019). The source code for tritium modeling has been made by Alexandre Cauquoin and is available in the tritium branch of the MIROC5-iso GitLab repository (Cauquoin et al., under review). The contents of this GitHub repository as well as the MIROC5-iso data downloaded and extracted thanks to the Jupyter Notebook or the Zenodo public repository are distributed under the Creative Commons Attribution 4.0 License.

References

Okazaki, A., and Yoshimura, K.: Global evaluation of proxy system models for stable water isotopes with realistic atmospheric forcing, Journal of Geophysical Research: Atmospheres, 124, 8972–8993, https://doi.org/10.1029/2018JD029463, 2019.

Cauquoin, A., Fourré, É., Landais, A., Okazaki, A., and Yoshimura, K.: Modeling natural tritium in precipitation and its dependence on decadal variations of solar activity using the atmospheric general circulation model MIROC5-iso, Journal of Geophysical Research: Atmospheres, under review.

About

Jupyter notebook to extract modeled tritium outputs from MIROC5-iso simulations at the desired time and location.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published