pyart.util

Description

Miscellaneous utility functions.

The location and names of these functions within Py-ART may change between versions without depreciation, use with caution.

Functions

angular_mean(angles)

Compute the mean of a distribution of angles in radians.

angular_mean_deg(angles)

Compute the mean of a distribution of angles in degrees.

angular_std(angles)

Compute the standard deviation of a distribution of angles in radians.

angular_std_deg(angles)

Compute the standard deviation of a distribution of angles in degrees.

angular_texture_2d(image, N, interval)

Compute the angular texture of an image.

cross_section_ppi(radar, target_azimuths[, ...])

Extract cross sections from a PPI volume along one or more azimuth angles.

cross_section_rhi(radar, target_elevations)

Extract cross sections from an RHI volume along one or more elevation angles.

datetime_from_dataset(dataset[, epoch])

Return a datetime for the first time in a netCDF Dataset.

datetime_from_grid(grid[, epoch])

Return a datetime for the volume start in a Grid.

datetime_from_radar(radar[, epoch])

Return a datetime for the first ray in a Radar.

datetimes_from_dataset(dataset[, epoch])

Return an array of datetimes for the times in a netCDF Dataset.

datetimes_from_radar(radar[, epoch])

Return an array of datetimes for the rays in a Radar.

estimate_noise_hs74(spectrum[, navg, nnoise_min])

Estimate noise parameters of a Doppler spectrum.

image_mute_radar(radar, field, mute_field, ...)

This function will split a field based on thresholds from another field.

interval_mean(dist, interval_min, interval_max)

Compute the mean of a distribution within an interval.

interval_std(dist, interval_min, interval_max)

Compute the standard deviation of a distribution within an interval.

is_vpt(radar[, offset])

Determine if a Radar appears to be a vertical pointing scan.

join_radar(radar1, radar2)

Combine two radar instances into one.

mean_of_two_angles(angles1, angles2)

Compute the element by element mean of two sets of angles.

mean_of_two_angles_deg(angle1, angle2)

Compute the element by element mean of two sets of angles in degrees.

rolling_window(a, window)

Create a rolling window object for application of functions eg: result=np.ma.std(array, 11), 1).

simulated_vel_from_profile(radar, profile[, ...])

Create simulated radial velocities from a profile of horizontal winds.

texture(radar, var)

Determine a texture field using an 11pt stdev texarray=texture(pyradarobj, field).

texture_along_ray(radar, var[, wind_size])

Compute field texture along ray using a user specified window size.

to_vpt(radar[, single_scan])

Convert an existing Radar object to represent a vertical pointing scan.