Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional in step 9 in save_hdfeos5.py: key error: LON_REF1 #29

Closed
falkamelung opened this issue Oct 15, 2022 · 1 comment
Closed

Occasional in step 9 in save_hdfeos5.py: key error: LON_REF1 #29

falkamelung opened this issue Oct 15, 2022 · 1 comment

Comments

@falkamelung
Copy link
Contributor

falkamelung commented Oct 15, 2022

Occasionally I am getting this LON_REF1 attribute error in the last step. For the Pichincha test data I don't get it. A couple of days ago it worked fine with this data but slight different parameters.
Any idea?

******************** step - hdfeos5 ********************
--------------------------------------------

save_hdfeos5.py /scratch2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/geo/geo_timeseries_demErr.h5 --tc /scratch2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/geo/geo_temporalCoheren
ce.h5 --asc /scratch2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/geo/geo_avgSpatialCoh.h5 -m /scratch2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/geo/geo_maskTempCoh.h5 -g /scratc
h2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/geo/geo_geometryRadar.h5 -t /scratch2/05861/tg851601/MiamiSenAT48/miaplpy/network_single_reference/smallbaselineApp.cfg
read options from template file: smallbaselineApp.cfg
Traceback (most recent call last):
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/cli/smallbaselineApp.py", line 213, in <module>
    main(sys.argv[1:])
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/cli/smallbaselineApp.py", line 208, in main
    run_smallbaselineApp(inps)
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 1115, in run_smallbaselineApp
    app.run(steps=inps.runSteps)
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 921, in run
    self.run_save2hdfeos5(sname)
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/smallbaselineApp.py", line 861, in run_save2hdfeos5
    mintpy.cli.save_hdfeos5.main(iargs)
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/cli/save_hdfeos5.py", line 107, in main
    save_hdfeos5(inps)
  File "/work2/05861/tg851601/stampede2/test3_frontera/rsmas_insar/sources/MintPy/mintpy/save_hdfeos5.py", line 437, in save_hdfeos5
    meta = prep_metadata(
  File "/work2/05861/tg851601/stampede2/test3_frontera/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/test3_frontera/rsmas_insar/sources/MintPy/mintpy/save_hdfeos5.py", line 118, in metadata_mintpy2unavco
    lons = [meta['LON_REF1'],
KeyError: 'LON_REF1'
Go back to directory: /scratch2/05861/tg851601/MiamiSenAT48/miaplpy

###############################################################
@falkamelung
Copy link
Contributor Author

I had a messed up ice installation. Is not an issue. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant