opencadc / caom2

Common Archive Observation Model
GNU Affero General Public License v3.0
5 stars 11 forks source link

Add data release date to Artifacts #84

Closed DaftPict closed 4 years ago

DaftPict commented 5 years ago

JWST has file based release dates rather than observation based. Would like to be able to optionally add dataRelease to Artifact - we could then roll up to higher levels as needed.

pdowler commented 5 years ago

Different planes in an observation can have different release dates so this is a per-plane issue.

Use cases led to adding releaseType some artifacts to use the Plane.metaRelease instead of Plane.dataRelease but in a very simple declarative fashion... the use cases were mainly to support preview policies but could be used for other kinds of files (eg. detailed metadata outside CAOM).

Q: do different artifacts in a plane have different dataRelease dates but the same releaseType? That is, do you have release dates other than those two values with those meanings?

DaftPict commented 5 years ago

As much as I hate the way this is implemented, JWST has individual data release dates for every file rather than a single release date for an observation or even each plane of an observation so I don’t see anyway around this other than add releaseDate to each artifact since they may all be different. I don’t see any need for any releaseTypes other than data or meta

note: removed the previous copied post and stuff added by email notifications

pdowler commented 5 years ago

analysis:

pdowler commented 5 years ago

would also imply/require Artifact.dataReadGroups added to UML