polaris.analysis.publish.published_basename
- polaris.analysis.publish.published_basename(product, filename)[source]
Get the name one of a product’s files is published under
The name is the facets in a fixed order, so that it sorts usefully, greps usefully, and cannot collide between two date ranges.
- Parameters:
product (polaris.analysis.manifest.Product) – The product the file belongs to
filename (str) – The name of the file within the step’s work directory
- Returns:
basename (str) – The name to publish it under