Skip to content

Commit a3450fd

Browse files
committed
Make pooch more optionall
1 parent 668ccca commit a3450fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cf_xarray/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ def always_iterable(obj: Any, allowed=(tuple, list, set, dict)) -> Iterable:
8181
def parse_cf_standard_name_table(source=None):
8282
""""""
8383

84-
import pooch
85-
8684
if not source:
85+
import pooch
86+
8787
source = pooch.retrieve(
8888
"https://raw.githubusercontent.com/cf-convention/cf-convention.github.io/"
8989
"master/Data/cf-standard-names/current/src/cf-standard-name-table.xml",

0 commit comments

Comments
 (0)