Question about capitalization in GCMD keywords

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
crdowney
Posts: 25
Joined: Tue Mar 22, 2022 12:25 pm America/New_York
Answers: 0

Question about capitalization in GCMD keywords

by crdowney » Thu Jan 26, 2023 1:01 pm America/New_York

Hello,

Last month, I requested that 4 instruments, Total Detector, Window Detector, Shortwave Detector, and Longwave Detector, be added to the GCMD. You can find the question here: viewtopic.php?t=3788. The keywords were successfully added to the GCMD however, the words are in all caps in the GCMD. For example, "LONGWAVE DETECTOR" vs "Longwave Detector".

Would it be possible to have only the first letter capitalized for each word in the instrument names?

We realized that the keywords only have the first letter of each word capitalized in the .met files for these collections, so our data provider will need to update a lot of code to change the words to all caps. If we are unable to change to mixed case in the GCMD, do you have any recommendations on how we could fix this?

Apologies for not realizing this on the initial keyword request post.

Thank you!

Filters:

GCMD - sritz
User Services
User Services
Posts: 234
Joined: Tue Dec 03, 2019 3:31 pm America/New_York
Answers: 0
Been thanked: 5 times

Re: Question about capitalization in GCMD keywords

by GCMD - sritz » Thu Jan 26, 2023 2:30 pm America/New_York

Hi Caroline, it is possible to request keywords in "Title" case by using the "case=title" parameter.

Request "LONGWAVE DETECTOR" with preflabel "Longwave Detector".

https://gcmd.earthdata.nasa.gov/kms/concept/dc7aac56-5fb4-4c0d-ba3d-2c396db4edc0?case=title&format=json

You can change format to "xml" or "rdf" as well.
The options for case are "title", "all_lower", "all_upper". If you leave case empty, the default will be "all_upper".

Scott

crdowney
Posts: 25
Joined: Tue Mar 22, 2022 12:25 pm America/New_York
Answers: 0

Re: Question about capitalization in GCMD keywords

by crdowney » Thu Jan 26, 2023 2:51 pm America/New_York

Thank you for explaining this, Scott! Can I submit a request to have these instrument names changed to “title” case? Or is it too late at this point?

GCMD - sritz
User Services
User Services
Posts: 234
Joined: Tue Dec 03, 2019 3:31 pm America/New_York
Answers: 0
Been thanked: 5 times

Re: Question about capitalization in GCMD keywords

by GCMD - sritz » Thu Jan 26, 2023 3:05 pm America/New_York

ok, so you want the keywords to Natively be mixed case?

Earth Remote Sensing Instruments > Passive Remote Sensing > Thermal/Radiation > Total Detector

Earth Remote Sensing Instruments > Passive Remote Sensing > Thermal/Radiation > Window Detector

Earth Remote Sensing Instruments > Passive Remote Sensing > Thermal/Radiation > Shortwave Detector

Earth Remote Sensing Instruments > Passive Remote Sensing > Thermal/Radiation > Longwave Detector

crdowney
Posts: 25
Joined: Tue Mar 22, 2022 12:25 pm America/New_York
Answers: 0

Re: Question about capitalization in GCMD keywords

by crdowney » Thu Jan 26, 2023 3:13 pm America/New_York

Yes, that is correct. That looks good to me.

GCMD - sritz
User Services
User Services
Posts: 234
Joined: Tue Dec 03, 2019 3:31 pm America/New_York
Answers: 0
Been thanked: 5 times

Re: Question about capitalization in GCMD keywords

by GCMD - sritz » Wed Feb 01, 2023 3:58 pm America/New_York

Hi Caroline, I changed the keywords to be Natively Title Case. The changes will be in Operations on Friday morning.

Scott

crdowney
Posts: 25
Joined: Tue Mar 22, 2022 12:25 pm America/New_York
Answers: 0

Re: Question about capitalization in GCMD keywords

by crdowney » Fri Feb 03, 2023 4:30 pm America/New_York

Thank you, Scott!

Post Reply