A blizzard warning was in effect for New York city and surrounding areas .