Skip to content

Add a consolidate YAML file and decorator for adding attributes #1747

Description

@leewujung

Right now in functions that generates organized datasets (e.g., compute_Sv, compute_MVBS, etc), we add attributes in an ad-hoc way and missed many of them. It seems a good idea to just have a YAML or similar to list the corresponding long_name, units, and other attributes for specific variables, and in functions that generates organized datasets, always pass the dataset through a function that calls the YAML to add attributes -- so like a decorator?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis makes echopype better

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions