Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel
Integration:  dvc git github
Wei Ji a9e4a07b08
:bookmark: v0.3.2
3 years ago
8e1520503b
# What's Changed
3 years ago
b8392c5a59
:sparkles: Crossover track analysis over Subglacial Lake Conway
3 years ago
8e1520503b
# What's Changed
3 years ago
b8392c5a59
:sparkles: Crossover track analysis over Subglacial Lake Conway
3 years ago
da2342f497
:pushpin: Install pointCollection properly via pip
3 years ago
1512910bf4
:robot: Add stickler style checker configured for black code style
4 years ago
51fc2ba668
:package: Refresh ATL11 Zarr data to 20200716
3 years ago
910de66cc2
:arrow_up: Bump buildpack-deps from `30bfb15` to `7461deb` (#170)
3 years ago
6b5fb8344c
:tada: Initial commit
4 years ago
061d47563f
:chart_with_upwards_trend: Ice surface hrange and dhdt up to 20200716
3 years ago
cb9a0d25d5
:alembic: Use median absolute deviation rather than std dev as threshold
3 years ago
cb9a0d25d5
:alembic: Use median absolute deviation rather than std dev as threshold
3 years ago
30fe27d08c
:package: Download ATL06 files up to 20200716
3 years ago
30fe27d08c
:package: Download ATL06 files up to 20200716
3 years ago
51fc2ba668
:package: Refresh ATL11 Zarr data to 20200716
3 years ago
51fc2ba668
:package: Refresh ATL11 Zarr data to 20200716
3 years ago
85b6ffa870
:globe_with_meridians: Add Amundsen Sea Embayment region
3 years ago
85b6ffa870
:globe_with_meridians: Add Amundsen Sea Embayment region
3 years ago
85b6ffa870
:globe_with_meridians: Add Amundsen Sea Embayment region
3 years ago
85b6ffa870
:globe_with_meridians: Add Amundsen Sea Embayment region
3 years ago
38237d10b9
:dizzy: 3D view of interpolated ice surface elev over ICESat-2 cycles
3 years ago
38237d10b9
:dizzy: 3D view of interpolated ice surface elev over ICESat-2 cycles
3 years ago
c2b969e92a
:arrow_up: Bump gmt from 6.2.0.dev1+07a16c2 to 6.2.0.dev2+8a4275f
3 years ago
c2b969e92a
:arrow_up: Bump gmt from 6.2.0.dev1+07a16c2 to 6.2.0.dev2+8a4275f
3 years ago
a2ef431e4a
:arrow_up: Bump intake-xarray from 0.3.2 to 0.4.0 (#181)
3 years ago
8e1520503b
# What's Changed
3 years ago
Storage Buckets

README.md

You have to be logged in to leave a comment. Sign In

DeepIceDrain

Mapping and monitoring deep subglacial water activity in Antarctica using remote sensing and machine learning.

GitHub top language Code style: black Test DeepIceDrain package Dependabot Status License

ICESat-2 ATL11 rate of height change over time in Antarctica 2018-10-14 to 2020-07-16

DeepIceDrain Pipeline

Getting started

Quickstart

Launch in Pangeo Binder (Interactive jupyter lab environment in the cloud).

Binder

Usage

Once you've installed properly installed the deepicedrain package (see installation instructions further below), you'll have access to a range of tools for downloading and performing quick calculations on ICESat-2 datasets. The example below shows how to calculate ice surface elevation change on a sample ATL11 dataset between ICESat's Cycle 3 and Cycle 4.

import deepicedrain
import xarray as xr

# Loads a sample ATL11 file from the intake catalog into xarray
atl11_dataset: xr.Dataset = deepicedrain.catalog.test_data.atl11_test_case.read()

# Calculate elevation change in metres from ICESat-2 Cycle 3 to Cycle 4
delta_height: xr.DataArray = deepicedrain.calculate_delta(
      dataset=atl11_dataset, oldcyclenum=3, newcyclenum=4, variable="h_corr"
)

# Quick plot of delta_height along the ICESat-2 track
delta_height.plot()

ATL11 delta_height along ref_pt track

Installation

Basic

To just try out the scripts, download the environment.yml file from the repository and run the commands below:

cd deepicedrain
conda env create --name deepicedrain --file environment.yml
pip install git+https://github.com/weiji14/deepicedrain.git

Intermediate

To help out with development, start by cloning this repo-url

git clone <repo-url>

Then I recommend using conda to install the non-python binaries. The conda virtual environment will also be created with Python and poetry installed.

cd deepicedrain
conda env create -f environment.yml

Activate the conda environment first.

conda activate deepicedrain

Then install the python libraries listed in the pyproject.toml/poetry.lock file.

poetry install

Finally, double-check that the libraries have been installed.

poetry show

(Optional) Install jupyterlab extensions for interactive bokeh visualizations.

jupyter labextension install @pyviz/jupyterlab_pyviz
jupyter labextension install dask-labextension

jupyter labextension list  # ensure that extensions are installed

Advanced

This is for those who want full reproducibility of the conda environment, and more computing power by using Graphical Processing Units (GPU).

Making an explicit conda-lock file (only needed if creating a new conda environment/refreshing an existing one).

conda env create -f environment.yml
conda list --explicit > environment-linux-64.lock

Creating/Installing a virtual environment from a conda lock file. See also https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#building-identical-conda-environments.

conda create --name deepicedrain --file environment-linux-64.lock
conda install --name deepicedrain --file environment-linux-64.lock

If you have a CUDA-capable GPU, you can also install the optional "cuda" packages to accelerate some calculations.

poetry install --extras cuda

Running jupyter lab

conda activate deepicedrain
python -m ipykernel install --user --name deepicedrain  # to install conda env properly
jupyter kernelspec list --json                          # see if kernel is installed
jupyter lab &

This work would not be possible without inspiration from the following cool open source projects! Go check them out if you have time.

Tip!

Press p or to see the previous file or, n or to see the next file

About

Mapping and monitoring deep subglacial water activity in Antarctica using remote sensing and machine learning, with ICESat-2!

Collaborators 1

Comments

Loading...