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

v2.0.0 Dashboard #56

Open
4 of 5 tasks
SMijin opened this issue Feb 10, 2025 · 2 comments
Open
4 of 5 tasks

v2.0.0 Dashboard #56

SMijin opened this issue Feb 10, 2025 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@SMijin
Copy link
Contributor

SMijin commented Feb 10, 2025

The new dashboard abstractions and a few element examples are now live on a separate branch.

TODOs:

  • Distribution variable explorer element
  • Scalar variable explorer element
  • Tutorial on how to create new elements
  • Documentation
  • Clean-up and optimisation

To test the dashboard out, run the two advection examples and add this cell to the outflow example:

from RMK_support.dashboard_support import LazyLoader,ElementDisplay

loader = LazyLoader(rk.variables,runPaths={"outflow":rk.IOContext.HDF5Dir,"no-outflow":"./RMKOutput/RMK_advection_test/"})
import panel as pn

pn.extension(comms='vscode')

element = ElementDisplay(loader)
element2 = ElementDisplay(loader)
element3 = ElementDisplay(loader)
element4 = ElementDisplay(loader)

pn.Row(pn.Column(element.layout,element3.layout),pn.Column(element2.layout,element4.layout)).show()

An example of two selected widgets:
Image

@SMijin SMijin added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Feb 10, 2025
@SMijin SMijin self-assigned this Feb 10, 2025
@SMijin SMijin assigned alfieadhemar and unassigned alfieadhemar Feb 11, 2025
@SMijin
Copy link
Contributor Author

SMijin commented Feb 11, 2025

Added 3 new elements for scalar and distribution variables and further cleaned up some of the implementation

Image

@SMijin
Copy link
Contributor Author

SMijin commented Feb 19, 2025

Basic documentation and clean-up done. Tutorials to be done together with advanced tutorials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants