-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added email for API calls to be set in .env file and removed self.email from resource.py * changed EMAIL to NREL_API_EMAIL * added space after comma seperator
- Loading branch information
1 parent
e993c8a
commit 3fe5d2b
Showing
5 changed files
with
24 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,12 +59,12 @@ solar and storage. | |
[https://developer.nrel.gov/signup/](https://developer.nrel.gov/signup/) | ||
|
||
|
||
7. To set up the `NREL_API_KEY` required for resource downloads, you can create an Environment Variable called | ||
`NREL_API_KEY`. Otherwise, you can keep the key in a new file called ".env" in the root directory of this project. | ||
7. To set up the `NREL_API_KEY` and `NREL_API_EMAIL` required for resource downloads, you can create Environment Variables called `NREL_API_KEY` and `NREL_API_EMAIL`. Otherwise, you can keep the key in a new file called ".env" in the root directory of this project. | ||
|
||
Create a file ".env" that contains the single line: | ||
``` | ||
``` | ||
NREL_API_KEY=key | ||
[email protected] | ||
``` | ||
|
||
8. Verify setup by running tests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,6 @@ def __init__(self, lat, lon, year, **kwargs): | |
self.name = 'hybrid-systems' | ||
self.affiliation = 'NREL' | ||
self.reason = 'hybrid-analysis' | ||
self.email = '[email protected]' | ||
self.mailing_list = 'true' | ||
|
||
# paths | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters