Replaced workaround for warning with warnings.catch_warning.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
3 jobs for v0.3.3 in 1 minute and 54 seconds (queued for 9 minutes and 5 seconds)
latest