You can run this notebook in , in , in or in .
[1]:
!pip3 install --quiet climetlab
[2]:
!test -f test.grib || wget https://github.com/ecmwf/climetlab/raw/main/docs/examples/test.grib
[3]:
!test -f test.nc || wget https://github.com/ecmwf/climetlab/raw/main/docs/examples/test.nc
Reading data from a file¶
[4]:
import climetlab as cml
Plot GRIB data¶
[5]:
source = cml.load_source("file", "test.grib")
for s in source:
cml.plot_map(s)
Plot NetCDF data¶
[6]:
source = cml.load_source("file", "test.nc")
for s in source:
cml.plot_map(s)