solcast / howto-pandas Goto Github PK
View Code? Open in Web Editor NEWHow-To Solcast - Python, Pandas, MatPlotLib, and PvLib
License: MIT License
How-To Solcast - Python, Pandas, MatPlotLib, and PvLib
License: MIT License
Create notebook from current set of code and examples
Have the appveyor windows build status ready and would like some help with getting travis ci or equivalent to work. Current problem I am having is the numpy+mkl requirement from the requirements.txt file so anyone with experience on scipy and linux or how to do alternate requirements or setup the travis build to be conditional.
As the value returned from the Solcast API can vary dependent on weather conditions try to do the following
Hi,
Following the tutorial, I am using Ubuntu, exported the SOLCAST_API_KEY in shell, and in the python environment of execution of the script, if this makes any difference.
I encountred the following error:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-5-16263a0dce87> in <module>
7 # install_date | format: yyyyMMdd Will be ignored if a loss_factor is supplied
8 # latest | [True, False] | default False
----> 9 power_estimated_actuals = PowerFrameHandler.estimated_actuals(location, 5000, azimuth=0)
10 power_estimated_actuals.pv_estimate.plot()
11
~/Bureau/Untitled Folder 1/solcast_frames/powerframehandler.py in estimated_actuals(lat_Lng, capacity, **kwargs)
19 :rtype: pd.DataFrame
20 """
---> 21 data = sc.PvPowerEstimatedActuals(lat_Lng.lat, lat_Lng.lng, capacity, **kwargs).content["estimated_actuals"]
22 new_frame = pd.DataFrame(data)
23 new_frame.set_index(['period_end'], inplace=True)
~/.conda/envs/tf/lib/python3.6/site-packages/solcast/pv_power_estimated_actuals.py in __init__(self, latitude, longitude, capacity, *args, **kwargs)
35 self.end_point = self.end_point + '/latest'
36
---> 37 self._get(*args, **kwargs)
38
39 if self.ok:
~/.conda/envs/tf/lib/python3.6/site-packages/solcast/base.py in _get(self, api_key, **kwargs)
23 if api_key == None:
24 raise TypeError('{type}() missing 1 required argument: \'api_key\''\
---> 25 .format(type=type(self)))
26
27 logger = logging.getLogger()
TypeError: <class 'solcast.pv_power_estimated_actuals.PvPowerEstimatedActuals'>() missing 1 required argument: 'api_key'
Thank you.
Add any relevant and or missing documentation
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.