pyrad.io.find_raw_icon_file#
- pyrad.io.find_raw_icon_file(voltime, datatype, cfg, ind_rad=0)[source]#
Search for an ICON NetCDF file using a recursive glob.
The search is flexible and accepts arbitrary intermediate directories before and after the datatype directory.
- Parameters:
voltime (datetime.datetime) – Volume scan time.
datatype (str) – Type of ICON data to look for, e.g. “TEMP” or “WIND”.
cfg (dict) – Configuration dictionary containing ICON settings.
ind_rad (int, optional) – Radar index.
- Returns:
str or None – Path to the ICON file if found, otherwise None.