Simplest plot, with auto-determined parametersΒΆ

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

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

import os
INPUTS_DIR = os.path.join('..', 'inputs')
[2]:
# open resource in read mode
r = epygram.formats.resource(os.path.join(INPUTS_DIR, 'ICMSHAROM+0022'), 'r')
[3]:
f = r.readfield('SURFTEMPERATURE')
[4]:
fig, ax = f.cartoplot()
# interactive mode: fig.show()
# file mode: fig.savefig('figure.png')
../../_images/gallery_A.1-H2D_plots_01.simplest_plot_4_0.png
[ ]: