NREL / hsds-examples

Examples of using the HSDS Service to Access NREL WIND Toolkit data
https://www.nrel.gov/grid/wind-toolkit.html
Other
94 stars 40 forks source link

Suppress logging #17

Closed heitkamz closed 1 year ago

heitkamz commented 1 year ago

Hello - I recently started receiving extensive logging when using the HSDS. For example, the below output is from calling: h5pyd.File("/nrel/wtk-us.h5", "r")

Is there a way to suppress this logging?

image

heitkamz commented 1 year ago

Issue fixed with the below:

import logging logging.getLogger().setLevel(logging.WARNING)