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

SDAP-401: Added JSON output formatting for COVERAGE plotting #200

Open
wants to merge 76 commits into
base: master
Choose a base branch
from

Conversation

RKuttruff
Copy link
Contributor

@RKuttruff RKuttruff commented Sep 19, 2022

Added output formatter for COVERAGE plotting to be used by the /match_spark endpoint.

Outputs support the following plots:

  • Time series (primary + secondary vs time)
  • Scatter (primary vs secondary)
  • Primary histogram
  • Secondary histogram
  • Primary histogram time series
  • Secondary histogram time series
  • Difference map (primary - secondary)

To use this formatter, set parameter output=CAML

Parameters:

Parameter Description
camlPrimary
Required: Variable name from the primary dataset that is being plotted.
camlSecondary
Required: Variable name from the secondary dataset that is being plotted. Note that this will override the parameter parameter.
camlChartTypes
Comma-separated list of plot types to output. Default: Scatter, histograms, difference map.
Values:
  • time_series: Time series plot
  • scatter: Scatter plot
  • histogram_primary: Primary histogram
  • histogram_secondary: Secondary histogram
  • histogram_primary_timeseries: Primary histogram time series
  • histogram_secondary_timeseries: Secondary histogram time series
  • trajectory: Difference map
camlHistBins
Comma-separated list of bins for histogram plots.

rileykk and others added 27 commits September 2, 2022 15:13
Should add support for CAML output to results and matchup endpoints (notwithstanding the fact it currently does nothing; just links up the code for now)
Also a quick test on parameter passing
Temporarily also passing through parameters for testing & dev purposes
* Binned primary and secondary values by date

* Histogram implementation

* Cleanup

Co-authored-by: rileykk <[email protected]>
It does not make sense for them to differ. Checks are maintained that it is a valid insitu parameter
@RKuttruff RKuttruff marked this pull request as draft September 19, 2022 19:50
@RKuttruff
Copy link
Contributor Author

Added implementation for /domsresults endpoint.

rileykk and others added 30 commits October 27, 2022 11:28
# Conflicts:
#	CHANGELOG.md
#	analysis/webservice/algorithms_spark/Matchup.py
# Conflicts:
#	analysis/webservice/algorithms/doms/ResultsRetrieval.py
# Conflicts:
#	analysis/webservice/algorithms/doms/BaseDomsHandler.py
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

Successfully merging this pull request may close these issues.

1 participant