update aqs to read directly from url
bbakernoaa opened this issue · 1 comments
bbakernoaa commented
It seems pandas can now read the AQS zipped files directly with the URL without the need to download the data. I propose that we update it so that it will read the data like AirNow file does.
I also think that data needs to be able to handle the ability to grab specific networks from the data as well as a kwarg. The call should be something like:
aqs.load_daily(param = ['OZONE', 'SPEC', 'PM2.5'], network = 'CSN')
bbakernoaa commented
All data now goes through a single call
monet.obs.aqs.add_data(self, dates, param=None, daily=False, network=None)
It returns daily or hourly measurements depending on the daily kwarg. You can also request only a single or an array parameter by passing an iterable to param i.e. for a single parameter param=['SO2']
or multiple param=['SO2','NO2','OZONE']