Skip to content

snath-xoc/Lifting

Repository files navigation

Lifting scheme

DOI PRs PRs

Installation

pip install -i https://test.pypi.org/simple/ Lifting

For developer mode clone the repo and do

pip install -e .

See here: https://test.pypi.org/project/Lifting/

Workflow

The lifting scheme is an adaptation of wavelet-based image compression to irregularly-shaped (i.e., non-square or -rectangular) domains. For a given input grid, it iteratively performs 3 steps till the grid is compressed to a single value called the scaling coefficient. The three steps are:

  1. Split: split the grid into pairs of 2 (and in case of an odd number of grid cells one triplet will exist).
  2. Predict: Assign x-y values to each pair/triple and then store the differences of x-y as the wavelet coefficients
  3. Update: update each pair/triple group's values with that of their mean. Slide1

Example usage

Our adaption of the lifting scheme to spatio-temporal frameworks means that we can compress irregularly-shaped images into a single value across many different time-steps/samples. In modelling complex phenomena such as weather and climate, this allows one to extract a regional signal from which to model large-scale responses.

For example, one can compress the image of India as shown below for a single time step

UKESM1-0-LL_SAS_0_July_GIF_lift

And again for the Mediterranean

UKESM1-0-LL_MED_0_July_GIF_lift

Use cases

Amongst others, the lifting scheme has been used for climate model emulation. It's compression of multiple climate fields allows efficient joint, multivariate emulation (see MERCURY).

About

Lifting scheme

Resources

Stars

Watchers

Forks

Packages

No packages published