Replies: 3 comments 2 replies
-
|
@salbenson It does looks like a bug, I will get a PR to fix the auto reader, but in the meantime you should be able to access the reader with read_rsl directly with pyart.io.read_rsl. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. I did try using pyart.io.read_rsl directly. This is the error I got from that. radar=pyart.io.read_rsl(filename) File ~/miniforge3/lib/python3.12/site-packages/spyder_kernels/customize/utils.py:209 in exec_encapsulate_locals File ~/Documents/python/convert_dorade_to_cfradial.py:58 File ~/miniforge3/lib/python3.12/site-packages/pyart/io/rsl.py:93 in read_rsl MissingOptionalDependency: Py-ART must be build with support for TRMM RSL to use the read_rsl function. This is when I tried to get the TRMM RSL library, but found it is no longer available. |
Beta Was this translation helpful? Give feedback.
-
|
I have found the way to convert DORADE files to cfradial is to use LROSE from NCAR. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to read DORAD files with pyart. I am reporting a bug that I found.
Regards,
Sally
In the source code for pyart.io.auto_read in def determine_filetype, DORAD files return the string "DORADE"
In the source code for part.io.auto_read in def read, rsl_formats=["DORAD"]
Since in rsl_formats, "DORAD" is missing the "E", pyart.io.auto_read won't call read_rsl and says it is and unknown file type.
File ~/miniforge3/lib/python3.12/site-packages/pyart/io/auto_read.py:137 in read
raise TypeError("Unknown or unsupported file format: " + filetype)
TypeError: Unknown or unsupported file format: DORADE
Beta Was this translation helpful? Give feedback.
All reactions