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

Add methods to make human-readable conditional statements #301

Open
chriswmackey opened this issue Jul 8, 2020 · 2 comments
Open

Add methods to make human-readable conditional statements #301

chriswmackey opened this issue Jul 8, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@chriswmackey
Copy link
Member

For many of the climate graphics, we display information like the data collection metadata and the analysis period. But we currently don't output any text to indicate the application of conditional statements.

Because this text is something that many weather visualizations are likely to use, we should add a staticmethod to the BaseCollection class that can build these text statements. Instead of using the full name of the data type, we can use the abbreviation property to keep the statements short and easily readable.

@chriswmackey chriswmackey added the enhancement New feature or request label Jul 8, 2020
@razinc
Copy link

razinc commented Oct 2, 2020

Hello. I'm interested to try this but I need clarification. Where can I get the information to be returned by the staticmethod?

@chriswmackey
Copy link
Member Author

Hi @razinc . Sorry for such a late response. We are basically looking to convert the text that gets input to filter_collections_by_statement method and turn it into something that has the abbreviation of the data types in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants