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.
Charlie- Russ pointed me at this support question from you. I am not sure I understand the issue. Attributes created by ncgen (not ncgen4), say :x="abc", are of necessity created as char types because the string type does not exist for classic files (or netcdf-4 classic files). For a netcdf4 non-classic file, an untyped attribute such as x above will be created as a string typed attribute. You can force char typing, I believe by using a sequence of char constants. :x = 'a', 'b', 'c' =Dennis Heimbigner Ticket Details =================== Ticket ID: KOM-880811 Department: Support netCDF Priority: Normal Status: Open