Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
137b1fa
add report module and notebook
sam-watttime Jan 22, 2025
7278440
add tests for report module
sam-watttime Jan 22, 2025
f5ce3f0
add .gitkeep for analysis dir
sam-watttime Jan 22, 2025
f1d3f21
update watttime module init
sam-watttime Jan 22, 2025
59c1d8c
add extras to setup.py
sam-watttime Jan 22, 2025
ed2d362
update .gitignore to exclude contents of analysis dir
sam-watttime Jan 22, 2025
c94c399
make report.py a script
sam-watttime Jan 22, 2025
f62de39
use session in WattTimeBase
skoeb Feb 12, 2025
d087931
set max_workers explictily
skoeb Feb 13, 2025
9c8b1db
Speed up historical forecast parsing by avoiding pd.json_normalize
skoeb Feb 13, 2025
95e8df5
don't use session in test (yet)
skoeb Feb 13, 2025
c80a1c9
Merge branch 'multithreading-refactor' into use-session
skoeb Feb 13, 2025
9dc2a35
use session for register test mock
skoeb Feb 13, 2025
34439f0
Merge branch 'main' into report-card
skoeb Feb 27, 2025
17eb4fe
Merge branch 'multithreading-refactor' into report-card
skoeb Feb 27, 2025
81ed1b6
Merge branch 'rm-json-normalize' into report-card
skoeb Feb 27, 2025
323a21f
Merge branch 'use-session' into report-card
skoeb Feb 27, 2025
f950b7e
add get_wt_api_forecast_evaluation_data
skoeb Feb 27, 2025
7c51bf2
rename "bas" -> "regions"
skoeb Feb 27, 2025
dd5caf6
Merge commit 'ae09336' into report-card
skoeb Feb 27, 2025
dfc3149
first pass at implementing datahandler
skoeb Feb 28, 2025
28c5278
use log instead of print
skoeb Feb 28, 2025
77dd4a1
add plot_sample_fuel_mix and use jinja instead of papermill
skoeb Mar 5, 2025
32b25e3
add fuel_mix attribute to AnalysisDataHandler
skoeb Mar 5, 2025
2831e9e
remove papermill req; replace with jinja2
skoeb Mar 5, 2025
b937096
debug logging around requests in api
skoeb Mar 5, 2025
46f4743
add styling to report_card_template
skoeb Mar 5, 2025
c4d2a85
updated plots
skoeb Mar 6, 2025
3c34162
add collected_model_meta prooperty and access last_returned_meta bett…
skoeb Mar 6, 2025
ec8ff29
plot cleanup (lengends, colorscales, formatting)
skoeb Mar 10, 2025
a2e6ee1
localize_tz in get_wt_api_forecast_evaluation_data
skoeb Mar 10, 2025
72b3dec
ix name cleanup
skoeb Mar 10, 2025
97dea54
rewrite of calc_rank_potential to ensure consistent behavior
skoeb Mar 11, 2025
a5e5687
cleanup language in report_card_template
skoeb Mar 11, 2025
e2cf2f4
refactor
skoeb Mar 11, 2025
b11ab17
black
skoeb Mar 12, 2025
7b085c3
impact_forecast_metrics text
skoeb Mar 12, 2025
0e95e1a
tests
skoeb Mar 12, 2025
06ff6c1
update units
skoeb Mar 12, 2025
0279a5a
remove new_moer_mode_report.ipynb
skoeb Mar 12, 2025
5e501c5
add WattTimeMarginalFuelMix
skoeb Mar 12, 2025
d84f685
catch 403s if marginal fuel mix api is not scoped for user
skoeb Mar 12, 2025
6c67341
Merge branch 'marginal-fuelmix' into report-card
skoeb Mar 12, 2025
85016cf
WattTimeFuelMix -> WattTimeMarginalFuelMix
skoeb Mar 12, 2025
61e4938
fix import
skoeb Mar 12, 2025
bbcaee3
black 22.10
skoeb Mar 12, 2025
a21b1ea
black 22.10 for test_report
skoeb Mar 12, 2025
b935c14
remove script utility from report.py; use as CLI with launch
skoeb Mar 12, 2025
b554d02
bump max_period to 365D
skoeb Mar 12, 2025
acac686
handle missing data in overlap range
skoeb Mar 12, 2025
ba736fc
pin plotly to working version. TODO: bump before release.
skoeb Mar 19, 2025
87204e4
Merge remote-tracking branch 'origin/main' into report-card
skoeb Apr 3, 2025
3682363
consistent file naming; plot first week only
skoeb Apr 3, 2025
daf2bf4
merge updates to api.py
skoeb Apr 3, 2025
e69f691
make first_week_of_month default to false
skoeb Apr 3, 2025
33350dd
correct directory for report.py
xginn8 Apr 3, 2025
f962620
Merge branch 'testing-reliability' into report-card
skoeb Apr 4, 2025
5d2b68c
allow for report card name to be given a title by passing a tuple of …
skoeb Apr 4, 2025
ff8ae03
decrease rate_limit for wt_fuel_mix to increase stability
skoeb Apr 4, 2025
dfa8560
add bulk_report script
skoeb Apr 4, 2025
a0ad601
add get_wt_api_forecast_evaluation_data
skoeb Jun 13, 2025
ade494b
make first_week_of_month a cli arg
skoeb Aug 15, 2025
1f6cdb0
improve bulk_report, don't regenerate existing reports
sam-watttime Aug 21, 2025
702c7e4
improve opitimization in report
sam-watttime Aug 21, 2025
2488f71
Retry 500 errors
sam-watttime Aug 21, 2025
c906cde
Merge branch 'retry-500s' into report-card
sam-watttime Aug 21, 2025
f0a478c
add precision/recall plot
sam-watttime Aug 22, 2025
7774cce
optional to create unified subregion report
sam-watttime Aug 22, 2025
f8b2036
simplify window assignment code
skoeb Aug 24, 2025
86550fd
black==25.1
skoeb Aug 24, 2025
9c2fb61
simplify tz localization
sam-watttime Aug 25, 2025
4324e9f
WattTimeAPIWarning class and better warning handeling in api.py
sam-watttime Oct 8, 2025
e613249
improve warning handelling in report.py
sam-watttime Oct 8, 2025
87e5f3e
black 22.10
sam-watttime Oct 8, 2025
966fbcc
gather warnings in AnalysisDataHandler
sam-watttime Oct 8, 2025
756d422
black
xginn8 Oct 17, 2025
6f5b97c
grab each day and +2 days after
xginn8 Oct 17, 2025
4f47ec9
adjust sampling percentage and anchor broken var
xginn8 Oct 20, 2025
4a2b3fd
parametrize some of the hard-coded values for easier overriding
xginn8 Oct 20, 2025
0c11ac9
properly override the var
xginn8 Oct 20, 2025
b26df7b
Merge pull request #61 from WattTime/fix-spp-kc
xginn8 Oct 20, 2025
25519aa
small typo in report-card
xginn8 Oct 21, 2025
8a554d6
last typo in report card
xginn8 Oct 21, 2025
659f738
update distribution plot to be a violin
sam-watttime Oct 24, 2025
d95ead5
clean up time zones on heatmaps (local not UTC)
sam-watttime Oct 24, 2025
700b377
another UTC to local
sam-watttime Oct 24, 2025
c7e2314
add forecast_v_signal plot
sam-watttime Oct 24, 2025
d3052de
fix units (MOER is hourly, time stamps are 5 min)
sam-watttime Oct 24, 2025
b33aaee
remove context catcher from get_forecasts
sam-watttime Oct 27, 2025
410db2d
formatting in forecasts v moer
sam-watttime Oct 27, 2025
a11334d
add caching to AnalysisDataHandler; AnalysisDataHandler returns local…
sam-watttime Oct 29, 2025
13686b4
improve assign_window now that local_tz; fix tests
sam-watttime Oct 29, 2025
1e97bb4
new plot in template
sam-watttime Oct 29, 2025
daef440
add CIs to plots, discount rate kwarg to simulate_charge
sam-watttime Oct 29, 2025
18887d6
use SE instead of bootstrapping, more simulate_charge logic cleanup a…
sam-watttime Oct 30, 2025
b0ba4b1
bump default forecast_sample_size
sam-watttime Oct 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,9 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

watttime/api_do_not_commit.py
tests/test_do_not_commit.py
analysis/*

!analysis/.gitkeep
Empty file added analysis/.gitkeep
Empty file.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
version="v1.3.3",
packages=["watttime"],
packages=["watttime", "watttime.evaluation"],
python_requires=">=3.8",
install_requires=["requests", "pandas>1.0.0", "holidays", "python-dateutil"],
extras_require={
"report": ["jinja2", "plotly==5.24.1", "scipy", "shapely", "timezonefinder"]
},
scripts=["watttime/evaluation/report.py"],
)
Loading