-
Notifications
You must be signed in to change notification settings - Fork 7
CF compliance issues #68
Comments
Interesting - thanks for the heads-up @aleksandervines! I didn't know underscore attributes were forbidden in CF. I was using the underscore attributes for rosetta specific metadata. I can simple replace the underscores with |
This better not be the case because other attributes exist
that have a leading underscore. The rule is that names
(including attributes) that begin with an underscore are
reserved for the use of unidata.
=Dennis Heimbigner
Unidata
…On 1/4/2017 9:55 AM, Sean Arms wrote:
Interesting - thanks for the heads-up @aleksandervines
<https://github.com/aleksandervines>!
I didn't know underscore attributes were forbidden in CF. I was using
the underscore attributes for rosetta specific metadata. I can simple
replace the underscores with |rosetta_ATTR|, so that should be no
problem. As for point 2, changing the variable to which cf_role is
attached to a coordinate variable shouldn't be an issue. I'll get these
fixes in today.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#68 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3P27HI6VUs0Ctst3tYXqe3xt5_9gohks5rO87ugaJpZM4LatIq>.
|
Well, I'm just forwarding the information I got, which was:
The documentation does state "The netCDF interface also allows leading underscores in names, but the NUG states that this is reserved for system use." Which is why I first raised this issue for them as I believed it to be an error in one of the compliance checkers they've linked to - http://puma.nerc.ac.uk/cgi-bin/cf-checker.pl Whether or not this "should be the case" is perhaps something Unidata should clarify with them? |
Ref this: http://cf-trac.llnl.gov/trac/ticket/157 |
Thanks for pointing this out. We will see what we can do.
=Dennis Heimbigner
Unidata
…On 1/5/2017 2:34 AM, Aleksander Vines wrote:
Well, I'm just forwarding the information I got, which was:
I've just been speaking to one of the CF authors and he says it is a
requirement that attributes, variables and dimensions start with a
letter with the exception of _FillValue. I have raised a ticket to
propose a clarification to the standard and now await comments.
The documentation does state "The netCDF interface also allows leading
underscores in names, but the NUG states that this is reserved for
system use." Which is why I first raised this issue for them as I
believed it to be an error in one of the compliance checkers they've
linked to - http://puma.nerc.ac.uk/cgi-bin/cf-checker.pl
Whether or not this "should be the case" is perhaps something Unidata
should clarify with them?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#68 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA3P2-eTdkNMm7R0sFx9M_gCfVi4KAVsks5rPLkPgaJpZM4LatIq>.
|
We no longer use underscore variables in the converted netCDF files, so we should be good now. |
I have discovered two cf-compliance issues.
These requirements were new to me, and, in my opinion, not clear from the documentation. But after a mail correspondence with the creator of the "official" CF-compliance checker, and her verifying this with some of the authors of the CF-convention, I'm convinced.
Also, there has been a defect in CF 1.6 were the examples were wrong on the second issue, this has been fixed in the 1.7 draft, but that was were my misconception on the cf_role originated from.
The text was updated successfully, but these errors were encountered: