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

Datasets without time #1268

Closed
renaudjester opened this issue Jan 23, 2024 · 7 comments
Closed

Datasets without time #1268

renaudjester opened this issue Jan 23, 2024 · 7 comments

Comments

@renaudjester
Copy link

Dear all,

We have some datasets that do not have time values and we are struggling on how to fill their metadata, as the STAC specification requires either a value (properties/datetime) or a range (properties/start_datetime, properties/end_datetime) and therefore pystac has the same requirements. We could see that it has been discussed here #792 but in our case we cannot find a proper “nominal” datetime for our datasets.

For example, some datasets are static datasets (bathymetry, coordinates) that are atemporal and that are released together with other temporal datasets in our catalog. Other cases might be aggregated statistics and indicators, which have lost the time dimension.

Would it be possible to relax the standard to not make the time properties mandatory? Otherwise, how would you suggest that we describe these datasets?

Many thanks for your help!

@m-mohr
Copy link
Collaborator

m-mohr commented Jan 25, 2024

Well, this is the SpatioTemporal Asset Catalog. As such it requires certain things such as space and time references to be available. I don't think this will be weakened. As an alternative OGC API - Records is evolving which has less strct requirements. Once standardized I imagine it could be mixed with STAC so that non-SpatioTemporal entities can be described in a compatible format through OGC API - Records.

If you aggregate statistics over a certain time range, shouldn't the statistics have a refernce to the source time range? Generally, I think a lot of data actually have a temporal reference although not completely obvious. But that's just my personal view here.

@renaudjester
Copy link
Author

Thanks for your answer!

In our case it's also that users can search products in our database based on those dates.
Hence, there might be some datasets where a "nominal" date doesn't really make sense as a reference since the data are aggregated from other sources.

@fmigneault
Copy link

What about situations where the end_datetime is not known?
For example, a growing item definition that gets more and more labels applied gradually as a continuous annotation effort?

Another case I have is for using ML models.
Similar to what https://github.com/stac-extensions/ml-model?tab=readme-ov-file#spatiotemporal-fields describes, a max value of "9999-12-31T23:59:59Z" needs to be filled to work around the requirement, although it would make much more sense to leave the time range open-ended with end_datetime: null, similar to OGC's <start_datetime>/.. nomenclature. The same issue applies for the MLM extension (crim-ca/dlm-extension#2).

@mikemahoney218
Copy link

What about situations where the end_datetime is not known?

It seems to me like the current end_datetime is known, even if the final end_datetime isn't. Is there a reason you can't update your end_datetime when updating other labels/data?

@fmigneault
Copy link

Yes. For that case I agree, the end_datetime could be updated at the same time as the labels get pushed.
I am more worried about users taking the other "patch" approach of simply setting a high value to work around the schema validation. I would prefer to have a way to specify an explicit representation of "undefined" than any random large value.

@m-mohr
Copy link
Collaborator

m-mohr commented Apr 5, 2024

By the way, the open range case fits better into issue #1161
Generally, I wouldn't mind discussing a PR that allows open date ranges.

@m-mohr
Copy link
Collaborator

m-mohr commented Jun 28, 2024

I think everything has been said here?!

  • No time => OGC API - Records, STAC is unlikely to allow no time information - it's a bit inconsistent that geometry can be set to null. We could reconsider all this in STAC 2.0 if there's still enough interest outside of OGC API - Records.
  • Open ranges => see Representing open datetime ranges using Common Metadata #1161
  • Closed ranges or instances => supported in STAC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants