Comparison of 2 fields through a scatter-plotΒΆ

[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]:
t90 = r.readfield('S090TEMPERATURE')
t90.sp2gp()
t2m = r.readfield('CLSTEMPERATURE')
[4]:
fig, ax = t2m.scatter_with(t90, figsize=(8,8), subzone='CI', fidkey='FA')
../../_images/gallery_A.2-other_plots_03.2fields_scatter_plot_4_0.png
[ ]: