- Posts: 1
Can't download weather information
- luizvaz19
- Topic Author
Less
More
15 Nov 2019 18:37 #7792
by luizvaz19
Can't download weather information was created by luizvaz19
Hi guys,
I am new to SAM, and I have had some problems downloading weather information.
I want to download the weather information of the city of Lins.For this, I put the par lat/long of the city which is ''-21.674020, -49.749030''.
In ''Default TMY file" I got a ''Donwload error" that says "Weather file test failed for lins-sp_-21.674020_-49.749030_psmv3_60_tmy.csv. Open log file?"
The log file says:
NSRDB Download Fri Nov 15 21:55:00 2019
==========================================================
Requested location(s): [ lins, sp ]
Location 1 of 1: "lins, sp"
Requested year(s): tmy
Invalid requested years: None
File 1 of 1: tmy
developer.nrel.gov/api/solar/nsrdb_psm3_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&names=tmy&wkt=POINT(-49.749030%20-21.674020)
Download time: 0.666000 seconds.
Weather file test failed, latitude and longitude required but not specified: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy.csv.
Message from NSRDB: <html>;<head><title>500 Internal Server Error</title></head>;<body bgcolor="white">;<center><h1>500 Internal Server Error</h1></center>;<hr><center>nginx</center>;</body>;</html>;
* File renamed to: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy_bad.txt.
Afther that I tried to "Download files for all years (P50/P90)" and another download error appeared saying that the file test failed for all of those years (1998 ~ 2018)
The log file gave two different errors:
NSRDB Download Fri Nov 15 22:03:50 2019
==========================================================
Requested location(s): [ lins, sp ]
Location 1 of 1: "lins, sp"
Requested year(s): [ tmy, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 ]
Invalid requested years: None
File 1 of 22: tmy
developer.nrel.gov/api/solar/nsrdb_psm3_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&names=tmy&wkt=POINT(-49.749030%20-21.674020)
Download time: 0.464000 seconds.
Weather file test failed, first two header lines must have same number of columns: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy.csv.
Message from NSRDB: {"errors":["The 'wkt' parameter did not match any known data points."],"inputs":{"full_name":"sam_user","email":"luizvaz19@outlook.com","affiliation":"unknown","mailing_list":false,"reason":"SAM","interval":60,"utc":false,"leap_day":false,"attributes":["dni","dhi","ghi","dew_point","air_temperature"
* File renamed to: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy_bad.txt.
File 2 of 22: 1998
developer.nrel.gov/api/solar/nsrdb_psm3_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&attributes=dni,dhi,ghi,dew_point,air_temperature,surface_pressure,relative_humidity,wind_direction,wind_speed,surface_albedo&names=1998&wkt=POINT(-49.749030%20-21.674020)
Download time: 0.720000 seconds.
Weather file test failed, latitude and longitude required but not specified: C:/Users/luizv/SAM Downloaded Weather Files/lins_sp/lins_sp_-21.674020_-49.749030_psmv3_60_1998.csv.
Message from NSRDB: <html>;<head><title>500 Internal Server Error</title></head>;<body bgcolor="white">;<center><h1>500 Internal Server Error</h1></center>;<hr><center>nginx</center>;</body>;</html>;
* File renamed to: C:/Users/luizv/SAM Downloaded Weather Files/lins_sp/lins_sp_-21.674020_-49.749030_psmv3_60_1998_bad.txt.
And after that I tried the "legacy data" that showed me 30 and 60 pmsv files from 1998 to 2018 and tmy file from 2016 to 2018.
It failed again. Some files say: Failed to download lins_sp_-21.674020_-49.749030_psmUmy_60_tgy-2018. Message from NSRDB: ("errors":["The \Acid' parameter did not match any known data points."],"inputs"enames"Ctgy-20181,"wkt":"POINT(-49.749 -21.674)","interval":"60","email":"luizvaz19©outlook.com")}
And others say: Failed to download lins_sp_-21.674020_-49.749030_psm3 _tmy_60_tmy. Message from NSRDB: <html> <head> <title> 500 Internal Server Error</title> </head> <body bgcolor="white"> <center> <hi > 500 Internal Server Error</h1> </center> <hr> <center> nginx</center> </body> </html>
I could find the weather file of -21,-49, but the kw/m² is much diferent from the -21.674020,-49.749030 which is of the city I am looking for.
I tried everything, can someone help me?
I am new to SAM, and I have had some problems downloading weather information.
I want to download the weather information of the city of Lins.For this, I put the par lat/long of the city which is ''-21.674020, -49.749030''.
In ''Default TMY file" I got a ''Donwload error" that says "Weather file test failed for lins-sp_-21.674020_-49.749030_psmv3_60_tmy.csv. Open log file?"
The log file says:
NSRDB Download Fri Nov 15 21:55:00 2019
==========================================================
Requested location(s): [ lins, sp ]
Location 1 of 1: "lins, sp"
Requested year(s): tmy
Invalid requested years: None
File 1 of 1: tmy
developer.nrel.gov/api/solar/nsrdb_psm3_download.csv?api_key=
Download time: 0.666000 seconds.
Weather file test failed, latitude and longitude required but not specified: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy.csv.
Message from NSRDB: <html>;<head><title>500 Internal Server Error</title></head>;<body bgcolor="white">;<center><h1>500 Internal Server Error</h1></center>;<hr><center>nginx</center>;</body>;</html>;
* File renamed to: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy_bad.txt.
Afther that I tried to "Download files for all years (P50/P90)" and another download error appeared saying that the file test failed for all of those years (1998 ~ 2018)
The log file gave two different errors:
NSRDB Download Fri Nov 15 22:03:50 2019
==========================================================
Requested location(s): [ lins, sp ]
Location 1 of 1: "lins, sp"
Requested year(s): [ tmy, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 ]
Invalid requested years: None
File 1 of 22: tmy
developer.nrel.gov/api/solar/nsrdb_psm3_download.csv?api_key=
Download time: 0.464000 seconds.
Weather file test failed, first two header lines must have same number of columns: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy.csv.
Message from NSRDB: {"errors":["The 'wkt' parameter did not match any known data points."],"inputs":{"full_name":"sam_user","email":"luizvaz19@outlook.com","affiliation":"unknown","mailing_list":false,"reason":"SAM","interval":60,"utc":false,"leap_day":false,"attributes":["dni","dhi","ghi","dew_point","air_temperature"
* File renamed to: C:\Users\luizv/SAM Downloaded Weather Files/lins_sp_-21.674020_-49.749030_psmv3_60_tmy_bad.txt.
File 2 of 22: 1998
developer.nrel.gov/api/solar/nsrdb_psm3_download.csv?api_key=
Download time: 0.720000 seconds.
Weather file test failed, latitude and longitude required but not specified: C:/Users/luizv/SAM Downloaded Weather Files/lins_sp/lins_sp_-21.674020_-49.749030_psmv3_60_1998.csv.
Message from NSRDB: <html>;<head><title>500 Internal Server Error</title></head>;<body bgcolor="white">;<center><h1>500 Internal Server Error</h1></center>;<hr><center>nginx</center>;</body>;</html>;
* File renamed to: C:/Users/luizv/SAM Downloaded Weather Files/lins_sp/lins_sp_-21.674020_-49.749030_psmv3_60_1998_bad.txt.
And after that I tried the "legacy data" that showed me 30 and 60 pmsv files from 1998 to 2018 and tmy file from 2016 to 2018.
It failed again. Some files say: Failed to download lins_sp_-21.674020_-49.749030_psmUmy_60_tgy-2018. Message from NSRDB: ("errors":["The \Acid' parameter did not match any known data points."],"inputs"enames"Ctgy-20181,"wkt":"POINT(-49.749 -21.674)","interval":"60","email":"luizvaz19©outlook.com")}
And others say: Failed to download lins_sp_-21.674020_-49.749030_psm3 _tmy_60_tmy. Message from NSRDB: <html> <head> <title> 500 Internal Server Error</title> </head> <body bgcolor="white"> <center> <hi > 500 Internal Server Error</h1> </center> <hr> <center> nginx</center> </body> </html>
I could find the weather file of -21,-49, but the kw/m² is much diferent from the -21.674020,-49.749030 which is of the city I am looking for.
I tried everything, can someone help me?
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
18 Nov 2019 07:49 - 18 Nov 2019 07:50 #7798
by pgilman
Replied by pgilman on topic Can't download weather information
Hi Luiz,
Please try downloading a weather file from one of the other sources listed on the SAM website Weather Data page:
sam.nrel.gov/weather-data.html
Weather data for that location is not available in the NREL National Solar Radiation Database.
Best regards,
Paul.
Please try downloading a weather file from one of the other sources listed on the SAM website Weather Data page:
sam.nrel.gov/weather-data.html
Weather data for that location is not available in the NREL National Solar Radiation Database.
Best regards,
Paul.
Last edit: 18 Nov 2019 07:50 by pgilman.
Please Log in or Create an account to join the conversation.
Moderators: pgilman