Skip to content

Commit

Permalink
Update dashboard.yaml
Browse files Browse the repository at this point in the history
1. Include trend_map panel
2. Remove commented out lines (from storage_option)
3. Add sel_dict dropdown menus to most of the dashboard pages

The last update causes some unwanted behavior -- see marbl-ecosys#52 for details, but
basically it requires changing two dropdown menus when switching between a 2D
and 3D variable (the variable dropdown, and then selecting appropriate z_t or
z_t_150m value); it also leads to an empty frame when it first runs since the
default values populating summary_map are Varname = CaCO3_FLUX_100m and
Sel_dict = '{z_t: 35109.35}' when that specific variable is only plotted with
sel_dict = {}
  • Loading branch information
mnlevy1981 committed Jul 28, 2021
1 parent 93708e9 commit 65f54fd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
17 changes: 13 additions & 4 deletions notebooks/Interactive_Dashboard.ipynb

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions notebooks/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ summary_map:
- "varname"
- "date"
- "apply_log10"
- "sel_dict"
column_widget_types:
date: "discrete_slider"

Expand All @@ -12,15 +13,15 @@ time_series:
- "casename"
- "varname"
- "time_period"
# storage_option: {}
- "sel_dict"

histogram:
keys:
- "casename"
- "varname"
- "time_period"
- "apply_log10"
# storage_option: {}
- "sel_dict"
column_widget_types:
time_period: "discrete_slider"

Expand All @@ -30,4 +31,10 @@ trend_hist:
- "varname"
- "time_period"
- "sel_dict"
# storage_options: {}

trend_map:
keys:
- "casename"
- "varname"
- "time_period"
- "sel_dict"

0 comments on commit 65f54fd

Please sign in to comment.