I am trying to expand existing 'tidal complexes' to include the adjacent 100-year floodplain areas. Both are rasters, and so far I've used Euclidean Allocation to identify the tidal complex closest to each pixel in the study area and extracted the output using the floodplain as a mask so that I have a raster of floodplain area labeled by the closest tidal complex.
However, I only want to include floodplain areas contiguous to the tidal complexes - some of them are farther inland and not contiguous.
I region grouped the floodplain area labeled by tidal complex output so that each contiguous area has a unique value, and then extracted that output using the original tidal complexes as a mask. The resulting raster has the unique identifiers for the contiguous floodplain areas underlying each tidal complex.
I'm stuck at this point; I need to somehow extract the floodplain areas contiguous to the tidal complexes (my current raster's extent is just the tidal complexes themselves). I originally thought that an inner join between the region-grouped floodplains and the tidal complexes identified by region-grouped floodplain ID would do the trick, but it seems to alter just the raster attribute table, not the raster itself - the attribute table only includes the region-grouped floodplains contiguous to the tidal complexes, but the raster has all of the region-grouped floodplains.
My other idea is to select the region-grouped floodplains by attribute, based on the values in the tidal complexes by region-grouped floodplain ID, but there are >200 values, and I don't know of an efficient way to extract them to use in a query.
I am working in ArcGIS Pro ModelBuilder so far, but could switch to python if necessary.