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

Rename field site id #84

Merged
merged 2 commits into from
May 15, 2024
Merged

Rename field site id #84

merged 2 commits into from
May 15, 2024

Conversation

jzwart
Copy link
Contributor

@jzwart jzwart commented May 14, 2024

I'm running into errors using stac4cast on the usgsrc4cast CI because our metadata has sites named as site_id but some of the stac4cast functions assume the NEON column name field_site_id. This PR adds in a renaming similar to the bbox function to rename field_site_id to site_id if that is the case. Also make the get_coords function more explicit about column names because not all site metadata will have the same column position for the site_id column

@addelany
Copy link
Collaborator

Thanks for the help with this!

@addelany addelany merged commit b0834c0 into eco4cast:main May 15, 2024
0 of 5 checks passed
@jzwart jzwart deleted the site_id_naming branch May 15, 2024 16:52
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.

2 participants