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

Share Photometry #572

Merged
merged 76 commits into from
Jan 11, 2023
Merged

Share Photometry #572

merged 76 commits into from
Jan 11, 2023

Conversation

jchate6
Copy link
Contributor

@jchate6 jchate6 commented Oct 20, 2022

Allow for publishing photometry to Hermes or sharing directly with another TOM.

phycodurus and others added 26 commits September 24, 2022 01:02
Publish routes to the new DataProductShareView.
This is a draft version and works with TOM Toolkit-based TOMs
submit_to_tom and submit_to_stream should probably be specified in
the DATA_SHARING configuration dict
A list of data sharing destinations from settings.DATA_SHARING.keys()
should be in the context passed to the templates listing DataProducts.
If sharing_destinatinos evaluates to False the the Sharing UI should
not be presented.
'limit'-type Alerts should be handled as soon as we know what they
mean; awaiting an answer from an astronomer
@jchate6 jchate6 marked this pull request as draft October 20, 2022 21:31
@jchate6 jchate6 changed the base branch from main to dev October 20, 2022 21:31
@jchate6
Copy link
Contributor Author

jchate6 commented Oct 22, 2022

Sharing Datums:

  • get data for selected points in plot (selection event)
  • create form table with selected points
  • route form similar to data products form.

tom_base/settings.py Outdated Show resolved Hide resolved
tom_dataproducts/views.py Outdated Show resolved Hide resolved
@jchate6 jchate6 marked this pull request as ready for review December 16, 2022 19:38
Copy link
Contributor

@jnation3406 jnation3406 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few schema changes to make to line up with current hermes schemas.

docs/managing_data/customizing_data_sharing.rst Outdated Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Outdated Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Outdated Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Outdated Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Outdated Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Show resolved Hide resolved
tom_dataproducts/alertstreams/hermes.py Outdated Show resolved Hide resolved
tom_dataproducts/models.py Show resolved Hide resolved
@jchate6 jchate6 merged commit be2bfdf into dev Jan 11, 2023
@jchate6 jchate6 deleted the feature/share-photometry branch January 11, 2023 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants