Code for warn-on-forecast related research