Makes working with AEMO data more pleasant.
http://www.rubydoc.info/gems/aemo
- ruby-head
- 2.6 (.0-preview1)
- 2.5 (.0, .1)
- 2.4 (.0, .1, .2, .3, .4)
- 2.3 (.0, .1, .2, .3, .4, .5, .6, .7)
- 2.2 (.5, .6, .7, .8, .9)
% gem install aemo# Gemfile
gem 'aemo'- Connect to AEMO via VPN (tip: be a market participant in order to unlock this step)
- Log in to MSATS
- Navigate to Reports and Alerts » CATS » C1 - Data Replication Resynchronisation Report - Data Replication Resynchronisation Report (C1)
- Export both the CATS_DLF_CODES and CATS_TNI_CODES tables (from 1-Jan-1970 to the current date, both with 30,000 max rows)
- Wait...
- Wait some more...
- Navigate to Participant Outbox (you have new messages link)
- Get the file!
cd lib/data && ruby xml_to_json.rb- Add tests for your new FY to spec/lib/aemo/nmi_spec.rb
rspec- note that AEMO can retroactively change factors so if there is an old failing test double check the json to make sure it's not AEMO's fault.- Commit, push & create a pull request