yt-project / yt

Main yt repository
http://yt-project.org
Other
454 stars 272 forks source link

add check for Sub_conventions for CFradial #4915

Open chrishavlin opened 1 month ago

chrishavlin commented 1 month ago

This PR adjusts the cf_radial frontend _is_valid to look in an additional attribute (Sub_conventions).

NEXRAD (https://cmr.earthdata.nasa.gov/search/concepts/C2020894988-GHRC_DAAC.html) uses CFradial but has slightly different metadata from what we're checking for. In this case it's got the following attributes:

Conventions :
    CF-1.7
Sub_conventions :
    CF-Radial instrument_parameters radar_parameters radar_calibration