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

problem adding shaded relief from DEM using view.py (or tsview.py) #286

Closed
prlundgren opened this issue Feb 27, 2020 · 1 comment · Fixed by #289
Closed

problem adding shaded relief from DEM using view.py (or tsview.py) #286

prlundgren opened this issue Feb 27, 2020 · 1 comment · Fixed by #289

Comments

@prlundgren
Copy link

prlundgren commented Feb 27, 2020

(MintPy) tiger D83) view.py inputs/ifgramStack.h5 unwrapPhase-20190124_20200125 --wrap -d ../DEM/demLat_S38_S36_Lon_W072_W070.dem.wgs84
run view.py in MintPy release version v1.2.0-22, release date 2020-02-18
input file is ifgramStack file: /u/tiger-z5/paul/CHILLAN/S1/ARIA/D83/inputs/ifgramStack.h5 in float32 format
file size in y/x: (480, 540)
num of datasets in file ifgramStack.h5: 1476
num of datasets to exclude: 0
num of datasets to display: 1
data   coverage in y/x: (0, 0, 540, 480)
subset coverage in y/x: (0, 0, 540, 480)
data   coverage in lat/lon: (-71.65, -36.7, -71.20000018, -37.09999984)
subset coverage in lat/lon: (-71.65, -36.7, -71.20000018, -37.09999984)
------------------------------------------------------------------------
colormap: jet
figure title: unwrapPhase-20190124_20200125_wrap
figure size : [8.43750000000005, 6.0]
reading data ...
re-wrapping data to [-3.141592653589793, 3.141592653589793]
data    range: [-3.1415646, 3.1415904] radian
display range: [-3.141592653589793, 3.141592653589793] radian
reading DEM: demLat_S38_S36_Lon_W072_W070.dem.wgs84 ...
display data in transparency: 0.8
plot in Lat/Lon coordinate
map projection: PlateCarree
plotting DEM background ...
show shaded relief DEM
show contour in step of 200.0 m with smoothing factor of 3.0
plotting image ...
plot scale bar: [0.2, 0.2, 0.1]
plot reference point
showing ...
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
@yunjunz
Copy link
Member

yunjunz commented Feb 28, 2020

Thank you @prlundgren. It's a bug introduced while we replacing basemap with cartopy, as you pointed it out. It's should be fixed now.

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

Successfully merging a pull request may close this issue.

2 participants