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')
[2]:
r = epygram.formats.resource(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
[ ]: