hypso.io.schema#
Per-level NetCDF schema: what differs between product levels (product variable name, units, CF standard name, title, whether there is geometry), so one reader and writer (hypso.io.product) serve every level.
has_geometry says whether every product of the level has geometry: L1A never does, L1B only after georeferencing. The writer goes by the data itself (a latitude variable), so a product without geometry structurally cannot get a dangling coordinates/grid_mapping reference (the bug this whole refactor started from).
Classes#
What differs between product levels: product variable name, units, |
Functions#
|
The |
Module Contents#
- class hypso.io.schema.LevelSchema[source]#
What differs between product levels: product variable name, units, CF standard name, title and whether the level has geometry.
- hypso.io.schema.get_schema(level)[source]#
The
LevelSchemaof a level (“L1A” … “L1C”, “L2A”/”L2”, “L2B”).- Parameters:
level (str)
- Return type: