GithubHelp home page GithubHelp logo

antoineperrot / spherical-advection Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 46.95 MB

This repo is work done for fun on trying to apply the parametric Kalman Filter (Pannekoucke et al. 2016) on the sphere for a transport equation.

Jupyter Notebook 99.77% Python 0.23%
data-assimilation enkf ensemble-kalman-filter parametric-kalman-filter scientific-computing semi-lagrangian-advection transport-equation

spherical-advection's Introduction

spherical-advection

This repo is work done for fun on trying to apply the parametric Kalman Filter (Pannekoucke et al. 2016) on the sphere for a transport equation.

Notebook 1: Semi-Lagrangian method for transport on $\mathbb{R}^2$

This notebook presents a numerical experiment where a semi-lagrangian method is employed to simulate the transport by the wind of an initial state.

observation: the wind field (black arrows) transports correctly the initial state, and forms some spirals around critical points.

Notebook 2: Semi-Lagrangian method for transport on $\mathbb{S}^2$

This time, the semi-lagrangian method is applied for a spherical domain. Unfortunately, it is a non-conservative method, meaning that additional treatment must be applied to conserve the total mass along one timestep.

observation: the initial state (a high concentration on the north pole) has been distorded by the flow.

Notebook 3: Generating isotropic gaussian random fields on the sphere using $\mathbf{B}^{1/2}$

In order to prepare future data assimilation experiments (with an EnKF), it is necessary to know how to generate isotropic gaussian random field (GRF). In this notebook, we do so by building the covariance matrix of an isotropic GRF (on a lat-lon grid), then computing its Cholesky decomposition to apply it to a centered normal vector. This method is numerically very expensive and therefore limited to very low-resolution grid.

Then, a sanity check indicates that the random fields generated are not perfectly isotropic (longer meridional length-scale)

Notebook 4: Generating isotropic GRF on the sphere with spherical harmonics

In this notebook we use a lemma that relies on spherical harmonics to generate isotropic GRF at high-resolution.

Then, a sanity chech confirms the isotropic character of the GRF.

Notebook 5: Plotting VLATcov modeled correlation function on the sphere

In this notebook we use the VLATcov covariance model to represent homogeneous correlation functions on the sphere.

Notebook 6: Enkf and PKF for Advection on the sphere

In this last notebook we compare the error statistics forecasted by an EnKF and the PKF for the transport on the sphere (to be continued...).

spherical-advection's People

Contributors

antoineperrot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.