You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you say mintpy.save.hdfEos5 = yes then I get in the run)9 step this error:
******************** step - hdfeos5 ********************
--------------------------------------------
save_hdfeos5.py /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/geo/geo_timeseries_demErr.h5 --tc /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/geo/geo_temporalCoherence.h5 --asc /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/geo/geo_avgSpatialCoh.h5 -m /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/geo/geo_maskTempCoh.h5 -g /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/geo/geo_geometryRadar.h5 -t /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy/network_single_reference/smallbaselineApp.cfg
read options from template file: smallbaselineApp.cfg
Traceback (most recent call last):
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/cli/smallbaselineApp.py", line 213, in <module>
main(sys.argv[1:])
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/cli/smallbaselineApp.py", line 208, in main
run_smallbaselineApp(inps)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 1117, in run_smallbaselineApp
app.run(steps=inps.runSteps)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 922, in run
self.run_save2hdfeos5(sname)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 862, in run_save2hdfeos5
mintpy.cli.save_hdfeos5.main(iargs)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/cli/save_hdfeos5.py", line 107, in main
save_hdfeos5(inps)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/save_hdfeos5.py", line 437, in save_hdfeos5
meta = prep_metadata(
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/save_hdfeos5.py", line 64, in prep_metadata
unavco_meta = metadata_mintpy2unavco(meta, ts_obj.dateList, geom_file)
File "/work2/05861/tg851601/stampede2/code/rsmas_insar/sources/MintPy/mintpy/save_hdfeos5.py", line 118, in metadata_mintpy2unavco
lons = [meta['LON_REF1'],
KeyError: 'LON_REF1'
Go back to directory: /scratch/05861/tg851601/qunittestGalapagosSenDT128/miaplpy
MintPy does not throw this error.
It turns out that the data.rsc lacks the fields LAT_REF1, etc, whereas the data.rsc generated by mintpy has them:
LON_REF1, etc is read from the .xml file here. However, the extract_geometry_metadata function is never reached, because it thinks that there are no geom_files. It checks for the existence of e.g. lat.rdr.fullhere. But the file does not exist. Only lat.rdr.full.vrt exists.
I hope there is an easy fix??
The text was updated successfully, but these errors were encountered:
When you say
mintpy.save.hdfEos5 = yes
then I get in the run)9 step this error:MintPy does not throw this error.
It turns out that the
data.rsc
lacks the fieldsLAT_REF1
, etc, whereas thedata.rsc
generated by mintpy has them:The problem is at follows:
LON_REF1
, etc is read from the .xml file here. However, theextract_geometry_metadata
function is never reached, because it thinks that there are nogeom_files
. It checks for the existence of e.g.lat.rdr.full
here. But the file does not exist. Onlylat.rdr.full.vrt
exists.I hope there is an easy fix??
The text was updated successfully, but these errors were encountered: