tropo_pyaps3.py -f timeseries.h5 --model ERA5 -g ./INPUTS/geometryRadar.h5 -w ../WEATHER
Result:
.................................
open geometry file: geometryRadar.h5
reading height data from file: ./INPUTS/geometryRadar.h5 ...
reading incidenceAngle data from file: ./INPUTS/geometryRadar.h5 ...
Traceback (most recent call last):
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 576, in <module>
main()
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 562, in main
get_delay_timeseries(inps, atr)
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 502, in get_delay_timeseries
inps.lat, inps.lon = get_lat_lon(geom_obj.metadata)
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 465, in get_lat_lon
lat0, lat1, lon0, lon1 = get_bounding_box(meta)
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 453, in get_bounding_box
lats = [float(meta['LAT_REF{}'.format(i)]) for i in [1,2,3,4]]
File "/home/hzc/Software/PySAR/pysar/tropo_pyaps3.py", line 453, in <listcomp>
lats = [float(meta['LAT_REF{}'.format(i)]) for i in [1,2,3,4]]
KeyError: 'LAT_REF1'
I was run the command, tropo_pyaps.py -f timeseries.h5 --model ECMWF -g ./INPUTS/geometryRadar.h5 -w ../WEATHER, everything is okay! So how do I solve this problem.
Best regards!
Zicheng Huang