uataq.sodar.Sodar#

class uataq.sodar.Sodar(SID, mesowest_dir=None)[source]#

Horel group SODAR wind profiler.

Parameters:
Variables:
  • SID (str) – Upper-case station identifier.

  • sodar_dir (str) – {mesowest_dir}/sodar_data.

  • archive_dir (str) – {mesowest_dir}/sodar_data/hdf5archive.

  • metafile (str) – Path to the station’s metadata log.

  • meta (pandas.DataFrame) – Station metadata log (location, name, changes).

  • variables (pandas.DataFrame) – Variable metadata indexed by SHORTNAME; the MULT column holds the integer scale factor applied in parse().

Raises:

FileNotFoundError – If the archive directory or the station’s metadata log does not exist.

__init__(SID, mesowest_dir=None)[source]#

Initialize the Sodar and read the station’s metadata log.

Attributes

model

Model name, as in an instrument's model (SODAR is not configured).

species_measured

What the SODAR measures.

Methods

get_files([lvl, time_range])

List archived SODAR HDF5 files for this station within a time range.

get_winds_at_height(data, height)

Extract wind direction and speed at a given height.

parse(file, variables)

Parse a single SODAR HDF5 file into an xarray Dataset.

read_data([lvl, time_range, num_processes])

Read and combine SODAR profiles over a time range.