Skip to content

Commit

Permalink
use self.reader
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Nov 26, 2024
1 parent 4f443aa commit b92e068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/titiler/xarray_api/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def get_variables(
io_params=Depends(XarrayIOParams),
) -> List[str]:
"""return available variables."""
return XarrayReader.list_variables(
return self.reader.list_variables(
src_path=src_path,
group=io_params.group,
decode_times=io_params.decode_times,
Expand Down

0 comments on commit b92e068

Please sign in to comment.