rca.plot¶
Plotting routines for RCA
rca.plot.plot_clutter_map¶
-
rca.plot.plot_clutter_map.
plot_clutter_map
(clutter_map_netcdf, output_directory, scan_type, map_type, polarization, max_range, site, inst)[source]¶ Plot a clutter map of either PPI of RHI data. Must first calculate the clutter map using clutter_map module.
- Parameters
clutter_map_netcdf (str) – path to clutter map netCDF
output_directory (str) – path to directory for output .png file
scan_type (str) – specify if the map is for PPI or RHI ‘ppi’ ‘rhi’
map_type (str) – specify if a daily or composite clutter map ‘daily’ ‘composite’
polarization (str) – specify the polarization(s) desired ‘horizontal’ ‘dual’
max_range (int) – maximum range to plot, in km i.e. 5, 10, 40
site (str) – 3-letter site abbreviation i.e. ‘cor’, ‘ena’
inst (str) – instrument name i.e. ‘csapr2’, ‘kasacr’
rca.plot.plot_rca_timeseries¶
-
rca.plot.plot_rca_timeseries.
plot_rca_timeseries_oneradar
(rca_file, output_directory, baseline_date, polarization, scan_type, site, inst, start_date, end_date)[source]¶ - Parameters
rca_file (str) – path to RCA CSV file
output_directory (str) – path to directory for output .png file(s)
baseline_date (str) – YYYY-MM-DD format of baseline date in this dataset
polarization (str) – specify the polarization(s) desired ‘horizontal’ ‘dual’
scan_type (str) – specify if the map is for PPI or RHI ‘ppi’ ‘rhi’
site (str) – site abbreviation
inst (str) – instrument name
start_date (str) – Start date of plot, form YYYY-MM-DD
end_date (str) – End date of plot, form YYYY-MM-DD
-
rca.plot.plot_rca_timeseries.
plot_rca_timeseries_threeradar
(rca_file1, rca_file2, rca_file3, output_directory, baseline_date, polarization, scan_type, site, inst1, inst2, inst3)[source]¶ - Parameters
rca_file1 (str) – path to RCA CSV file for radar 1
rca_file2 (str) – path to RCA CSV file for radar 2
rca_file3 (str) – path to RCA CSV file for radar 3
output_directory (str) – path to directory for output .png file(s)
baseline_date (str) – YYYY-MM-DD format of baseline date in this dataset
polarization (str) – specify the polarization(s) desired ‘horizontal’ ‘dual’
scan_type (str) – specify if the map is for PPI or RHI ‘ppi’ ‘rhi’
site (str) – site abbreviation
inst1 (str) – instrument name for radar 1
inst2 (str) – instrument name for radar 2
inst3 (str) – instrument name for radar 3
location (str) – site and instrument (use for plot title)
-
rca.plot.plot_rca_timeseries.
plot_rca_timeseries_tworadar
(rca_file1, rca_file2, output_directory, baseline_date, polarization, scan_type, site, inst1, inst2)[source]¶ - Parameters
rca_file1 (str) – path to RCA CSV file for radar 1
rca_file2 (str) – path to RCA CSV file for radar 2
output_directory (str) – path to directory for output .png file(s)
baseline_date (str) – YYYY-MM-DD format of baseline date in this dataset
polarization (str) – specify the polarization(s) desired ‘horizontal’ ‘dual’
scan_type (str) – specify if the map is for PPI or RHI ‘ppi’ ‘rhi’ ‘ppirhi’
site (str) – site abbreviation
inst1 (str) – instrument name for radar 1
inst2 (str) – instrument name for radar 2