C2SM / Sirocco

AiiDA based Weather and climate workflow tool
1 stars 0 forks source link

Add visualization graph #39

Open leclairm opened 1 week ago

leclairm commented 1 week ago

Generate an svg graph from the core IR using pygraphviz and adding some interactivity with javascript

NOTE: This requires graphviz to be installed locally

leclairm commented 1 week ago

While testing it locally with the "small" example configuration, I noticed that the "icon_input" node in the visualization is not connected to anything. Is that supposed to be the case?

True, I always only look at the large one. It shows the visualization is good check to have! We probably need a PR to well define which scenarios we want to test.

leclairm commented 1 week ago

True, I always only look at the large one. It shows the visualization is good check to have! We probably need a PR to well define which scenarios we want to test.

This makes me realize we don't have a way to express that ICON can use some initial condition data only for the first cycle. It's the same issue as ignoring input data that falls outside of the target data date range: we're missing a way to express when the input data specification should be taken into account. This is now the topic of issue #40