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

remove duplicates in cf_standard_names in publication service #123

Open
alaniwi opened this issue Oct 27, 2017 · 0 comments
Open

remove duplicates in cf_standard_names in publication service #123

alaniwi opened this issue Oct 27, 2017 · 0 comments

Comments

@alaniwi
Copy link
Contributor

alaniwi commented Oct 27, 2017

Several fields in the THREDDS catalog can have the same CF standard name. For example:

      <variable name="hur" vocabulary_name="relative_humidity" units="%">Relative Humidity</variable>
      <variable name="rhs" vocabulary_name="relative_humidity" units="%">Near-Surface Relative Humidity</variable>
      <variable name="rhsmax" vocabulary_name="relative_humidity" units="%">Surface Daily Maximum Relative Humidity</variable>
      <variable name="rhsmin" vocabulary_name="relative_humidity" units="%">Surface Daily Minimum Relative Humidity</variable>

Where this exists, currently the same value appears several times in the cf_standard_name variable in Solr. This is probably not useful.

I believe that the relevant code is in https://github.com/ESGF/esg-search/blob/devel/src/java/main/esg/search/publish/thredds/parsers/VariablesParser.java

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

No branches or pull requests

1 participant