wxprofilers.sonde package¶
Module contents¶
-
wxprofilers.sonde.
decode_rrs
(bufrin, outputs, outdir='')¶ Run the RRS Decoder program provided by NOAA.
- Parameters
bufrin (str) – path to the radiosonde bufr file.
outputs (str) – desired output files (see RRS Decoder documentation).
outdir (str) – output directory.
-
wxprofilers.sonde.
estimate_pbl
(method, height, pressure, temp, rh=None, ws=None, u=None, v=None, land=True, critical_threshold=0.25)¶ Estimate PBL height using the methods described in [SMC+13].
- Parameters
method (str) – Method to use to estimate PBL. One of ‘richardson’, ‘heffter’, or ‘liu-liang’.
height (ndarray) – Array of heights in km.
pressure (ndarray) – Array of pressures in mb.
temp (ndarray) – Array of temperatures in °C.
rh (ndarray) – Array of relative humidities. Only required when method is ‘richardson’.
ws (ndarray) – Array of wind speeds in m/s. Only required when method is ‘liu-liang’.
u (ndarray) – Array of U wind components in m/s. Only required when method is ‘richardson’.
v (ndarray) – Array of V wind components in m/s. Only required when method is ‘richardson’.
land (bool) – Whether the sonde is over land, as opposed to ocean or ice. Only used when method is ‘liu-liang’.
critical_threshold (float) – Bulk Richardson critical threshold. Only used when method is ‘richardson’.
- Returns
Estimated PBL height in km.
- Return type
float
- SMC+13
C. Sivaraman, S. McFarlane, E. Chapman, M. Jensen, T. Toto, S. Liu, and M. Fischer. Planetary Boundary Layer (PBL) Height Value Added Product (VAP): Radiosonde Retrievals. Technical Report DOE/SC-ARM/TR-132, Department of Energy Office of Science Atmospheric Radiation Measurement (ARM) Program (United States), August 2013. URL: https://www.arm.gov/publications/tech_reports/doe-sc-arm-tr-132.pdf?id=613.