You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File ~/GitHub/uw-cryo/coincident/.pixi/envs/dev/lib/python3.12/site-packages/pystac/asset.py:199, in Asset.from_dict(cls, d)
193"""Constructs an Asset from a dict.194195 Returns:
196 Asset: The Asset deserialized from the JSONdict.
197"""198 d = copy(d)
--> 199 href = d.pop("href")
200 media_type = d.pop("type", None)
201 title = d.pop("title", None)
AttributeError: 'NoneType' object has no attribute 'pop'
The text was updated successfully, but these errors were encountered:
JSON has three states: a valid value, null, and a missing/undefined key. Because Parquet is columnar, the third option does not exist here. If one key exists for any item, the entire column for that key name is provisioned.
The default arrow serialization emits None for null arrow values. There was some discussion about this on an issue previously. Perhaps we could add a keyword parameter to stac_table_to_items to remove keys with None. But this would be difficult to do reliably, especially when None is required for some other keys, like datetime, to mean that it has start/end datetime instead.
The 'data' asset keys are different for these 5 items, and every item gets a copy of the other keys with
None
as a value:These None entries prevent going back from a dataframe to pystac items:
The text was updated successfully, but these errors were encountered: