This PR adds the the ability to generate png files for the datasets in an unw.nc file. browse_image.py can now by either function call or command line (argparse help below).
$ python browse_image.py -h
usage: browse_image.py [-h] [-o OUT_FNAME] [-i IN_FNAME] [-n DATASET_NAME] [-m MAX_IMG_DIM]
Create browse images for displacement products from command line
options:
-h, --help show this help message and exit
-o OUT_FNAME, --out-fname OUT_FNAME
Optional path to output png file (default: None)
-i IN_FNAME, --in-fname IN_FNAME
Path to input NetCDF file (default: None)
-n DATASET_NAME, --dataset-name DATASET_NAME
Name of dataset to plot from NetCDF file (default: None)
-m MAX_IMG_DIM, --max-img-dim MAX_IMG_DIM
Maximum dimension allowed for either length or width of browse image (default: 2048)
Sample products from 20221119_20221201.unw.nc from /u/aurora-r0/staniewi/dev/beta-delivery/delivery_data_full/golden_output/historical:
unwrapped phase
connected components
temporal coherence
interferometric correlation
persistent scatterer mask
This PR adds the the ability to generate png files for the datasets in an
unw.nc
file.browse_image.py
can now by either function call or command line (argparse
help below).Sample products from
20221119_20221201.unw.nc
from/u/aurora-r0/staniewi/dev/beta-delivery/delivery_data_full/golden_output/historical
: unwrapped phase connected components temporal coherence interferometric correlation persistent scatterer mask