Published April 13, 2022 | Version 1.0.0
Software Open

A python module to detect fronts in xarray data

  • 1. Monash University

Contributors

Contact person:

  • 1. Monash University

Description

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.

 

The module itself has the following dependencies:

  • xarray
  • numpy
  • scipy
  • geopy

 

The example script has an additional dependency on matplotlib and cartopy for the generation of a plot.

 

Full usage documentation is yet to be created. Bugs and errors should be sent to the author, current email address is available through ORCID. This code has been tested and is confirmed as working on the linux system of NCI's Gadi supercomputer, as well as a local workstation running Windows 10.

 

 

 

Notes

Contact details: check ORCID for current email. Comments, questions and bugs should currently be directed to the author. Disclaimer: The author provides the module as-is and does not take responsibility for the outcomes of its use or misuse.

Files

Files (15.0 kB)

Name Size Download all
md5:1681a756a04856c9528666965bde7d5c
13.2 kB Download
md5:a883a2aa8a6c03d7f5ccc8e22c5612a9
1.8 kB Download

Additional details

Related works

Funding

Australian Research Council
ARC Centres of Excellence - Grant ID: CE170100023 CE170100023

References

  • Berry, G. et al. (2011) A global climatology of atmospheric fronts. Geophys. Res. Lett., 38, 2010GL046451, doi:10.1029/2010GL046451