- Jan 27, 2023
-
-
L. Bower authored
moving the check for the "live" flag into the runProcess function, so will be picked up when not running directly from the command line
-
- Jan 26, 2023
-
-
J.W. Smith authored
This is required for the standard epi model output, which has units of ha_infected per ha_cell, because the model risk thresholds are fitted for units of ha_infected per ha_wheat.
-
- Jan 24, 2023
-
-
J.W. Smith authored
-
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.
-
J.W. Smith authored
chore: Tidy imports
-
J.W. Smith authored
-
J.W. Smith authored
-
- Jan 12, 2023
-
-
J.W. Smith authored
And reports are sorted by date. And assumed disease prevalence is set to medium, not low.
-
J.W. Smith authored
-
- Jan 11, 2023
-
-
J.W. Smith authored
Can be called with command line flag '-p Scraper'. To use, the config file requires the following minimal entry (with URL for South Asia): "Scraper" : { "ProcessPreJob" : "do_nothing_return_true", "ProcessInJob" : "process_in_job_media_scraper", "ProcessEWSPlotting" : "do_nothing", "seasonStartString" : "20220101", "URL" : "https://arrcc-viewer.onrender.com/assets/sample_data/data.zip" },
-
J.W. Smith authored
-
- Dec 16, 2022
- Dec 08, 2022
-
-
L. Bower authored
-
- Nov 23, 2022
-
-
J.W. Smith authored
-
L. Bower authored
-
- Nov 15, 2022
- Nov 09, 2022
-
-
L. Bower authored
-
- Nov 08, 2022
-
-
L. Bower authored
changing the scp logic and the ssh file checking logic to use a different command if no server name is set
-
Dr T. Mona authored
This is necessary for Win to be able to rename the file afterward.
-
- Nov 07, 2022
-
-
J.W. Smith authored
-
J.W. Smith authored
Before this commit, the process_pre_job_server_download() function would check if the necessary tar file exists on the remote server. But, because it is written there by sftp, and sftp doesn't generate any lock file or temp files, in-progress sftp writes look like they are available and the job continues. With this change, the job will only process if the tar file is completely written.
-
- Nov 04, 2022
-
-
L. Bower authored
restoring the original sys.exit to ProcessorUtils, dealing with exit commands in the unit tests by catching them
-
- Nov 03, 2022
-
-
L. Bower authored
-
- Nov 01, 2022
-
-
L. Bower authored
-
- Oct 26, 2022
-
-
L. Bower authored
-
- Oct 24, 2022
-
-
J.W. Smith authored
Because of changes to EpiPrepLister in the last few months, the file listers have changed name and are too complicated to guess. Now, it will be necessary for the user to specify them in the input config file. EpiPrepLister's docstring will have to guide the user clearly enough.
-
- Oct 20, 2022
-
-
L. Bower authored
-
- Oct 10, 2022
-
-
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.
-
- Oct 03, 2022