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

geocode.py fails with bilinear interpolation #215

Open
EJFielding opened this issue Sep 12, 2019 · 3 comments
Open

geocode.py fails with bilinear interpolation #215

EJFielding opened this issue Sep 12, 2019 · 3 comments

Comments

@EJFielding
Copy link

Description of the problem

Running geocoding script with the bilinear flag faults with an error.

Full script that generated the error

geocode.py timeseriesStepModel.h5 timeseries -i bilinear

Full error message

resampling file: timeseriesStepModel.h5
reading timeseries from timeseriesStepModel.h5 ...
bilinear resampling using 1 processor cores ...
Traceback (most recent call last):
  File "/home/fielding/python/MintPy/mintpy/geocode.py", line 340, in <module>
    main()
  File "/home/fielding/python/MintPy/mintpy/geocode.py", line 334, in main
    run_geocode(inps)
  File "/home/fielding/python/MintPy/mintpy/geocode.py", line 311, in run_geocode
    print_msg=True)
  File "/home/fielding/python/MintPy/mintpy/objects/resample.py", line 88, in run_resample
    print_msg=True)
  File "/home/fielding/python/MintPy/mintpy/objects/resample.py", line 466, in run_pyresample
    epsilon=0)
  File "/home/fielding/anaconda3/envs/mintpy/lib/python3.7/site-packages/pyresample/bilinear/__init__.py", line 86, in resample_bilinear
    epsilon=epsilon)
  File "/home/fielding/anaconda3/envs/mintpy/lib/python3.7/site-packages/pyresample/bilinear/__init__.py", line 238, in get_bil_info
    proj = Proj(target_area_def.proj_str)
AttributeError: 'GridDefinition' object has no attribute 'proj_str'

System information

  • Operating system: Linux
  • Version of Python and relevant dependencies if applicable Python 3.7.3
  • Version of MintPy (output of smallbaselineApp.py -v): MintPy release version v1.2beta-32, release date 2019-09-09
@yunjunz
Copy link
Member

yunjunz commented Sep 12, 2019

Hi @EJFielding, the linear interpolation is not finished. I will put this on the to-do list.

@EJFielding
Copy link
Author

Thanks for the information. I hope this can be added, but I understand that you have a PhD dissertation to complete and defend.

@yunjunz
Copy link
Member

yunjunz commented Sep 12, 2019

Thanks for your understanding.

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

No branches or pull requests

2 participants