Closed fredliporace closed 3 years ago
Actually, I think your understanding of the spec is wrong, @fredliporace.
The spec says:
When defining unique fields for search, like constellation or platform, it is recommended that the value consist of only lowercase characters, numbers,
_
, and-
. Examples includesentinel-1a
(Sentinel-1),landsat-8
(Landsat-8) andenvisat
(Envisat). This is to provide consistency for search across Collections, so that people can just search for 'landsat-8', instead of thinking through all the ways providers might have chosen to name it.
That just means the values for some fields should be restricted to a specific set of values. This doesn't imply anything directly towards field names or ID values. It seems confusing though that these things are listed in the chapter "### Field and ID formatting". We should make better headings.
Made a PR: #1110
@m-mohr my point is that, for example:
This is to provide consistency for search across Collections, so that people can just search for landsat-8, instead of thinking through all the ways providers might have chosen to name it.
In fact, the search would have to be for landsat-8
, landsat_8
and landsat8
. Fixing the best practices to either _
or -
would reduce the number of possibilities without sacrificing too much. Of course we would still have ls8
but that is another problem.
Yes, I agree.
From the gitter channel:
@fredliporace
@m-mohr