Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

access private _parse_pvgis_tmy_csv() function as read_pvgis_tmy_csv() #880

Copy link
Copy link
Closed
@mikofski

Description

@mikofski
Issue body actions

Is your feature request related to a problem? Please describe.
someone sent me a csv file they downloaded from pvgis, and I needed to parse it, so I had to call the private methods like this:

>>> from pvlib.iotools.pvgis import _parse_pvgis_tmy_csv
>>> with (path_to_folder / 'pvgis_tmy_lat_lon_years.csv').open('rb') as f:
        pvgis_data = _parse_pvgis_tmy_csv(f)

Describe the solution you'd like
If I need this, others may also. I think a public method that takes either a string or a buffer could be useful? Something called read_pvgis_tmy_csv()

Describe alternatives you've considered
I was able to do it by just calling the private function and it worked, so that's an alternative also

Additional context
related to #845 and #849

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.