ali-jrn
ali-jrn
**The APIs:** https://api.opennem.org.au/stats/emissionfactor/network/WEM/WEM https://api.opennem.org.au/stats/emissionfactor/network/WEM The sample response: `{"type":"emissions_factor","response_status":"OK","version":"3.16.0-alpha.8","network":"wem","code":"WEM","region":null,"created_at":"2023-09-09T21:35:01+08:00","feature_flags":["run_crawlers","flows_and_emissions_v2","redirect_api_static"],"messages":["OpenNEM API will be moving behind a login soon. Please see the discssion at https://github.com/opennem/opennem/discussions/243"],"data":[{"id":"au.wem.emissions_factor.WEM.emission_factor","type":"emissions_factor","fuel_tech":null,"code":"WEM","network":"wem","region":null,"data_type":"emissions_factor","units":"tCO2e/MWh","interval":null,"period":null,"history":{"start":"2023-09-08T21:30:00+08:00","last":"2023-09-09T21:30:00+08:00","interval":"5m","data":[0.5938,0.0,0.0,0.0,0.0,0.0,0.5913,0.0,0.0,0.0,0.0,0.0,0.5757,0.0,0.0,0.0,0.0,0.0,0.5623,0.0,0.0,0.0,0.0,0.0,0.5559,0.0,0.0,0.0,0.0,0.0,0.5316,0.0,0.0,0.0,0.0,0.0,0.4984,0.0,0.0,0.0,0.0,0.0,0.4832,0.0,0.0,0.0,0.0,0.0,0.4307,0.0,0.0,0.0,0.0,0.0,0.4278,0.0,0.0,0.0,0.0,0.0,0.4595,0.0,0.0,0.0,0.0,0.0,0.4689,0.0,0.0,0.0,0.0,0.0,0.4776,0.0,0.0,0.0,0.0,0.0,0.4976,0.0,0.0,0.0,0.0,0.0,0.4873,0.0,0.0,0.0,0.0,0.0,0.5084,0.0,0.0,0.0,0.0,0.0,0.4892,0.0,0.0,0.0,0.0,0.0,0.4952,0.0,0.0,0.0,0.0,0.0,0.4891,0.0,0.0,0.0,0.0,0.0,0.4632,0.0,0.0,0.0,0.0,0.0,0.4613,0.0,0.0,0.0,0.0,0.0,0.5147,0.0,0.0,0.0,0.0,0.0,0.4917,0.0,0.0,0.0,0.0,0.0,0.4585,0.0,0.0,0.0,0.0,0.0,0.434,0.0,0.0,0.0,0.0,0.0,0.4378,0.0,0.0,0.0,0.0,0.0,0.4235,0.0,0.0,0.0,0.0,0.0,0.4371,0.0,0.0,0.0,0.0,0.0,0.4308,0.0,0.0,0.0,0.0,0.0,0.4344,0.0,0.0,0.0,0.0,0.0,0.5597,0.0,0.0,0.0,0.0,0.0,0.5406,0.0,0.0,0.0,0.0,0.0,0.6036,0.0,0.0,0.0,0.0,0.0,0.5888,0.0,0.0,0.0,0.0,0.0,0.5291,0.0,0.0,0.0,0.0,0.0,0.4713,0.0,0.0,0.0,0.0,0.0,0.4428,0.0,0.0,0.0,0.0,0.0,0.4752,0.0,0.0,0.0,0.0,0.0,0.5303,0.0,0.0,0.0,0.0,0.0,0.5633,0.0,0.0,0.0,0.0,0.0,0.5976,0.0,0.0,0.0,0.0,0.0,0.619,0.0,0.0,0.0,0.0,0.0,0.6374,0.0,0.0,0.0,0.0,0.0,0.6561,0.0,0.0,0.0,0.0,0.0,0.6288,0.0,0.0,0.0,0.0,0.0,0.6225,0.0,0.0,0.0,0.0,0.0,0.6138,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0]},"forecast":null,"x_capacity_at_present":null}]}`
Is it possible to store the full backup in a folder? so later we can avoid extracting the TAR file. I still need that naming with the date and everything,...