Skip to content

Conversation

@brandynlucca
Copy link
Collaborator

This PR adds a dictionary to .core called NAME_CONFIG that will translate particular columns in the acoustic, biological, kriging, and stratification datasets. In cases where column names (e.g. Frequency) are present, they will be converted into the naming scheme used by Echopop (e.g. Frequency -> length_count). Otherwise, the names remain the same and continue with being validated as normal.

Copy link
Member

@leewujung leewujung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this can be merged as is, but I feel that validate_data_columns and read_validated_data can be combined into a single function. I also feel like I've made this comment before?? or maybe I made the reverse of this comment and the functions were actually split out from one?? I don't remember...

Copy link
Member

@leewujung leewujung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! This looks a lot cleaner now. Other than my minor edit suggestion, feel free to merge!

@brandynlucca brandynlucca merged commit 819cf80 into OSOceanAcoustics:main Sep 13, 2024
@brandynlucca brandynlucca deleted the biological_data_column_naming branch September 13, 2024 17:10
@brandynlucca brandynlucca restored the biological_data_column_naming branch October 16, 2024 05:05
@brandynlucca brandynlucca deleted the biological_data_column_naming branch December 5, 2024 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants