This script plots a CORDEX domain and its bounding box on a map. It saves the map as a PNG file and prints the coordinates of the bounding box corners.
- Install dependencies:
pip install numpy matplotlib cartopy py-cordex pyproj cdo scipy
- Run the script:
python plot_domain.py <DOMAIN>
python plot_domain.py EUR-11
['LL: (lon = 1.62,\n lat = 44.85)', 'UL: (lon = 1.62,\n lat = 56.24)', 'UR: (lon = 18.28,\n lat = 56.24)', 'LR: (lon = 18.28,\n lat = 44.85)']