Closed sumana-2705 closed 3 weeks ago
Thank you for this. Would you be able to add a file back in to scripts/forecast_csv.py
it would be copying this out to this serepate file
Okay, I'll add the file. Thank you
Hi @sumana-2705.
Sorry i might have confused you. I would prefer the main code to stay in the library and the script just to have
if __name__ == "__main__":
# please change the site name, start_datetime and end_datetime, latitude, longitude and capacity_kwp as per your requirement
write_out_forecasts(
init_time_freq=6,
start_datetime="2024-03-10 00:00:00",
end_datetime="2024-03-11 00:00:00",
site_name="Test",
latitude=51.75,
longitude=-1.25,
capacity_kwp=1.25
)
I'm sorry @peterdudfield, I was confused a little. I hope this commit has done required changes
and can you remove if name == "main": e.t.c from here
thanks @sumana-2705, @all-contributors please add @sumana-2705 for code
@peterdudfield
I've put up a pull request to add @sumana-2705! :tada:
Description
Fixes #204
forecast_csv.py
script in the main README for better clarity.scripts
directory and then running the script to a single command.