pyart.aux_io.read_file_c#

pyart.aux_io.read_file_c(file, moment='ZH', keep_all_rays=True, physic_value=False, masked_array=False, verbose=False)#

Reads a METRANET data file

Parameters:
  • file (str) – file name

  • moment (str) – moment name

  • keep_all_rays (boolean) – If true will keep duplicate azimuth but will not sort them (they will not start from zero).

  • physic_value (boolean) – If true returns the physical value. Otherwise the digital value

  • masked_array (boolean) – If true returns a numpy masked array with NaN values masked. Otherwise returns a regular masked array with NaN values

  • verbose (boolean) – If true prints out extra information

Returns:

ret_data (RadarData object) – An object containing the information read from the file