Migrate generate_wfs_per_sta to contrib. First commit.