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

Garbage output #56

Open
AlexeyPechnikov opened this issue Jul 25, 2022 · 1 comment
Open

Garbage output #56

AlexeyPechnikov opened this issue Jul 25, 2022 · 1 comment

Comments

@AlexeyPechnikov
Copy link

Is it possible to suppress the output? The library prints a lot of useless messages instead of some kind of the results indication:

make: Nothing to be done for `download'.
make: Nothing to be done for `all'.
cp SRTM3.vrt SRTM3.59bf58268fdd40ac9758f146322622f7.vrt
gdal_translate -q -co TILED=YES -co COMPRESS=DEFLATE -co ZLEVEL=9 -co PREDICTOR=2 -projwin 43.45734856112712 36.364031827389006 44.72374194164439 34.521751840885294 SRTM3.59bf58268fdd40ac9758f146322622f7.vrt /Users/mbg/Work/pygmtsar2/raw/DEM_EGM96.tif
rm -f SRTM3.59bf58268fdd40ac9758f146322622f7.vrt
find cache -size 0 -name "*.tif" -delete
rm -f SRTM1.*.vrt
rm -f -r spool/*
@NoahCardoza
Copy link

I felt the same way and opened a PR (#64) to do just that if you are still looking for a way to do this.

In case the PR doesn't get merged, you can install the fork with the following command:

pip install git+https://github.com/NoahCardoza/elevation.git

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

2 participants