polaris.e3sm.init.inputdata.get_creation_date
- polaris.e3sm.init.inputdata.get_creation_date(config: PolarisConfigParser, section: str) str[source]
The creation date the staged files are stamped with, as
YYYYMMDD.The last dotted field of a staged filename before
.nc(or before.part.<n>for a partition) is its creation date.- Parameters:
config (polaris.config.PolarisConfigParser) – The config options.
section (str) – The config section with the
creation_dateoption.
- Returns:
str – The creation date.
- Raises:
ValueError – If the date has not been set.
set_creation_date()sets it at setup time, so this means it was cleared afterwards.