alan-turing-institute / environmental-ds-book

A computational notebook community for open environmental data science 🌎

Home Page:https://edsbook.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ENH] Implement 2i2c hub-user-image-template in published notebooks

acocac opened this issue · comments

Feature Request

The published notebook repositories uses Setup Miniconda from GitHub Marketplace to render the Jupyter file. While this is optimal to conda environments, 2i2c hub-user-image-template offers a wider support to other programming languages e.g. R and Julia.

Describe the solution you'd like

Implement changes i.e. replacing workflow actions according to the adapted python template from 2i2c hub-user-image-template.

Steps

  • Set up the Quay.io repository
    • Use same name as the notebook repository
    • Add edsbook+github_actions in User and Robot Permissions
    • Add Quay.io credentials in the notebook repository
  • Add 2i2c adapted workflow YML files into .github folder/workflows
  • Remove Setup Miniconda YML file from .github folder/workflows
  • Add new config file into the .github folder
  • Remove old config file in the repo directory.
  • Edit License and change Environmental-DS-Book to EDS book
  • Add credits to 2i2c template in Attribution.
  • Replace Published badge in README by Render badge.
  • Check if the Render action works
    • If errors in cell outputs, ping according to the conda lock files
    • Regenerate and replace conda files

Notebooks

  • Detecting floating objects using deep learning and Sentinel-2 imagery - OK
  • Met Office UKV high-resolution atmosphere model data - OK
  • MODIS MOD021KM and FIRMS - Fixed bug with dates (see #3)
  • Tree crown detection using DeepForest - OK (additional changes in environment.yml)
  • SEVIRI Level 1.5 - OK (additional changes in environment.yml)
  • Tree crown delineation using detectreeRGB (additional changes in environment.yml and added apt.txt)
  • Sea ice forecasting using IceNet (additional changes in environment.yml)
  • Cosmos-UK soil moisture
  • Concatenating a gridded rainfall reanalysis dataset into a time series
  • Exploring Land Cover Data (Impact Observatory) (additional changes in environment.yml)

Describe alternatives you've considered

  • 2i2c hub-user-image-template
  • Customise GitHub actions using repo2docker
  • Continue with Setup Miniconda

Additional information

Related to #108

All notebooks work with 2i2c hub-user-image-template.