At the moment the node_schema prescribes the grid supported in ReducedGGNodes, as utils / transforms is the provider of the grids, this feels overly restrictive, and should perhaps just do validation checking if it seems like a valid graph.
|
grid: Literal["o16", "o32", "o48", "o96", "o160", "o256", "o320", "n320", "o1280"] |
Furthermore, this grids code from utils seems deprecated so likely needs to be updated to use from transforms.
At the moment the
node_schemaprescribes the grid supported inReducedGGNodes, as utils / transforms is the provider of the grids, this feels overly restrictive, and should perhaps just do validation checking if it seems like a valid graph.anemoi-core/graphs/src/anemoi/graphs/schemas/node_schemas.py
Line 71 in d0cfe4c
Furthermore, this grids code from utils seems deprecated so likely needs to be updated to use from transforms.