Output kinds & product formats (no network)¶
EUMETSAT's OUTPUT_KIND is per-collection. The on-disk format tells you which products pyramids can read today (NetCDF) versus those that need a satpy bridge (native SEVIRI / FCI).
Setup¶
Load the EUMETSAT Catalog and a Counter for tallying. This is a metadata-only walk of the shipped catalog, so no credentials or network are needed.
In [ ]:
Copied!
from collections import Counter
from earthlens.eumetsat import Catalog
cat = Catalog()
from collections import Counter
from earthlens.eumetsat import Catalog
cat = Catalog()
Output kinds and formats at a glance¶
Tally every catalogued dataset by its output_kind and by its on-disk format so you can see the mix at a glance.
In [ ]:
Copied!
print('output kinds:', Counter(c.output_kind for c in cat.datasets.values()))
print('formats :', Counter(c.format for c in cat.datasets.values()))
print('output kinds:', Counter(c.output_kind for c in cat.datasets.values()))
print('formats :', Counter(c.format for c in cat.datasets.values()))
Readable today vs. native¶
Split the datasets into the netcdf products pyramids can read directly and the native SEVIRI / FCI products that still need a satpy bridge.
In [ ]:
Copied!
readable = [k for k, c in cat.datasets.items() if c.format == 'netcdf']
native = [k for k, c in cat.datasets.items() if c.format == 'native']
print('pyramids-readable today (netcdf):')
for k in sorted(readable):
print(' ', k)
print('native (needs satpy bridge):')
for k in sorted(native):
print(' ', k)
readable = [k for k, c in cat.datasets.items() if c.format == 'netcdf']
native = [k for k, c in cat.datasets.items() if c.format == 'native']
print('pyramids-readable today (netcdf):')
for k in sorted(readable):
print(' ', k)
print('native (needs satpy bridge):')
for k in sorted(native):
print(' ', k)
Recap¶
download(aggregate=...) is the server-side Data Tailor path and is deferred; download native products and reduce the NetCDF ones client-side with pyramids in the meantime.