Skip to content

Commit

Permalink
MNT: Few more docstring changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
zssherman committed Oct 24, 2023
1 parent dddd23e commit c37a967
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions pyart/util/columnsect.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def sphere_distance(radar_latitude, target_latitude, radar_longitude, target_lon
Distance is calculated for a smooth sphere
Radar and Target are at the same altitude (need to check)
Parameter
---------
Parameters
----------
radar_latitude : float, [degrees]
latitude of the radar in degrees
target_latitude : float, [degrees]
Expand Down Expand Up @@ -523,7 +523,6 @@ def subset_fields(radar, ray, target_gates):
---------
radar : pyart.core.radar object
Radar Sweep from which fields are extracted from the target locations
target_gates : list
List containing indices for the gates of interest
Expand Down Expand Up @@ -561,18 +560,14 @@ def assemble_column(radar, total_moment, azimuth, distance, latitude, longitude)
Dictionary containing the extracted fields from the radar object.
File requires at least the height of the individual gates and
the start time of the volumetric scan.
azimuth : float, [degrees]
azimuth angle from the radar where
target is located within the scan.
output is in degrees.
distance : float, [meters]
Great-Circle Distance between radar and target in meters
latitude : float, [degrees]
Latitude of the target in degrees
longitude : float, [degrees]
Longitude of the target in degrees
Expand All @@ -583,7 +578,6 @@ def assemble_column(radar, total_moment, azimuth, distance, latitude, longitude)
the various fields within the radar object.
"""

# Create a blank list to hold the xarray DataArrays
ds_container = []
da_meta = [
Expand Down Expand Up @@ -709,7 +703,7 @@ def check_longitude(longitude):
Function to check if input latitude is valid for type and value.
Parameters
---------
----------
longitude : int, float
Longitude of a location taht should be between 180W and 180E
"""
Expand Down

0 comments on commit c37a967

Please sign in to comment.