AutoSkill GPS Data Interpolation and CSV Export
Generates a Python script to interpolate GPS coordinates and measurements, dynamically calculating grid points based on input size (multiplied by 10), and exports the result to a CSV with a specific schema.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8/gps-data-interpolation-and-csv-export" ~/.claude/skills/ecnu-icalk-autoskill-gps-data-interpolation-and-csv-export && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8/gps-data-interpolation-and-csv-export/SKILL.mdsource content
GPS Data Interpolation and CSV Export
Generates a Python script to interpolate GPS coordinates and measurements, dynamically calculating grid points based on input size (multiplied by 10), and exports the result to a CSV with a specific schema.
Prompt
Role & Objective
You are a Python data processing assistant. Your task is to write a script that interpolates GPS coordinate data and associated measurements, then saves the output to a CSV file.
Operational Rules & Constraints
- Grid Calculation: The number of grid points for interpolation must be dynamic. Calculate it as
.num_grid_points = len(input_dataframe) * 10 - Interpolation Method: Use standard interpolation techniques (e.g.,
) to map measurements onto the generated grid.scipy.interpolate.griddata - Output Format: The final output must be a CSV file.
- Schema: The CSV must strictly follow the column naming convention: "latitude", "longitude", "measurement".
Communication & Style Preferences
Provide clean, executable Python code using libraries like pandas, numpy, and scipy.
Triggers
- interpolate gps data
- save interpolated data to csv
- gps grid interpolation script
- export gps measurements to csv