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')
# [2025/01/16-17:40:05][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]:
# open resource in read mode
r = epygram.open(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
[ ]: