Skip to content

Document time index conventions for irradiance data readers - #2965

Open
maoji-y wants to merge 1 commit into
pvlib:mainfrom
maoji-y:docs/2963-time-index-conventions
Open

maoji-y wants to merge 1 commit into
pvlib:mainfrom
maoji-y:docs/2963-time-index-conventions

Conversation

@maoji-y

@maoji-y maoji-y commented Nov 26, 2026

Copy link
Copy Markdown
  • References Clarify the timestamp/index conventions for iotools get functions #2963 (documentation for existing timestamp conventions)
  • I am familiar with the contributing guidelines
  • I attest that all AI-generated material has been vetted for accuracy and is in compliance with the pvlib license
  • Tests added (documentation-only change, verified as described below)
  • Updates entries in docs/sphinx/source/reference for API changes (documentation-only change)
  • 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:`2963`. Includes contributor name and/or GitHub username (link with :ghuser:`maoji-y`).
  • New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary. (Documentation-only change.)
  • 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.

These return descriptions give users the time labels they need when aligning irradiance and solar position data.

  • NSRDB PSM4 and MIDC use the timestamps supplied in the file. In the bundled PSM4 files, hourly Polar single-year timestamps fall at HH:00 and hourly Polar TMY timestamps at HH:30.
  • PVGIS-SARAH hourly irradiance is labeled at the site's satellite observation time. PVGIS-ERA5 hourly averages are labeled at HH:30. CSV and JSON TMY use an HH:00 grid and report an irradiance time offset. PVGIS hourly manual · PVGIS TMY formats
  • BSRN indexes the start of its averaging intervals. SURFRAD and SOLRAD index the end. The CAMS and Solargis entries describe their existing label options, including the month-end dates for CAMS monthly data. BSRN technical plan · SURFRAD archive format · SOLRAD archive format

Validation

  • 49 offline iotools tests passed and 40 remote cases were deselected.
  • Fixture and mock checks confirmed the two PSM4 Polar conventions, PVGIS hourly and TMY labels, and all three Solargis labels. The eight edited Python modules had identical ASTs after removing docstrings.
  • Strict Sphinx 7.3.7 build of the relevant API pages and v0.16.2 release notes, Flake8 5.0.4 on the diff, and git diff --check passed.

AI assistance disclosure. Codex drafted these documentation edits and checked them against provider documentation, pvlib's parsers, and fixture data.

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

Successfully merging this pull request may close these issues.

1 participant