Hello and thank you Mr. Gilman for the fast reply,
So I tried entering a EPW file directly to PySAM, but it did not work as the function SAM_CSV_to_solar_data did not accept my EPW from Europa., as you can see in my ide It is telling me that my Time Zone field is not in my EPW file. ( I also the line that caused this error in the resource file, but it still raised an error for each of the parameters that are after the Time Zone field.). I also searched the Resource tools helper functions , but I did not find anything for EPW files.
Attached you can find an image of my code which was taken from the PySAM tutorial, and the ResourceTools section that is causing the problem in my code.
Thanks again for your time!
Ayman Matar