ereefs-data-access-notebooks

Some basic examples of how to access the data available on the eReefs platform

https://github.com/ereefs/ereefs-data-access-notebooks

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Some basic examples of how to access the data available on the eReefs platform

Basic Info
  • Host: GitHub
  • Owner: eReefs
  • License: bsd-3-clause
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 50 MB
Statistics
  • Stars: 0
  • Watchers: 6
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 2 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

eReefs Data Access and Visualisation Examples

This repository contains Jupyter notebooks which are working examples of ways to work with eReefs datasets using Python.

All of the datasets are queried via HTTP(s) from the data services they are published in: you do not need to download any of the eReefs data files to your local environment to make these work.

Many of the examples depend on the emsarray library, which is an open-source library that assists Python developers to work with the results of CSIRO EMS models like eReefs GBR4, GBR1 and RECOM model results.


How to run these notebooks

Launch on Binder

Binder is an online platform that can set up an environment and run Jupyter Lab in your browser. Launch the eReefs data access notebooks on Binder.

Run Jupyter Lab in a local conda environment

This will run the Jupyter Lab server on your local computer in a Conda environment. First install miniconda if you do not already have a Conda install. Then clone this repository:

bash $ git clone git@github.com:eReefs/ereefs-data-access-notebooks.git $ cd ereefs-data-access-notebooks

Create a new conda environment:

bash $ conda env create --name ereefs-data-access-notebooks --file environment.yml

Finally, activate the conda environment and run Jupyter Lab:

bash $ conda activate ereefs-data-access-notebooks $ jupyter-lab

The Jupyter Lab interface should open in your browser. From here you can open, edit, and run any of the notebooks in this repository.

 

Notebooks Directory

Discovering eReefs Datasets (data-discovery.ipynb)

data-discovery.ipynb

This notebook is more like documentation...

It explains how to identify the OPeNDAP endpoint URL for any eReefs netCDF dataset using the CSIRO eReefs Data Explorer. URLs of this type are using in most of the other notebooks in the suite.

 

Discovering eReefs dataset dimensions (dataset-dimentions.ipynb)

dataset-dimensions.ipynb

This notebook demonstrates how to extract information about the spatial and temporal dimensions of an eReefs dataset.

 

Extracting a timeseries from eReefs model results (timeseries.ipynb)

timeseries.ipynb

This notebook demonstrates how to extract a timeseries of variable values for spatial locations within an eReefs dataset.

 

Plotting eReefs model results with matplotlib (plot.ipynb)

plot.ipynb

This notebook shows the basics of using emsarray and matplotlib to plot variables extracted from eReefs datasets on a map.

It is adapted from the similar example in the emsarray-notebooks repository.

 

Plotting eReefs model results with bokeh (bokeh.ipynb)

bokeh.ipynb

This notebook also plots eReefs data on a map, but uses the popular bokeh library to do so.

It is adapted from the similar example in the emsarray-notebooks repository.

 

Clipping eReefs datasets (clip.ipynb)

clip.ipynb

This notebook shows how to use emsarray to extract a spatial subset of a large eReefs dataset, that is then plotted on a map using matplotlib.

It is adapted from the similar example in the emsarray-notebooks repository.

 

Plotting eReefs transects (transect.ipynb)

transect.ipynb

This notebook shows how to extract values from an eReefs dataset along a predefined spatial transect, either as a line chart for a single elevation, or as a vertical cross-section of the model results.

It is adapted from the similar example in the emsarray-notebooks repository.

 

Animating eReefs model results (animation.ipynb)

animation.ipynb

This notebook demonstrates how to use emsarray to render animations of eReefs dataset variables. The animations can be across time, or across another axis such as depth.

It is adapted from the similar example in the emsarray-notebooks repository.

 

Simulated true colour from eReefs optical model variables (true-colour.ipynb)

This notebook shows how to combine simulated remote sensing reflctance variables from an eReefs Biogeochemistry and Sediments dataset to create a simulated true-colour image of the GBR. The resulting image simulates what remote sensing observations of the GBR might look like to the Ocean and Land Colour Instrument (OLCI) on the Sentinel-3A or Sentinel-3B satellites.

true-colour.ipynb

 


Owner

  • Name: eReefs
  • Login: eReefs
  • Kind: organization
  • Location: Australia

Delivering vital information about the entire Great Barrier Reef from catchment to ocean

GitHub Events

Total
  • Issue comment event: 7
  • Push event: 2
  • Pull request review event: 7
  • Pull request review comment event: 3
  • Pull request event: 3
Last Year
  • Issue comment event: 7
  • Push event: 2
  • Pull request review event: 7
  • Pull request review comment event: 3
  • Pull request event: 3

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • mx-moth (3)
Top Labels
Issue Labels
Pull Request Labels