Customize parallels and meridiansΒΆ

[1]:
%matplotlib inline
# for figures in notebook

# import & initialize epygram
import epygram
epygram.init_env()

import os
INPUTS_DIR = os.path.join('..', 'inputs')
# [2025/01/16-17:38:50][epygram.formats][<module>:0072][INFO]: Format: HDF5SAF is deactivated at runtime (Error: No module named 'h5py'). Please deactivate from config.implemented_formats or fix error.
[2]:
r = epygram.open(os.path.join(INPUTS_DIR, 'analysis.full-arpege.tl149-c24.fa'), 'r')
[3]:
f = r.readfield('SURFTEMPERATURE')
[4]:
# No grid
fig, ax = f.cartoplot(parallels=None, meridians=None)
../../_images/gallery_A.1-H2D_plots_06.parallels_and_meridians_4_0.png
[5]:
# Customized
fig, ax = f.cartoplot(parallels=[-66.56, -23.44, 0, 23.44, 66.56], meridians=20)
../../_images/gallery_A.1-H2D_plots_06.parallels_and_meridians_5_0.png
[ ]: