act.discovery.get_improve_data¶
- act.discovery.get_improve_data(site_id=None, parameter_id=None, start_date=None, end_date=None)[source]¶
Retrieve IMPROVE data for the given site and variable ids and store it in an xarray dataset. Documentation on the IMPROVE data can be found at https://vista.cira.colostate.edu/Improve/data-user-guide/
Also adds in metadata from the site summary page to the global attributes https://views.cira.colostate.edu/adms/Pub/SiteSummary.aspx?dsidse=10001&siidse=244
- Parameters:
site_id (str) – Site id number which can be retrieved from the IMPROVE page for each site such as https://views.cira.colostate.edu/adms/Pub/SiteSummary.aspx?dsidse=10001&siidse=244
parameter_id (list) – List of parameter id values to retrieve from the API.
start_date (str) – Start date formatted as M/D/YEAR such as 1/31/2022
end_date (str) – End date formatted as M/D/YEAR such as 1/31/2022
- Returns:
ds (xarray.Dataset) – Returns an Xarray dataset object
Example
act.discovery.get_improve_data(site_id=’244’)