uataq.get_recent_obs#

uataq.get_recent_obs(SID, recent=datetime.timedelta(days=10), pollutants='all', format='wide', group=None)[source]#

Get recent observations from a site.

Parameters:
Returns:

The recent observations, from the final level, in the form get_obs() returns.

Return type:

DataFrame

Warns:
  • EmptyResultWarning – If nothing in the site’s files falls in the range, so the table has no rows.

  • DroppedPollutantWarning – If you name several pollutants and one of them has no data in the range, so the table leaves it out.