Skip to content

Migrate functionality from private _parse_bsrn and _parse_epw to their read functions #2469

Open

Description

@AdamRJensen

During the deprecation of the parse_bsrn and parse_epw functions (#2466 and #2467), the parsing functionality was left in the corresponding private functions. This was done to quickly deprecate the parse functions as discussed in #2444.

For the sake of simplicity, the functionality of these private functions can be moved to the corresponding read functions, and the private functions can be eliminated. This avoids duplicate documentation and reduces the number of functions, and is more in line with other iotools.

Activity

  1. aman-coder03 commented on Dec 7, 2025

    @aman-coder03
    Contributor

    Hi @AdamRJensen I would be happy to contribute and take care of moving the _parse_bsrn and _parse_epw functionality into the read functions.
    Please let me know if there are any preferences for how you would like the refactor structured. Otherwise, I can start a PR.

  2. dgowdaan-cmyk commented on Jul 8, 2026

    @dgowdaan-cmyk
    Contributor

    Hi @AdamRJensen, I noticed @aman-coder03 expressed interest a while back but there's been no
    follow-up PR since. @aman-coder03, are you still working on this? If not, I'd like to pick it
    up — happy to migrate the parsing logic from _parse_bsrn/_parse_epw into read_bsrn/
    read_epw and remove the now-redundant private functions, matching the structure of the other
    iotools as suggested.

  3. AdamRJensen commented on Jul 8, 2026

    @AdamRJensen
    MemberAuthor

    Hi @AdamRJensen, I noticed @aman-coder03 expressed interest a while back but there's been no follow-up PR since. @aman-coder03, are you still working on this? If not, I'd like to pick it up — happy to migrate the parsing logic from _parse_bsrn/_parse_epw into read_bsrn/ read_epw and remove the now-redundant private functions, matching the structure of the other iotools as suggested.

    @dgowdaan-cmyk Tackling this issue requires familiarity with pvlib and is not suited for new contributors unfortunately.

  4. dgowdaan-cmyk commented on Jul 8, 2026

    @dgowdaan-cmyk
    Contributor

    Hi @AdamRJensen, thanks for the heads up! Makes sense.

    I'd like to get more familiar with the iotools code first — are there any smaller issues, tests, or docs gaps around read_bsrn/read_epw (or iotools generally) that would be a good starting point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions