Skip to content

Conversation

@dcamron
Copy link
Member

@dcamron dcamron commented Jun 19, 2025

Assuming this works across our entire matrix, this eliminates another lingering Pandas SettingWithCopyWarning that I was encountering in metpy-cookbook. Those will disappear eventually in Pandas 3.0, but this should generally be more respecting of whatever DataFrame we see. Small win of failing if latitude or longitude column already exists, as well.

Checklist

  • Tests added

@dcamron dcamron added this to the 1.8.0 milestone Jun 19, 2025
@dcamron dcamron requested a review from a team as a code owner June 19, 2025 23:00
@dcamron dcamron added the Type: Maintenance Updates and clean ups (but not wrong) label Jun 19, 2025
@dcamron dcamron requested review from dopplershift and removed request for a team June 19, 2025 23:00
@dcamron dcamron added the Area: IO Pertains to reading data label Jun 19, 2025
@dcamron dcamron changed the title Insert columns instead of set val add_station_lat_lon: insert columns respectfully Jun 19, 2025
@dopplershift dopplershift merged commit 9f59838 into Unidata:main Jun 27, 2025
40 checks passed
@dopplershift dopplershift added the backport Pull Requests that are automatically back-ported to the stable release label Jul 23, 2025
@github-actions
Copy link
Contributor

🏁 Successfully backported as #3879. 🏁

@dopplershift dopplershift modified the milestones: 1.8.0, 1.7.1 Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: IO Pertains to reading data backport Pull Requests that are automatically back-ported to the stable release Type: Maintenance Updates and clean ups (but not wrong)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants