Gps data interpolation and csv export
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/gps-data-interpolation-and-csv-export
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
npx -y skills add ECNU-ICALK/AutoSkill --skill gps-data-interpolation-and-csv-exportAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
What its author says it does
Copied from the file, not written here
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.
SKILL.md
1.7 KB, as published. Nobody here has run it
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.,
scipy.interpolate.griddata) to map measurements onto the generated grid. - 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