-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of cycle point format #1158
Comments
That's true at the moment, although technically it could easily be done - If There is a good point about expanded year digit information... maybe we Third party stuff:
vs
I think third party housekeeping tasks should always make use of Even the |
See also metomi/isodatetime#49. |
[meeting] - too difficult; third party tools will just have to deal with it. |
In cylc-6, setting the cycle point format affects everything: task ID, task labels in the GUI, log directory naming, the format of
$CYLC_TASK_CYCLE_POINT
in the task execution environment, etc.Firstly, @benfitzpatrick - can you confirm that it's not possible for users to specify a cycle point format that violates the ISO 8601 standard (aside from the cylc legacy format that we still support)? If that was possible, tasks could not use
cylc cycle-point
or similar to do date time calculations.Secondly, this new format flexibility probably makes it more difficult for third-party file housekeeping utilities and the like - they can no longer assume a fixed format date-time in suite output directory names.
This may in fact be the best way to do it, but I just want to check...
Another approach could be to use the user-specified cycle point format only for display purposes, and stick with the most basic format for everything else (the format string could be passed to task too). Then third-party utilities can assume the form of date-time strings without having to be fully ISO 8601 aware. But maybe this is not practical now that such a massive range of date-times is possible (climate modellers won't want to specify cycle points to the minute...).
Any thoughts on this Ben?
The text was updated successfully, but these errors were encountered: