Global-Flood-Assessment / MoMProduction

Production setup for ModelofModels
1 stars 1 forks source link

Incident report: DFO data 2022-12-31 data is not processed #51

Closed webgisdeveloper closed 10 months ago

webgisdeveloper commented 1 year ago

the system runs at 2023-01-01, it missed the last one from 2022

webgisdeveloper commented 1 year ago

manual fix: copy DFO_tool.py to DFO_tool_fix.py need to modify two lines:

in def DFO_cron():

# datelist = generate_procesing_list()
datelist = {'365': '20221231'}

in def get_hosturl():

# cur_year = date.today().year
cur_year = "2022"

python DFO_too_fix.py

the cronjob will pick up the rest later