Skip to content
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

tutorial: isodatetime #6073

Open
oliver-sanders opened this issue Apr 18, 2024 · 0 comments
Open

tutorial: isodatetime #6073

oliver-sanders opened this issue Apr 18, 2024 · 0 comments

Comments

@oliver-sanders
Copy link
Member

Introduce the isodatetime command into the tutorial (note this is currently done in the Rose tutorial).

The forecast task must access data from tasks in earlier cycles, this is a good opportunity to introduce the isodatetime command.

E.G. something like:

[runtime]
  [[forecast]]
    ..
    [[[environment]]]
      FORECAST_TIME = $CYLC_TASK_CYCLE_POINT
      PREV_FORECASTS = """
          $(isodatetime $CYLC_TASK_CYCLE_POINT --offset=PT6H)
          $(isodatetime $CYLC_TASK_CYCLE_POINT --offset=PT12H)
          $(isodatetime $CYLC_TASK_CYCLE_POINT --offset=PT18H)
      """
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants