pyart.config.FileMetadata#

class pyart.config.FileMetadata(filetype, field_names=None, additional_metadata=None, file_field_names=False, exclude_fields=None, include_fields=None)[source]#

A class for accessing metadata needed when reading files.

Parameters:
  • filetype (str) – Type of file being read.

  • field_names (dict) – Dictionary mapping file field names to radar fields names.

  • additional_metadata (dict of dicts) – Additional metadata to use during read.

  • file_field_names (bool) – True to keep the field names in the file.

  • exclude_fields (list of strings) – Fields to exclude during readings.

  • include_fields (list of strings) – Fields to include during readings.

Initialize.

__call__(p)

Retrieve metadata for parameter p.

get_field_name(file_field_name)

Return the name radar field for a given file field name

get_metadata(p)

Retrieve metadata for a parameter p.