Skip to content

get_psm3 with tmy will not ignore interval #1702

@mikofski

Description

@mikofski

Describe the bug
docs say if names='tmy' then interval is ignored, but the nrel api raises an HTTPError

To Reproduce
Steps to reproduce the behavior:

d, m = pvl.iotools.get_psm3(
    latitude=38.8, longitude=-121.2,
    api_key='DEMO_KEY', email='[email protected]',
    names='tmy', interval=5)

Expected behavior
NREL API ignores interval

Screenshots
image

Versions:

  • pvlib.__version__: 1.5.2
  • pandas.__version__: 0.9.4
  • python: 3.8.15

Additional context
I think the documentation should be updated?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions