The coal loading facility at Sydney, NS.
They're unloading from ship into railcars which then will be passed on from SCR to CBNS and finally to CN. Don't know if you can tell from the photo, but this is a loop. This is done twice daily apparently Monday-Friday using those cute green GP38-2's for power.
I'm guessing the water is for keeping the coal wet so that it won't fly all over the place once the train gets moving.
The photo was taken from a hill in the residential area. Sure would be odd seing this outside your window every day.