Weather File Downloads Issue

  • Joseph Dvorak
More
22 May 2025 13:29 #14064 by Joseph Dvorak
Replied by Joseph Dvorak on topic Weather File Downloads Issue
Did NSRDB go down? I cannot access files to use in SAM right now. I'll try again tomorrow, but I thought I would post to see if a bigger change is in progress.

I've tried downloading by location (Lexington, KY) and lat/lon.

I get the following error in SAM logs:
NSRDB Download Thu May 22 14:30:34 2025
==========================================================

Requested location(s): [ -84.5003, 38.0486 ]

Location 1 of 1: "-84.5003, 38.0486"

"-84.5003, 38.0486" appears to be a valid lat/lon pair in Decimal Degrees.

Latitude / longitude for NSRDB Data Query: -84.5003,38.0486

URL for NSRDB Data Query: developer.nrel.gov/api/nsrdb/v2/solar/nsrdb-data-query.json?&api_key= &email=&wkt=POINT(38.0486%20-84.5003)

NSRDB Data Query returns no data for "-84.5003,38.0486" (outputs = []).

See sam.nrel.gov/weather for links to other data sources.


NSRDB Download Thu May 22 15:18:52 2025
==========================================================

Requested location(s): [ lexington, ky ]

Location 1 of 1: "lexington, ky"

Requested year(s): [ tmy ]

File 1 of 1: tmy

developer.nrel.gov/api/nsrdb/v2/solar/nsrdb-GOES-tmy-v4-0-0-download.csv?api_key= &full_name=sam_user&email=&affiliation=unknown&mailing_list=false&reason=SAM&interval=60&utc=false&leap_day=false&attributes=dni,dhi,ghi,dew_point,air_temperature,surface_pressure,wind_direction,wind_speed,surface_albedo,clearsky_dhi,clearsky_dni,clearsky_ghi&names=tmy&wkt=POINT(-84.5003%2038.0486)

Download time: 0.895 seconds.

Weather file test failed, latitude and longitude required but not specified: C:/Users/jdv223/SAM Downloaded Weather Files/lexington_ky_38.0486_-84.5003_nsrdb-GOES-tmy-v4-0-0_60_tmy.csv.

Text from file:
{"inputs":{"body":{},"params":{},"query":{"full_name":"sam_user","email":"joe.dvorak@uky.edu","affiliation":"unknown","mailing_list":"false","reason":"SAM","interval":"60","utc":"false","leap_day":"false","attributes":"dni,dhi,ghi,dew_point,air_temperature,surface_pressure,wind_direction,wind_speed,surface_albedo,clearsky_dhi,clearsky_dni,clearsky_ghi","names":"tmy","wkt":"POINT(-84.5003 38.0486)"}},"metadata":{"version":"2.0.0"},"status":400,"errors":["Data processing failure."]}
* File renamed to: C:/Users/jdv223/SAM Downloaded Weather Files/lexington_ky_38.0486_-84.5003_nsrdb-GOES-tmy-v4-0-0_60_tmy_bad.txt.

I've also tried going to the NSRDB viewer and I get an error email that no data is available much later.
I also tried using the Python SDK and nsrdbfetcher.
nsrdbfetcher = tools.FetchResourceFiles(
                tech='solar',
                nrel_api_key=sam_api_key,
                nrel_api_email=sam_email, 
                resource_type='psm3-2-2', 
                resource_year='2021')
lon_lats = [(-84.5003, 38.0486)]
nsrdbfetcher.fetch(lon_lats)

It did not work and replied with:

{'inputs': {'body': {}, 'params': {}, 'query': {'names': '2021', 'wkt': 'POINT(-84.5003 38.0486)', 'interval': '60', 'email': 'joe.dvorak@uky.edu', 'utc': 'false'}}, 'metadata': {'version': '2.0.0'}, 'status': 400, 'errors': }
 

Please Log in or Create an account to join the conversation.

  • Paul Gilman
  • Topic Author
More
23 May 2025 09:05 #14070 by Paul Gilman
Replied by Paul Gilman on topic Weather File Downloads Issue
Hi Joseph,

The NSRDB service may have been temporarily down yesterday. Weather file downloads from SAM are working today.

Note that if you submit a latitude-longtiude pair in SAM, you should put the latitude first, so you would type "38.0486,-84.5003" for your location.

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: Paul Gilman
Powered by Kunena Forum