Raam Posted February 12, 2014 Share Posted February 12, 2014 Hi Andre,Is there any reason why I am not able to upload the files from Solar prospector(http://maps.nrel.gov/prospector) ? I am able to upload it I download a file with .tm2 extension but not if its .csv. Assuming both files are same, is there any reason for this? Please see the error message below. Thanks,Raam Link to comment Share on other sites More sharing options...
Bruno Wittmer Posted February 13, 2014 Share Posted February 13, 2014 Hello Raam,the format of the csv files at 'Solar Prospector' are not TMY3, so it will not work to import them the way you are trying.If you really need to work on the csv files instead of the tm2 ones, then you need to use the dialog for importing ASCII files (Databases -> Import ASCII meteo file).The format of the csv files is explained on the 'Solar Prospector' interface and you need to specify it in PVsyst accordingly.You can refer to the tutorial Part3, chapter 6 'Importing Meteo Data from an ASCII file'Best regards, Bruno Link to comment Share on other sites More sharing options...
AKSolar Posted September 4, 2014 Share Posted September 4, 2014 Any tips on uploading Solar Prospector data for a specific year? I download the data as TMY2 format. The extracted filename looks like this: radwx_118153395_1998~.tm2Now when I go to import this in PVsyst, I get the following error: Conversion error of string "-" => IntegerThen it says: The file "radwx_118153395_1998~.tm2" is not a valid US NREL-TMY file(invalid first line)What seems to be the problem here? Link to comment Share on other sites More sharing options...
Bruno Wittmer Posted September 5, 2014 Share Posted September 5, 2014 I did reproduce this error for that specific locaiton. Indeed it happens for all TMY2 files where the first line is exactly 58 characters long.A slightly different error occurs when the first line is shorter than 58 characters.I spotted the bug in the code and will fix it.As a quick workaround you can add a space to the end of the first line of the file, then it should work. Link to comment Share on other sites More sharing options...
Bruno Wittmer Posted September 5, 2014 Share Posted September 5, 2014 The bug has been fixed for PVsyst V6.27 Link to comment Share on other sites More sharing options...
AKSolar Posted September 5, 2014 Share Posted September 5, 2014 Awesome! Thank you for the fast turnaround! Link to comment Share on other sites More sharing options...
AKSolar Posted September 10, 2014 Share Posted September 10, 2014 Hi Bruno,Any tips on adding the space to the first line of the file? Not sure what program to use to edit the TM2. Thanks! Link to comment Share on other sites More sharing options...
Bruno Wittmer Posted September 15, 2014 Share Posted September 15, 2014 Any text editor should do the job, TM2 files are plain ASCII text. If you are interested in the format of the file, a description of it can be found at:http://rredc.nrel.gov/solar/pubs/tmy2/data.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now