You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working with RHI data from a CfRadial format file. The data's radar.sweep_mode is 'rhi', yet the radar.scan_type is incorrectly marked as 'other'. This discrepancy causes errors when attempting to visualize the data using pyart.graph.RadarDisplay(radar).
@HappyXiaoAnAn Thanks for raising the issue! Yeah we are discussing on ways or how to approach this. The original intent was dealing with Atmospheric Radiation Measurement group radar files. We'll take a look and see how we can adjust this. For your case for now, you should be able to set:
Description
I'm working with RHI data from a CfRadial format file. The data's
radar.sweep_mode
is 'rhi', yet theradar.scan_type
is incorrectly marked as 'other'. This discrepancy causes errors when attempting to visualize the data usingpyart.graph.RadarDisplay(radar)
.The issue originates from
pyart/pyart/io/cfradial.py
Line 200 in b54157f
and is related commit #1484 #1030.
My data's
scan_name
is 'PrecipRhi2', which fails to meet any criteria in the fallback types, resulting in thescan_type
defaulting to 'other'.Using scan_mode to determine scan_type seems inappropriate, as it leads to this type of error.
The text was updated successfully, but these errors were encountered: