Code Monkey home page Code Monkey logo

Comments (4)

ethanrd avatar ethanrd commented on August 16, 2024 1

As Unicode contains many digits outside of 0-9, I think the term digit needs to be clarified similar to letter.

I have made a suggestion in the PR simply adding a sentence after and similar to the sentence clarifying the meaning of letter.

from cf-conventions.

ethanrd avatar ethanrd commented on August 16, 2024 1

OK. The ASCII "underscore" is the Unicode "low line". There is also a Unicode "combining low line" (and probably others).

So, perhaps to be really clear we should specify "underscore" as well.

By the word letters we mean the standard ASCII letters uppercase A to Z and lowercase a to z.
By the word digits we mean the standard ASCII digits 0 to 9.
By the word underscore we mean the standard ASCII underscore _.

from cf-conventions.

larsbarring avatar larsbarring commented on August 16, 2024 1

Thanks Ethan!

In an attempt to avoid triple repetitions I suggest a small rewording which I hope does not change the meaning. The first paragraph is then:

Variable, dimension, attribute and group names should begin with a letter and be composed of letters, digits, and underscores. By the word letters we mean the standard ASCII letters uppercase A to Z and lowercase a to z.
By the word digits we mean the standard ASCII digits 0 to 9, and similarly underscores means the standard ASCII underscore _.
Note that this is in conformance with the COARDS conventions, but is more restrictive than the netCDF interface which allows use of the hyphen characteralmost all Unicode characters encoded as multibyte UTF-8 characters (NUG Appendix B). The netCDF interface also allows leading underscores in names, but the NUG states that this is reserved for system use.

I will put this in the associated PR.

from cf-conventions.

larsbarring avatar larsbarring commented on August 16, 2024

As in the PR description (above) the suggested change has already been discussed in this comment of #237 and subsequent ones. The last comment was on November 1st, and support was voiced by @ChrisBarker-NOAA.

If there are no more comments, except regarding minor technical details, I suggest that proposed changes can be implemented via PR#470 on November 22.

from cf-conventions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.