I am working on a system where celery is used to queue and execute calibration tasks with spotpy. I would like to report to the user useful information as to the progress of the tasks. Currently the algorithms (SCE-UA) is printing statements to stdout. While reporting this as is, this is probably not suitable to reliably report progress (e.g. % of max runtime). I'll draft a design for an observer to plug in an object into SCE that can be updated with progress information, but if other users have suggestions as to designs, I'd like to hear. I'd prefer to reuse something already proven, though it may prove more complicated than a simpler, custom logging system.
I am working on a system where celery is used to queue and execute calibration tasks with spotpy. I would like to report to the user useful information as to the progress of the tasks. Currently the algorithms (SCE-UA) is printing statements to stdout. While reporting this as is, this is probably not suitable to reliably report progress (e.g. % of max runtime). I'll draft a design for an observer to plug in an object into SCE that can be updated with progress information, but if other users have suggestions as to designs, I'd like to hear. I'd prefer to reuse something already proven, though it may prove more complicated than a simpler, custom logging system.