You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using richdem to perform calculations on a lot of small locations in a loop. As a result I get very verbose logs from richdem with a progress bar and the citation string. This is a bit annoying when I collect the logs and check them after large jobs on a cluster. Is there an option to turn of log messages from the C libs when using the python api? a sort of --verbose 0.
This is what I am using:
rda = rd.rdarray(dem_arr, no_data=-9999)
with HiddenPrints():
attrs = [rd.TerrainAttribute(rda, attrib=attr) for attr in attributes]
return attrs
HiddenPrints suppresses those from python already.
The text was updated successfully, but these errors were encountered:
Is there a way to suppress the log messages?
I am using
richdem
to perform calculations on a lot of small locations in a loop. As a result I get very verbose logs from richdem with a progress bar and the citation string. This is a bit annoying when I collect the logs and check them after large jobs on a cluster. Is there an option to turn of log messages from the C libs when using the python api? a sort of--verbose 0
.This is what I am using:
HiddenPrints
suppresses those from python already.The text was updated successfully, but these errors were encountered: