FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. May 10, 2024
  2. May 09, 2024
  3. Apr 10, 2024
  4. Mar 28, 2024
  5. Jan 02, 2024
    • J.W. Smith's avatar
      feat: New component - met data resampler · a667087d
      J.W. Smith authored
      Supporting ongoing collaboration with Mauricio Fernandes and Felipe de Vargas, and Will Thurston, to develop wheat blast and fusarium head blight models driven by UK Met Office met data.
      
      This processor is put it a subdirectory called 'extra' because it is not part of the core products being generated at Cambridge. As such, it will not have substantial documentation or testing, until a time when it is made a core product, or superceded by work elsewhere.
      a667087d
    • J.W. Smith's avatar
      refactor: Move calc_epi_date_range() to utils · 59faa403
      J.W. Smith authored
      So it is available for other components to import
      59faa403
    • J.W. Smith's avatar
      fix: log variable typo · 137296df
      J.W. Smith authored
      137296df
  6. Nov 23, 2023
  7. Nov 22, 2023
    • Dr T. Mona's avatar
      feat: netCDF4 handling tools: · 3645946e
      Dr T. Mona authored
      - reformate a Dataframe to a Series,
      - create bounderies for coordinates,
      - check if a unit is CF convention compliant,
      - create netCDF file from a Series
      3645946e
  8. Oct 31, 2023
  9. Sep 27, 2023
  10. Jan 24, 2023
    • J.W. Smith's avatar
      feat: Clearup functionality · bce461a1
      J.W. Smith authored
      Optional config argument to delete mid-process files at the end of a
      successful job. There is an associated command-line flag '--clearup'.
      
      The reason for this feature is to provide a way to slim down data
      volumes of production runs. A lot of processing files are generated
      and production runs may only need to retain configuration, logs and
      outputs. Also, the inputs might be archived separately, so they
      wouldn't need to be retained in prod runs.
      
      Currently, files are moved to a hard-coded 'recycling bin' directory,
      and there is a minimal set of files set for clearup: only the deposition
      and environment tar files.
      
      This change requires some standard structure to outputs of
      processor_in_job functions, which would be more robust if
      a class structure is implemented.
      
      TODO: Implement a test for file clearup.
      bce461a1
    • J.W. Smith's avatar
      55d676c7
  11. Jan 11, 2023
  12. Nov 08, 2022
  13. Nov 04, 2022
  14. Nov 03, 2022
  15. Oct 26, 2022
  16. Oct 20, 2022
  17. Oct 03, 2022
  18. Sep 20, 2022
  19. Sep 13, 2022
    • J.W. Smith's avatar
      fix: Epi pre-job check is more robust. · b1a972d5
      J.W. Smith authored
      The pre-job is meant to exit quietly if the prerequisite data is not
      available yet. However, the epi pre-job check was raising an error
      if AlternativeSuccessFileTemplate was missing from the config for
      either Deposition or Environment. This is now handled quietly too.
      CAUTION: This means the epi component will never raise an error
      for missing input data, i.e., no email will ever say epi has failed to
      run.
      b1a972d5
  20. Aug 31, 2022
    • J.W. Smith's avatar
      feat: Source switch and split ProcessorComponents · cf4caf3f
      J.W. Smith authored
      1) There is now a python alternative to the R-based wheat-source-
      generation, called source_gen. The functionality to call source_gen
      has been added (see ProcessorSurveys.pyL939 and L1032-1040), but not
      yet switched on while we await testing of
      output at the Met Office.
      
      2) ProcessorComponents was huge (2100 lines!) and the structure was
      not apparent. Each component's supporting functions are now in a
      separate directory. There is also a ProcessorServer.py relating to
      file down/up-loads. ProcessorComponents is now essentially a directory
       to import all the functions. This might inspire a more systematic
       (object-oriented?) structure for each component within coordinator
       in the future.
      cf4caf3f
  21. Aug 24, 2022
  22. May 17, 2021
  23. Feb 22, 2021
    • J.W. Smith's avatar
      feat: subprocess option to choose log type · 5b7486a6
      J.W. Smith authored
      A useful function in ProcessorUtils is subprocess_and_log, which builds a subprocess command and write its stdout and stderr to the log handler. Beforehand, failures only ever generated an error message, but there are some use cases where another log type is preferred. This adds a log type option to the function, and uses it in one case where a warning is more appropriate.
      5b7486a6
  24. Dec 07, 2020
  25. Nov 09, 2020
  26. Jul 17, 2020
Loading