From 1c2cf2360b8b2f128c68bd8dcb90e08169613e5f Mon Sep 17 00:00:00 2001 From: Abby Wheelis <54848919+Abby-Wheelis@users.noreply.github.com> Date: Thu, 13 Mar 2025 17:02:13 -0600 Subject: [PATCH 1/3] remove redundant instruction we removed that notebook when we made the label changes --- docs/dev/publicdashboard/Working_with_public_dashboard.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/dev/publicdashboard/Working_with_public_dashboard.md b/docs/dev/publicdashboard/Working_with_public_dashboard.md index 34eb972..b43a005 100644 --- a/docs/dev/publicdashboard/Working_with_public_dashboard.md +++ b/docs/dev/publicdashboard/Working_with_public_dashboard.md @@ -91,7 +91,6 @@ $ (emission) root@06f07def2c0e:/usr/src/app# cd saved-notebooks - Note: Make sure the `Year` and `Month` parameter for the executing notebook is not `None` while executing the `generate_plots.py` script. If it's set to None, it will not generate the charts. Execution of notebooks ``` -$ (emission) root@06f07def2c0e:/usr/src/app/saved-notebooks# PYTHONPATH=.. python bin/update_mappings.py mapping_dictionaries.ipynb $ (emission) root@06f07def2c0e:/usr/src/app/saved-notebooks# PYTHONPATH=.. python bin/generate_plots.py generic_metrics.ipynb default ``` Refer to additional notebooks from https://github.com/e-mission/em-public-dashboard/blob/main/viz_scripts/docker/crontab @@ -128,4 +127,4 @@ https://openpath-stage.nrel.gov/public/?study_config=ebikegj # Existing issue with browser caching the old chart data - While testing the changes, it's a good idea to clear up the cache and reload the webpage to make sure the latest charts are loaded. -- Always better to validate the changes via. the timestamp under the charts and the timestamp of generation of charts. \ No newline at end of file +- Always better to validate the changes via. the timestamp under the charts and the timestamp of generation of charts. From 46c93bd96245b5259585cd83a00244f22b68f757 Mon Sep 17 00:00:00 2001 From: Abby Wheelis <54848919+Abby-Wheelis@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:22:10 -0600 Subject: [PATCH 2/3] remove mention of mapping notebook --- docs/dev/publicdashboard/Working_with_public_dashboard.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/docs/dev/publicdashboard/Working_with_public_dashboard.md b/docs/dev/publicdashboard/Working_with_public_dashboard.md index b43a005..8d162d4 100644 --- a/docs/dev/publicdashboard/Working_with_public_dashboard.md +++ b/docs/dev/publicdashboard/Working_with_public_dashboard.md @@ -1,6 +1,3 @@ -# Note on execution of public dashboard to launch the notebook -- First execute `mapping_dictionaries.ipynb` before launching any other notebooks. - # Test Scenario for Public Dashboard changes: 1. Front end testing - Make sure the dropdown menu have valid list of metrics. From 6f02c838a42fdfbca9e89e06f50ccd50ed58f402 Mon Sep 17 00:00:00 2001 From: Abby Wheelis <54848919+Abby-Wheelis@users.noreply.github.com> Date: Fri, 14 Mar 2025 10:22:56 -0600 Subject: [PATCH 3/3] update sentence for clarity --- docs/dev/publicdashboard/Working_with_public_dashboard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dev/publicdashboard/Working_with_public_dashboard.md b/docs/dev/publicdashboard/Working_with_public_dashboard.md index 8d162d4..fb274fc 100644 --- a/docs/dev/publicdashboard/Working_with_public_dashboard.md +++ b/docs/dev/publicdashboard/Working_with_public_dashboard.md @@ -4,7 +4,7 @@ - Make sure the default charts are loaded at the first instance of loading the website. - Make sure all the charts are being launched or the error table is displayed. 2. Test with loading and unloading different program/study dataset. - - Load different datasets, run the scripts to execute the notebooks to make sure the charts are being generate properly. + - Load different datasets, run the scripts to execute the notebooks and make sure the charts are generated properly. - Between datasets, drop the old dataset and load the new dataset. - Also check with empty MongoDB. 3. After the code has been merged, validate the changes on the staging environment.