Research index
FrontDetection: A python module to detect fronts in xarray data
King, Green, Heerdegen and 3 others
Zenodo (CERN European Organization for Nuclear Research)30 Nov 2022Open access
NobleIDark:/48914/w1/20260515/5A737DACDOI10.5281/zenodo.7379133
FrontDetection: A python module to detect fronts in xarray data
King, Green, Heerdegen and 3 others · Zenodo (CERN European Organization for Nuclear Research) · 2022
NobleIDark:/48914/w1/20260515/5A737DACDOI10.5281/zenodo.7379133
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
This is an updated version of https://zenodo.org/record/6456581#.Y4atDy8RrBI which will now be maintained on GitHub. This repository contains a python3 file ('fronts.py') to be used as a module to automatically detect cold, warm and stationary fronts on a range of gridded datasets, and a script that is an example of how the module can be used ('test_front.py'). The module currently relies on inputs being in xarray format. This code is based on the detection method described in Berry et al. (2011), which itself was based on Hewson (1998). Note that results are more spurious towards the poles, and ideally the code should only be used between 70N and 70S This code has now been updated to use functions from the Metpy module to calculate the dewpoint and wetbulb temperature. 2 jupyter notebooks are avaible to show how to use this module in /example_notebooks. The module itself has the following dependencies: xarray numpy scipy geopy metpy And to plot the data you need: matplotlib cartopy Full usage documentation can be found in the GitHub repo. Bugs and issues should be logged in the GitHub repo: https://github.com/coecms/frontdetection/issues . This code has been tested and is confirmed as working on the linux system of NCI's Gadi supercomputer.