Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with FCAS #46

Open
KolinCunningham opened this issue Dec 13, 2024 · 1 comment
Open

Error with FCAS #46

KolinCunningham opened this issue Dec 13, 2024 · 1 comment

Comments

@KolinCunningham
Copy link

this is what I am running:

from nemosis import dynamic_data_compiler
import os

Define a small date range for testing

start_time = '2023/01/01 00:00:00'
end_time = '2023/01/01 23:59:59'
table = 'FCAS_4_SECOND'
raw_data_cache = '/Users/caesar/nemosis_data'

Ensure the cache directory exists

os.makedirs(raw_data_cache, exist_ok=True)

Fetch the FCAS data

print(f"Fetching FCAS data for {start_time} to {end_time}...")
fcas_data = dynamic_data_compiler(start_time, end_time, table, raw_data_cache)

Check if data was returned

if fcas_data.empty:
print("No FCAS data returned for the given period.")
else:
print(fcas_data.head())
# Optionally, save the data to CSV
output_file = '/Users/caesar/Desktop/Fcas/fcas_data.csv'
fcas_data.to_csv(output_file, index=False)
print(f"Data saved to {output_file}")

And I am getting error such as this (below). Does this mean the data set does not exist anymore?

: WARNING: FCAS_202312011625 not downloaded
WARNING: Loading data from /Users/caesar/nemosis_data/FCAS_202312011625.feather failed.

@nick-gorman
Copy link
Member

AMEO only keeps a recent set of FCAS data uploaded, so only the most couple of months of data is available. Check here to see what AEMO currently has uploaded: http://www.nemweb.com.au/Reports/Current/Causer_Pays/

There is also older set of files for complete years, but only up till 2017:
http://www.nemweb.com.au/Data_Archive/Wholesale_Electricity/FCAS_Causer_Pays/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants