Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NYISO Missing Data Pages #309

Open
WillKoehrsen opened this issue Dec 31, 2023 · 2 comments
Open

NYISO Missing Data Pages #309

WillKoehrsen opened this issue Dec 31, 2023 · 2 comments

Comments

@WillKoehrsen
Copy link
Collaborator

At least one document from NYISO has moved pages.

from gridstatus import NYISO
nyiso = NYISO()

nyiso.get_capacity_prices("today", verbose=True)

=> Requesting https://www.nyiso.com/documents/20142/35397361/ICAP-Market-Report-December-2023.xlsx
=> HTTPError: HTTP Error 404: 

Going to that URL shows

Screenshot 2023-12-30 at 19 59 24

Another NYISO issue: we need to add the year code to this block of code in nyiso.py:

        if date.year == 2014:
            year_code = 1410927
        elif date.year == 2015:
            year_code = 1410895
        elif date.year == 2016:
            year_code = 1410901
        if date.year == 2017:
            year_code = 1410883
        if date.year == 2018:
            year_code = 1410889
        if date.year == 2019:
            year_code = 4266869
        elif date.year == 2020:
            year_code = 10106066
        elif date.year == 2021:
            year_code = 18170164
        elif date.year == 2022:
            year_code = 27447313
        elif date.year == 2023:
            year_code = 35397361
        else:
            raise ValueError(
                "Year not currently supported. Please file an issue.",
            )
@WillKoehrsen
Copy link
Collaborator Author

Is this the correct URL (download) for ICAP Market Report 2024: https://www.nyiso.com/documents/20142/42146126/ICAP-Market-Report-January-2024.xlsx? That would imply the year code is "42146126".

@WillKoehrsen
Copy link
Collaborator Author

Note that the November URL works: https://www.nyiso.com/documents/20142/35397361/ICAP-Market-Report-November-2023.xlsx.

Maybe December is just missing this year?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant