Skip to content

Commit

Permalink
BUG: Update to Column Vertical Profile Handling of Defining Radar Bas…
Browse files Browse the repository at this point in the history
…etime (#1581)

* BUG: update column vertical profile handling of radar basetime

* ENH: Correct call of datetime_from_radar
  • Loading branch information
jrobrien91 committed May 17, 2024
1 parent 6fb9914 commit 3c7e32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyart/util/columnsect.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def column_vertical_profile(
total_moment.update({"height": [], "time_offset": []})

# Define the start of the radar volume
base_time = pd.to_datetime(radar.time["units"][14:]).to_numpy()
base_time = np.datetime64(datetime_from_radar(radar).isoformat(), "ns")

# call the sphere_distance function
dis = sphere_distance(
Expand Down

0 comments on commit 3c7e32b

Please sign in to comment.