Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
abarciauskas-bgse committed Nov 9, 2023
1 parent dc934b4 commit d121b75
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions titiler/xarray/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ def get_filesystem(
"""
Get the filesystem for the given source path.
"""
cache_type = (
"blockcache" if xr_engine == "h5netcdf" else "filecache"
)
cache_type = "blockcache" if xr_engine == "h5netcdf" else "filecache"
if protocol == "s3":
s3_filesystem = (
fsspec.filesystem(cache_type, **get_cache_args(protocol, cache_type))
Expand Down

0 comments on commit d121b75

Please sign in to comment.