Open wachsylon opened 6 months ago
I think this pattern property used to be defined in the PatternMixin (https://github.com/intake/intake/blob/12ce9abc1611b8612b4a741fc1e0f106058ebbaa/intake/source/base.py), but this mixin seems to be empty in the last versions.
Correct, Intake 2 readers are by design much simpler than the previous iteration, to encourage the creation of many many readers. In so doing, some complex functionality has been lost. Of course, there's nothing to stop you using intake<2, and the same effect can still be achieved in V2 too (see e.g., DaskCSVPattern
for csvs).
I think
self.pattern
needs to be changed intoself.path_as_pattern
:https://github.com/intake/intake-xarray/blob/d0418f787181d638629b76c2982a9a215a3697be/intake_xarray/netcdf.py#L73
I run into the issue with a simple
catalog.