odc-tools icon indicating copy to clipboard operation
odc-tools copied to clipboard

s3-to-dc does not index when s3 url doesn't contain *

Open pindge opened this issue 3 years ago • 2 comments

pindge avatar Jun 28 '22 00:06 pindge

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.

benjimin avatar Oct 05 '23 04:10 benjimin

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.

omad avatar Oct 26 '23 00:10 omad