Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STAC Temporal extent to account for from_dt/to_dt of a product's datasets #418

Open
pierocampa opened this issue Jul 27, 2022 · 0 comments
Labels

Comments

@pierocampa
Copy link

Not sure whether this has been discussed already, but imho the temporal extent of a product should keep into account not just the center_dt declared in each dataset, but also the "borders", just like pixels borders are usually taken into account when specifying the bbox of an image.

Hence the extent of a product should pick the from_dt of the earliest dataset and to_dt of the latest one (when specified) to define the temporal extent. For instance:

"extent": {
  "temporal": {
    "interval": [
      [
        "2009-01-01T11:00:00.000000+00:00",  <-- from_dt of first dataset
        "2022-02-14T12:00:00.000000+00:00"   <-- to_dt of last dataset
      ]
    ]
}
@omad omad added the stac label Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants