```
unwrap_error_phase_closure.py /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/inputs/ifgramStack.h5 --water-mask /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/waterMask.h5 --action calculate --update
open ifgramStack file: ifgramStack.h5
number of interferograms: 812
number of triplets: 444
calculating the number of triplets with non-zero integer ambiguity of closure phase ...
block by block with size up to (380, 750), 6 blocks in total
reference pixel in y/x: (286, 561) from dataset: unwrapPhase
[==================================================] line 1900 / 1915 16s / 3s
mask out pixels with zero in file: /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/waterMask.h5
mask out pixels with zero in file: /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/avgSpatialCoh.h5
write to file /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/numTriNonzeroIntAmbiguity.h5
create HDF5 file: /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/numTriNonzeroIntAmbiguity.h5 with w mode
create dataset /mask of float32 in size of (1915, 750) with compression=None
finished writing to /data/Tibet/Track121/Timeseries/aoiB/9arc/mintpy/TS_SET_ERA5_demErr/numTriNonzeroIntAmbiguity.h5
Traceback (most recent call last):
File "/home/rzinke/miniconda3/envs/insar/bin/smallbaselineApp.py", line 8, in <module>
sys.exit(main())
File "/home/rzinke/tools/MintPy/src/mintpy/cli/smallbaselineApp.py", line 208, in main
run_smallbaselineApp(inps)
File "/home/rzinke/tools/MintPy/src/mintpy/smallbaselineApp.py", line 1117, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "/home/rzinke/tools/MintPy/src/mintpy/smallbaselineApp.py", line 883, in run
self.run_quick_overview(sname)
File "/home/rzinke/tools/MintPy/src/mintpy/smallbaselineApp.py", line 330, in run_quick_overview
mintpy.cli.unwrap_error_phase_closure.main(iargs)
File "/home/rzinke/tools/MintPy/src/mintpy/cli/unwrap_error_phase_closure.py", line 153, in main
run_unwrap_error_phase_closure(inps)
File "/home/rzinke/tools/MintPy/src/mintpy/unwrap_error_phase_closure.py", line 426, in run_unwrap_error_phase_closure
out_file = calc_num_triplet_with_nonzero_integer_ambiguity(
File "/home/rzinke/tools/MintPy/src/mintpy/unwrap_error_phase_closure.py", line 186, in calc_num_triplet_with_nonzero_integer_ambiguity
pp.plot_num_triplet_with_nonzero_integer_ambiguity(out_file)
File "/home/rzinke/tools/MintPy/src/mintpy/utils/plot.py", line 968, in plot_num_triplet_with_nonzero_integer_ambiguity
ax.hist(data[~np.isnan(data)].flatten(), range=(0, vmax), log=True, bins=vmax)
File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/matplotlib/__init__.py", line 1442, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/matplotlib/axes/_axes.py", line 6790, in hist
m, bins = np.histogram(x[i], bins, weights=w[i], **hist_kwargs)
File "<__array_function__ internals>", line 200, in histogram
File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/numpy/lib/histograms.py", line 780, in histogram
bin_edges, uniform_bins = _get_bin_edges(a, bins, range, weights)
File "/home/rzinke/miniconda3/envs/insar/lib/python3.10/site-packages/numpy/lib/histograms.py", line 424, in _get_bin_edges
raise ValueError('`bins` must be positive, when an integer')
ValueError: `bins` must be positive, when an integer
```