Closed dzimmanck closed 6 years ago
This looks great! Can you add these lines to the bottom of tests.test_caiso
? Then we'll be good to merge.
def test_lmp_loc(self):
c = client_factory('CAISO')
loc_data = c.get_lmp_loc()
# one entry for each node
# expected count is 4238
self.assertGreater(len(loc_data), 4000)
# check keys
self.assertItemsEqual(loc_data[0].keys(),
['node_id', 'latitude', 'longitude', 'area'])
Fails due to Authorization
Hi @dandxy89 ! Did you try adding environment variables for these accounts when you run the tests? http://pyiso.readthedocs.org/en/latest/configuration.html#accounts
The variables are only for New England ISO and European ISO. Not why they would help? :S
@dandxy89 Did you ever figure out the environment variable problem?
Not sure anymore, this was almost a year ago I was working on ISO consumers.
I added a simple method to caiso that grabs LMP location data from CAISO's online interactive price map. This can be used to generate geo maps from the LMP data pulled using pyiso.