skill-092
Analyze fault lines and their properties using geospatial data. Use when assessing seismic hazards and understanding fault behavior.
- License 许可
- MIT
- 最近更新
- 2026-06-04
- Stars
- ★ 8
- Forks
- 2
01 前言 Front Matter
- name
- skill-092
- license
- MIT
- description
- Analyze fault lines and their properties using geospatial data. Use when assessing seismic hazards and understanding fault behavior.
03 SKILL.md 正文
Fault Line Analysis with GeoPandas
Overview
Understanding fault lines is crucial for assessing seismic hazards and predicting earthquake behavior. This guide focuses on analyzing fault lines using geospatial data to comprehend their characteristics and potential impacts.
Key Concepts
Types of Fault Lines
- Normal Faults: Caused by extensional forces where the hanging wall moves down.
- Reverse Faults: Caused by compressional forces where the hanging wall moves up.
- Strike-slip Faults: Lateral movement along the fault plane.
Loading Fault Line Data
From Shapefiles
import geopandas as gpd
# Load fault lines from a shapefile
gdf_faults = gpd.read_file('fault_lines.shp')
Visualizing Fault Lines
import matplotlib.pyplot as plt
# Plot the fault lines
gdf_faults.plot(color='red', linewidth=1)
plt.title('Fault Lines Visualization')
plt.show()
Analyzing Fault Properties
Length and Orientation
# Calculate the length of each fault line
gdf_faults['length'] = gdf_faults.geometry.length
# Calculate the orientation of each fault line
gdf_faults['orientation'] = gdf_faults.geometry.angle
Spatial Relationships
Proximity to Urban Areas
Identify urban areas near fault lines to assess risk.
# Load urban area data
gdf_urban = gpd.read_file('urban_areas.shp')
# Calculate distances to urban areas
gdf_faults['nearest_urban_distance'] = gdf_faults.geometry.distance(gdf_urban.unary_union)
Conclusion
Fault line analysis is essential for understanding seismic hazards. By leveraging geospatial data, we can evaluate fault characteristics and their potential impact on surrounding areas.
04 同仓库更多 Skills
foo
A test skill named foo
bar
飞书 — bar with quoted Chinese
agentic-skill-router
First use any clearly matching enabled local/user Agent Skill. If none matches, prefer this router for skill-shaped requests involving a named tool, API, service, CLI, platform, file format, dataset, or domain workflow, including when a generic built-in skill such as browser, Chrome, or web search also seems applicable; use built-ins directly only when explicitly requested or when the task is primarily live browsing, logged-in page operation, clicking, screenshotting, or current webpage inspection. Also use directly to audit, slim, disable, restore, or route locally installed Agent Skills across supported hosts. Examples include Vercel, Netlify, Cloudflare, Render, Playwright, Sentry, Linear, GitHub, OpenAI APIs, PDF, DOCX, PPTX, and spreadsheets.
syn-video-trim
Skill for trimming and cutting clips in the context of video files. Use when the user's task is specifically about trimming and cutting clips.
syn-video-transcode
Skill for transcoding codecs and resolutions in the context of video files. Use when the user's task is specifically about transcoding codecs and resolutions.
syn-video-thumbnail
Skill for extracting thumbnails and frames in the context of video files. Use when the user's task is specifically about extracting thumbnails and frames.