FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
  1. Feb 14, 2024
  2. Feb 07, 2024
  3. Feb 05, 2024
  4. Jan 31, 2024
  5. Oct 19, 2023
  6. Oct 17, 2023
  7. Oct 11, 2023
  8. Sep 25, 2023
  9. Aug 22, 2023
    • J.W. Smith's avatar
      feat: Script to download the new survey form · fb82d0ff
      J.W. Smith authored
      Not for immediate production, awaiting verification from Yoseph.
      
      Credentials to access the new survey form are available on episerver at
      /storage/app/EWS_prod/regions/EastAfrica/resources/coordinator/configs/
      Cred-ODK-EIAR_newODK.json
      fb82d0ff
  10. Aug 16, 2023
    • Dr T. Mona's avatar
      doc: description for grouping · de9f8174
      Dr T. Mona authored
      de9f8174
    • Dr T. Mona's avatar
      feat: Grouped surveys and source gen. · 62506376
      Dr T. Mona authored
      Adding the functionality to group surveys and run source gen on each groups. Grouping is only run if it is defined in the config (otherwise it use all available surveys), and it is based on the 'Origin' column of the surveys. All unique 'Origin' will create its own group alongside the ones defined in the config. Groups can be ignored by defining 'GroupsToIgnore' in the config (this has no effect on 'Origin' types).
      62506376
  11. Aug 10, 2023
  12. May 11, 2023
  13. May 10, 2023
    • Dr T. Mona's avatar
      Fix: folder creation and messaging fix. · b467d24e
      Dr T. Mona authored
      - Always create ExportCSV folder if it is not exist to allow merging.
      - Correcting messages to not have ODK as the default download.
      - Add ProcessorSurveysWRT import.
      b467d24e
  14. Apr 17, 2023
  15. 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
  16. Nov 01, 2022
  17. Oct 26, 2022
  18. Oct 10, 2022
    • J.W. Smith's avatar
      chore: Switch source calc from R version to python · fec30843
      J.W. Smith authored
      This relates to developments to ease the maintenance
      of the forecast system. With this development, there is no R code to
      actively maintain. Moving from git project wheat-source-generation to
      ews-source-generation. The python code has been validated for
      identical performance to the R version. The only differences are
      small changes from the underlying shapefile reading packages
      (see notes-on-rewriting-in-python.txt in ews-source-generation).
      
      Keeping the option to used the R code for some time in case any
      follow-up investigation is required.
      fec30843
  19. Oct 03, 2022
  20. Sep 20, 2022
    • Dr T. Mona's avatar
      fix: Handle WRSIS response error · 07d39bdf
      Dr T. Mona authored
      WRSIS HTTP response should have 'response' in it which contains the survey information, even if it is empty:
      {'msg': 'successful', 'response': {'Rust Survey Data': []}, 'status': '200'}
      07d39bdf
  21. Sep 06, 2022
  22. Aug 31, 2022
    • J.W. Smith's avatar
      chore: Remove redundant imports · 2ad9e748
      J.W. Smith authored
      2ad9e748
    • 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
Loading