If the NetCDF global attribute "keywords" is a comma-separated list and there are spaces between entries (e.g. "temperature, salinity"), this small update adds "normalize-space( )" to prevent such space from appearing before the tokenized topic categories in the resulting ISO XML document (e.g. " temperature" will become "temperature").
For example, if your NetCDF global attributes look like this:
If the NetCDF global attribute "keywords" is a comma-separated list and there are spaces between entries (e.g. "temperature, salinity"), this small update adds "normalize-space( )" to prevent such space from appearing before the tokenized topic categories in the resulting ISO XML document (e.g. " temperature" will become "temperature").
For example, if your NetCDF global attributes look like this:
This update avoids having this kind of ISO XML output:
and will instead result in this output (with leading spaces before "Earth Science" stripped out):