Code for identifying atmospheric blocking events using AGP.
File Descriptions:
- block_tag.py - Creates a datset of instantaneous blocking for each grid point using the AGP identification method.
- StitchBlobs.sh - Defines large-scale blocking events by stitching instantaneously blocked grid points.
- blocktag_file.txt - Lists the input file for StitchBlobs (block_tag output).
- blockid_file.txt - Lists the output file for StitchBlobs.
- block_filter.py - Filters blocks by the area of their maximum spatial extent.
- GPH_optimizer.py - Combines and resamples GPH files for memory optimization.
- blockinfo.py - Creates a .csv file containing information for the blocking dataset.
[OPTIONAL FILES (Filter nonconforming blocking events based on local wave activity (Liu and Wang, 2025))]
- lwa.py - Creates a dataset of cyclonic and anticyclonic local wave activity.
- blockinfo_lwa - Creates the same .csv file as blockinfo.py with added maximum LWA value for each blocking event.
- lwa_filter.py - Filters out all blocking events that do not conform to 'ridge' and 'dipole' flow patterns.