Gauss grid resolutionΒΆ

[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:42:52][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
g = epygram.open(os.path.join(INPUTS_DIR, 'analysis.full-arpege.tl149-c24.fa'), 'r')
f = g.readfield('SURFTEMPERATURE')
[3]:
print(f.geometry.resolution_ll(2,45))
55350.67187324111
[4]:
r = f.geometry.resolution_field_from_stretching()
fig, ax = r.cartoplot(colorsnumber=10)
../../_images/gallery_D.1-horizontal_geometry_05.gauss_resolution_4_0.png
[ ]: