uataq.sites.MobileSite#

class uataq.sites.MobileSite(SID, config, instruments)[source]#

Bases: Site

A class representing a mobile site where atmospheric measurements are taken.

Parameters:
  • SID (str) – The site identifier.

  • config (dict) –

    A dictionary containing configuration information for the site:

    {
        ...
        is_mobile: True,
        instruments: {
            instrument: {...}
        }
        ...
    }
    

__init__(SID, config, instruments)#

Initialize a Site object with the given site ID.

Parameters:
  • SID (str) – The site identifier.

  • config (dict) –

    A dictionary containing configuration information for the site:

    {
        name: str,
        is_active: bool,
        is_mobile: bool,
        latitude: float,
        longitude: float,
        zagl: float,
        loggers: dict,
        instruments: {
            instrument: {
                loggers: dict
                installation_date: str,
                removal_date: str,
            }
        }
    }
    

  • instruments (InstrumentEnsemble) – An instance of the InstrumentEnsemble class representing the instruments at the site.

Methods

get_obs([pollutants, format, group, ...])

Get mobile site observations for each pollutant.

locate(frames[, group, time_range, lvl, ...])

Merge GPS locations onto instrument data, joining each row on its own clock.

merge_gps(obs, gps[, on, obs_on, gps_on])

Merge observation data with location data from GPS.

plot(obs[, ax])

Plot mobile observations on a map.

Inherited

From Site: get_recent_obs, read_data