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

Name of file to examine.

Returns :

filetype : str

Type of file.

Previous topic

pyart.io.auto_read.read

Next topic

pyart.io.common.dms_to_d

This Page