From 41c764fb05670e832dd023134b6016c1ef464897 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 11 Oct 2017 11:35:17 -0600 Subject: [PATCH 1/2] Reverting previous documentation change. --- docs/attribute_conventions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/attribute_conventions.md b/docs/attribute_conventions.md index 52c542655..1e5f98061 100644 --- a/docs/attribute_conventions.md +++ b/docs/attribute_conventions.md @@ -25,7 +25,7 @@ It is strongly recommended that applicable conventions be followed unless there

-> If _FillValue is undefined, it is assumed that there are no unwritten data-values. Generic applications needing to write a value to represent undefined or missing values may use either `_FillValue` or `missing_value` for this purpose. It is legal (but not recommended) for the fill value to be within the valid range of the data. +> It is not necessary to define your own _FillValue attribute for a variable if the default fill value for the type of the variable is adequate. However, use of the default fill value for data type byte is not recommended. Note that if you change the value of this attribute, the changed value applies only to subsequent writes; previously written data are not changed.

From f9d0711ab88050f3fab94ea0e4fbf91354791d6c Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Wed, 11 Oct 2017 13:11:06 -0600 Subject: [PATCH 2/2] Reverted pull 470, added info about the _NoFill attribute (used only by ncgen). --- docs/attribute_conventions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/attribute_conventions.md b/docs/attribute_conventions.md index 1e5f98061..17046fe66 100644 --- a/docs/attribute_conventions.md +++ b/docs/attribute_conventions.md @@ -33,6 +33,9 @@ It is strongly recommended that applicable conventions be followed unless there > **Note that if you change the value of this attribute, the changed value applies only to subsequent writes; previously written data are not changed.** +`_NoFill` + +> This attribute is not treated in any special way by the library or conforming generic application, but it is interpreted by the `ncgen` utility when converting a CDL file to a binary netCDF files. It is the equivalent of applying `nc_set_fill(ncid, NC_NOFILL, null)`. `missing_value`