8000 Update pvlib.iotools.get_srml to adhere to SRML's new file structure by AdamRJensen · Pull Request #1931 · pvlib/pvlib-python · GitHub
[go: up one dir, main page]

Skip to content

Update pvlib.iotools.get_srml to adhere to SRML's new file structure #1931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 7 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove print statement
  • Loading branch information
AdamRJensen committed Dec 19, 2023
commit 2339dba418bedb0983fce5f0a992694bcacc8dfc
2 changes: 1 addition & 1 deletion pvlib/iotools/srml.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def get_srml(station, start, end, filetype='PO', map_variables=True,

# Generate list of filenames (note basename uses two-letter abbreviation)
filenames = [f"{station}/{station}_{m.year}/{station[:2]}{filetype}{m.strftime('%y%m')}.txt" for m in months] # noqa: E501
print(filenames)

dfs = [] # Initialize list of monthly dataframes
for f in filenames:
try:
Expand Down
0