I hope you are well. I am experiencing problems in the the execution of the step "Correct_toposphere". The reanalysis dataset is ERA5 which appers to be downloading correctly. The program fails with a KeyError: 'Y_UNIT'. I add the error details below. The interferograms are Sentinel-1 scenes with preprocessing in SNAP. Any guidance would be appreciated.
******************** step - correct_troposphere ********************
Input data seems to be geocoded. Lookup file not needed.
Atmospheric correction using Weather Re-analysis dataset (PyAPS, Jolivet et al., 2011)
Weather Re-analysis dataset: ERA5
tropo_pyaps3.py -f /home/jengelbrecht/working/EB_S1_mintpy/AOI1_3/timeseries.h5 --model ERA5 -g /home/jengelbrecht/working/EB_S1_mintpy/AOI1_3/inputs/geometryGeo.h5 -w /home/jengelbrecht/weather_data/
weather model: ERA5 - dry (hydrostatic) and wet delay
weather directory: /home/jengelbrecht/weather_data
output tropospheric delay file: /home/jengelbrecht/working/EB_S1_mintpy/AOI1_3/inputs/ERA5.h5
output corrected time-series file: /home/jengelbrecht/working/EB_S1_mintpy/AOI1_3/timeseries_ERA5.h5
read dates/time info from file: /home/jengelbrecht/working/EB_S1_mintpy/AOI1_3/timeseries.h5
time of cloest available product: 23:00 UTC
Traceback (most recent call last):
File "/home/jengelbrecht/MintPy/mintpy/smallbaselineApp.py", line 1256, in <module>
main(sys.argv[1:])
File "/home/jengelbrecht/MintPy/mintpy/smallbaselineApp.py", line 1238, in main
app.run(steps=inps.runSteps)
File "/home/jengelbrecht/MintPy/mintpy/smallbaselineApp.py", line 1053, in run
self.run_tropospheric_delay_correction(sname)
File "/home/jengelbrecht/MintPy/mintpy/smallbaselineApp.py", line 809, in run_tropospheric_delay_correction
tropo_pyaps3.main(iargs)
File "/home/jengelbrecht/MintPy/mintpy/tropo_pyaps3.py", line 784, in main
get_grib_info(inps)
File "/home/jengelbrecht/MintPy/mintpy/tropo_pyaps3.py", line 266, in get_grib_info
inps.snwe = get_snwe(inps.atr, geom_file=inps.geom_file)
File "/home/jengelbrecht/MintPy/mintpy/tropo_pyaps3.py", line 393, in get_snwe
lat0, lat1, lon0, lon1 = get_bounding_box(meta, geom_file=geom_file)
File "/home/jengelbrecht/MintPy/mintpy/tropo_pyaps3.py", line 457, in get_bounding_box
if not meta['Y_UNIT'].lower().startswith('deg'):
KeyError: 'Y_UNIT'