make sunsync_strata.py work from stdin