xgcm / aerobulk-python

A python wrapper for aerobulk (https://github.com/brodeau/aerobulk)
GNU General Public License v3.0
14 stars 4 forks source link

Suppress print statements #24

Closed jbusecke closed 2 years ago

jbusecke commented 2 years ago

As much as we all love "Aerobulk Bye", it becomes pretty annoying when running stuff on a chunked dask array:

When running some tests with #20 I get many, MANY lines of this: image

We should find a way to turn this of. Ideally within the xarray wrapper, because it is useful to see this output once, but not for every chunk?

jbusecke commented 2 years ago

Might be relevant for this: https://stackoverflow.com/questions/63494824/how-do-you-fully-suppress-the-output-of-f2py