From a14b14bf0e32be11fa3b835a0df12a557fde891e Mon Sep 17 00:00:00 2001 From: Dave Allured Date: Fri, 10 Nov 2023 15:04:18 -0700 Subject: [PATCH 1/3] Allow period and hyphen in attribute names --- ch02.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/ch02.adoc b/ch02.adoc index b819130c..942f81b9 100644 --- a/ch02.adoc +++ b/ch02.adoc @@ -56,6 +56,7 @@ The examples in this document that use string-valued variables alternate between Variable, dimension, attribute and group names should begin with a letter and be composed of letters, digits, and underscores. Note that this is in conformance with the COARDS conventions, but is more restrictive than the netCDF interface which allows use of the hyphen character. The netCDF interface also allows leading underscores in names, but the NUG states that this is reserved for system use. +ASCII period (.) and ASCII hyphen (-) are also allowed in attribute names only. Case is significant in netCDF names, but it is recommended that names should not be distinguished purely by case, i.e., if case is disregarded, no two names should be the same. It is also recommended that names should be obviously meaningful, if possible, as this renders the file more effectively self-describing. From 6aa824324df54b9fbc5151a35c79739a5057ebc2 Mon Sep 17 00:00:00 2001 From: Dave Allured Date: Thu, 29 Feb 2024 18:56:40 -0700 Subject: [PATCH 2/3] Conformance doc, characters in attrib names --- conformance.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/conformance.adoc b/conformance.adoc index 1cb3d546..99f4435c 100644 --- a/conformance.adoc +++ b/conformance.adoc @@ -37,6 +37,7 @@ See https://github.com/ugrid-conventions/ugrid-conventions for the UGRID conform *Recommendations:* * Variable, dimension and attribute names should begin with a letter and be composed of letters (A-Z, a-z), digits (0-9), and underscores(_). This corresponds to ASCII characters in the decimal ranges (65-90), (97-122), (48-57), and (95). The corresponding Unicode codepoints are (U+0041-U+005A), (U+0061-U+007A), (U+0030-U+0039), and (U+005F). +* ASCII period (.) and ASCII hyphen (-) may also be included in attribute names only. * No two variable names should be identical when case is ignored. [[section-2]] From 4ff7ddbf3681f47bce4b02e8d175dd956e6bc88a Mon Sep 17 00:00:00 2001 From: Dave Allured Date: Thu, 29 Feb 2024 19:00:58 -0700 Subject: [PATCH 3/3] History doc, characters in attrib names --- history.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/history.adoc b/history.adoc index 39745b95..93a99824 100644 --- a/history.adoc +++ b/history.adoc @@ -7,6 +7,7 @@ === Working version (most recent first) +* {issues}477[Issue #477]: Period and hyphen allowed in attribute names * {issues}500[Issue #500]: Appendix B: Added a **`conventions`** string to the standard name xml file format definition === Version 1.11 (05 December 2023)