The National Weather Service has upgraded a coastal flood watch to a warning for the northern coast of western Washington this week as king tides and heavy rain threaten flooding and coastal erosion.