This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
hi bob:attribute names can have embedded spaces. OTOH, theres no good reason why those 2 do. Is it a problem?
John On 7/5/2012 4:47 PM, Bob Simons wrote:
I am just now switching from netcdf-java 4.2 to 4.3.8. When I read the attached .grib file, 1) I see that two global attributesString Originating or generating Center "UK Meteorological Office [173] Exeter (RSMC)";String Originating or generating Subcenter "0"; which have spaces in the names of the attributes! Is that what you intended? Is that allowed?2) The first attribute above has character #173 (my diagnostic system displays it as [173]), a shy hyphen. If this is from a table that you have control of, wouldn't a regular hyphen be more appropriate?Thank you for looking into this. Sincerely, Bob Simons IT Specialist Environmental Research Division NOAA Southwest Fisheries Science Center 1352 Lighthouse Ave Pacific Grove, CA 93950-2079 Phone: (831)658-3205 Fax: (831)648-8440 Email: address@hidden The contents of this message are mine personally and do not necessarily reflect any position of the Government or the National Oceanic and Atmospheric Administration. <>< <>< <>< <>< <>< <>< <>< <>< <><