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

Switch to data time cycling to support multiple models and multiple case studies or trials #765

Merged
merged 92 commits into from
Oct 24, 2024

Commits on Sep 27, 2024

  1. Add multiple models to rose edit configuration

    Also gone through and removed some unneeded things, added titles, etc.
    
    Still need to go through the diagnostics.
    
    Split diagnostics into sections, add input variable table
    
    Also link in more models, so 10 are now supported.
    
    Improvements to rose edit metadata
    
    Fix a bunch of validation issues
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b4c2e9d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03adedb View commit details
    Browse the repository at this point in the history
  3. Change how data is fetched to work on data time

    Also now use subclasses for getting individual files from the various
    data sources.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    0bc1c1a View commit details
    Browse the repository at this point in the history
  4. Modify data fetching in workflow to fetch per model

    Grab rose template variables directly, rather than via jinja context
    
    Add workflow exported functions to __all__
    
    Add licence header to jinja_utils
    
    Require success for processing tasks in workflow
    
    Housekeep only on success, but finish workflow regardless
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    5cef3d2 View commit details
    Browse the repository at this point in the history
  5. Change recipe format to just use steps, and update infra for running …

    …them
    
    I've updated one recipe for now, but they will all have to be converted.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b76ea6f View commit details
    Browse the repository at this point in the history
  6. Add cycling for trials

    The final cycle point task are skipped if doing a continuous trial
    without a defined end date.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    3d3ac43 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ac584f5 View commit details
    Browse the repository at this point in the history
  8. Remove unneeded recipes

    They have all been replaced my the more generic version that work for
    both the UM and LFRic.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9a5e1cc View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2f88f13 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f8b4a08 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d192622 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9e820b6 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    528157e View commit details
    Browse the repository at this point in the history
  14. Differentiate output directories for different case dates

    Use cycle point for deterministic resolving.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9b50c42 View commit details
    Browse the repository at this point in the history
  15. Remove duplicated include file

    It was also invalid due to referencing non-existent variables.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    5089d69 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    3e505e2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    37a056e View commit details
    Browse the repository at this point in the history
  18. Convert more recipes

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    67c760a View commit details
    Browse the repository at this point in the history
  19. Split rose metadata into multiple files

    Also rearrange pressure level metadata.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a513ad1 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    1f41b0f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    fe6e1d3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    1ba222f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    af985bd View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    e0852ce View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f454aea View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8fed534 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    9dbc08d View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    5a97d1f View commit details
    Browse the repository at this point in the history
  29. Convert transect recipe

    Q-Q plot recipe is partially converted, pending Issue #808.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    c729b2c View commit details
    Browse the repository at this point in the history
  30. Fix CLI tests

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    cb12566 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    18bc8fd View commit details
    Browse the repository at this point in the history
  32. Fix run_cset_recipe tests

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a2c84bc View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    381ca53 View commit details
    Browse the repository at this point in the history
  34. Add some more tests

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    024fe4f View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    394886a View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    cd6d125 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    3bec01a View commit details
    Browse the repository at this point in the history
  38. Add fetch_data tests

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    408fd4e View commit details
    Browse the repository at this point in the history
  39. Reference UTC timezone as datetime.timezone.utc

    The datetime.UTC alias was only added in python 3.11.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4d2b034 View commit details
    Browse the repository at this point in the history
  40. Add workaround for old python not supporting ISO 8601 datetimes

    This should be removed when we drop python 3.10 support.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    a081c45 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    f0ae9d5 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    97dccd8 View commit details
    Browse the repository at this point in the history
  43. Fix typo in rose metadata

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    4f000f8 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    280400c View commit details
    Browse the repository at this point in the history
  45. Finish website on compute platform

    Now it touches the data to generate the index, it probably shouldn't be
    run on the cylc scheduler.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    93b5a3e View commit details
    Browse the repository at this point in the history
  46. Remove outdated comment

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    9c0c064 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    18e2ea1 View commit details
    Browse the repository at this point in the history
  48. Remove parallel and collate steps

    We've now gone back to just steps.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b04ad20 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    cf85a57 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    680e2c5 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    1ed4c88 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    1e97a29 View commit details
    Browse the repository at this point in the history
  53. Update rose-meta.conf

    Sylviabohnenstengel authored and jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    54a9987 View commit details
    Browse the repository at this point in the history
  54. Update documentation.rst

    Sylviabohnenstengel authored and jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b216bdc View commit details
    Browse the repository at this point in the history
  55. Change datetime examples to use YYYYMMDDThhmmZ format

    It is more familiar to users.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d929019 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    a311bac View commit details
    Browse the repository at this point in the history
  57. Clarify that CSET_ANALYSIS_OFFSET

    Note that if fixes differences between the initiation time and the first
    validity time.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    dd32563 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    68b6aba View commit details
    Browse the repository at this point in the history
  59. Number models from 0 to allow directly using as index

    This removes the -1 from all usage in include files.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    2a84412 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    657b421 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    1111d86 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    134d10a View commit details
    Browse the repository at this point in the history
  63. Clarify STASH code format

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f8bd829 View commit details
    Browse the repository at this point in the history
  64. Remove useless help text

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f44bd60 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    397e7e8 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    6ec9e16 View commit details
    Browse the repository at this point in the history
  67. Do full range of models

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    40bd82f View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    48b96ba View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    888ed06 View commit details
    Browse the repository at this point in the history
  70. Default to False when setting doesn't exist

    This is useful if the setting is not in the rose-suite.conf
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    60a4244 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    006b107 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    f445831 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    075ebcc View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    1dac26d View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    dcdfe75 View commit details
    Browse the repository at this point in the history
  76. Move HTTPFileRetriever into fetch_data module

    Also add a test.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    332a5ed View commit details
    Browse the repository at this point in the history
  77. Fix HTTPFileRetriever

    The output_dir was in the wrong place, so it was making a POST request.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    581029d View commit details
    Browse the repository at this point in the history
  78. Simplify type signature

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    0d766b6 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    d64afa1 View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    3a61ecc View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    7a2b86c View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    3f0e22d View commit details
    Browse the repository at this point in the history
  83. Remove extraneous )

    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    b153bfd View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    f5d43c6 View commit details
    Browse the repository at this point in the history
  85. Bundle recipes and example data into documentation

    This prevents needing to rely on external hosts for these. I did need to drop
    the example commands to fetch the resources via curl, but they were probably
    confusing anyway.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8ef8360 View commit details
    Browse the repository at this point in the history
  86. Remove preprocessing settings

    They are not implemented yet, and can be re-added when they are.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    d1f89b9 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    22c1d67 View commit details
    Browse the repository at this point in the history
  88. Make area constraint much stricter, and handle date line

    The operator now requires all arguments to either be numbers, or all be None
    if you don't want to constrain the area.
    
    The test has been mildly improved, so at least it checks for both of the
    named functions on the coordinates, though it still doesn't test that they
    do anything.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    8a8cb48 View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    02a7770 View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    dc344b9 View commit details
    Browse the repository at this point in the history
  91. Remove extra space from rose-suite.conf.example

    It is invalid rose syntax. Also use !! to disable showing the option
    in the GUI.
    jfrost-mo committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    f1a6eb7 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    64da0c0 View commit details
    Browse the repository at this point in the history