Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discard duplicate tracks #173

Merged
merged 3 commits into from
Jan 22, 2024
Merged

Conversation

thomas-fred
Copy link
Contributor

Some of the STORM tracks are duplicated (for a given year and TC number, there are duplicate timesteps). This was causing problems down the line when interpolating between discontinuities in timestep.

Changes:

  • Filter any of these duplicated rows in each of the track parsers.

In the future it might be an idea to re-write the parsers as classes, inheriting from a common ancestor. I shall take the technical debt this time. 🌋

This could be dask-ified in the future, to stream the data to disk and
reduce memory consumption.
@thomas-fred thomas-fred merged commit 1a28cf0 into main Jan 22, 2024
1 check passed
@thomas-fred thomas-fred deleted the feature/discard_duplicate_tracks branch January 22, 2024 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant