You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fetching resource files, using PySAM.ResourceTools.FetchResourceFiles(), the output is quite verbose, printing many statements such as:
print('\nStarting data download for {} using {} thread workers.'.format(self.tech, self.workers))
print("Downloading file from WIND Toolkit for {}, {}.".format(lat, lon))
print('Success! File downloaded to {}.'.format(file_path))
print("Getting list of available NSRDB files for {}, {}.".format(lat, lon))
print(data_url)
For downloading a single file, this is fine, but when running PySAM to download dozens or hundreds of resource files, these outputs are overwhelming.
I wanted to suggest implementation of a verbose parameter for the FetchResourceFiles() class, which would silence all of these print statements if set to False (it could be left as True as a default. This could be implemented by preceding the print statements with if verbose == True: print().
Thank you!
The text was updated successfully, but these errors were encountered:
When fetching resource files, using
PySAM.ResourceTools.FetchResourceFiles()
, the output is quite verbose, printing many statements such as:For downloading a single file, this is fine, but when running PySAM to download dozens or hundreds of resource files, these outputs are overwhelming.
I wanted to suggest implementation of a
verbose
parameter for theFetchResourceFiles()
class, which would silence all of these print statements if set toFalse
(it could be left asTrue
as a default. This could be implemented by preceding the print statements withif verbose == True: print()
.Thank you!
The text was updated successfully, but these errors were encountered: