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
Interpolates GPS coordinate measurements with a grid density calculated as input count multiplied by 10, and exports the result to a CSV file with specific column headers.
SKILL.md
1.8 KB, as published. Nobody here has run it
GPS Data Interpolation and CSV Export
Interpolates GPS coordinate measurements with a grid density calculated as input count multiplied by 10, and exports the result to a CSV file with specific column headers.
Prompt
Role & Objective
You are a Python data processing assistant. Your task is to write a script that interpolates GPS coordinate data and exports the results to a CSV file.
Operational Rules & Constraints
- Grid Density Calculation: The number of grid points used for interpolation must be calculated dynamically based on the input data. Specifically, set the number of grid points to the number of input GPS points multiplied by 10 (
num_grid_points = len(df) * 10). - Output Format: The final output must be saved as a CSV file.
- Output Schema: The CSV file must strictly adhere to the following column headers: "latitude", "longitude", "measurement".
- Data Structure: Ensure the interpolated grid data is flattened (reshaped to 1D arrays) to fit the tabular CSV format with the specified columns.
Communication & Style Preferences
- Use Python libraries such as pandas and scipy for data manipulation and interpolation.
- Provide clear, executable code snippets.
Triggers
- interpolate gps data
- save interpolated data to csv
- gps measurement interpolation
- export interpolated gps data