# Copyright 2005-2018 ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # # In applying this licence, ECMWF does not waive the privileges and immunities granted to it by # virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. # meta dirty_statistics dirty(computeStatistics) ; when (changed(values)) { set dirty_statistics=1;} meta computeStatistics statistics_spectral(values,J,K,M,JS) : hidden; meta average vector(computeStatistics,0) : dump; meta energyNorm vector(computeStatistics,1) : dump; meta standardDeviation vector(computeStatistics,2) : dump; meta isConstant vector(computeStatistics,3) : dump; alias statistics.avg = average; alias statistics.enorm = energyNorm; alias statistics.sd = standardDeviation; alias statistics.const = isConstant;