I'm trying to pull weather data from a place near Austin Tx, but the pySAM FetchResourceFiles() tool can't find any nearby stations. I also tried this with Python 3.7.12 and got the same result.
lon_lats = [(-97.74, 30.25)]
nsrdbfetcher = tools.FetchResourceFiles(
tech='solar',
nrel_api_key=sam_api_key,
nrel_api_email=sam_email,
workers=1,
resource_type='psm3-tmy',
resource_year='tmy',
resource_interval_min=60,)
Traceback. I hope the insecureRequestWarning isn't causing the issue.
Starting data download for solar using 1 thread workers.
Getting list of available NSRDB files for 30.25, -97.74
./Users/dan/.pyenv/versions/3.9.7/envs/sandbox/lib/python3.9/site-packages/urllib3/connectionpool.py:1013:
InsecureRequestWarning: Unverified HTTPS request is being made to host 'developer.nrel.gov'.
Adding certificate verification is strongly advised.
See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(
No data found for 30.25, -97.74.