def get_fieldname_pyart(datatype):
    """
    maps the config file radar data type name into the corresponding rainbow
    Py-ART field name

    Parameters
    ----------
    datatype : str
        config file radar data type name

    Returns
    -------
    field_name : str
        Py-ART field name

    """
    if datatype == 'dBZ':
        field_name = 'reflectivity'
    elif datatype == 'dBuZ':
        field_name = 'unfiltered_reflectivity'
    elif datatype == 'dBZc':
        field_name = 'corrected_reflectivity'
    elif datatype == 'dBuZc':
        field_name = 'corrected_unfiltered_reflectivity'
    elif datatype == 'dBZv':
        field_name = 'reflectivity_vv'
    elif datatype == 'dBZvc':
        field_name = 'corrected_reflectivity_vv'
    elif datatype == 'dBuZv':
        field_name = 'unfiltered_reflectivity_vv'
    elif datatype == 'dBuZvc':
        field_name = 'corrected_unfiltered_reflectivity_vv'
    elif datatype == 'dBZ_bias':
        field_name = 'reflectivity_bias'
    elif datatype == 'eta_h':
        field_name = 'volumetric_reflectivity'
    elif datatype == 'eta_v':
        field_name = 'volumetric_reflectivity_vv'
    elif datatype == 'rcs_h':
        field_name = 'radar_cross_section_hh'
    elif datatype == 'rcs_v':
        field_name = 'radar_cross_section_vv'
    elif datatype == 'ZDR':
        field_name = 'differential_reflectivity'
    elif datatype == 'ZDRu':
        field_name = 'unfiltered_differential_reflectivity'
    elif datatype == 'ZDRc':
        field_name = 'corrected_differential_reflectivity'
    elif datatype == 'ZDRuc':
        field_name = 'corrected_unfiltered_differential_reflectivity'
    elif datatype == 'ZDR_prec':
        field_name = 'differential_reflectivity_in_precipitation'
    elif datatype == 'ZDR_snow':
        field_name = 'differential_reflectivity_in_snow'
    elif datatype == 'ZDR_col':
        field_name = 'differential_reflectivity_column_height'
    elif datatype == 'dBm':
        field_name = 'signal_power_hh'
    elif datatype == 'dBmv':
        field_name = 'signal_power_vv'
    elif datatype == 'Nh':
        field_name = 'noisedBZ_hh'
    elif datatype == 'Nv':
        field_name = 'noisedBZ_vv'
    elif datatype == 'NdBADUh':
        field_name = 'noisedBADU_hh'
    elif datatype == 'NdBADUv':
        field_name = 'noisedBADU_vv'
    elif datatype == 'NdBmh':
        field_name = 'noisedBm_hh'
    elif datatype == 'NdBmv':
        field_name = 'noisedBm_vv'
    elif datatype == 'NADUh':
        field_name = 'noiseADU_hh'
    elif datatype == 'NADUv':
        field_name = 'noiseADU_vv'
    elif datatype == 'noise_pos_h':
        field_name = 'noise_pos_h'
    elif datatype == 'noise_pos_v':
        field_name = 'noise_pos_v'
    elif datatype == 'WBN':
        field_name = 'wide_band_noise'
    elif datatype == 'WBNc':
        field_name = 'corrected_wide_band_noise'
    elif datatype == 'ST1':
        field_name = 'stat_test_lag1'
    elif datatype == 'ST1c':
        field_name = 'corrected_stat_test_lag1'
    elif datatype == 'ST2':
        field_name = 'stat_test_lag2'
    elif datatype == 'ST2c':
        field_name = 'corrected_stat_test_lag2'
    elif datatype == 'TXh':
        field_name = 'transmitted_signal_power_h'
    elif datatype == 'TXv':
        field_name = 'transmitted_signal_power_v'
    elif datatype == 'SNRh':
        field_name = 'signal_to_noise_ratio_hh'
    elif datatype == 'SNRv':
        field_name = 'signal_to_noise_ratio_vv'
    elif datatype == 'CCORh':
        field_name = 'clutter_correction_ratio_hh'
    elif datatype == 'CCORv':
        field_name = 'clutter_correction_ratio_vv'
    elif datatype == 'dBm_sun_hit':
        field_name = 'sun_hit_power_h'
    elif datatype == 'dBmv_sun_hit':
        field_name = 'sun_hit_power_v'
    elif datatype == 'ZDR_sun_hit':
        field_name = 'sun_hit_differential_reflectivity'
    elif datatype == 'dBm_sun_est':
        field_name = 'sun_est_power_h'
    elif datatype == 'dBmv_sun_est':
        field_name = 'sun_est_power_v'
    elif datatype == 'ZDR_sun_est':
        field_name = 'sun_est_differential_reflectivity'
    elif datatype == 'sun_pos_h':
        field_name = 'sun_hit_h'
    elif datatype == 'sun_pos_v':
        field_name = 'sun_hit_v'
    elif datatype == 'sun_pos_zdr':
        field_name = 'sun_hit_zdr'
    elif datatype == 'RhoHV':
        field_name = 'cross_correlation_ratio'
    elif datatype == 'RhoHVu':
        field_name = 'unfiltered_cross_correlation_ratio'
    elif datatype == 'uRhoHV':
        field_name = 'uncorrected_cross_correlation_ratio'
    elif datatype == 'RhoHVc':
        field_name = 'corrected_cross_correlation_ratio'
    elif datatype == 'RhoHV_rain':
        field_name = 'cross_correlation_ratio_in_rain'
    elif datatype == 'L':
        field_name = 'logarithmic_cross_correlation_ratio'
    elif datatype == 'CDR':
        field_name = 'circular_depolarization_ratio'
    elif datatype == 'PhiDP':
        field_name = 'differential_phase'
    elif datatype == 'uPhiDPu':
        field_name = 'uncorrected_unfiltered_differential_phase'
    elif datatype == 'uPhiDP':
        field_name = 'uncorrected_differential_phase'
    elif datatype == 'PhiDPc':
        field_name = 'corrected_differential_phase'
    elif datatype == 'PhiDP0':
        field_name = 'system_differential_phase'
    elif datatype == 'PhiDP0_bin':
        field_name = 'first_gate_differential_phase'
    elif datatype == 'KDP':
        field_name = 'specific_differential_phase'
    elif datatype == 'uKDP':
        field_name = 'uncorrected_specific_differential_phase'
    elif datatype == 'KDPc':
        field_name = 'corrected_specific_differential_phase'
    elif datatype == 'MPH':
        field_name = 'mean_phase'
    elif datatype == 'MPHc':
        field_name = 'corrected_mean_phase'
    elif datatype == 'V':
        field_name = 'velocity'
    elif datatype == 'Vu':
        field_name = 'unfiltered_velocity'
    elif datatype == 'dealV':
        field_name = 'dealiased_velocity'
    elif datatype == 'Vc':
        field_name = 'corrected_velocity'
    elif datatype == 'dealVc':
        field_name = 'dealiased_corrected_velocity'
    elif datatype == 'estV':
        field_name = 'retrieved_velocity'
    elif datatype == 'stdV':
        field_name = 'retrieved_velocity_std'
    elif datatype == 'diffV':
        field_name = 'velocity_difference'
    elif datatype == 'W':
        field_name = 'spectrum_width'
    elif datatype == 'Wu':
        field_name = 'unfiltered_spectrum_width'
    elif datatype == 'Wc':
        field_name = 'corrected_spectrum_width'
    elif datatype == 'wind_vel_h_az':
        field_name = 'azimuthal_horizontal_wind_component'
    elif datatype == 'wind_vel_v':
        field_name = 'vertical_wind_component'
    elif datatype == 'wind_vel_h_u':
        field_name = 'eastward_wind_component'
    elif datatype == 'wind_vel_h_v':
        field_name = 'northward_wind_component'
    elif datatype == 'windshear_v':
        field_name = 'vertical_wind_shear'
    elif datatype == 'WIND_SPEED':
        field_name = 'wind_speed'
    elif datatype == 'WIND_DIRECTION':
        field_name = 'wind_direction'
    elif datatype == 'EDR':
        field_name = 'turbulence'
    elif datatype == 'Ah':
        field_name = 'specific_attenuation'
    elif datatype == 'Ahc':
        field_name = 'corrected_specific_attenuation'
    elif datatype == 'PIA':
        field_name = 'path_integrated_attenuation'
    elif datatype == 'PIAc':
        field_name = 'corrected_path_integrated_attenuation'
    elif datatype == 'Adp':
        field_name = 'specific_differential_attenuation'
    elif datatype == 'Adpc':
        field_name = 'corrected_specific_differential_attenuation'
    elif datatype == 'PIDA':
        field_name = 'path_integrated_differential_attenuation'
    elif datatype == 'PIDAc':
        field_name = 'corrected_path_integrated_differential_attenuation'
    elif datatype == 'TEMP':
        field_name = 'temperature'
    elif datatype == 'ISO0':
        field_name = 'iso0'
    elif datatype == 'H_ISO0':
        field_name = 'height_over_iso0'
    elif datatype == 'HZT':
        field_name = 'iso0_height'
    elif datatype == 'cosmo_index':
        field_name = 'cosmo_index'
    elif datatype == 'hzt_index':
        field_name = 'hzt_index'
    elif datatype == 'ml':
        field_name = 'melting_layer'
    elif datatype == 'VIS':
        field_name = 'visibility'
    elif datatype == 'minvisel':
        field_name = 'minimum_visible_elevation'
    elif datatype == 'minvisalt':
        field_name = 'minimum_visible_altitude'
    elif datatype == 'echoID':
        field_name = 'radar_echo_id'
    elif datatype == 'CLT':
        field_name = 'clutter_exit_code'
    elif datatype == 'occurrence':
        field_name = 'occurrence'
    elif datatype == 'freq_occu':
        field_name = 'frequency_of_occurrence'
    elif datatype == 'RR':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'RRc':
        field_name = 'corrected_radar_estimated_rain_rate'
    elif datatype == 'Raccu':
        field_name = 'rainfall_accumulation'
    elif datatype == 'hydro':
        field_name = 'radar_echo_classification'
    elif datatype == 'hydroc':
        field_name = 'corrected_radar_echo_classification'
    elif datatype == 'entropy':
        field_name = 'hydroclass_entropy'
    elif datatype == 'propAG':
        field_name = 'proportion_AG'
    elif datatype == 'propCR':
        field_name = 'proportion_CR'
    elif datatype == 'propLR':
        field_name = 'proportion_LR'
    elif datatype == 'propRP':
        field_name = 'proportion_RP'
    elif datatype == 'propRN':
        field_name = 'proportion_RN'
    elif datatype == 'propVI':
        field_name = 'proportion_VI'
    elif datatype == 'propWS':
        field_name = 'proportion_WS'
    elif datatype == 'propMH':
        field_name = 'proportion_MH'
    elif datatype == 'propIH':
        field_name = 'proportion_IH'
    elif datatype == 'time_avg_flag':
        field_name = 'time_avg_flag'
    elif datatype == 'colocated_gates':
        field_name = 'colocated_gates'
    elif datatype == 'nsamples':
        field_name = 'number_of_samples'
    elif datatype == 'bird_density':
        field_name = 'bird_density'
    elif datatype == 'std':
        field_name = 'standard_deviation'
    elif datatype == 'sum':
        field_name = 'sum'
    elif datatype == 'sum2':
        field_name = 'sum_squared'
    elif datatype == 'diff':
        field_name = 'fields_difference'
    elif datatype == 'ShhADU':
        field_name = 'complex_spectra_hh_ADU'
    elif datatype == 'ShhADUu':
        field_name = 'unfiltered_complex_spectra_hh_ADU'
    elif datatype == 'SvvADU':
        field_name = 'complex_spectra_vv_ADU'
    elif datatype == 'SvvADUu':
        field_name = 'unfiltered_complex_spectra_vv_ADU'
    elif datatype == 'sPhhADU':
        field_name = 'spectral_power_hh_ADU'
    elif datatype == 'sPhhADUu':
        field_name = 'unfiltered_spectral_power_hh_ADU'
    elif datatype == 'sPvvADU':
        field_name = 'spectral_power_vv_ADU'
    elif datatype == 'sPvvADUu':
        field_name = 'unfiltered_spectral_power_vv_ADU'
    elif datatype == 'sPhhdBADU':
        field_name = 'spectral_power_hh_dBADU'
    elif datatype == 'sPhhdBADUu':
        field_name = 'unfiltered_spectral_power_hh_dBADU'
    elif datatype == 'sPvvdBADU':
        field_name = 'spectral_power_vv_dBADU'
    elif datatype == 'sPvvdBADUu':
        field_name = 'unfiltered_spectral_power_vv_dBADU'
    elif datatype == 'sPhhdBm':
        field_name = 'spectral_power_hh_dBm'
    elif datatype == 'sPhhdBmu':
        field_name = 'unfiltered_spectral_power_hh_dBm'
    elif datatype == 'sPvvdBm':
        field_name = 'spectral_power_vv_dBm'
    elif datatype == 'sPvvdBmu':
        field_name = 'unfiltered_spectral_power_vv_dBm'
    elif datatype == 'sNh':
        field_name = 'spectral_noise_power_hh_dBZ'
    elif datatype == 'sNv':
        field_name = 'spectral_noise_power_vv_dBZ'
    elif datatype == 'sNdBADUh':
        field_name = 'spectral_noise_power_hh_dBADU'
    elif datatype == 'sNdBADUv':
        field_name = 'spectral_noise_power_vv_dBADU'
    elif datatype == 'sNdBmh':
        field_name = 'spectral_noise_power_hh_dBm'
    elif datatype == 'sNdBmv':
        field_name = 'spectral_noise_power_vv_dBm'
    elif datatype == 'sNADUh':
        field_name = 'spectral_noise_power_hh_ADU'
    elif datatype == 'sNADUv':
        field_name = 'spectral_noise_power_vv_ADU'
    elif datatype == 'sPhasehh':
        field_name = 'spectral_phase_hh'
    elif datatype == 'sPhasehhu':
        field_name = 'unfiltered_spectral_phase_hh'
    elif datatype == 'sPhasevv':
        field_name = 'spectral_phase_vv'
    elif datatype == 'sPhasevvu':
        field_name = 'unfiltered_spectral_phase_vv'
    elif datatype == 'sdBZ':
        field_name = 'spectral_reflectivity_hh'
    elif datatype == 'sdBuZ':
        field_name = 'unfiltered_spectral_reflectivity_hh'
    elif datatype == 'sdBZv':
        field_name = 'spectral_reflectivity_vv'
    elif datatype == 'sdBuZv':
        field_name = 'unfiltered_spectral_reflectivity_vv'
    elif datatype == 'sZDR':
        field_name = 'spectral_differential_reflectivity'
    elif datatype == 'sZDRu':
        field_name = 'unfiltered_spectral_differential_reflectivity'
    elif datatype == 'sPhiDP':
        field_name = 'spectral_differential_phase'
    elif datatype == 'sPhiDPu':
        field_name = 'unfiltered_spectral_differential_phase'
    elif datatype == 'sRhoHV':
        field_name = 'spectral_copolar_correlation_coefficient'
    elif datatype == 'sRhoHVu':
        field_name = 'unfiltered_spectral_copolar_correlation_coefficient'
    elif datatype == 'IQhhADU':
        field_name = 'IQ_hh_ADU'
    elif datatype == 'IQvvADU':
        field_name = 'IQ_vv_ADU'
    elif datatype == 'IQNh':
        field_name = 'IQ_noise_power_hh_dBZ'
    elif datatype == 'IQNv':
        field_name = 'IQ_noise_power_vv_dBZ'
    elif datatype == 'IQNdBADUh':
        field_name = 'IQ_noise_power_hh_dBADU'
    elif datatype == 'IQNdBADUv':
        field_name = 'IQ_noise_power_vv_dBADU'
    elif datatype == 'IQNdBmh':
        field_name = 'IQ_noise_power_hh_dBm'
    elif datatype == 'IQNdBmv':
        field_name = 'IQ_noise_power_vv_dBm'
    elif datatype == 'IQNADUh':
        field_name = 'IQ_noise_power_hh_ADU'
    elif datatype == 'IQNADUv':
        field_name = 'IQ_noise_power_vv_ADU'
    elif datatype == 'POH':
        field_name = 'probability_of_hail'
    elif datatype == 'VIL':
        field_name = 'vertically_integrated_liquid'
    elif datatype == 'ETOP15':
        field_name = 'echo_top_15dBZ'
    elif datatype == 'ETOP20':
        field_name = 'echo_top_20dBZ'
    elif datatype == 'ETOP45':
        field_name = 'echo_top_45dBZ'
    elif datatype == 'ETOP50':
        field_name = 'echo_top_50dBZ'
    elif datatype == 'MAXECHO':
        field_name = 'maximum_echo'
    elif datatype == 'HMAXECHO':
        field_name = 'maximum_echo_height'
    elif datatype == 'AZC01':
        field_name = 'rainfall_accumulation'
    elif datatype == 'AZC03':
        field_name = 'rainfall_accumulation'
    elif datatype == 'AZC06':
        field_name = 'rainfall_accumulation'
    elif datatype == 'aZC01':
        field_name = 'rainfall_accumulation'
    elif datatype == 'aZC03':
        field_name = 'rainfall_accumulation'
    elif datatype == 'aZC06':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC0005':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'CPC0060':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC0180':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC0360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC0720':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC1440':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC2880':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPC4320':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH0005':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'CPCH0060':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH0180':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH0360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH0720':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH1440':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH2880':
        field_name = 'rainfall_accumulation'
    elif datatype == 'CPCH4320':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal60_P60':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal90_P90':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal180_P180':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal360_P360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal720_P720':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal90_P30':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal90_P30_F60':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal90_F60':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal180_P60':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal180_P60_F120':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal180_F120':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal360_P120':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal360_P120_F240':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal360_F240':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal720_P360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal720_P360_F360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'nowpal720_F360':
        field_name = 'rainfall_accumulation'
    elif datatype == 'dACC':
        field_name = 'rainfall_accumulation'
    elif datatype == 'dACCH':
        field_name = 'rainfall_accumulation'
    elif datatype == 'dARC':
        field_name = 'rainfall_accumulation'
    elif datatype == 'RZC':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'R1F':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'rZC':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'RZF':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'dRZC':
        field_name = 'radar_estimated_rain_rate'
    elif datatype == 'BZC':
        field_name = 'probability_of_hail'
    elif datatype == 'dBZC':
        field_name = 'probability_of_hail'
    elif datatype == 'MZC':
        field_name = 'maximum_expected_severe_hail_size'
    elif datatype == 'dMZC':
        field_name = 'maximum_expected_severe_hail_size'
    elif datatype == 'GZC':
        field_name = 'probability_of_hail'
    elif datatype == 'dGZC':
        field_name = 'probability_of_hail'
    elif datatype == 'CZC':
        field_name = 'maximum_echo'
    elif datatype == 'dCZC':
        field_name = 'maximum_echo'
    elif datatype == 'HZC':
        field_name = 'maximum_echo_height'
    elif datatype == 'EZC15':
        field_name = 'echo_top_15dBz'
    elif datatype == 'EZC20':
        field_name = 'echo_top_20dBz'
    elif datatype == 'EZC45':
        field_name = 'echo_top_45dBz'
    elif datatype == 'EZC50':
        field_name = 'echo_top_50dBz'
    elif datatype == 'dEZC15':
        field_name = 'echo_top_15dBZ'
    elif datatype == 'dEZC20':
        field_name = 'echo_top_20dBz'
    elif datatype == 'dEZC45':
        field_name = 'echo_top_45dBz'
    elif datatype == 'dEZC50':
        field_name = 'echo_top_50dBz'
    elif datatype == 'LZC':
        field_name = 'vertically_integrated_liquid'
    elif datatype == 'dLZC':
        field_name = 'vertically_integrated_liquid'
    elif datatype == 'OZC01':
        field_name = 'reflectivity'
    elif datatype == 'OZC02':
        field_name = 'reflectivity'
    elif datatype == 'OZC03':
        field_name = 'reflectivity'
    elif datatype == 'OZC04':
        field_name = 'reflectivity'
    elif datatype == 'OZC05':
        field_name = 'reflectivity'
    elif datatype == 'OZC06':
        field_name = 'reflectivity'
    elif datatype == 'OZC07':
        field_name = 'reflectivity'
    elif datatype == 'OZC08':
        field_name = 'reflectivity'
    elif datatype == 'OZC09':
        field_name = 'reflectivity'
    elif datatype == 'OZC10':
        field_name = 'reflectivity'
    elif datatype == 'OZC11':
        field_name = 'reflectivity'
    elif datatype == 'OZC12':
        field_name = 'reflectivity'
    elif datatype == 'OZC13':
        field_name = 'reflectivity'
    elif datatype == 'OZC14':
        field_name = 'reflectivity'
    elif datatype == 'OZC15':
        field_name = 'reflectivity'
    elif datatype == 'OZC16':
        field_name = 'reflectivity'
    elif datatype == 'OZC17':
        field_name = 'reflectivity'
    elif datatype == 'OZC18':
        field_name = 'reflectivity'
    elif datatype == 'ff':
        field_name = 'wind_speed'
    elif datatype == 'dd':
        field_name = 'wind_direction'
    elif datatype == 'u':
        field_name = 'eastward_wind_component'
    elif datatype == 'v':
        field_name = 'northward_wind_component'
    elif datatype == 'w':
        field_name = 'vertical_wind_component'
    elif datatype == 'width':
        field_name = 'height_resolution'
    elif datatype == 'gap':
        field_name = 'gap'
    elif datatype == 'dbz':
        field_name = 'bird_reflectivity'
    elif datatype == 'eta':
        field_name = 'volumetric_reflectivity'
    elif datatype == 'dens':
        field_name = 'bird_density'
    elif datatype == 'n':
        field_name = 'number_of_samples_velocity'
    elif datatype == 'n_dbz':
        field_name = 'number_of_samples_reflectivity'
    elif datatype == 'sd_vvp':
        field_name = 'retrieved_velocity_std'
    elif datatype == 'DBZH':
        field_name = 'reflectivity'
    elif datatype == 'n_all':
        field_name = 'number_of_samples_velocity_all'
    elif datatype == 'n_dbz_all':
        field_name = 'number_of_samples_reflectivity_all'
    elif datatype == 'wind_vel_rad':
        field_name = 'radial_wind_speed'
    elif datatype == 'wind_vel_rad_ci':
        field_name = 'radial_wind_speed_ci'
    elif datatype == 'wind_vel_rad_status':
        field_name = 'radial_wind_speed_status'
    elif datatype == 'WD':
        field_name = 'doppler_spectrum_width'
    elif datatype == 'WD_err':
        field_name = 'doppler_spectrum_mean_error'
    elif datatype == 'atmos_type':
        field_name = 'atmospherical_structures_type'
    elif datatype == 'beta_rel':
        field_name = 'relative_beta'
    elif datatype == 'beta_abs':
        field_name = 'absolute_beta'
    elif datatype == 'CNR':
        field_name = 'cnr'
    elif datatype == 'SNR':
        field_name = 'SNR'
    elif datatype == 'VEL':
        field_name = 'VEL'
    elif datatype == 'RMS':
        field_name = 'RMS'
    elif datatype == 'LDR':
        field_name = 'LDR'
    elif datatype == 'NPK':
        field_name = 'NPK'
    elif datatype == 'SNRgc':
        field_name = 'SNRgc'
    elif datatype == 'VELgc':
        field_name = 'VELgc'
    elif datatype == 'RMSgc':
        field_name = 'RMSgc'
    elif datatype == 'LDRgc':
        field_name = 'LDRgc'
    elif datatype == 'NPKgc':
        field_name = 'NPKgc'
    elif datatype == 'SNRg':
        field_name = 'SNRg'
    elif datatype == 'VELg':
        field_name = 'VELg'
    elif datatype == 'RMSg':
        field_name = 'RMSg'
    elif datatype == 'LDRg':
        field_name = 'LDRg'
    elif datatype == 'NPKg':
        field_name = 'NPKg'
    elif datatype == 'SNRplank':
        field_name = 'SNRplank'
    elif datatype == 'VELplank':
        field_name = 'VELplank'
    elif datatype == 'RMSplank':
        field_name = 'RMSplank'
    elif datatype == 'LDRplank':
        field_name = 'LDRplank'
    elif datatype == 'NPKplank':
        field_name = 'NPKplank'
    elif datatype == 'SNRrain':
        field_name = 'SNRrain'
    elif datatype == 'VELrain':
        field_name = 'VELrain'
    elif datatype == 'RMSrain':
        field_name = 'RMSrain'
    elif datatype == 'LDRrain':
        field_name = 'LDRrain'
    elif datatype == 'NPKrain':
        field_name = 'NPKrain'
    elif datatype == 'SNRcl':
        field_name = 'SNRcl'
    elif datatype == 'VELcl':
        field_name = 'VELcl'
    elif datatype == 'RMScl':
        field_name = 'RMScl'
    elif datatype == 'LDRcl':
        field_name = 'LDRcl'
    elif datatype == 'NPKcl':
        field_name = 'NPKcl'
    elif datatype == 'SNRice':
        field_name = 'SNRice'
    elif datatype == 'VELice':
        field_name = 'VELice'
    elif datatype == 'RMSice':
        field_name = 'RMSice'
    elif datatype == 'LDRice':
        field_name = 'LDRice'
    elif datatype == 'NPKice':
        field_name = 'NPKice'
    elif datatype == 'RHO':
        field_name = 'RHO'
    elif datatype == 'DPS':
        field_name = 'DPS'
    elif datatype == 'LDRnormal':
        field_name = 'LDRnormal'
    elif datatype == 'RHOwav':
        field_name = 'RHOwav'
    elif datatype == 'DPSwav':
        field_name = 'DPSwav'
    elif datatype == 'SKWg':
        field_name = 'SKWg'
    elif datatype == 'HSDco':
        field_name = 'HSDco'
    elif datatype == 'HSDcx':
        field_name = 'HSDcx'
    elif datatype == 'Ze':
        field_name = 'Ze'
    elif datatype == 'Zg':
        field_name = 'Zg'
    elif datatype == 'Z':
        field_name = 'Z'
    elif datatype == 'RRcr':
        field_name = 'RR'
    elif datatype == 'LWCcr':
        field_name = 'LWC'
    elif datatype == 'TEMPcr':
        field_name = 'TEMP'
    elif datatype == 'ISDRco':
        field_name = 'ISDRco'
    elif datatype == 'ISDRcx':
        field_name = 'ISDRcx'
    elif datatype == 'SNRcx':
        field_name = 'SNRcx'
    elif datatype == 'SNRCorFaCo':
        field_name = 'SNRCorFaCo'
    elif datatype == 'SNRCorFaCo':
        field_name = 'SNRCorFaCo'
    elif datatype == 'avgdBZ':
        field_name = 'avg_reflectivity'
    elif datatype == 'NdBZ':
        field_name = 'npoints_reflectivity'
    elif datatype == 'quant05dBZ':
        field_name = 'quant05_reflectivity'
    elif datatype == 'quant10dBZ':
        field_name = 'quant10_reflectivity'
    elif datatype == 'quant20dBZ':
        field_name = 'quant20_reflectivity'
    elif datatype == 'quant50dBZ':
        field_name = 'quant50_reflectivity'
    elif datatype == 'quant80dBZ':
        field_name = 'quant80_reflectivity'
    elif datatype == 'quant90dBZ':
        field_name = 'quant90_reflectivity'
    elif datatype == 'quant95dBZ':
        field_name = 'quant95_reflectivity'
    elif datatype == 'avgRR':
        field_name = 'avg_radar_estimated_rain_rate'
    elif datatype == 'NRR':
        field_name = 'npoints_radar_estimated_rain_rate'
    elif datatype == 'quant05RR':
        field_name = 'quant05_radar_estimated_rain_rate'
    elif datatype == 'quant10RR':
        field_name = 'quant10_radar_estimated_rain_rate'
    elif datatype == 'quant20RR':
        field_name = 'quant20_radar_estimated_rain_rate'
    elif datatype == 'quant50RR':
        field_name = 'quant50_radar_estimated_rain_rate'
    elif datatype == 'quant80RR':
        field_name = 'quant80_radar_estimated_rain_rate'
    elif datatype == 'quant90RR':
        field_name = 'quant90_radar_estimated_rain_rate'
    elif datatype == 'quant95RR':
        field_name = 'quant95_radar_estimated_rain_rate'
    elif datatype == 'avgV':
        field_name = 'avg_velocity'
    elif datatype == 'NV':
        field_name = 'npoints_velocity'
    elif datatype == 'quant05V':
        field_name = 'quant05_velocity'
    elif datatype == 'quant10V':
        field_name = 'quant10_velocity'
    elif datatype == 'quant20V':
        field_name = 'quant20_velocity'
    elif datatype == 'quant50V':
        field_name = 'quant50_velocity'
    elif datatype == 'quant80V':
        field_name = 'quant80_velocity'
    elif datatype == 'quant90V':
        field_name = 'quant90_velocity'
    elif datatype == 'quant95V':
        field_name = 'quant95_velocity'
    elif datatype == 'avgVc':
        field_name = 'avg_corrected_velocity'
    elif datatype == 'NVc':
        field_name = 'npoints_corrected_velocity'
    elif datatype == 'quant05Vc':
        field_name = 'quant05_corrected_velocity'
    elif datatype == 'quant10Vc':
        field_name = 'quant10_corrected_velocity'
    elif datatype == 'quant20Vc':
        field_name = 'quant20_corrected_velocity'
    elif datatype == 'quant50Vc':
        field_name = 'quant50_corrected_velocity'
    elif datatype == 'quant80Vc':
        field_name = 'quant80_corrected_velocity'
    elif datatype == 'quant90Vc':
        field_name = 'quant90_corrected_velocity'
    elif datatype == 'quant95Vc':
        field_name = 'quant95_corrected_velocity'
    else:
        raise ValueError('ERROR: Unknown data type ' + datatype)
    return field_name
