-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
When loading dataframes from a saved zarr file, we need to check for parity between columns in the file versus columns we expect.
There are basically two cases to check parity between what we load and what we expect:
- Column is in loaded but not in expected.
We should ignore the column. This happend when something was saved but is no longer used. - Column is in expected but not in loaded.
We need to ensure the column is created and mark each row as needing an update. We then need to compute all row values on load.
A good example is in class spine where I changed angle to spineAngle like this:
@calculated(title="Spine Angle", dependencies=["point"])
def spineAngle(frame: LazyGeoFrame):
On next load
- column
spineis in loaded but not in expected - column
spineAngleis in expected but not in loaded
Related
My previous issue 11 was about adding a file version. That is still useful for larger changes to our file structure.
I would vote we not increment the file version when we add/remove columns or change their names?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request