We will be performing a major infrastructure and web site ugprades on Friday, September 27th 8:00 am - 5:00 pm MST (UTC -7).

The website will be down during that time.

Python Module to Download New Weather Files

  • dschumacher
  • Topic Author
More
10 Oct 2020 17:34 #8851 by dschumacher
Python Module to Download New Weather Files was created by dschumacher
Is there a way using PySAM to automatically get new solar weather data instead of using the SAM software method where you need to type in the name of the geographic location of interest and download the weather file by clicking the "Download and add to library" button ? 
I'm not sure if this part of the SAM software tool has been implemented into a python module yet or not. 
Attachments:

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

  • pgilman
More
12 Oct 2020 15:48 #8857 by pgilman
Replied by pgilman on topic Python Module to Download New Weather Files
Hi David,

You can use the ResourceTools functions as described here: nrel-pysam.readthedocs.io/en/master/Tools.html.

Best regards,
Paul.

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

  • festevez
More
27 Jul 2021 21:55 #9883 by festevez
Replied by festevez on topic Python Module to Download New Weather Files
Hi Paul,

I've been trying to do the same thing as descirbed in the initial questions however PySAM.ResourceTools is not being recoginzed. I'm get errors and can't even use it for my code. I have done pip install NREL-PySAM. Do you know what is going on?

SIncerely,
Fernando Estevez

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

  • pgilman
More
28 Jul 2021 20:40 #9889 by pgilman
Replied by pgilman on topic Python Module to Download New Weather Files
Dear Fernando,

Those tools are part of the PySAM package, so you will have to install it and get it working before using the tools:

nrel-pysam.readthedocs.io/en/master/index.html

Best regards,
Paul.

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

  • yadav
More
29 Jul 2021 16:13 #9893 by yadav
Can I also install it independently without the PySAM package?

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

  • pgilman
More
30 Jul 2021 14:28 #9894 by pgilman
Replied by pgilman on topic Python Module to Download New Weather Files
Hi Pawan,

You can try running ResourceTools.py without the PySAM package. I don't think it depends on it.

Best regards,
Paul.

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

Moderators: pgilman
Powered by Kunena Forum