Skip to content

Commit

Permalink
Updated another TODO report.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianWeiHaoMa committed Dec 15, 2024
1 parent 6099e39 commit cbcc1ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions MISOReports/MISOReports.py
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ def add_to_datetime(
example_datetime=datetime.datetime(year=2022, month=1, day=1),
),

"ms_vlr_srw": Report( # Checked 2024-11-24.
"ms_vlr_srw": Report( # TODO need to update because rows change and so second df gets moved down.
url_builder=MISOMarketReportsURLBuilder(
target="ms_vlr_srw",
supported_extensions=["xlsx"],
Expand All @@ -783,8 +783,8 @@ def add_to_datetime(
),
type_to_parse="xlsx",
parser=parsers.parse_ms_vlr_srw,
example_url="https://docs.misoenergy.org/marketreports/20240901_ms_vlr_srw.xlsx",
example_datetime=datetime.datetime(year=2024, month=9, day=1),
example_url="https://docs.misoenergy.org/marketreports/20241101_ms_vlr_srw.xlsx",
example_datetime=datetime.datetime(year=2024, month=11, day=1),
),

"ms_rsg_srw": Report( # Checked 2024-11-26.
Expand Down
4 changes: 2 additions & 2 deletions MISOReports/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@ def parse_ms_vlr_srw(

df2 = pd.read_excel(
io=io.BytesIO(res.content),
skiprows=15,
nrows=7,
skiprows=23,
nrows=5,
usecols=column_names,
)
df2[float_columns] = df2[float_columns].astype("Float64")
Expand Down

0 comments on commit cbcc1ca

Please sign in to comment.