----------------------------------------------------------------------------------------//Calculated no data where there is land 1. Created shapefile mask -create new polygon feature class in ArcCatlog -add new polygon to project -using ArcMap Editor make new polygon a rectangle around all data -in arctoolbox-->analysis tool-->overlay-->erase erase coast_poly polygon from new rectangle polygon new shapefile_erase has hole of island data -in spatial analyst-->options-->set mask-->use drop down to select newerase shapefile 2. Recalculated secru1mhabg with new mask poly by using the spatial analyst's raster calculator [secru1mhab1g] = [secru1mhabg] --> select evaluate resulting grid has a hole (no data) where land was //Set all 0 data to no data 1. Spatial analyst raster calculator divide grid by itself secru1mhab1g/secru1mhab1g where 0/0 will equal no data all other data will be equal to 1 calculation leaves you with value 1 where there was data 2. Spatial analyst raster calculator multiply new calculation by original grid: secru1mhab1g * [Calculation] (note: result is Calcultion2) so all values * 1 gives you original data
-------------------------------------------------------------------------------------------//Calculated new grid with cleaned near shore data (from mud to rock) 1. created update rock grid. -used gridpaint tool to paint in additional rock near shore area in rock only grid 2. Merged new rock grid with previous all hab grid in Spatial Analyst tool Raster Calculator -set option to Extent-->union of inputs. -in raster calculator dialogue box merge grids of rck and hab: [secru1mhab4g] = merge([secru_rock3 - secru_rock3],[Calculation2 ]) 3. Cleaned up painted in data outside sonar area -Convert new grid to polygon. -Use ArcToolbox Earse tool with "cookie cutter" made from entire sonar area.
-------------------------------------------------------------------------------------------//Filtered grid to decrease polygon total steps: 1. filtered original grid using the "low" filter default filter secru1mhab5g secru1mhab6g 2. reclassified new grid using spatial anlysis reclassification option and the following remap categories: 1 128 : 85 129 189 : 170 190 225 : 255 3. converted new floating point grid to an integer grid. secru1mhab8g = int(secru1mhab7g) 4. converted new floating integer grid to polygon shapefile using Toolbox Raster to Features: new polygon shapefile: 85,257 polygons original polygon shapefile: 171,781 polygons
secruhab Fields: NAME ALIAS TYPE LENGTH PRECISION SCALE NUMBER_FORMAT ID ID Double 10 10 0 Numeric GRIDCODE GRIDCODE Double 10 10 0 Numeric CODE CODE String 10 10 0 - MEGA_ID MEGA_ID String 5 0 0 - MSO_MRC_ID MSO_MRC_ID String 5 0 0 - MDFR_ID MDFR_ID String 5 0 0 - BOTTOM_ID BOTTOM_ID String 5 0 0 - GEO_UNIT GEO_UNIT String 50 0 0 - Area Area Double 19 18 11 NumericBenthic habitat classification attributes: megahabitat, bottom induration, meso-macrohabitat, and modifiers from Green and others, 1999. CODE is a combination of the habitat attributes. MEGA_ID is usually S for Shelf, but may be F for basin or canyon flank. BOTTOM_ID is h for hard bottom, m for mixed hard and soft bottom, or s for soft sediment bottom MSO_MRC_ID are visual observations when sand waves (w) were observed. These macrohabitats described in Greene and others 1999. MDFR_ID are modifiers to describe the texture or lithology of the seafloor and appear in the code preceded by an underscore (_). Including; fractured (_f), differently eroded (_d), kelp (_k), and limestone (_l)