Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/environment-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- pydantic>=1.9
- python-graphviz
- python=3.10
- s3fs
- s3fs >=2022.8.2
- sphinx
- sphinx-copybutton
- sphinx-design
Expand Down
2 changes: 1 addition & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
- pytest-sugar
- pytest-xdist
- pytest-mock
- s3fs
- s3fs >=2022.8.2
- scipy
- xarray>=2022.06
- xarray-datatree
Expand Down
1 change: 1 addition & 0 deletions intake_esm/cat.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ def load(
"""
storage_options = storage_options if storage_options is not None else {}
read_csv_kwargs = read_csv_kwargs or {}
json_file = str(json_file) # We accept Path, but fsspec doesn't.
_mapper = fsspec.get_mapper(json_file, **storage_options)

with fsspec.open(json_file, **storage_options) as fobj:
Expand Down
4 changes: 4 additions & 0 deletions tests/test_core.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import ast
import os

import dask
import intake
import pandas as pd
import pydantic
Expand All @@ -10,6 +11,9 @@

import intake_esm

dask.config.set(scheduler='single-threaded')


registry = intake_esm.DerivedVariableRegistry()


Expand Down