Skip to content

Conversation

@ptormene
Copy link
Member

@ptormene ptormene commented Oct 4, 2023

TODO:

  • fix some names
  • avoid conflicts with hmaps images management in the webui

@ptormene ptormene added this to the Engine 3.18.0 milestone Oct 4, 2023
@ptormene ptormene requested a review from micheles October 4, 2023 15:15
@ptormene ptormene self-assigned this Oct 4, 2023
@ptormene ptormene requested a review from kejohnso October 5, 2023 09:17
@ptormene ptormene marked this pull request as ready for review October 5, 2023 09:22
img = plot_meanHCs_afe_RTGM(
imls, AFE, UHGM_RP, 1/2475, RTGM, afe_target, imt_list)
logging.info('Storing png/meanHCs_afe_RTGM')
dstore['png/meanHCs_afe_RTGM'] = img
Copy link
Member Author

Choose a reason for hiding this comment

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

@kejohnso may you suggest a more readable name for meanHCs_afe_RTGM, please?

{% if meanHCs_afe_RTGM %}
<div class="my-pngs">
<a href="{{ oq_engine_server_url }}/v1/calc/{{ calc_id }}/download_png/meanHCs_afe_RTGM" class="btn btn-sm">
Show meanHCs_afe_RTGM</a>
Copy link
Member Author

Choose a reason for hiding this comment

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

@kejohnso it is especially important here, because this is the label the user will see on the button to visualize the png

@ptormene
Copy link
Member Author

Superseded by #9089

@ptormene ptormene closed this Oct 11, 2023
@ptormene ptormene deleted the aelo-first-plot branch October 11, 2023 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants