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 an alternate entry for variables that may have more than one standard_name associated with them #698

Open
wrongkindofdoctor opened this issue Oct 23, 2024 · 0 comments
Assignees
Labels
data catalogs Issues related to intake esm data catalogs data Issues related to observational or sample model data.

Comments

@wrongkindofdoctor
Copy link
Collaborator

What problem will this feature solve?
Some variables have multiple potential standard_name attributes (e.g. "rainfall_flux" vs "precipitation_flux"), and the query needs to able to check for both.
Describe the solution you'd like

  • add an optional "alternates" entry to the fieldlist variables following the POD settings file. This information is parsed during the fieldlist query and can be appended to the varlist.alternates attribute
    Describe alternatives you've considered
  • variable-specific retry in the preprocessor--far from ideal as alternate list grows
  • precip_to_rainfall pp function similar to rate_to_flux conversion: better, but also not ideal to have a function for each variable conversion
    Additional context
@wrongkindofdoctor wrongkindofdoctor added data Issues related to observational or sample model data. data catalogs Issues related to intake esm data catalogs labels Oct 23, 2024
@wrongkindofdoctor wrongkindofdoctor self-assigned this Oct 23, 2024
@wrongkindofdoctor wrongkindofdoctor changed the title Add an alternate entry for variables that may have more than one standard_name assoicated with them Add an alternate entry for variables that may have more than one standard_name associated with them Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data catalogs Issues related to intake esm data catalogs data Issues related to observational or sample model data.
Projects
None yet
Development

No branches or pull requests

1 participant