Open mbonvini opened 9 years ago
Did we resolve this issue by email? Happy to help if you still have questions. If not, let's close this issue.
I was able to get the data I wanted using the following API
# Define parameters
pars = {
"ba": "CAISO",
"start_at": d2_start.strftime("%Y-%m-%dT%H:%M:%S%z"), \
"end_at": d2_end.strftime("%Y-%m-%dT%H:%M:%S%z"), \
"freq": "10m",
"market": "RT5M",
"page_size":100}
# Create request
res = requests.get("http://api.watttime.org:80/api/v1/datapoints/",
params = pars,
headers = {'Authorization': 'Token <my_token>'})
and I haven't checked if this error is still present or not. By the way, this API provides the following documentation
API endpoint that allows a single grid data point to be viewed. All times are in UTC. 'carbon' is in lb CO2/MW. 'pk' is a unique numeric identifier for a data point.
is the mass of CO2 per power averaged over the time period associated to the frequency selected in the API call? in this case
lb CO2 / MW / 600 s
while in an other could be different? Or is it always averaged with respect a standard period (e.g. 1hour)?
I am running the following code
caiso = client_factory('CAISO')
data=caiso.get_generation(latest=True)
df= pd.DataFrame(data)
df
and I am not getting any real time data(Empty DataFrame). This works fine when I change to "Yesterday=True" or "Forecast=True". Can anyone help me with this? When I checked the CAISO website there is data there http://www.caiso.com/TodaysOutlook/Pages/supply.aspx
I am running the following code
caiso = client_factory('CAISO')
data=caiso.get_generation(latest=True)
df= pd.DataFrame(data)
df
and I am not getting any real time data(Empty DataFrame). This works fine when I change to "Yesterday=True" or "Forecast=True". Can anyone help me with this? When I checked the CAISO website there is data there http://www.caiso.com/TodaysOutlook/Pages/supply.aspx
i am also facing the same problem with the CAISO did you get any solution?
Hi
I am using Pyiso to understand the CO2 associated to the production of electric energy. I would like to do this for California This is the script I have
and this is the results I get
Unfortunately I'd like to have more information and not only
other
in terms of fuel description.I tried with other ISOs ("ISONE", "ERCOT" and "PJM") in order to see if they had more info. Here's an example of script
however I get this error
any suggestions?
Thanks