diff --git a/src/stream_cdf_i.c b/src/stream_cdf_i.c index a99615beeb28938b836b29ca0ccc9baf97f2ad6b..6a84e170b9c611ee9d1466f31f7e394fab982f7b 100644 --- a/src/stream_cdf_i.c +++ b/src/stream_cdf_i.c @@ -1366,7 +1366,14 @@ cdfScanVarAttr(int nvars, ncvar_t *ncvars, int ndims, ncdim_t *ncdims, int timed cdf_set_var(ncvar, CoordVar); } else - Warning("%s - %s", nc_strerror(status), attstring); + { + static bool printWarning = true; + if (printWarning) + { + printWarning = false; + Warning("%s - %s", nc_strerror(status), attstring); + } + } } else if (isText && str_is_equal(attname, "formula_terms")) {