-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add NSRDB GOES v4 to iotools #2378
base: main
Are you sure you want to change the base?
Conversation
What's the best practice for lines like this one that end up too long? Do I simply add GOES_URL = NSRDB_API_BASE + "/api/nsrdb/v2/solar/nsrdb-GOES-aggregated-v4-0-0-download.csv" |
You could use parentheses GOES_URL = NSRDB_API_BASE + ("/api/nsrdb/v2/solar/"
"nsrdb-GOES-aggregated-v4-0-0-download.csv") or just break the string smaller and add them API_STUB = "/api/nsrdb/v2/solar/"
ENDPOINT = "nsrdb-GOES-aggregated-v4-0-0-download.csv"
GOES_URL = (NSRDB_API_BASE
+ API_STUB + ENDPOINT) imo avoid ignoring pep8 warnings or else they become pointless. |
Thanks, @mikofski! |
Co-authored-by: Echedey Luis <[email protected]>
I'm not 100% sure that I set up the tests in See I think it's correct, but I could be misunderstanding the goals of some of the tests. |
Ok, made the switch from "goes4" to "psm4". I haven't done anything with @kandersolar's suggestion for different |
docs/sphinx/source/reference
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).remote-data
) and Milestone are assigned to the Pull Request and linked Issue.