pyart.io.auto_read.determine_filetype
-
pyart.io.auto_read.determine_filetype(filename)[source]
Return the filetype of a given file by examining the first few bytes.
The following filetypes are detected:
- ‘MDV’
- ‘NETCDF3’
- ‘NETCDF4’
- ‘WSR88D’
- ‘UF’
- ‘HDF4’
- ‘RSL’
- ‘DORAD’
- ‘SIGMET’
- ‘BZ2’
- ‘UNKNOWN’
Parameters: | filename : str
|
Returns: | filetype : str
|