We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c656abd commit 760b6b0Copy full SHA for 760b6b0
cf_xarray/utils.py
@@ -108,10 +108,16 @@ def parse_cf_standard_name_table(source=None):
108
if not source:
109
import pooch
110
111
+ downloader = pooch.HTTPDownloader(
112
+ # https://github.com/readthedocs/readthedocs.org/issues/11763
113
+ headers={"User-Agent": "cf-xarray"}
114
+ )
115
+
116
source = pooch.retrieve(
117
"https://raw.githubusercontent.com/cf-convention/cf-convention.github.io/"
118
"master/Data/cf-standard-names/current/src/cf-standard-name-table.xml",
119
known_hash=None,
120
+ downloader=downloader,
121
)
122
root = ElementTree.parse(source).getroot()
123
0 commit comments