plot_network: raise error for pairs with invalid coh/Bperp value, probably due to upstream insar processing issues. This is rarely seen, as reported in the google group.
utils.plot.auto_adjust_yaxis: ignore nan value in input data
use np.nanmin/nanmax() to replace min/max() to ignore nan values in the input data list
light refactoring to improve the readability
utils.plot.py: use consistent parameters/returns comment styles for all functions
Description of proposed changes
plot_network
: raise error for pairs with invalid coh/Bperp value, probably due to upstream insar processing issues. This is rarely seen, as reported in the google group.utils.plot.auto_adjust_yaxis
: ignore nan value in input datanp.nanmin/nanmax()
to replacemin/max()
to ignore nan values in the input data listutils.plot.py
: use consistent parameters/returns comment styles for all functionsReminders