Scroll to navigation

MINTPY-VIEW(1) User Commands MINTPY-VIEW(1)

NAME

mintpy-view - Plot InSAR Product in 2D

DESCRIPTION

usage: view.py [-h] [-n [NUM ...]] [--nosearch] [--ex [Dset ...]]

[--show-kept] [--plot-setting DISP_SETTING_FILE] [--noverbose] [--math {square,deg2rad,rad2deg,inverse,sqrt,reverse}] [-v VMIN VMAX] [-u UNIT] [--nd NO_DATA_VALUE] [--wrap] [--wrap-range MIN MAX] [--flip-lr] [--flip-ud] [--noflip] [--nmli NUM] [--nomultilook] [--alpha TRANSPARENCY] [-d DEM_FILE] [--mask-dem] [--dem-noshade] [--dem-nocontour] [--contour-smooth DEM_CONTOUR_SMOOTH] [--contour-step NUM] [--contour-linewidth NUM] [--shade-az DEG] [--shade-alt DEG] [--shade-min MIN] [--shade-max MAX] [--shade-exag SHADE_EXAG] [--fontsize FONT_SIZE] [--fontcolor FONT_COLOR] [--nowhitespace] [--noaxis] [--notick] [-c COLORMAP] [--cm-lut NUM] [--cm-vlist CMAP_VLIST CMAP_VLIST CMAP_VLIST] [--nocbar] [--cbar-nbins NUM] [--cbar-ext {min,max,None,both,neither}] [--cbar-label CBAR_LABEL] [--cbar-loc CBAR_LOC] [--cbar-size CBAR_SIZE] [--notitle] [--title-in] [--figtitle FIG_TITLE] [--title4sen] [--figsize WID LEN] [--dpi DPI] [--figext {.emf,.eps,.pdf,.png,.ps,.raw,.rgba,.svg,.svgz}] [--fignum NUM] [--nrows NUM] [--ncols NUM] [--wspace FIG_WID_SPACE] [--hspace FIG_HEI_SPACE] [--no-tight-layout] [--coord {radar,geo}] [--animation] [--show-gps] [--mask-gps] [--gps-label] [--gps-ms GPS_MARKER_SIZE] [--gps-comp {horz,up2los,hz2los,enu2los,vert}] [--gps-redo] [--ref-gps REF_GPS_SITE] [--ex-gps [EX_GPS_SITES ...]] [--gps-start-date YYYYMMDD] [--gps-end-date YYYYMMDD] [--horz-az HORZ_AZ_ANGLE] [-m FILE] [--mask-vmin MASK_VMIN] [--mask-vmax MASK_VMAX] [--zm] [--coastline {50m,10m,110m}] [--lalo-label] [--lalo-step DEG] [--lalo-max-num NUM] [--lalo-loc left right top bottom] [--scalebar LEN X Y] [--noscalebar] [--scalebar-pad SCALEBAR_PAD] [--ram MAXMEMORY] [--pts-marker PTS_MARKER] [--pts-ms PTS_MARKER_SIZE] [--pts-yx Y X | --pts-lalo LAT LON | --pts-file PTS_FILE] [--ref-date DATE] [--ref-lalo LAT LON] [--ref-yx Y X] [--noreference] [--ref-marker REF_MARKER] [--ref-size NUM] [-o [OUTFILE ...]] [--save] [--nodisplay] [--update] [--sub-x XMIN XMAX] [--sub-y YMIN YMAX] [--sub-lat LATMIN LATMAX] [--sub-lon LONMIN LONMAX] file [dset ...]

Plot InSAR Product in 2D

options:

show this help message and exit
display kept interferograms only, without dropped interferograms
Template file with plot setting. Plot Setting:
= 'Yunjun et al., 2016, AGU, Fig 4f'
= LOS_VELOCITY
=
=
= cm/yr
= -2
= 2
= jet
= 33.05:33.15, 131.15:131.27
plot.seed.lalo = 33.0651, 131.2076
Disable the verbose message printing (default: True).
Apply the math operation before displaying [for single subplot ONLY]. E.g. plot the std. dev. of the variance file.
= x^2
= x^1/2
inverse = 1 / x
Max amount of memory in GB to use (default: 4.0). Adjust according to your computer memory.

Input File:

File/Dataset to display
file for display
optional - dataset(s) to display (default: []).
optional - order number of date/dataset(s) to display (default: []).
Disable glob search for input dset.
dates will not be displayed (default: []).

Data Display Options:

Options to adjust the dataset display
Display limits for matrix plotting.
unit for display. Its priority > wrap
Specify the no-data-value to be ignored and masked.
re-wrap data to display data in fringes.
range of one cycle after wrapping (default: [-3.141592653589793, 3.141592653589793]).
flip left-right
flip up-down
turn off auto flip for radar coordinate file
multilook data in X and Y direction with a factor for display (default: 1).
do not multilook, for high quality display. If multilook is True and multilook_num=1, multilook_num will be estimated automatically. Useful when displaying big datasets.
Data transparency. 0.0 - fully transparent, 1.0 - no transparency.

DEM:

display topography in the background
DEM file to show topography as background
Mask out DEM pixels not coincident with valid data pixels
do not show DEM shaded relief
do not show DEM contour lines
Background topography contour smooth factor - sigma of Gaussian filter. Set to 0.0 for no smoothing; (default: 3.0).
Background topography contour step in meters (default: 200.0).
Background topography contour linewidth (default: 0.5).
The azimuth (0-360, degrees clockwise from North) of the light source (default: 315.0).
The altitude (0-90, degrees up from horizontal) of the light source (default: 45.0).
The min height in m of colormap of shaded relief topography (default: -4000.0).
The max height of colormap of shaded relief topography (default: max(DEM)+2000).
Vertical exaggeration ratio (default: 0.5).

Figure:

Figure settings for display
font size
font color (default: k).
do not display white space
do not display axis
do not display tick in x/y axis
colormap used for display, i.e. jet, cmy, RdBu, hsv, jet_r, temperature, viridis, etc. More at https://mintpy.readthedocs.io/en/latest/api/colormaps/
number of increment of colormap lookup table (default: 256).
list of 3 float numbers, for truncated colormap only (default: [0.0, 0.7, 1.0]).
do not display colorbar
number of bins for colorbar.
Extend setting of colorbar; based on data stat by default.
colorbar label
colorbar location for single plot (default: right).
colorbar size and pad (default: 2%).
do not display title
draw title in/out of axes
Title shown in the figure.
display Sentinel-1 A/B and IPF info in title.
figure size in inches - width and length
DPI - dot per inch - for display/write (default: 300).
File extension for figure output file (default: .png).
number of figure windows
subplot number in row
subplot number in column
width space between subplots in inches
height space between subplots in inches
disable automatic tight layout for multiple subplots
Display in radar/geo coordination system (for geocoded file only; default: geo).
enable animation mode

GPS:

GPS data to display
Show UNR GPS location within the coverage.
Mask out GPS stations not coincident with valid data pixels
Show GPS site name
Plot GPS value as scatter in size of ms**2 (default: 6).
Plot GPS in color indicating deformation velocity direction
Re-calculate GPS observations in LOS direction, instead of read from existing CSV file.
Reference GPS site
Exclude GPS sites, require --gps-comp.
start date of GPS data, default is date of the 1st SAR acquisition
start date of GPS data, default is date of the last SAR acquisition
Azimuth angle (anti-clockwise from the north) of the horizontal movement in degrees E.g.: -90. for east direction [default]
0.
for north direction
Set to the azimuth angle of the strike-slip fault to show the fault-parallel displacement.

Mask:

Mask file/options
mask file for display. "no" to turn OFF masking.
hide pixels with mask value < vmin (default: None).
hide pixels with mask value > vmax (default: None).
mask pixels with zero value.

Map:

for one subplot in geo-coordinates only
Draw coastline with specified resolution (default: None). This will enable --lalo-label option. Link: https://scitools.org.uk/cartopy/docs/latest/matplotlib/geoaxes.html#cartopy.mpl.geoaxes.GeoAxes.coastlines
Show N, S, E, W tick label for plot in geo-coordinate. Useful for final figure output.
Lat/lon step for lalo-label option.
Maximum number of lalo tick label (default: 3).
Draw lalo label in [left, right, top, bottom] (default: [1, 0, 0, 1]).
scale bar distance and location in ratio (default: [0.2, 0.2, 0.1]). distance in ratio of total width location in X/Y in ratio with respect to the lower left corner
#for lower left corner
#for upper left corner
#for lower right corner
#for upper right corner
do not display scale bar.
scale bar label pad in ratio of scalebar width (default: 0.05).

Point:

Plot points defined by y/x or lat/lon
Marker of points of interest (default: k^).
Marker size for points of interest (default: 6.0).
Point in Y/X
Point in Lat/Lon
Text file for point(s) in lat/lon column

Reference:

Show / Modify reference in time and space for display
Change reference date for display
Change reference point LAT LON for display
Change reference point Y X for display
do not show reference point
marker of reference pixel (default: ks).
marker size of reference point (default: 6).

Save/Output:

Save figure and write to file(s)
save the figure with assigned filename. By default, it's calculated based on the input file name.
save the figure
save and do not display the figure
enable update mode for save figure: skip running if 1) output file already exists AND 2) output file is newer than input file.

Subset:

Display dataset in subset range
subset display in x/cross-track/range direction
subset display in y/along-track/azimuth direction
subset display in latitude
subset display in longitude

example:

view.py velocity.h5 view.py velocity.h5 velocity --wrap --wrap-range -2 2 -c cmy --lalo-label view.py velocity.h5 --ref-yx 210 566 #change reference pixel for display view.py velocity.h5 --sub-lat 31.05 31.10 --sub-lon 130.05 130.10 #subset in lalo / yx
view.py timeseries.h5 view.py timeseries.h5 -m no #do not use auto mask view.py timeseries.h5 --ref-date 20101120 #change reference date view.py timeseries.h5 --ex drop_date.txt #exclude dates to plot view.py timeseries.h5 '*2017*' '*2018*' #all acquisitions in 2017 and 2018 view.py timeseries.h5 20200616_20200908 #reconstruct interferogram on the fly
view.py ifgramStack.h5 coherence view.py ifgramStack.h5 unwrapPhase- #unwrapPhase only in the presence of unwrapPhase_bridging view.py ifgramStack.h5 -n 6 #the 6th slice view.py ifgramStack.h5 20171010_20171115 #all data related with 20171010_20171115 view.py ifgramStack.h5 'coherence*20171010*' #all coherence related with 20171010 view.py ifgramStack.h5 unwrapPhase-20070927_20100217 --zero-mask --wrap #wrapped phase view.py ifgramStack.h5 unwrapPhase-20070927_20100217 --mask ifgramStack.h5 #mask using connected components
# GPS (for one subplot in geo-coordinates only) view.py geo_velocity_msk.h5 velocity --show-gps --gps-label #show locations of available GPS view.py geo_velocity_msk.h5 velocity --show-gps --gps-comp enu2los --ref-gps GV01 view.py geo_timeseries_ERA5_ramp_demErr.h5 20180619 --ref-date 20141213 --show-gps --gps-comp enu2los --ref-gps GV01
# Save and Output view.py velocity.h5 --save view.py velocity.h5 --nodisplay view.py geo_velocity.h5 velocity --nowhitespace
May 2022 mintpy-view v1.3.3