-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Change local_path to save_path in get_bsrn #1282
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
Changes from 5 commits
8fc48df
dc768e1
3cddc10
58b272c
b661dcf
cebfaf9
b083acd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,13 +85,17 @@ def test_get_bsrn(expected_index, bsrn_credentials): | |
station='tam', | ||
username=username, | ||
password=password, | ||
local_path='') | ||
save_path='') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What happens when There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The idea is that Since
So in the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess it's ok here since the filename includes the station name and we're not matching existing API nor committing to retaining this API.
I doubt this will be clear to most users. |
||
assert_index_equal(expected_index, data.index) | ||
assert 'ghi' in data.columns | ||
assert 'dni_std' in data.columns | ||
assert 'dhi_min' in data.columns | ||
assert 'lwd_max' in data.columns | ||
assert 'relative_humidity' in data.columns | ||
# test that a local file was saved and is read correctly | ||
data2, metadata2 = read_bsrn('tam0616.dat.gz') | ||
AdamRJensen marked this conversation as resolved.
Show resolved
Hide resolved
|
||
assert_index_equal(expected_index, data2.index) | ||
assert 'ghi' in data2.columns | ||
|
||
|
||
@requires_bsrn_credentials | ||
|
Uh oh!
There was an error while loading. Please reload this page.