Repository navigation
bugfix: Raise on inconsistent metadata - #2958
VeckoTheGecko wants to merge 2 commits into
Conversation
| ) | ||
| from parcels._logger import logger | ||
| from parcels._python import NOTSET, NotSetType | ||
| from parcels._sgrid.accessor import assert_metadata_ds_consistency |
There was a problem hiding this comment.
So this function already existed, but was not run? Good that we then caught it now
There was a problem hiding this comment.
It existed because it was being used in the accessor for the isel calls that the accessor provided.
The oversight was since the accessor was developed separately to from_sgrid_conventions and the convert module
|
Hmmm. So the failure in the docs is quite interesting something for me to look into next week
|
Description
Raise
SGridDatasetInconsistencyerror for instances where data doesn't match attached metadata.This also flagged other tests in the codebase which had a problem with metadata.
Checklist
mainfor normal development,v3-supportfor v3 support)AI Disclosure