uataq.sites.Site.get_recent_obs#
- Site.get_recent_obs(recent=datetime.timedelta(days=10), pollutants='all', format='wide', group=None)[source]#
Get recent observations from site instruments.
- Parameters:
recent (
str|timedelta) – Time range to get recent observations. Default is 10 days.pollutants (
Literal['all'] |str|list[str] |tuple[str,...] |set[str]) – Pollutants to read. If ‘all’, read all pollutants. Default is ‘all’.format (
Literal['wide'] |Literal['long']) – Format of the data to return. Default is ‘wide’.group (
str|Mapping[str,str] |None) – Research group to read data from. Defaults to None which uses the default group.
- Returns:
A dataframe containing recent observations from site instruments.
- Return type:
- Warns: