From 2499b0052efd7ced147c49603f6e56cdd2298451 Mon Sep 17 00:00:00 2001 From: Tamas Mona <tm689@cam.ac.uk> Date: Tue, 1 Jun 2021 17:34:46 +0100 Subject: [PATCH] Add advisory config. --- configs/config_EastAfrica_fc_live.json | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/configs/config_EastAfrica_fc_live.json b/configs/config_EastAfrica_fc_live.json index 9172293..71210a5 100644 --- a/configs/config_EastAfrica_fc_live.json +++ b/configs/config_EastAfrica_fc_live.json @@ -177,5 +177,38 @@ "PythonScript" : "/storage/app/EWS/General/EWS-Plotting/python/bangladesh/ews_plotting_epi_ethiopia_main.py", "EpiCase" : "log10DepEnv" } + }, + "Advisory" : + { + "ProcessPreJob" : "query_past_successes", + "ProcessInJob" : "process_in_job_advisory", + "ProcessEWSPlotting" : "do_nothing", + "seasonStartString" : "20210301", + "Environment" : { + "SuccessFileTemplate" : "${WorkspacePath}ENVIRONMENT_2.0_${StartString}/STATUS_SUCCESS", + "PlotPathTemplate" : "${WorkspacePath}/ENVIRONMENT_2.0_${dateString}/plotting/${SubRegionNameLower}/images/Weekly/", + "PlotFilenameTemplates" : { + "stripe" : "${envPlotPath}/suitability_${SubRegionNameLower}_stripe_rust_total_${dateString}0000_${EnvEndString}0000_map.png", + "stem" : "${envPlotPath}/suitability_${SubRegionNameLower}_stem_rust_total_${dateString}0000_${EnvEndString}0000_map.png", + "leaf" : "${envPlotPath}/suitability_${SubRegionNameLower}_leaf_rust_total_${dateString}0000_${EnvEndString}0000_map.png" + } + }, + "Deposition" : { + "SuccessFileTemplate" : "${WorkspacePath}DEPOSITION_${StartString}/STATUS_SUCCESS", + "PlotPathTemplate" : "${WorkspacePath}/DEPOSITION_${dateString}/plotting/${SubRegionNameLower}/images/Weekly/", + "PlotFilenameTemplates" : { + "stripe": "${depPlotPath}/deposition_${SubRegionNameLower}_stripe_total_${dateString}0000_${weekAheadString}0000_map.png", + "stem": "${depPlotPath}/deposition_${SubRegionNameLower}_stem_total_${dateString}0000_${weekAheadString}0000_map.png", + "leaf": "${depPlotPath}/deposition_${SubRegionNameLower}_leaf_total_${dateString}0000_${weekAheadString}0000_map.png" + } + }, + "Surveys" : { + "Ethiopia" : { + "ShapeFilenameAdmin0" : "/storage/app/EWS/Ethiopia/Documents/shapefiles/admin-boundaries/Ethiopia_All/Eth_Region_2013.shp", + "ShapeFilenameAdmin1" : "/storage/app/EWS/Ethiopia/Documents/shapefiles/admin-boundaries/Ethiopia_All/Eth_Zone_2013.shp", + "ShapeFilenameAdmin2" : "/storage/app/EWS/Ethiopia/Documents/shapefiles/admin-boundaries/Ethiopia_All/Eth_Woreda_2013.shp" + } + }, + "logos" : "/storage/app/EWS/Ethiopia/Documents/logos_Ethiopia_plotting.png" } } \ No newline at end of file -- GitLab