Run3 calculate max distance to boundary
Compute the distance from each Pacific plate earthquake to the unified plate boundary.From its SKILL.md
npx -y skills add cxcscmu/SkillLearnBench --skill run3_calculate_max_distance_to_boundaryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
0.8 KB, 135 tokens by cl100k_base, as published. Nobody here has run it
After unifying the boundary geometry, perform the distance analysis:
- Calculate the distance from each point in the earthquake GeoDataFrame to the
unary_uniongeometry of the Pacific plate boundaries. - Ensure the calculation is performed using the projected GeoDataFrames to yield results in meters.
- Convert the resulting distance from meters to kilometers (divide by 1000).
- Filter for points located "within" the Pacific plate (using a spatial join or polygon containment check with the
PB2002_plates.jsonpolygon for the Pacific plate). - Identify the record with the maximum
distance_kmvalue and round the result to 2 decimal places.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.