nisar-solid / ATBD

Notebooks for NISAR Solid Earth Algorithm Theoretical Basis Document
34 stars 22 forks source link

Update Validation Output Figures and Tables #54

Closed mgovorcin closed 4 months ago

mgovorcin commented 4 months ago

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

example 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 image

display_validation_table(validation_table) Table:

image

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 image

Table

image
review-notebook-app[bot] commented 4 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

EJFielding commented 4 months ago

Thanks for these excellent improvements @mgovorcin !