billspat / ewxpws_dashboard

Quick view of data from the ewxpwsdb project, using [Panel](https://panel.holoviz.org/index.html)
0 stars 0 forks source link

date picker in hourly weather table on station page #3

Open billspat opened 4 days ago

billspat commented 4 days ago

the station page has a table of hourly weather, currently only shows today's hourly data from the API.

in the header of that table, add a date picker to change the day displayed, default to today? will need to add a callback to respond to the data picker, that requires the current station.

may have to use dcc.store to store the current station in the page as json after it's selected?

note in the API currently there is only full days hourly data, which will be fine for an hourly summary table

billspat commented 4 days ago

use https://dash.plotly.com/dash-core-components/datepickersingle to select date

billspat commented 3 days ago

see 0e5c22fc70032f63db45f936214fc935c8cb3359 for implementation of date picker for a single model. it may look cleaner/set workflow to set the date once above the tabbed interface of weather and models, and use that for all elements in the tab (table, graph, models)