Looking for a spot to cool off on a hot summer day? Heading to the beach may sound like a good idea — but just be sure to pick the right one.

Often after periods of heavy rain, bacteria levels in some water exceeds limits set by state or local health departments. That means the beach has to close until testing shows those bacteria level go back down.

With the heavy bouts of rain that fell earlier this week, some spots are still dealing with elevated bacteria levels, making swimming off-limits for now.

See below for a breakdown of beaches closed for Friday:

New York City:

The only closure for New York City beaches on Friday at the Whitestone Boosters Civic Association in Queens. All other city beaches were open, though 16 were under advisories, which occurs under the following conditions:

Rainfall exceeds rainfall thresholds.

Water sample results do not meet beach water quality standards for swimming.

Sanitary survey or investigation reveals the presence of pollution (floatable debris, medical or infectious waste, toxic contaminants, petroleum products, other contamination, or evidence of sewage and wastewater discharge).

For a full map showing the status of all NYC beaches, click here.

Westchester County:

Most beaches in Westchester County were open, with the exception of the following locations where routine water quality testing detected bacteria levels exceeding New York State health standards, according to the county health department:

Croton Point Park Beach

Philipse Manor Beach

Hudson Park East Beach

Long Island (see full map):

Beech Road Beach

Fleets Cove Beach

Friendship Drive Beach

Huntington Beach Community Association

Knollwood Beach

Sound Beach Poa – East

Terraces On The Sound

Tides Property Owners Association

New Jersey (see full map):

All Jersey Shore beaches were open for swimming Friday, though there was one freshwater beach in the state closed: Mirror Lake in Burlington County.