uataq.Network.get_availability#

Network.get_availability(time_range=None, freq='D', lvls=None, num_processes=1)[source]#

Find when each site has data for the pollutant, and at what level.

Every data file is parsed, so this reflects real measurements rather than which files exist: a time bin counts for a level when any row in it has a non-null concentration, calibrated or _raw (see uataq.pollutants.concentration_columns()). Each bin is labeled with the highest level that covers it, so a bin measured but dropped from final data shows as qaqc.

Parameters:
Returns:

One row per segment, with columns SID, lvl, start and stop. Segments are half-open [start, stop). Sites with no data have no rows.

Return type:

DataFrame

Notes

If the network was built without a group, every group that operates an instrument is checked (TRX01 ozone, for instance, is in both the lin and horel archives), not only the one get_obs would read.