Add plotting functions:
display_validation. to plot figures for Validation Method-1 (InSAR vs GNSS) and Method-2(InSAR vs InSAR)
returns: validation table, and figure
display_validation_table - display table for binned results [0.1, 50km] where req. pass and fails
Add plotting functions:
display_validation
. to plot figures for Validation Method-1 (InSAR vs GNSS) and Method-2(InSAR vs InSAR) returns: validation table, and figuredisplay_validation_table
- display table for binned results [0.1, 50km] where req. pass and failsexample for secular requirement:
Method-1
validation_table, fig = display_validation(gnss_site_dist, double_diff_rel_measure, site, start_date, end_date, requirement=2, distance_rqmt = [0.1, 50], n_bins=10, threshold=0.683, sensor ='Sentinel-1', validation_type='secular', validation_data='GNSS')
Figure
display_validation_table(validation_table)
Table:Method-2
validation_table_2, fig_val2 = display_validation(insar_sample_dist, insar_rel_measure, site, start_date, end_date, requirement=secular_insar_rqmt, distance_rqmt =insar_dist_rqmt, n_bins=n_bins, threshold=threshold, sensor='Sentinel-1', validation_type='secular', validation_data='InSAR') out_fig = os.path.abspath('secular_insar-insar_velocity_vs_distance.png') fig_val2.savefig(out_fig, bbox_inches='tight', transparent=True, dpi=300)
Figure
Table