Skip to content

Remove psm3.py#2582

Merged
kandersolar merged 6 commits into
pvlib:mainfrom
kandersolar:remove-psm3
Nov 3, 2025
Merged

Remove psm3.py#2582
kandersolar merged 6 commits into
pvlib:mainfrom
kandersolar:remove-psm3

Conversation

@kandersolar

Copy link
Copy Markdown
Member
  • Closes get_psm3 no longer works #2581
  • I am familiar with the contributing guidelines
  • Tests added
  • Updates entries in docs/sphinx/source/reference for API changes.
  • Adds description and name entries in the appropriate "what's new" file in docs/sphinx/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
  • [ ] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
  • Pull request is nearly complete and ready for detailed review.
  • Maintainer: Appropriate GitHub Labels (including remote-data) and Milestone are assigned to the Pull Request and linked Issue.

As described in #2581.

@kandersolar kandersolar added this to the v0.13.2 milestone Oct 28, 2025
@kandersolar kandersolar added api io remote-data triggers --remote-data pytests labels Oct 28, 2025
@kandersolar kandersolar added remote-data triggers --remote-data pytests and removed remote-data triggers --remote-data pytests labels Oct 28, 2025
@AdamRJensen AdamRJensen added remote-data triggers --remote-data pytests and removed remote-data triggers --remote-data pytests labels Oct 28, 2025

@AdamRJensen AdamRJensen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs have no warnings and tests are passing, LGTM

@kandersolar kandersolar merged commit 258f78f into pvlib:main Nov 3, 2025
31 of 32 checks passed
@kandersolar kandersolar deleted the remove-psm3 branch November 3, 2025 15:46
@kandersolar kandersolar modified the milestones: v0.13.2, v0.14.0 Jan 16, 2026
karlhillx added a commit to karlhillx/pvlib-python that referenced this pull request Jun 22, 2026
Fixes pvlib#2791.

The oedi_9068 gallery example calls get_nsrdb_psm4_conus() with
interval=5, but the function's parameter is named time_step (the
interval name comes from the NSRDB API query string, not the Python
signature). This was missed when PR pvlib#2582 migrated the example from
get_psm3 (which used interval) to get_nsrdb_psm4_conus (which uses
time_step).

Changes interval=5 to time_step=5 in the example call.

No test changes needed — test_get_nsrdb_psm4_conus_5min already
exercises time_step=5 against the function directly.
kandersolar added a commit that referenced this pull request Jul 4, 2026
* Fix interval keyword argument in oedi_9068 gallery example

Fixes #2791.

The oedi_9068 gallery example calls get_nsrdb_psm4_conus() with
interval=5, but the function's parameter is named time_step (the
interval name comes from the NSRDB API query string, not the Python
signature). This was missed when PR #2582 migrated the example from
get_psm3 (which used interval) to get_nsrdb_psm4_conus (which uses
time_step).

Changes interval=5 to time_step=5 in the example call.

No test changes needed — test_get_nsrdb_psm4_conus_5min already
exercises time_step=5 against the function directly.

* Apply review feedback: update PSM3→PSM4 references and add contributor

- Update narrative comments from 'NSRDB PSM3' to 'NSRDB PSM4' to
  match the actual function called (get_nsrdb_psm4_conus)
- Rename psm3/psm3_metadata variables to psm4/psm4_metadata for
  consistency with the PSM4 data source
- Add Karl Hill to Contributors in v0.15.3 whatsnew

Addresses Copilot suggestions (+1 from @cwhanse) on PR #2793.

---------

Co-authored-by: Kevin Anderson <kevin.anderso@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api io remote-data triggers --remote-data pytests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

get_psm3 no longer works

2 participants