fdsn.client error for restricted data

Dear all,

the fdsn client is a very nice tool. To make it even nicer I’d like to report a bug that hinders the download of restricted data in some cases. The description is in the enclosed pdf and the bottom line is, that the resource_type is not always properly set to „queryauth“ when token/user information are set with the different methods.

Best regards
Christoph

fdsn_queryauth_demo.pdf (241 KB)

Thanks for the report, Christoph. I can confirm this is a bug and I openend an issue for it: https://github.com/obspy/obspy/issues/2146

best,
Tobias