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 354a93e197
:bookmark: v0.3.0
3 years ago
b05890be46
# What's Changed
3 years ago
b8392c5a59
:sparkles: Crossover track analysis over Subglacial Lake Conway
3 years ago
b05890be46
# 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
bff7345e82
:package: Refresh ATL11 Zarr data to 20200513
3 years ago
6403e18967
:arrow_up: Bump buildpack-deps from `efba0c3` to `41ebc08` (#132)
3 years ago
6b5fb8344c
:tada: Initial commit
4 years ago
442209368f
:pushpin: Pin cuml and cuspatial from 0.15.0a200819 to 0.15.0
3 years ago
3193f7a350
:sparkles: Cluster active subglacial lakes using DBSCAN
3 years ago
154f564acd
:package: Download ATL06 files up to 20200513
3 years ago
154f564acd
:package: Download ATL06 files up to 20200513
3 years ago
bff7345e82
:package: Refresh ATL11 Zarr data to 20200513
3 years ago
bff7345e82
:package: Refresh ATL11 Zarr data to 20200513
3 years ago
d2b0199535
:globe_with_meridians: Implement Region.from_gdf method for any polygon
3 years ago
d2b0199535
:globe_with_meridians: Implement Region.from_gdf method for any polygon
3 years ago
fc1eba282a
:chart_with_upwards_trend: 2D along track plots with reversible legend
3 years ago
fc1eba282a
:chart_with_upwards_trend: 2D along track plots with reversible legend
3 years ago
d02726c19d
:boom: ICESat-2 elevation change at crossovers within a subglacial lake
3 years ago
d02726c19d
:boom: ICESat-2 elevation change at crossovers within a subglacial lake
3 years ago
b4240c9542
:arrow_up: Bump numcodecs from 0.6.4 to 0.7.1
3 years ago
b4240c9542
:arrow_up: Bump numcodecs from 0.6.4 to 0.7.1
3 years ago
49faebdecc
:arrow_up: Bump pygmt from 0.1.2-36-g4939ee2a to 0.2.0
3 years ago
b05890be46
# 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-05-13

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...