# `analyze.analyze.where_landslide_went` The function [`analyze.where_landslide_went`](#digger.analyze.where_landslide_went.where_landslide_went) analyzes where a landslide started and ended. It is called using the following syntax: ```{literalinclude} ../../../../../examples/post-run/barry_arm/setpostprocess.py :language: python :start-after: Block 3 Start :end-before: Block 3 End ``` :::{attention} This code snippet is not fully self-sufficient. This snippet relies on simulation output files. To reproduce the example, execute the file `digger/examples/post-run/barry_arm/setpostprocess.py` from within the directory in which it is located. **Before** the script is executed either the example simulation must be run or the file `digger/data/barry_arm_output.zip` must be unzipped and the resulting directory (`_output`) must be placed within `digger/examples/post-run/barry_arm/`. ::: It generates a diagnostic figure that visualizes each area identified. ```{figure} ../../../../_static/from_examples/where_landslide_went.png :alt: Example digger.analyze.where_landslide_went summary figure. An example of the diagnostic output provided by digger.analyze.where_landslide_went. ``` It also generates a yaml file summarizing information about the landslide size and impact. ```{literalinclude} ../../../../_static/from_examples/landslide_fate.yaml :language: yaml ```