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
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.
The text was updated successfully, but these errors were encountered:
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/
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.
The text was updated successfully, but these errors were encountered: