Comments (3)
Example output:
\n\nA
Slope calculation (radians)\x1b[39m\nC Horn, B.K.P., 1981. Hill shading and the reflectance map. Proceedings of the IEEE 69, 14\u201347. doi:10.1109/PROC.1981.11918\x1b[39m\n\n\
r\x1b[2K\r\x1b[2K[== ] (4% - 0.0s - 1 threads)\r\x1b[2K[==== ] (9% - 0.0s - 1 threads)
\r\x1b[2K[======= ] (14% - 0.0s - 1 threads)\r\x1b[2K[========= ] (19% - 0.0s - 1 threads)\r\x1b
[2K[=========== ] (23% - 0.0s - 1 threads)\r\x1b[2K[============== ] (28% - 0.0s - 1 threads)\r\x1b[2K[==
============== ] (33% - 0.0s - 1 threads)\r\x1b[2K[=================== ] (38% - 0.0s - 1 threads)\r\x1b[2K[========
============= ] (42% - 0.0s - 1 threads)\r\x1b[2K[======================= ] (47% - 0.0s - 1 threads)\r\x1b[2K[==============
============ ] (52% - 0.0s - 1 threads)\r\x1b[2K[============================ ] (57% - 0.0s - 1 threads)\r\x1b[2K[====================
========== ] (61% - 0.0s - 1 threads)\r\x1b[2K[================================= ] (66% - 0.0s - 1 threads)\r\x1b[2K[==========================
========= ] (71% - 0.0s - 1 threads)\r\x1b[2K[====================================== ] (76% - 0.0s - 1 threads)\r\x1b[2K[================================
======== ] (80% - 0.0s - 1 threads)\r\x1b[2K[========================================== ] (85% - 0.0s - 1 threads)\r\x1b[2K[======================================
======= ] (90% - 0.0s - 1 threads)\r\x1b[2K[=============================================== ] (95% - 0.0s - 1 threads)\r\x1b[2Kt Wall-time = 0.000431681\x1b[39m\n\nA Curvat
ure attribute calculation\x1b[39m\nC Zevenbergen, L.W., Thorne, C.R., 1987. Quantitative analysis of land surface topography. Earth surface processes and landforms 12, 47\u201356
.\x1b[39m\n\n\r\x1b[2K\r\x1b[2K[== ] (4% - 0.0s - 1 threads)\r\x1b[2K[==== ] (9% - 0.0
s - 1 threads)\r\x1b[2K[======= ] (14% - 0.0s - 1 threads)\r\x1b[2K[========= ] (19% - 0.0s - 1
threads)\r\x1b[2K[=========== ] (23% - 0.0s - 1 threads)\r\x1b[2K[============== ] (28% - 0.0s - 1 thread
s)\r\x1b[2K[================ ] (33% - 0.0s - 1 threads)\r\x1b[2K[=================== ] (38% - 0.0s - 1 threads)\r\x
1b[2K[===================== ] (42% - 0.0s - 1 threads)\r\x1b[2K[======================= ] (47% - 0.0s - 1 threads)\r\x1b[2K[
========================== ] (52% - 0.0s - 1 threads)\r\x1b[2K[============================ ] (57% - 0.0s - 1 threads)\r\x1b[2K[======
======================== ] (61% - 0.0s - 1 threads)\r\x1b[2K[================================= ] (66% - 0.0s - 1 threads)\r\x1b[2K[============
======================= ] (71% - 0.0s - 1 threads)\r\x1b[2K[====================================== ] (76% - 0.0s - 1 threads)\r\x1b[2K[==================
====================== ] (80% - 0.0s - 1 threads)\r\x1b[2K[========================================== ] (85% - 0.0s - 1 threads)\r\x1b[2K[========================
===================== ] (90% - 0.0s - 1 threads)\r\x1b[2K[=============================================== ] (95% - 0.0s - 1 threads)\r\x1b[2Kt Wall-time = 0.000370996\x1b[3
9m\n\nA Aspect attribute calculation\x1b[39m\nC Horn, B.K.P., 1981. Hill shading and the reflectance map. Proceedings of the IEEE 69, 14\u201347. doi:10.1109/PROC.1981.11918\x1b[
39m\n\n\r\x1b[2K\r\x1b[2K[== ] (4% - 0.0s - 1 threads)\r\x1b[2K[==== ] (9% - 0.0s - 1
threads)\r\x1b[2K[======= ] (14% - 0.0s - 1 threads)\r\x1b[2K[========= ] (19% - 0.0s - 1 thread
s)\r\x1b[2K[=========== ] (23% - 0.0s - 1 threads)\r\x1b[2K[============== ] (28% - 0.0s - 1 threads)\r\x
1b[2K[================ ] (33% - 0.0s - 1 threads)\r\x1b[2K[=================== ] (38% - 0.0s - 1 threads)\r\x1b[2K[
===================== ] (42% - 0.0s - 1 threads)\r\x1b[2K[======================= ] (47% - 0.0s - 1 threads)\r\x1b[2K[======
==================== ] (52% - 0.0s - 1 threads)\r\x1b[2K[============================ ] (57% - 0.0s - 1 threads)\r\x1b[2K[============
================== ] (61% - 0.0s - 1 threads)\r\x1b[2K[================================= ] (66% - 0.0s - 1 threads)\r\x1b[2K[==================
================= ] (71% - 0.0s - 1 threads)\r\x1b[2K[====================================== ] (76% - 0.0s - 1 threads)\r\x1b[2K[========================
================ ] (80% - 0.0s - 1 threads)\r\x1b[2K[========================================== ] (85% - 0.0s - 1 threads)\r\x1b[2K[==============================
=============== ] (90% - 0.0s - 1 threads)\r\x1b[2K[=============================================== ] (95% - 0.0s - 1 threads)\r\x1b[2Kt Wall-time = 0.00044846\x1b[39m
from richdem.
This is a good idea. As a workaround until I have time to fix this, you could consider temporarily redirecting output:
https://stackoverflow.com/questions/6796492/temporarily-redirect-stdout-stderr
Does this help?
from richdem.
Ah, I tried that but it unfortunately didn't seem to work... I'm guessing contextlib.redirect_stdout
only operates within Python and doesn't affect C++ stuff that writes directly to /dev/stdout
? Anyways I can totally just eat the messages for now! 😁
from richdem.
Related Issues (20)
- the documentation website(https://richdem.com/doc/index.html) is not available
- Saving a vis generated using rdshow
- Maximum DEM size for slope calculation?
- Issue with breaching and resolving flats
- Option to silent function TerrainAttribute HOT 2
- cmake 3.22.1: MPI not found; will not compile parallel programs for large-scale datasets. HOT 1
- Updating richdem as python package from pypi
- richdem can't find GDAL embedded in python/fiona package HOT 1
- Suppress Parsable Output
- python 3.11 HOT 11
- Installation Failure HOT 2
- Minimum curvature
- problem compiling rd_depression_hierarchy.cpp HOT 2
- Compiling the parallel priority flood program
- H
- Link to documentation in the README is out of date
- Python segmentation fault on Windows/Linux HOT 3
- [WinError 10054] An existing connection was forcibly closed by the remote host HOT 1
- no georeferencing info in geotiff output by rd_fill_spill_merge
- Error creating python wrapper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from richdem.