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.

Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.