Skip to content

Instantly share code, notes, and snippets.

@scw
Created August 1, 2012 21:42
Show Gist options
  • Save scw/3231008 to your computer and use it in GitHub Desktop.
Save scw/3231008 to your computer and use it in GitHub Desktop.
compare BTM broad & fine scale code
# fine scale inner block
outFocalStatistics = FocalStatistics(Bathy, NbrAnnulus(FineInnerRadius, FineOuterRadius, "CELL"), "MEAN")
outRaster = Int(Plus(Minus(Bathy, outFocalStatistics), 0.5))
# broad scale inner block
outFocalStatistics = FocalStatistics(Bathy, NbrAnnulus(BroadInnerRadius, BroadOuterRadius, "CELL"), "MEAN")
outRaster = Int(Plus(Minus(Bathy, outFocalStatistics), 0.5))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment