Add convenience function for full Getpublicdata
The Getpublicdata
method has those unexpected zoom levels, resulting in a lot less returned stations than there really are.
A wrapper over netatmo.api.client.Getpublicdata
that splits the requested region into small enough regions that do return the full amount of stations would come in handy.
-
determine optimum Getpublicdata request resolution ( <0.06^\circ
) -
introduce GetpublicdataMultiResponse
-
subclasses GetpublicdataResponse
-
outsource json to dataframe coversion into function -
merges all fractured request responses into one dataframe
-
-
expand NetatmoClient.Getpublicdata
with argumentfull
which triggers request domain subdivision into smaller regions with maximum lat/lon difference of argumentresolution
and then returns aGetpublicdataMultiResponse
Edited by username-removed-588440