Hydrometeor partitioning ratio retrievals for Ground Radar#
In this notebook, measurements from NEXRAD’s KDDC ground radar are used to derive Hydrometeor Partitioning Ratios (HPR) following Pejcic et al. 2025 (in review). This requires the horizontal reflectivity, differential reflectivity, specific differential phase, cross correlation coefficient, temperature information and rain type. The temperature information is derived from sounding and a rain type classification is applied following Park et al. The HPRs for the different hydrometeor classes are then presented.
[1]:
import wradlib as wrl
import wradlib_data
import numpy as np
import warnings
warnings.filterwarnings("ignore")
import matplotlib.pyplot as plt
try:
get_ipython().run_line_magic("matplotlib inline")
except:
plt.ion()
import glob
import xarray as xr
import datetime as dt
import xradar as xd
import scipy
Read centroids, covariances and weights#
[2]:
cdp_file = wradlib_data.DATASETS.fetch("misc/hmcp_centroids_dp.nc")
with xr.open_dataset(cdp_file) as cdp:
pass
cdp
Downloading file 'misc/hmcp_centroids_dp.nc' from 'https://github.com/wradlib/wradlib-data/raw/main/data/misc/hmcp_centroids_dp.nc' to '/home/runner/work/wradlib/wradlib/wradlib-data'.
[2]:
<xarray.Dataset> Size: 3kB Dimensions: (obs: 5, hmc: 11, obscov: 5) Coordinates: * obs (obs) <U3 60B 'ZH' 'ZDR' 'KDP' 'RHO' 'RT' * hmc (hmc) <U2 88B 'LR' 'MR' 'HR' 'BD' 'RH' ... 'IC' 'WS' 'SN' 'DP' 'DH' Dimensions without coordinates: obscov Data variables: ave (hmc, obs) float64 440B ... cov (hmc, obs, obscov) float64 2kB ... Attributes: title: NEXRAD data based centroids and covariances for specific hy... institution: Institute of Geosciences, Meteorology Section, University o... source: Dual polarimetric quality control for NASA’s Global Precipi... version: 1 history: NEXRAD data based centroids and covariances for specific hy... references: . comment: Created with wradlib.
- obs: 5
- hmc: 11
- obscov: 5
- obs(obs)<U3'ZH' 'ZDR' 'KDP' 'RHO' 'RT'
- standard_name :
- observations
array(['ZH', 'ZDR', 'KDP', 'RHO', 'RT'], dtype='<U3')
- hmc(hmc)<U2'LR' 'MR' 'HR' ... 'SN' 'DP' 'DH'
- standard_name :
- hydrometeorclasses
array(['LR', 'MR', 'HR', 'BD', 'RH', 'GR', 'IC', 'WS', 'SN', 'DP', 'DH'], dtype='<U2')
- ave(hmc, obs)float64...
- standard_name :
- averaged observations
[55 values with dtype=float64]
- cov(hmc, obs, obscov)float64...
- standard_name :
- covariances of averaged observations
[275 values with dtype=float64]
- obsPandasIndex
PandasIndex(Index(['ZH', 'ZDR', 'KDP', 'RHO', 'RT'], dtype='object', name='obs'))
- hmcPandasIndex
PandasIndex(Index(['LR', 'MR', 'HR', 'BD', 'RH', 'GR', 'IC', 'WS', 'SN', 'DP', 'DH'], dtype='object', name='hmc'))
- title :
- NEXRAD data based centroids and covariances for specific hydrometeor classes.
- institution :
- Institute of Geosciences, Meteorology Section, University of Bonn, Germany.
- source :
- Dual polarimetric quality control for NASA’s Global Precipitation Measurement (GPM) Mission Ground Validation program. 36th Conf. on Radar Meteorology, Breckenridge, CO, Amer. Meteor. Soc, https://ams.confex.com/ams/36Radar/webprogram/Handout/Paper228522/36radarposter.pdf
- version :
- 1
- history :
- NEXRAD data based centroids and covariances for specific hydrometeor classes categorized according to NEXRAD based hydrometeor classification.
- references :
- .
- comment :
- Created with wradlib.
[3]:
weights_file = wradlib_data.DATASETS.fetch("misc/hmcp_weights.nc")
with xr.open_dataset(weights_file) as cw:
pass
cw
[3]:
<xarray.Dataset> Size: 6kB Dimensions: (hmc: 11, temp: 58) Coordinates: * temp (temp) int64 464B -80 -78 -76 -74 -72 -70 -68 ... 24 26 28 30 32 34 * hmc (hmc) <U2 88B 'LR' 'MR' 'HR' 'BD' 'RH' ... 'IC' 'WS' 'SN' 'DP' 'DH' Data variables: weights (hmc, temp) float64 5kB ... Attributes: title: NEXRAD data based weights for specific hydrometeor classes ... institution: Institute of Geosciences, Meteorology Section, University o... source: Dual polarimetric quality control for NASA’s Global Precipi... version: 1 history: NEXRAD data based weights for specific hydrometeor classes ... references: . comment: Created with wradlib.
- hmc: 11
- temp: 58
- temp(temp)int64-80 -78 -76 -74 -72 ... 28 30 32 34
- standard_name :
- temperature
- units :
- degree_C
array([-80, -78, -76, -74, -72, -70, -68, -66, -64, -62, -60, -58, -56, -54, -52, -50, -48, -46, -44, -42, -40, -38, -36, -34, -32, -30, -28, -26, -24, -22, -20, -18, -16, -14, -12, -10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34])
- hmc(hmc)<U2'LR' 'MR' 'HR' ... 'SN' 'DP' 'DH'
- standard_name :
- hydrometeorclasses
array(['LR', 'MR', 'HR', 'BD', 'RH', 'GR', 'IC', 'WS', 'SN', 'DP', 'DH'], dtype='<U2')
- weights(hmc, temp)float64...
- standard_name :
- relative occurrence weighting function
[638 values with dtype=float64]
- tempPandasIndex
PandasIndex(Index([-80, -78, -76, -74, -72, -70, -68, -66, -64, -62, -60, -58, -56, -54, -52, -50, -48, -46, -44, -42, -40, -38, -36, -34, -32, -30, -28, -26, -24, -22, -20, -18, -16, -14, -12, -10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34], dtype='int64', name='temp'))
- hmcPandasIndex
PandasIndex(Index(['LR', 'MR', 'HR', 'BD', 'RH', 'GR', 'IC', 'WS', 'SN', 'DP', 'DH'], dtype='object', name='hmc'))
- title :
- NEXRAD data based weights for specific hydrometeor classes in different temperature layers.
- institution :
- Institute of Geosciences, Meteorology Section, University of Bonn, Germany
- source :
- Dual polarimetric quality control for NASA’s Global Precipitation Measurement (GPM) Mission Ground Validation program. 36th Conf. on Radar Meteorology, Breckenridge, CO, Amer. Meteor. Soc, https://ams.confex.com/ams/36Radar/webprogram/Handout/Paper228522/36radarposter.pdf
- version :
- 1
- history :
- NEXRAD data based weights for specific hydrometeor classes in different temperature layers categorized according to NEXRAD based hydrometeor classification.
- references :
- .
- comment :
- Created with wradlib.
Read polarimetric radar observations#
[4]:
volume = wradlib_data.DATASETS.fetch("netcdf/KDDC_2018_0625_051138_min.cf")
gr_data = xd.io.open_cfradial1_datatree(volume)
gr_data
Downloading file 'netcdf/KDDC_2018_0625_051138_min.cf' from 'https://github.com/wradlib/wradlib-data/raw/main/data/netcdf/KDDC_2018_0625_051138_min.cf' to '/home/runner/work/wradlib/wradlib/wradlib-data'.
[4]:
<xarray.DatasetView> Size: 696B Dimensions: (sweep: 14, frequency: 1) Coordinates: * frequency (frequency) float32 4B 2.998e+09 Dimensions without coordinates: sweep Data variables: altitude float64 8B ... sweep_fixed_angle (sweep) float32 56B ... instrument_type |S32 32B ... latitude float64 8B ... longitude float64 8B ... platform_type |S32 32B ... primary_axis |S32 32B ... sweep_group_name (sweep) <U8 448B 'sweep_0' 'sweep_1' ... 'sweep_13' time_coverage_end |S32 32B ... time_coverage_start |S32 32B ... volume_number int32 4B ... Attributes: Conventions: CF/Radial instrument_parameters radar_parameters title: institution: NASA GSFC references: https://github.com/GPM-GV/GVradar source: GVradar V1.1 comment: instrument_name: KDDC site_name: KDDC platform_is_mobile: false ray_times_increase: true version: VN V2.1 history: Mon Mar 10 10:45:42 2025: ncks -x -v DZ,PH,VR,SW,SD,...
<xarray.DatasetView> Size: 21MB Dimensions: (sweep: 14, frequency: 1, azimuth: 720, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 3kB 0.2656 0.75 1.203 ... 359.3 359.7 elevation (azimuth) float32 3kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:11:51 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 5MB ... DR (azimuth, range) float32 5MB ... KD (azimuth, range) float32 5MB ... RH (azimuth, range) float32 5MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 3kB ... prt (azimuth) timedelta64[ns] 6kB ... pulse_width (azimuth) timedelta64[ns] 6kB ... scan_rate (azimuth) float32 3kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 3kB ...
sweep_0- sweep: 14
- frequency: 1
- azimuth: 720
- range: 1832
- azimuth(azimuth)float320.2656 0.75 1.203 ... 359.3 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.500000e-01, 1.203125e+00, ..., 3.587188e+02, 3.592656e+02, 3.597344e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[720 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:11:51 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', ..., '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000'], shape=(720,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[1319040 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[1319040 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[1319040 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[1319040 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
<xarray.DatasetView> Size: 21MB Dimensions: (sweep: 14, frequency: 1, azimuth: 720, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 3kB 0.25 0.7656 1.25 ... 359.2 359.7 elevation (azimuth) float32 3kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:12:32 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 5MB ... DR (azimuth, range) float32 5MB ... KD (azimuth, range) float32 5MB ... RH (azimuth, range) float32 5MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 3kB ... prt (azimuth) timedelta64[ns] 6kB ... pulse_width (azimuth) timedelta64[ns] 6kB ... scan_rate (azimuth) float32 3kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 3kB ...
sweep_1- sweep: 14
- frequency: 1
- azimuth: 720
- range: 1832
- azimuth(azimuth)float320.25 0.7656 1.25 ... 359.2 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.500000e-01, 7.656250e-01, 1.250000e+00, ..., 3.587500e+02, 3.592188e+02, 3.597188e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[720 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:12:32 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:12:32.000000000', '2018-06-25T05:12:32.000000000', '2018-06-25T05:12:32.000000000', ..., '2018-06-25T05:12:32.000000000', '2018-06-25T05:12:32.000000000', '2018-06-25T05:12:32.000000000'], shape=(720,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[1319040 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[1319040 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[1319040 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[1319040 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
<xarray.DatasetView> Size: 21MB Dimensions: (sweep: 14, frequency: 1, azimuth: 720, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 3kB 0.2656 0.7344 1.219 ... 359.2 359.7 elevation (azimuth) float32 3kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:13:13 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 5MB ... DR (azimuth, range) float32 5MB ... KD (azimuth, range) float32 5MB ... RH (azimuth, range) float32 5MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 3kB ... prt (azimuth) timedelta64[ns] 6kB ... pulse_width (azimuth) timedelta64[ns] 6kB ... scan_rate (azimuth) float32 3kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 3kB ...
sweep_2- sweep: 14
- frequency: 1
- azimuth: 720
- range: 1832
- azimuth(azimuth)float320.2656 0.7344 1.219 ... 359.2 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.343750e-01, 1.218750e+00, ..., 3.587344e+02, 3.592188e+02, 3.597031e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[720 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:13:13 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', ..., '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000'], shape=(720,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[1319040 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[1319040 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[1319040 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[1319040 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5938 1.578 2.578 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:14:34 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_3- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5938 1.578 2.578 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.59375 , 1.578125, 2.578125, ..., 357.57812 , 358.57812 , 359.57812 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:14:34 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:14:34.000000000', '2018-06-25T05:14:34.000000000', '2018-06-25T05:14:34.000000000', ..., '2018-06-25T05:14:34.000000000', '2018-06-25T05:14:34.000000000', '2018-06-25T05:14:34.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5781 1.578 2.578 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:14:47 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_4- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5781 1.578 2.578 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.578125, 1.578125, 2.578125, ..., 357.57812 , 358.57812 , 359.59375 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:14:47 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:14:47.000000000', '2018-06-25T05:14:47.000000000', '2018-06-25T05:14:47.000000000', ..., '2018-06-25T05:14:47.000000000', '2018-06-25T05:14:47.000000000', '2018-06-25T05:14:47.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5938 1.562 2.562 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:14:59 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_5- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5938 1.562 2.562 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.59375, 1.5625 , 2.5625 , ..., 357.57812, 358.57812, 359.57812], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:14:59 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:14:59.000000000', '2018-06-25T05:14:59.000000000', '2018-06-25T05:14:59.000000000', ..., '2018-06-25T05:14:59.000000000', '2018-06-25T05:14:59.000000000', '2018-06-25T05:14:59.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5625 1.578 2.578 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:15:12 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_6- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5625 1.578 2.578 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.5625 , 1.578125, 2.578125, ..., 357.57812 , 358.57812 , 359.5625 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:15:12 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:15:12.000000000', '2018-06-25T05:15:12.000000000', '2018-06-25T05:15:12.000000000', ..., '2018-06-25T05:15:12.000000000', '2018-06-25T05:15:12.000000000', '2018-06-25T05:15:12.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5625 1.594 2.578 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:15:25 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_7- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5625 1.594 2.578 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.5625 , 1.59375 , 2.578125, ..., 357.57812 , 358.5625 , 359.57812 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:15:25 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:15:25.000000000', '2018-06-25T05:15:25.000000000', '2018-06-25T05:15:25.000000000', ..., '2018-06-25T05:15:25.000000000', '2018-06-25T05:15:25.000000000', '2018-06-25T05:15:25.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5781 1.562 2.578 ... 358.6 359.6 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:16:33 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_8- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5781 1.562 2.578 ... 358.6 359.6
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.578125, 1.5625 , 2.578125, ..., 357.5625 , 358.57812 , 359.59375 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:16:33 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:16:33.000000000', '2018-06-25T05:16:33.000000000', '2018-06-25T05:16:33.000000000', ..., '2018-06-25T05:16:33.000000000', '2018-06-25T05:16:33.000000000', '2018-06-25T05:16:33.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5 1.5 2.5 ... 357.5 358.5 359.5 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:16:45 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_9- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5 1.5 2.5 ... 357.5 358.5 359.5
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.5 , 1.5 , 2.5 , ..., 357.5 , 358.51562, 359.5 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:16:45 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:16:45.000000000', '2018-06-25T05:16:45.000000000', '2018-06-25T05:16:46.000000000', ..., '2018-06-25T05:16:45.000000000', '2018-06-25T05:16:45.000000000', '2018-06-25T05:16:45.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5 1.516 2.5 ... 357.5 358.5 359.5 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:16:58 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_10- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5 1.516 2.5 ... 357.5 358.5 359.5
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.5 , 1.515625, 2.5 , ..., 357.5 , 358.5 , 359.48438 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:16:58 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:16:58.000000000', '2018-06-25T05:16:58.000000000', '2018-06-25T05:16:58.000000000', ..., '2018-06-25T05:16:58.000000000', '2018-06-25T05:16:58.000000000', '2018-06-25T05:16:58.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.4844 1.5 2.5 ... 358.5 359.5 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:17:10 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_11- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.4844 1.5 2.5 ... 358.5 359.5
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.484375, 1.5 , 2.5 , ..., 357.5 , 358.5 , 359.5 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:17:10 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:17:10.000000000', '2018-06-25T05:17:10.000000000', '2018-06-25T05:17:10.000000000', ..., '2018-06-25T05:17:10.000000000', '2018-06-25T05:17:10.000000000', '2018-06-25T05:17:10.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5156 1.484 2.5 ... 358.5 359.5 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:17:22 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_12- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5156 1.484 2.5 ... 358.5 359.5
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.515625, 1.484375, 2.5 , ..., 357.5 , 358.48438 , 359.51562 ], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:17:22 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:17:22.000000000', '2018-06-25T05:17:22.000000000', '2018-06-25T05:17:22.000000000', ..., '2018-06-25T05:17:22.000000000', '2018-06-25T05:17:22.000000000', '2018-06-25T05:17:22.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 11MB Dimensions: (sweep: 14, frequency: 1, azimuth: 360, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 1kB 0.5 1.5 2.5 ... 357.5 358.5 359.5 elevation (azimuth) float32 1kB ... * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 3kB 2018-06-25T05:17:34 ... 2... latitude float64 8B ... longitude float64 8B ... altitude float64 8B ... Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 3MB ... DR (azimuth, range) float32 3MB ... KD (azimuth, range) float32 3MB ... RH (azimuth, range) float32 3MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 1kB ... prt (azimuth) timedelta64[ns] 3kB ... pulse_width (azimuth) timedelta64[ns] 3kB ... scan_rate (azimuth) float32 1kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 1kB ...
sweep_13- sweep: 14
- frequency: 1
- azimuth: 360
- range: 1832
- azimuth(azimuth)float320.5 1.5 2.5 ... 357.5 358.5 359.5
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([ 0.5 , 1.5 , 2.5 , ..., 357.5 , 358.51562, 359.51562], shape=(360,), dtype=float32)
- elevation(azimuth)float32...
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
[360 values with dtype=float32]
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:17:34 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:17:34.000000000', '2018-06-25T05:17:34.000000000', '2018-06-25T05:17:34.000000000', ..., '2018-06-25T05:17:34.000000000', '2018-06-25T05:17:34.000000000', '2018-06-25T05:17:34.000000000'], shape=(360,), dtype='datetime64[ns]')
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[659520 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[659520 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[659520 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[659520 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[360 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[360 values with dtype=float32]
<xarray.DatasetView> Size: 12B Dimensions: (sweep: 14, frequency: 1) Coordinates: * frequency (frequency) float32 4B 2.998e+09 Dimensions without coordinates: sweep Data variables: radar_beam_width_v float32 4B ... radar_beam_width_h float32 4B ...
radar_parameters- sweep: 14
- frequency: 1
- radar_beam_width_v()float32...
- units :
- degrees
- standard_name :
- half_power_radar_beam_width_v_channel
- meta_group :
- radar_parameters
[1 values with dtype=float32]
- radar_beam_width_h()float32...
- units :
- degrees
- standard_name :
- half_power_radar_beam_width_h_channel
- meta_group :
- radar_parameters
[1 values with dtype=float32]
<xarray.DatasetView> Size: 4B Dimensions: (sweep: 14, frequency: 1) Coordinates: * frequency (frequency) float32 4B 2.998e+09 Dimensions without coordinates: sweep Data variables: *empty*
georeferencing_correction- sweep: 14
- frequency: 1
<xarray.DatasetView> Size: 4B Dimensions: (sweep: 14, frequency: 1) Coordinates: * frequency (frequency) float32 4B 2.998e+09 Dimensions without coordinates: sweep Data variables: *empty*
radar_calibration- sweep: 14
- frequency: 1
- sweep: 14
- frequency: 1
- frequency(frequency)float322.998e+09
- units :
- s-1
- standard_name :
- radiation_frequency
- meta_group :
- instrument_parameters
array([2.998e+09], dtype=float32)
- altitude()float64...
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
[1 values with dtype=float64]
- sweep_fixed_angle(sweep)float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[14 values with dtype=float32]
- instrument_type()|S32...
- long_name :
- Instrument type
[1 values with dtype=|S32]
- latitude()float64...
- units :
- degrees_north
- standard_name :
- latitude
[1 values with dtype=float64]
- longitude()float64...
- units :
- degrees_east
- standard_name :
- longitude
[1 values with dtype=float64]
- platform_type()|S32...
- long_name :
- Platform type
[1 values with dtype=|S32]
- primary_axis()|S32...
- long_name :
- Primary axis
[1 values with dtype=|S32]
- sweep_group_name(sweep)<U8'sweep_0' 'sweep_1' ... 'sweep_13'
array(['sweep_0', 'sweep_1', 'sweep_2', 'sweep_3', 'sweep_4', 'sweep_5', 'sweep_6', 'sweep_7', 'sweep_8', 'sweep_9', 'sweep_10', 'sweep_11', 'sweep_12', 'sweep_13'], dtype='<U8')
- time_coverage_end()|S32...
- long_name :
- UTC time of last ray in the file
- units :
- unitless
[1 values with dtype=|S32]
- time_coverage_start()|S32...
- long_name :
- UTC time of first ray in the file
- units :
- unitless
[1 values with dtype=|S32]
- volume_number()int32...
- long_name :
- Volume number
- units :
- unitless
[1 values with dtype=int32]
- Conventions :
- CF/Radial instrument_parameters radar_parameters
- title :
- institution :
- NASA GSFC
- references :
- https://github.com/GPM-GV/GVradar
- source :
- GVradar V1.1
- comment :
- instrument_name :
- KDDC
- site_name :
- KDDC
- platform_is_mobile :
- false
- ray_times_increase :
- true
- version :
- VN V2.1
- history :
- Mon Mar 10 10:45:42 2025: ncks -x -v DZ,PH,VR,SW,SD,FH,DM,NW,MW,MI,RC,RP KDDC_2018_0625_051138.cf KDDC_2018_0625_051138_min.cf
Get Temperature Profile#
We would need the temperature of each radar bin. For that, we use Sounding Data. We also set the max_height to 30km and interpolate the vertical profile with a resolution of 1m.
[5]:
rs_time = dt.datetime.fromisoformat(
str(gr_data.time_coverage_start.values.item().decode())
)
wmoid = 72451
import urllib
try:
rs_ds = wrl.io.get_radiosonde(
wmoid, rs_time, cols=np.arange(13), xarray=True, max_height=30000.0, res=1.0
)
except (urllib.error.HTTPError, urllib.error.URLError):
print("service down")
dataf = wradlib_data.DATASETS.fetch("misc/radiosonde_72451_20180625_0000.h5")
rs_data, _ = wrl.io.from_hdf5(dataf)
metaf = wradlib_data.DATASETS.fetch("misc/radiosonde_72451_20180625_0000.json")
with open(metaf, "r") as infile:
import json
rs_meta = json.load(infile)
rs_ds = wrl.io.radiosonde_to_xarray(
rs_data, meta=rs_meta, max_height=30000.0, res=1.0
)
[6]:
display(rs_ds)
<xarray.Dataset> Size: 3MB Dimensions: (HGHT: 30001) Coordinates: * HGHT (HGHT) float64 240kB 0.0 1.0 2.0 3.0 ... 3e+04 3e+04 3e+04 3e+04 Data variables: PRES (HGHT) float64 240kB 920.0 920.0 920.0 920.0 ... 12.45 12.45 12.44 TEMP (HGHT) float64 240kB 26.0 26.0 26.0 26.0 ... -41.63 -41.63 -41.63 DWPT (HGHT) float64 240kB 16.0 16.0 16.0 16.0 ... -78.16 -78.16 -78.16 FRPT (HGHT) float64 240kB 16.0 16.0 16.0 16.0 ... -73.92 -73.92 -73.91 RELH (HGHT) float64 240kB 54.0 54.0 54.0 54.0 54.0 ... 1.0 1.0 1.0 1.0 RELI (HGHT) float64 240kB 54.0 54.0 54.0 54.0 54.0 ... 1.0 1.0 1.0 1.0 MIXR (HGHT) float64 240kB 12.58 12.58 12.58 12.58 ... 0.07 0.07 0.07 DRCT (HGHT) float64 240kB 100.0 100.0 100.0 100.0 ... 64.02 63.85 63.69 SKNT (HGHT) float64 240kB 4.0 4.0 4.0 4.0 ... 18.42 18.42 18.42 18.43 THTA (HGHT) float64 240kB 306.4 306.4 306.4 306.4 ... 810.4 810.4 810.5 THTE (HGHT) float64 240kB 344.5 344.5 344.5 344.5 ... 811.3 811.3 811.3 THTV (HGHT) float64 240kB 308.7 308.7 308.7 308.7 ... 810.4 810.4 810.5 Attributes: (12/32) Station identifier: DDC Station number: 72451 Observation time: 2018-06-25 00:00:00 Station latitude: 37.76 Station longitude: -99.97 Station elevation: 790.0 ... ... Equivalent potential temp [K] of the LCL: 340.04 Mean mixed layer potential temperature: 305.79 Mean mixed layer mixing ratio: 11.36 1000 hPa to 500 hPa thickness: 5789.0 Precipitable water [mm] for entire sounding: 26.16 quantity: {'PRES': 'hPa', 'HGHT': 'm'...
- HGHT: 30001
- HGHT(HGHT)float640.0 1.0 2.0 ... 3e+04 3e+04 3e+04
array([0.0000e+00, 1.0000e+00, 2.0000e+00, ..., 2.9998e+04, 2.9999e+04, 3.0000e+04], shape=(30001,))
- PRES(HGHT)float64920.0 920.0 920.0 ... 12.45 12.44
array([920. , 920. , 920. , ..., 12.44819672, 12.44622951, 12.4442623 ], shape=(30001,))
- TEMP(HGHT)float6426.0 26.0 26.0 ... -41.63 -41.63
array([ 26. , 26. , 26. , ..., -41.63213115, -41.63081967, -41.6295082 ], shape=(30001,))
- DWPT(HGHT)float6416.0 16.0 16.0 ... -78.16 -78.16
array([ 16. , 16. , 16. , ..., -78.15803279, -78.15770492, -78.15737705], shape=(30001,))
- FRPT(HGHT)float6416.0 16.0 16.0 ... -73.92 -73.91
array([ 16. , 16. , 16. , ..., -73.91606557, -73.91540984, -73.9147541 ], shape=(30001,))
- RELH(HGHT)float6454.0 54.0 54.0 54.0 ... 1.0 1.0 1.0
array([54., 54., 54., ..., 1., 1., 1.], shape=(30001,))
- RELI(HGHT)float6454.0 54.0 54.0 54.0 ... 1.0 1.0 1.0
array([54., 54., 54., ..., 1., 1., 1.], shape=(30001,))
- MIXR(HGHT)float6412.58 12.58 12.58 ... 0.07 0.07
array([12.58, 12.58, 12.58, ..., 0.07, 0.07, 0.07], shape=(30001,))
- DRCT(HGHT)float64100.0 100.0 100.0 ... 63.85 63.69
array([100. , 100. , 100. , ..., 64.01639344, 63.85245902, 63.68852459], shape=(30001,))
- SKNT(HGHT)float644.0 4.0 4.0 ... 18.42 18.42 18.43
array([ 4. , 4. , 4. , ..., 18.41967213, 18.42295082, 18.42622951], shape=(30001,))
- THTA(HGHT)float64306.4 306.4 306.4 ... 810.4 810.5
array([306.4 , 306.4 , 306.4 , ..., 810.41016393, 810.44852459, 810.48688525], shape=(30001,))
- THTE(HGHT)float64344.5 344.5 344.5 ... 811.3 811.3
array([344.5 , 344.5 , 344.5 , ..., 811.25213115, 811.29081967, 811.3295082 ], shape=(30001,))
- THTV(HGHT)float64308.7 308.7 308.7 ... 810.4 810.5
array([308.7 , 308.7 , 308.7 , ..., 810.41016393, 810.44852459, 810.48688525], shape=(30001,))
- HGHTPandasIndex
PandasIndex(Index([ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, ... 29991.0, 29992.0, 29993.0, 29994.0, 29995.0, 29996.0, 29997.0, 29998.0, 29999.0, 30000.0], dtype='float64', name='HGHT', length=30001))
- Station identifier :
- DDC
- Station number :
- 72451
- Observation time :
- 2018-06-25 00:00:00
- Station latitude :
- 37.76
- Station longitude :
- -99.97
- Station elevation :
- 790.0
- Showalter index :
- -0.9
- Lifted index :
- -1.26
- LIFT computed using virtual temperature :
- -1.81
- SWEAT index :
- 206.61
- K index :
- 31.7
- Cross totals index :
- 20.9
- Vertical totals index :
- 26.9
- Totals totals index :
- 47.8
- Convective Available Potential Energy :
- 557.51
- CAPE using virtual temperature :
- 611.47
- Convective Inhibition :
- -362.39
- CINS using virtual temperature :
- -271.35
- Equilibrum Level :
- 252.36
- Equilibrum Level using virtual temperature :
- 252.14
- Level of Free Convection :
- 524.05
- LFCT using virtual temperature :
- 539.51
- Bulk Richardson Number :
- 18.9
- Bulk Richardson Number using CAPV :
- 20.73
- Temp [K] of the Lifted Condensation Level :
- 285.09
- Pres [hPa] of the Lifted Condensation Level :
- 782.47
- Equivalent potential temp [K] of the LCL :
- 340.04
- Mean mixed layer potential temperature :
- 305.79
- Mean mixed layer mixing ratio :
- 11.36
- 1000 hPa to 500 hPa thickness :
- 5789.0
- Precipitable water [mm] for entire sounding :
- 26.16
- quantity :
- {'PRES': 'hPa', 'HGHT': 'm', 'TEMP': 'C', 'DWPT': 'C', 'FRPT': 'C', 'RELH': '%', 'RELI': '%', 'MIXR': 'g/kg', 'DRCT': 'deg', 'SKNT': 'knot', 'THTA': 'K', 'THTE': 'K', 'THTV': 'K'}
Plot Temperature Profile#
[7]:
fig = plt.figure(figsize=(5, 10))
ax = fig.add_subplot(111)
rs_ds.TEMP.plot(y="HGHT", ax=ax, zorder=0, c="r")
ax.grid(True)

get freezing level height#
We need to obtain the freezing level height, which is needed for an ad-hoc retrieval of raintype.
[8]:
fl = np.abs(rs_ds).argmin("HGHT").TEMP
display(fl)
<xarray.DataArray 'TEMP' ()> Size: 8B array(4914)
- 4914
array(4914)
georeference DataTree#
For the interpolation of the temperature sounding data onto the radar sweeps, we need the xyz coordinates of the sweeps.
[9]:
gr_data2 = gr_data.xradar.georeference()
[10]:
gr_data2["sweep_0"]
[10]:
<xarray.DatasetView> Size: 53MB Dimensions: (sweep: 14, frequency: 1, azimuth: 720, range: 1832) Coordinates: * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 3kB 0.2656 0.75 1.203 ... 359.3 359.7 elevation (azimuth) float32 3kB 0.4844 0.4844 ... 0.4844 0.4844 * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:11:51 ... 2... latitude float64 8B 37.76 longitude float64 8B -99.97 altitude float64 8B 789.0 crs_wkt int64 8B 0 x (azimuth, range) float64 11MB 9.85 11.01 ... -2.129e+03 y (azimuth, range) float64 11MB 2.125e+03 ... 4.592e+05 z (azimuth, range) float64 11MB 807.2 809.4 ... 1.711e+04 Dimensions without coordinates: sweep Data variables: CZ (azimuth, range) float32 5MB ... DR (azimuth, range) float32 5MB ... KD (azimuth, range) float32 5MB ... RH (azimuth, range) float32 5MB ... sweep_fixed_angle float32 4B ... nyquist_velocity (azimuth) float32 3kB ... prt (azimuth) timedelta64[ns] 6kB ... pulse_width (azimuth) timedelta64[ns] 6kB ... scan_rate (azimuth) float32 3kB ... sweep_mode <U20 80B 'azimuth_surveillance' sweep_number int32 4B ... unambiguous_range (azimuth) float32 3kB ...
- sweep: 14
- frequency: 1
- azimuth: 720
- range: 1832
- azimuth(azimuth)float320.2656 0.75 1.203 ... 359.3 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.500000e-01, 1.203125e+00, ..., 3.587188e+02, 3.592656e+02, 3.597344e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float320.4844 0.4844 ... 0.4844 0.4844
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
array([0.484375, 0.484375, 0.484375, ..., 0.484375, 0.484375, 0.484375], shape=(720,), dtype=float32)
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:11:51 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', ..., '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000', '2018-06-25T05:11:51.000000000'], shape=(720,), dtype='datetime64[ns]')
- latitude()float6437.76
- units :
- degrees_north
- standard_name :
- latitude
array(37.760834)
- longitude()float64-99.97
- units :
- degrees_east
- standard_name :
- longitude
array(-99.968613)
- altitude()float64789.0
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
array(789.)
- crs_wkt()int640
- crs_wkt :
- PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Azimuthal Equidistant",ID["EPSG",1125]],PARAMETER["Latitude of natural origin",37.7608337402344,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",-99.9686126708984,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- unknown
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- unknown
- grid_mapping_name :
- azimuthal_equidistant
- latitude_of_projection_origin :
- 37.760833740234375
- longitude_of_projection_origin :
- -99.96861267089844
- false_easting :
- 0.0
- false_northing :
- 0.0
array(0)
- x(azimuth, range)float649.85 11.01 ... -2.129e+03
- standard_name :
- east_west_distance_from_radar
- units :
- meters
array([[ 9.85024143e+00, 1.10090901e+01, 1.21679382e+01, ..., 2.12635248e+03, 2.12750694e+03, 2.12866140e+03], [ 2.78117553e+01, 3.10837173e+01, 3.43556776e+01, ..., 6.00366959e+03, 6.00692916e+03, 6.01018873e+03], [ 4.46126862e+01, 4.98612227e+01, 5.51097565e+01, ..., 9.63045389e+03, 9.63568256e+03, 9.64091121e+03], ..., [-4.75091967e+01, -5.30984983e+01, -5.86877969e+01, ..., -1.02557180e+04, -1.02612861e+04, -1.02668543e+04], [-2.72322593e+01, -3.04360455e+01, -3.36398300e+01, ..., -5.87857490e+03, -5.88176656e+03, -5.88495821e+03], [-9.85041655e+00, -1.10092858e+01, -1.21681545e+01, ..., -2.12639028e+03, -2.12754477e+03, -2.12869924e+03]], shape=(720, 1832))
- y(azimuth, range)float642.125e+03 2.375e+03 ... 4.592e+05
- standard_name :
- north_south_distance_from_radar
- units :
- meters
array([[ 2124.69936416, 2374.66329154, 2624.62709043, ..., 458654.7238703 , 458903.74153915, 459152.75834036], [ 2124.54017352, 2374.48537264, 2624.43044328, ..., 458620.35969608, 458869.35870758, 459118.35685149], [ 2124.25370635, 2374.16520355, 2624.07657228, ..., 458558.52058545, 458807.4860226 , 459056.45059228], ..., [ 2124.19089127, 2374.09499848, 2623.99897723, ..., 458544.96081583, 458793.91889096, 459042.87609866], [ 2124.54764547, 2374.49372365, 2624.43967334, ..., 458621.97265255, 458870.97253977, 459119.9715594 ], [ 2124.69936416, 2374.66329154, 2624.62709043, ..., 458654.7238703 , 458903.74153915, 459152.75834036]], shape=(720, 1832))
- z(azimuth, range)float64807.2 809.4 ... 1.709e+04 1.711e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628], [ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628], [ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628], ..., [ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628], [ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628], [ 807.23018763, 809.40986191, 811.59689535, ..., 17078.39910907, 17094.00657487, 17109.62050628]], shape=(720, 1832))
- frequency(frequency)float322.998e+09
- units :
- s-1
- standard_name :
- radiation_frequency
- meta_group :
- instrument_parameters
array([2.998e+09], dtype=float32)
- CZ(azimuth, range)float32...
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
[1319040 values with dtype=float32]
- DR(azimuth, range)float32...
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
[1319040 values with dtype=float32]
- KD(azimuth, range)float32...
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
[1319040 values with dtype=float32]
- RH(azimuth, range)float32...
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
[1319040 values with dtype=float32]
- sweep_fixed_angle()float32...
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
[1 values with dtype=float32]
- nyquist_velocity(azimuth)float32...
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- prt(azimuth)timedelta64[ns]...
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- pulse_width(azimuth)timedelta64[ns]...
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
[720 values with dtype=timedelta64[ns]]
- scan_rate(azimuth)float32...
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
- sweep_mode()<U20'azimuth_surveillance'
array('azimuth_surveillance', dtype='<U20')
- sweep_number()int32...
- standard_name :
- sweep_index_number_0_based
[1 values with dtype=int32]
- unambiguous_range(azimuth)float32...
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
[720 values with dtype=float32]
Interpolate Temperature onto sweeps#
The following function interpolates the vertical temperature profile onto the radar sweeps.
[11]:
def merge_radar_profile(rds, cds):
if "z" in rds.coords:
cds = cds.interp({"HGHT": rds.z}, method="linear")
rds = rds.assign({"TEMP": cds})
return rds
gr_data3 = gr_data2.map_over_datasets(merge_radar_profile, rs_ds.TEMP)
[12]:
gr_data3["sweep_1"].TEMP.plot(x="x", y="y")
[12]:
<matplotlib.collections.QuadMesh at 0x7f25dbc0f4d0>

Ad-hoc retrieval of raintype#
The following algorithm of raintype estimation is derived after (Park et al.).
keep all radar bins >= 45 dBZ
keep all radar bins > 30 dBZ and height > fl + 1600m
combine 1 and 2
iterate over x,y pairs and fetch from whole tree to set as convective.
[13]:
def mask_data(rds, fl):
if "z" in rds.coords:
# Thresholding and smoothing (Park et al.)
# -----------------------------------------
xwin_zh = 5
rds = rds.where(rds.RH > 0.8)
rds["CZ"] = rds.CZ.rolling(
range=xwin_zh, min_periods=xwin_zh // 2, center=True
).mean(skipna=True)
mask = (rds.CZ >= 45) | ((rds.CZ > 30) & (rds.z > (fl + 1600)))
rds = rds.assign(mask=mask)
return rds
gr_data4 = gr_data3.map_over_datasets(mask_data, fl)
Extract xyz bin coordinates#
This iterates over the whole DataTree and extracts the RainType-mask as 1-dimensional array. This keeps only valid values.
[14]:
def get_xyz(tree):
swp_list = []
for key in list(tree.children):
if "sweep" in key:
ds = tree[key].ds.stack(npoints=("azimuth", "range"))
ds = ds.reset_coords().where(ds.mask, drop=True)
swp_list.append(ds.mask)
return xr.concat(swp_list, "npoints")
Interpolation of RainType mask#
This interpolates the RainType for all sweeps, to get a vertically consistent RainType. For this a KDTree is created containing the valid values from above, which is used for the Nearest interpolator. The ROI (maxdist) is assumed to be the current range resolution, but can be specified as keyword argument.
[15]:
%%time
from scipy import spatial
kwargs = dict(balanced_tree=True)
xyz = get_xyz(gr_data4)
src = np.vstack([xyz.x.values, xyz.y.values]).T
kdtree = spatial.KDTree(src, **kwargs)
def get_range_res(rng):
return rng.range.diff("range").median("range").values
def ipol_mask(swp, xyz, kdtree, maxdist=None):
if "z" in swp.coords:
if maxdist is None:
maxdist = swp.range.attrs.get(
"meters_between_gates", get_range_res(swp.range)
)
trg = np.vstack([swp.x.values.ravel(), swp.y.values.ravel()]).T
nn = wrl.ipol.Nearest(kdtree, trg)
out = nn(xyz.values, maxdist=maxdist).reshape(swp.x.shape)
swp = swp.assign(rt=(swp.x.dims, out))
swp["rt"] = xr.where(swp["rt"] == 1, 2, 1)
return swp
gr_data5 = gr_data4.map_over_datasets(ipol_mask, xyz, kdtree)
CPU times: user 24.9 s, sys: 498 ms, total: 25.4 s
Wall time: 25.4 s
[16]:
gr_data5["sweep_0"].rt.plot(x="x", y="y")
[16]:
<matplotlib.collections.QuadMesh at 0x7f25c9ab4530>

ZDR Offset retrieval#
The ZDR offset was retrieved following A. Ryzhkov & D. Zrnic 2019, 6.2.3 Z-ZDR Consistency in Light Rain, pp. 153-156.
[17]:
zdr_offset = 0.5
Extract sweep 2 for further processing#
[18]:
swp = gr_data5["sweep_2"].ds
swp
[18]:
<xarray.DatasetView> Size: 149MB Dimensions: (azimuth: 720, range: 1832, frequency: 1) Coordinates: (12/13) * frequency (frequency) float32 4B 2.998e+09 * azimuth (azimuth) float32 3kB 0.2656 0.7344 1.219 ... 359.2 359.7 elevation (azimuth) float32 3kB 1.312 1.312 1.312 ... 1.312 1.312 * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:13:13 ... 2... latitude float64 8B 37.76 ... ... altitude float64 8B 789.0 crs_wkt int64 8B 0 x (azimuth, range) float64 11MB 9.848 11.01 ... -2.377e+03 y (azimuth, range) float64 11MB 2.124e+03 ... 4.587e+05 z (azimuth, range) float64 11MB 837.9 843.7 ... 2.374e+04 HGHT (azimuth, range) float64 11MB 837.9 843.7 ... 2.374e+04 Data variables: (12/15) CZ (azimuth, range) float32 5MB nan nan nan ... nan nan nan DR (azimuth, range) float32 5MB nan nan nan ... nan nan nan KD (azimuth, range) float32 5MB nan nan nan ... nan nan nan RH (azimuth, range) float32 5MB nan nan nan ... nan nan nan sweep_fixed_angle (azimuth, range) float32 5MB nan nan nan ... nan nan nan nyquist_velocity (azimuth, range) float32 5MB nan nan nan ... nan nan nan ... ... sweep_mode (azimuth, range) object 11MB nan nan nan ... nan nan nan sweep_number (azimuth, range) float64 11MB nan nan nan ... nan nan nan unambiguous_range (azimuth, range) float32 5MB nan nan nan ... nan nan nan TEMP (azimuth, range) float64 11MB nan nan nan ... nan nan nan mask (azimuth, range) bool 1MB False False ... False False rt (azimuth, range) int64 11MB 1 1 1 1 1 1 1 ... 1 1 1 1 1 1
- azimuth: 720
- range: 1832
- frequency: 1
- frequency(frequency)float322.998e+09
- units :
- s-1
- standard_name :
- radiation_frequency
- meta_group :
- instrument_parameters
array([2.998e+09], dtype=float32)
- azimuth(azimuth)float320.2656 0.7344 1.219 ... 359.2 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.343750e-01, 1.218750e+00, ..., 3.587344e+02, 3.592188e+02, 3.597031e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float321.312 1.312 1.312 ... 1.312 1.312
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
array([1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , ... 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 ], dtype=float32)
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:13:13 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', ... '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000'], dtype='datetime64[ns]')
- latitude()float6437.76
- units :
- degrees_north
- standard_name :
- latitude
array(37.76083374)
- longitude()float64-99.97
- units :
- degrees_east
- standard_name :
- longitude
array(-99.96861267)
- altitude()float64789.0
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
array(789.)
- crs_wkt()int640
- crs_wkt :
- PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Azimuthal Equidistant",ID["EPSG",1125]],PARAMETER["Latitude of natural origin",37.7608337402344,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",-99.9686126708984,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- unknown
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- unknown
- grid_mapping_name :
- azimuthal_equidistant
- latitude_of_projection_origin :
- 37.760833740234375
- longitude_of_projection_origin :
- -99.96861267089844
- false_easting :
- 0.0
- false_northing :
- 0.0
array(0)
- x(azimuth, range)float649.848 11.01 ... -2.377e+03
- standard_name :
- east_west_distance_from_radar
- units :
- meters
array([[ 9.84797292e+00, 1.10065513e+01, 1.21651269e+01, ..., 2.12421538e+03, 2.12536776e+03, 2.12652013e+03], [ 2.72261024e+01, 3.04291548e+01, 3.36321997e+01, ..., 5.87269137e+03, 5.87587728e+03, 5.87906317e+03], [ 4.51815766e+01, 5.04970256e+01, 5.58124621e+01, ..., 9.74570104e+03, 9.75098805e+03, 9.75627503e+03], ..., [-4.69190155e+01, -5.24388678e+01, -5.79587072e+01, ..., -1.01204679e+04, -1.01259583e+04, -1.01314485e+04], [-2.89639943e+01, -3.23715034e+01, -3.57790045e+01, ..., -6.24755599e+03, -6.25094526e+03, -6.25433452e+03], [-1.10069068e+01, -1.23018295e+01, -1.35967493e+01, ..., -2.37419831e+03, -2.37548631e+03, -2.37677429e+03]], shape=(720, 1832))
- y(azimuth, range)float642.124e+03 2.374e+03 ... 4.587e+05
- standard_name :
- north_south_distance_from_radar
- units :
- meters
array([[ 2124.210046 , 2374.11566975, 2624.02070832, ..., 458193.75097651, 458442.3192131 , 458690.88636154], [ 2124.05836226, 2373.94614096, 2623.83333454, ..., 458161.03267552, 458409.58316256, 458658.13256153], [ 2123.75233587, 2373.60411168, 2623.45530244, ..., 458095.02254738, 458343.5372242 , 458592.0508131 ], ..., [ 2123.71460486, 2373.56194174, 2623.4086936 , ..., 458086.88393828, 458335.39419994, 458583.9033737 ], [ 2124.03531848, 2373.92038617, 2623.80486873, ..., 458156.0621156 , 458404.60990614, 458653.15660861], [ 2124.20434836, 2374.1093018 , 2624.01367008, ..., 458192.52199192, 458441.08956179, 458689.6560435 ]], shape=(720, 1832))
- z(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- HGHT(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- CZ(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- DR(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- KD(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- RH(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- sweep_fixed_angle(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- units :
- degrees
- standard_name :
- beam_target_fixed_angle
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- nyquist_velocity(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- units :
- meters per second
- standard_name :
- unambiguous_doppler_velocity
- meta_group :
- instrument_parameters
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- prt(azimuth, range)timedelta64[ns]NaT NaT NaT NaT ... NaT NaT NaT NaT
- standard_name :
- pulse_repetition_time
- meta_group :
- instrument_parameters
array([['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ..., ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT']], shape=(720, 1832), dtype='timedelta64[ns]')
- pulse_width(azimuth, range)timedelta64[ns]NaT NaT NaT NaT ... NaT NaT NaT NaT
- standard_name :
- transmitter_pulse_width
- meta_group :
- instrument_parameters
array([['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ..., ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT'], ['NaT', 'NaT', 'NaT', ..., 'NaT', 'NaT', 'NaT']], shape=(720, 1832), dtype='timedelta64[ns]')
- scan_rate(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- antenna_angle_scan_rate
- units :
- degrees per second
- meta_group :
- instrument_parameters
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- sweep_mode(azimuth, range)objectnan nan nan nan ... nan nan nan nan
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=object)
- sweep_number(azimuth, range)float64nan nan nan nan ... nan nan nan nan
- standard_name :
- sweep_index_number_0_based
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832))
- unambiguous_range(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- units :
- meters
- standard_name :
- unambiguous_range
- meta_group :
- instrument_parameters
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- TEMP(azimuth, range)float64nan nan nan nan ... nan nan nan nan
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832))
- mask(azimuth, range)boolFalse False False ... False False
array([[False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], ..., [False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False], [False, False, False, ..., False, False, False]], shape=(720, 1832))
- rt(azimuth, range)int641 1 1 1 1 1 1 1 ... 1 1 1 1 1 1 1 1
array([[1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], ..., [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1], [1, 1, 1, ..., 1, 1, 1]], shape=(720, 1832))
- frequencyPandasIndex
PandasIndex(Index([2997999900.0], dtype='float32', name='frequency'))
- azimuthPandasIndex
PandasIndex(Index([ 0.265625, 0.734375, 1.21875, 1.765625, 2.25, 2.71875, 3.203125, 3.734375, 4.21875, 4.75, ... 355.265625, 355.75, 356.21875, 356.703125, 357.25, 357.71875, 358.203125, 358.734375, 359.21875, 359.703125], dtype='float32', name='azimuth', length=720))
- rangePandasIndex
PandasIndex(Index([ 2125.0, 2375.0, 2625.0, 2875.0, 3125.0, 3375.0, 3625.0, 3875.0, 4125.0, 4375.0, ... 457625.0, 457875.0, 458125.0, 458375.0, 458625.0, 458875.0, 459125.0, 459375.0, 459625.0, 459875.0], dtype='float32', name='range', length=1832))
[19]:
fig, axs = plt.subplots(2, 2, figsize=(12, 10), sharex=True, sharey=True)
swpp = swp[["CZ", "DR", "KD", "RH"]]
display(swpp)
LVL = [
np.arange(10, 57.5, 2.5),
np.array([-1, -0.5, -0.25, -0.1, 0.1, 0.2, 0.3, 0.5, 0.75, 1, 2, 3]),
np.array(
[-0.5, -0.1, 0.1, 0.15, 0.2, 0.25, 0.5, 0.75, 1, 2, 3, 4]
), # np.arange(-0.5,2, 0.2),
np.arange(0.9, 1.01, 0.01),
]
for i, var in enumerate(swpp.data_vars.values()):
cbar_kwargs = {
"extend": "neither",
"label": "",
"pad": 0.01,
"ticks": LVL[i],
}
ax = axs.flat[i]
var.dropna("range", how="all").plot(
x="x",
y="y",
ax=ax,
cmap="HomeyerRainbow",
levels=LVL[i],
cbar_kwargs=cbar_kwargs,
)
ax.set_title(var.attrs["long_name"])
plt.tight_layout()
<xarray.Dataset> Size: 63MB Dimensions: (azimuth: 720, range: 1832) Coordinates: * azimuth (azimuth) float32 3kB 0.2656 0.7344 1.219 ... 358.7 359.2 359.7 elevation (azimuth) float32 3kB 1.312 1.312 1.312 ... 1.312 1.312 1.312 * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.596e+05 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:13:13 ... 2018-06-2... latitude float64 8B 37.76 longitude float64 8B -99.97 altitude float64 8B 789.0 crs_wkt int64 8B 0 x (azimuth, range) float64 11MB 9.848 11.01 ... -2.377e+03 y (azimuth, range) float64 11MB 2.124e+03 2.374e+03 ... 4.587e+05 z (azimuth, range) float64 11MB 837.9 843.7 ... 2.372e+04 2.374e+04 HGHT (azimuth, range) float64 11MB 837.9 843.7 ... 2.372e+04 2.374e+04 Data variables: CZ (azimuth, range) float32 5MB nan nan nan nan ... nan nan nan nan DR (azimuth, range) float32 5MB nan nan nan nan ... nan nan nan nan KD (azimuth, range) float32 5MB nan nan nan nan ... nan nan nan nan RH (azimuth, range) float32 5MB nan nan nan nan ... nan nan nan nan
- azimuth: 720
- range: 1832
- azimuth(azimuth)float320.2656 0.7344 1.219 ... 359.2 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.343750e-01, 1.218750e+00, ..., 3.587344e+02, 3.592188e+02, 3.597031e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float321.312 1.312 1.312 ... 1.312 1.312
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
array([1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , ... 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 ], dtype=float32)
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:13:13 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', ... '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000'], dtype='datetime64[ns]')
- latitude()float6437.76
- units :
- degrees_north
- standard_name :
- latitude
array(37.76083374)
- longitude()float64-99.97
- units :
- degrees_east
- standard_name :
- longitude
array(-99.96861267)
- altitude()float64789.0
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
array(789.)
- crs_wkt()int640
- crs_wkt :
- PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Azimuthal Equidistant",ID["EPSG",1125]],PARAMETER["Latitude of natural origin",37.7608337402344,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",-99.9686126708984,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- unknown
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- unknown
- grid_mapping_name :
- azimuthal_equidistant
- latitude_of_projection_origin :
- 37.760833740234375
- longitude_of_projection_origin :
- -99.96861267089844
- false_easting :
- 0.0
- false_northing :
- 0.0
array(0)
- x(azimuth, range)float649.848 11.01 ... -2.377e+03
- standard_name :
- east_west_distance_from_radar
- units :
- meters
array([[ 9.84797292e+00, 1.10065513e+01, 1.21651269e+01, ..., 2.12421538e+03, 2.12536776e+03, 2.12652013e+03], [ 2.72261024e+01, 3.04291548e+01, 3.36321997e+01, ..., 5.87269137e+03, 5.87587728e+03, 5.87906317e+03], [ 4.51815766e+01, 5.04970256e+01, 5.58124621e+01, ..., 9.74570104e+03, 9.75098805e+03, 9.75627503e+03], ..., [-4.69190155e+01, -5.24388678e+01, -5.79587072e+01, ..., -1.01204679e+04, -1.01259583e+04, -1.01314485e+04], [-2.89639943e+01, -3.23715034e+01, -3.57790045e+01, ..., -6.24755599e+03, -6.25094526e+03, -6.25433452e+03], [-1.10069068e+01, -1.23018295e+01, -1.35967493e+01, ..., -2.37419831e+03, -2.37548631e+03, -2.37677429e+03]], shape=(720, 1832))
- y(azimuth, range)float642.124e+03 2.374e+03 ... 4.587e+05
- standard_name :
- north_south_distance_from_radar
- units :
- meters
array([[ 2124.210046 , 2374.11566975, 2624.02070832, ..., 458193.75097651, 458442.3192131 , 458690.88636154], [ 2124.05836226, 2373.94614096, 2623.83333454, ..., 458161.03267552, 458409.58316256, 458658.13256153], [ 2123.75233587, 2373.60411168, 2623.45530244, ..., 458095.02254738, 458343.5372242 , 458592.0508131 ], ..., [ 2123.71460486, 2373.56194174, 2623.4086936 , ..., 458086.88393828, 458335.39419994, 458583.9033737 ], [ 2124.03531848, 2373.92038617, 2623.80486873, ..., 458156.0621156 , 458404.60990614, 458653.15660861], [ 2124.20434836, 2374.1093018 , 2624.01367008, ..., 458192.52199192, 458441.08956179, 458689.6560435 ]], shape=(720, 1832))
- z(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- HGHT(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- CZ(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Corrected Reflectivity
- units :
- dBZ
- standard_name :
- Corrected Reflectivity
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- DR(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Differential Reflectivity
- units :
- dB
- standard_name :
- log_differential_reflectivity_hv
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- KD(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Specific Differential Phase (Bringi)
- units :
- deg/km
- standard_name :
- Specific Differential Phase (Bringi)
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- RH(azimuth, range)float32nan nan nan nan ... nan nan nan nan
- long_name :
- Correlation Coefficient
- units :
- none
- standard_name :
- cross_correlation_ratio_hv
array([[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], shape=(720, 1832), dtype=float32)
- azimuthPandasIndex
PandasIndex(Index([ 0.265625, 0.734375, 1.21875, 1.765625, 2.25, 2.71875, 3.203125, 3.734375, 4.21875, 4.75, ... 355.265625, 355.75, 356.21875, 356.703125, 357.25, 357.71875, 358.203125, 358.734375, 359.21875, 359.703125], dtype='float32', name='azimuth', length=720))
- rangePandasIndex
PandasIndex(Index([ 2125.0, 2375.0, 2625.0, 2875.0, 3125.0, 3375.0, 3625.0, 3875.0, 4125.0, 4375.0, ... 457625.0, 457875.0, 458125.0, 458375.0, 458625.0, 458875.0, 459125.0, 459375.0, 459625.0, 459875.0], dtype='float32', name='range', length=1832))

Combine observations into xr.DataArray#
Use the mapping to bind the existing variable names to the needed names.
[20]:
# mapping observations
obs_mapping = {
"ZH": "CZ",
"ZDR": "DR",
"KDP": "KD",
"RHO": "RH",
"RT": "rt",
"TEMP": "TEMP",
}
polars = wrl.classify.create_gr_observations(swp, obs_mapping)
polars
[20]:
<xarray.DataArray 'data' (obs: 6, azimuth: 720, range: 1832)> Size: 63MB array([[[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., ... ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], ..., [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]]], shape=(6, 720, 1832)) Coordinates: (12/13) * azimuth (azimuth) float32 3kB 0.2656 0.7344 1.219 ... 358.7 359.2 359.7 elevation (azimuth) float32 3kB 1.312 1.312 1.312 ... 1.312 1.312 1.312 * range (range) float32 7kB 2.125e+03 2.375e+03 ... 4.596e+05 4.599e+05 time (azimuth) datetime64[ns] 6kB 2018-06-25T05:13:13 ... 2018-06-2... latitude float64 8B 37.76 longitude float64 8B -99.97 ... ... crs_wkt int64 8B 0 x (azimuth, range) float64 11MB 9.848 11.01 ... -2.377e+03 y (azimuth, range) float64 11MB 2.124e+03 2.374e+03 ... 4.587e+05 z (azimuth, range) float64 11MB 837.9 843.7 ... 2.372e+04 2.374e+04 HGHT (azimuth, range) float64 11MB 837.9 843.7 ... 2.372e+04 2.374e+04 * obs (obs) <U4 96B 'ZH' 'ZDR' 'KDP' 'RHO' 'RT' 'TEMP'
- obs: 6
- azimuth: 720
- range: 1832
- nan nan nan nan nan nan nan nan ... nan nan nan nan nan nan nan nan
array([[[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., ... ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]], [[ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], ..., [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.], [ 1., 1., 1., ..., 1., 1., 1.]], [[nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], ..., [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan], [nan, nan, nan, ..., nan, nan, nan]]], shape=(6, 720, 1832))
- azimuth(azimuth)float320.2656 0.7344 1.219 ... 359.2 359.7
- long_name :
- azimuth_angle_from_true_north
- units :
- degrees
- standard_name :
- ray_azimuth_angle
- axis :
- radial_azimuth_coordinate
array([2.656250e-01, 7.343750e-01, 1.218750e+00, ..., 3.587344e+02, 3.592188e+02, 3.597031e+02], shape=(720,), dtype=float32)
- elevation(azimuth)float321.312 1.312 1.312 ... 1.312 1.312
- long_name :
- elevation_angle_from_horizontal_plane
- units :
- degrees
- standard_name :
- ray_elevation_angle
- axis :
- radial_elevation_coordinate
array([1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , ... 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 , 1.3125 ], dtype=float32)
- range(range)float322.125e+03 2.375e+03 ... 4.599e+05
- long_name :
- range_to_measurement_volume
- units :
- meters
- standard_name :
- projection_range_coordinate
- spacing_is_constant :
- true
- meters_to_center_of_first_gate :
- 2125
- meters_between_gates :
- 250.0
- axis :
- radial_range_coordinate
array([ 2125., 2375., 2625., ..., 459375., 459625., 459875.], shape=(1832,), dtype=float32)
- time(azimuth)datetime64[ns]2018-06-25T05:13:13 ... 2018-06-...
- long_name :
- time in seconds since volume start
- standard_name :
- time
array(['2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', '2018-06-25T05:13:14.000000000', ... '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:12.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000', '2018-06-25T05:13:13.000000000'], dtype='datetime64[ns]')
- latitude()float6437.76
- units :
- degrees_north
- standard_name :
- latitude
array(37.76083374)
- longitude()float64-99.97
- units :
- degrees_east
- standard_name :
- longitude
array(-99.96861267)
- altitude()float64789.0
- units :
- meters_above_mean_sea_level
- standard_name :
- altitude
array(789.)
- crs_wkt()int640
- crs_wkt :
- PROJCRS["unknown",BASEGEOGCRS["unknown",DATUM["World Geodetic System 1984",ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]],ID["EPSG",6326]],PRIMEM["Greenwich",0,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8901]]],CONVERSION["unknown",METHOD["Azimuthal Equidistant",ID["EPSG",1125]],PARAMETER["Latitude of natural origin",37.7608337402344,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8801]],PARAMETER["Longitude of natural origin",-99.9686126708984,ANGLEUNIT["degree",0.0174532925199433],ID["EPSG",8802]],PARAMETER["False easting",0,LENGTHUNIT["metre",1],ID["EPSG",8806]],PARAMETER["False northing",0,LENGTHUNIT["metre",1],ID["EPSG",8807]]],CS[Cartesian,2],AXIS["(E)",east,ORDER[1],LENGTHUNIT["metre",1,ID["EPSG",9001]]],AXIS["(N)",north,ORDER[2],LENGTHUNIT["metre",1,ID["EPSG",9001]]]]
- semi_major_axis :
- 6378137.0
- semi_minor_axis :
- 6356752.314245179
- inverse_flattening :
- 298.257223563
- reference_ellipsoid_name :
- WGS 84
- longitude_of_prime_meridian :
- 0.0
- prime_meridian_name :
- Greenwich
- geographic_crs_name :
- unknown
- horizontal_datum_name :
- World Geodetic System 1984
- projected_crs_name :
- unknown
- grid_mapping_name :
- azimuthal_equidistant
- latitude_of_projection_origin :
- 37.760833740234375
- longitude_of_projection_origin :
- -99.96861267089844
- false_easting :
- 0.0
- false_northing :
- 0.0
array(0)
- x(azimuth, range)float649.848 11.01 ... -2.377e+03
- standard_name :
- east_west_distance_from_radar
- units :
- meters
array([[ 9.84797292e+00, 1.10065513e+01, 1.21651269e+01, ..., 2.12421538e+03, 2.12536776e+03, 2.12652013e+03], [ 2.72261024e+01, 3.04291548e+01, 3.36321997e+01, ..., 5.87269137e+03, 5.87587728e+03, 5.87906317e+03], [ 4.51815766e+01, 5.04970256e+01, 5.58124621e+01, ..., 9.74570104e+03, 9.75098805e+03, 9.75627503e+03], ..., [-4.69190155e+01, -5.24388678e+01, -5.79587072e+01, ..., -1.01204679e+04, -1.01259583e+04, -1.01314485e+04], [-2.89639943e+01, -3.23715034e+01, -3.57790045e+01, ..., -6.24755599e+03, -6.25094526e+03, -6.25433452e+03], [-1.10069068e+01, -1.23018295e+01, -1.35967493e+01, ..., -2.37419831e+03, -2.37548631e+03, -2.37677429e+03]], shape=(720, 1832))
- y(azimuth, range)float642.124e+03 2.374e+03 ... 4.587e+05
- standard_name :
- north_south_distance_from_radar
- units :
- meters
array([[ 2124.210046 , 2374.11566975, 2624.02070832, ..., 458193.75097651, 458442.3192131 , 458690.88636154], [ 2124.05836226, 2373.94614096, 2623.83333454, ..., 458161.03267552, 458409.58316256, 458658.13256153], [ 2123.75233587, 2373.60411168, 2623.45530244, ..., 458095.02254738, 458343.5372242 , 458592.0508131 ], ..., [ 2123.71460486, 2373.56194174, 2623.4086936 , ..., 458086.88393828, 458335.39419994, 458583.9033737 ], [ 2124.03531848, 2373.92038617, 2623.80486873, ..., 458156.0621156 , 458404.60990614, 458653.15660861], [ 2124.20434836, 2374.1093018 , 2624.01367008, ..., 458192.52199192, 458441.08956179, 458689.6560435 ]], shape=(720, 1832))
- z(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- HGHT(azimuth, range)float64837.9 843.7 ... 2.372e+04 2.374e+04
- standard_name :
- height_above_ground
- units :
- meters
array([[ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], ..., [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459], [ 837.93972579, 843.73227136, 849.53217459, ..., 23701.82103764, 23721.01967642, 23740.22500459]], shape=(720, 1832))
- obs(obs)<U4'ZH' 'ZDR' 'KDP' 'RHO' 'RT' 'TEMP'
array(['ZH', 'ZDR', 'KDP', 'RHO', 'RT', 'TEMP'], dtype='<U4')
- azimuthPandasIndex
PandasIndex(Index([ 0.265625, 0.734375, 1.21875, 1.765625, 2.25, 2.71875, 3.203125, 3.734375, 4.21875, 4.75, ... 355.265625, 355.75, 356.21875, 356.703125, 357.25, 357.71875, 358.203125, 358.734375, 359.21875, 359.703125], dtype='float32', name='azimuth', length=720))
- rangePandasIndex
PandasIndex(Index([ 2125.0, 2375.0, 2625.0, 2875.0, 3125.0, 3375.0, 3625.0, 3875.0, 4125.0, 4375.0, ... 457625.0, 457875.0, 458125.0, 458375.0, 458625.0, 458875.0, 459125.0, 459375.0, 459625.0, 459875.0], dtype='float32', name='range', length=1832))
- obsPandasIndex
PandasIndex(Index(['ZH', 'ZDR', 'KDP', 'RHO', 'RT', 'TEMP'], dtype='object', name='obs'))
Calculate hydrometeor partitioning ratios (HPR)#
This uses the loaded weights and centroids to retrieve the hydrometeor partitioning ratio from the observations.
[21]:
hmpr = wrl.classify.calculate_hmpr(polars, cw.weights, cdp)
Plotting all Hydrometeor-Classes#
For better plotting we transfrom to 100% and drop NaN data.
[22]:
hmpr = hmpr.dropna("range", how="all") * 100
hpr_bins = [0, 1, 2.5, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 95, 100]
hmpr.plot(
col="hmc",
col_wrap=3,
x="x",
y="y",
cmap="HomeyerRainbow",
levels=hpr_bins,
cbar_kwargs={"ticks": hpr_bins},
)
[22]:
<xarray.plot.facetgrid.FacetGrid at 0x7f25c0232120>
