odc-tools
odc-tools copied to clipboard
s3-to-dc does not index when s3 url doesn't contain *
There needs to be a way to index a specific dataset, without accidentally indexing other datasets.
Not accepting globs that do not contain wildcards is a weird bug (because such globs should certainly be valid).
There definitely should also be support for not using globs at all. It's silly to have to try to invent dummy globs for the cases where the intended dataset URI is already known exactly.
I haven't tested, but the ridiculously named --skip-check flag might enable this behaviour. :(
--skip-check Assume file exists when listing exact file rather than wildcard.
This could be a default, dependent on * being in the argument.