Skip to content

Item properties created and updated do not align with the STAC specification #93

@pjhartzell

Description

@pjhartzell

created and updated Item property fields are populated with values that appear to be a data processing date:

        created = datetime.datetime.fromisoformat(
            metadata.find_text_or_throw(
                "ECSDataGranule/ProductionDateTime", missing_element("created")
            )
        )
        updated = datetime.datetime.fromisoformat(
            metadata.find_text_or_throw("LastUpdate", missing_element("updated"))
        )

Per the STAC spec, these datetimes should reflect when the Item was created and updated, not when the data was created/processed/updated.

I think the created and updated fields need to be removed from the Items.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions