Jump to content

Importing data from Solar Prospector


Raam

Recommended Posts

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

  • 6 months later...

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~.tm2

Now when I go to import this in PVsyst, I get the following error: Conversion error of string "-" => Integer

Then 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...