Hello,
I am building a timeseries using MintPy for ~370 Sentinel-1 interferograms processed as ARIA GUWN products (based on ISCE software), representing >50 epochs in time. I set up the smallbaselineApp to run on our server, which has ~128G RAM. I set the process to run, and it goes smoothly through the initial steps and most of the invert_network step -- that is, it cleanly processes 210/210 patches -- then fails with the following error message:
...
------- Processing Patch 210 out of 210 --------------
reading unwrapPhase in (0, 8360, 7200, 8400) * 372 ...
use input reference phase
skip pixels with zero/nan value in all interferograms
number of pixels to invert: 127770 out of 288000 (44.4%)
inverting pixels with valid phase in all ifgrams (127609 pixels) ...
inverting pixels with valid phase in some ifgrams (161 pixels) ...
[==================================================] 161/161 pixels
--------------------------------------------------
converting phase to range
calculating perpendicular baseline timeseries
Traceback (most recent call last):
File "/u/sarh0/rzinke/tools/MintPy/mintpy/smallbaselineApp.py", line 1069, in <module>
main()
File "/u/sarh0/rzinke/tools/MintPy/mintpy/smallbaselineApp.py", line 1059, in main
app.run(steps=inps.runSteps, plot=inps.plot)
File "/u/sarh0/rzinke/tools/MintPy/mintpy/smallbaselineApp.py", line 1003, in run
self.run_network_inversion(sname)
File "/u/sarh0/rzinke/tools/MintPy/mintpy/smallbaselineApp.py", line 538, in run_network_inversion
mintpy.ifgram_inversion.main(scp_args.split())
File "/u/sarh0/rzinke/tools/MintPy/mintpy/ifgram_inversion.py", line 1261, in main
ifgram_inversion(inps.ifgramStackFile, inps)
File "/u/sarh0/rzinke/tools/MintPy/mintpy/ifgram_inversion.py", line 1213, in ifgram_inversion
write2hdf5_file(ifgram_file, metadata, ts, temp_coh, ts_std, num_inv_ifg, suffix='', inps=inps)
File "/u/sarh0/rzinke/tools/MintPy/mintpy/ifgram_inversion.py", line 545, in write2hdf5_file
ts_obj.write2hdf5(data=ts, dates=date_list, bperp=pbase, metadata=metadata)
File "/u/sarh0/rzinke/tools/MintPy/mintpy/objects/stack.py", line 283, in write2hdf5
data = np.array(data, dtype=np.float32)
MemoryError
I take it to mean that there is not enough RAM available calculate the perpendicular baseline timeseries. Are there any fixes for this? Any help is greatly appreciated!
Please let me know if you need additional information.
Cheers,
Rob