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

Test and document Terria<>WPS connections #14

Closed
4 tasks done
mpaget opened this issue Feb 13, 2023 · 1 comment
Closed
4 tasks done

Test and document Terria<>WPS connections #14

mpaget opened this issue Feb 13, 2023 · 1 comment

Comments

@mpaget
Copy link

mpaget commented Feb 13, 2023

Example XML payloads

@mpaget
Copy link
Author

mpaget commented Apr 19, 2023

Output json format

  • output_dict (in _render_outputs) creates a Terria v7 json data block. This includes the style:table block defined in datacube-wps-config.yaml.
  • To use the v7 json block, need to set forceConvertResultsToV8: true in the Terria catalog.
  • To output a v8 json block we would need to a) update output_dict and b) update style:table blocks in datacube-wps-config.yaml

See TerriaJS/RaPPMap#133 (comment)

Output type (json or chart)

  • JSON is returning correctly. Chart/URL output is disabled/untested.
  • Terria does not set an output type so we choose json (as opposed to chart/url output) - is this the best choice?
    • json output will render in Terria as a timeseries, given the v7/v8 considerations above
  • The info flow is a little convoluted in the code - we should review this in light of new defaults.

This was referenced Apr 19, 2023
@mpaget mpaget closed this as completed Apr 19, 2023
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

1 participant