MintPy
MintPy copied to clipboard
geocode.py fails with bilinear interpolation
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
Hi @EJFielding, the linear interpolation is not finished. I will put this on the to-do list.
Thanks for the information. I hope this can be added, but I understand that you have a PhD dissertation to complete and defend.
Thanks for your understanding.