Ejemplo n.º 1
0
 public ArrayMean(IGridDataSetMetaData dataSetInfo, ITimeAxisIntegrator timeAxisIntegrator, ISpatGridIntegrator latAxisIntegrator, ISpatGridIntegrator lonAxisIntegrator, bool checkForMissingValues)
 {
     this.latAxisIntegrator     = latAxisIntegrator;
     this.lonAxisIntegrator     = lonAxisIntegrator;
     this.timeAxisIntegrator    = timeAxisIntegrator;
     this.checkForMissingValues = checkForMissingValues;
     this.dataSetInfo           = dataSetInfo;
 }
Ejemplo n.º 2
0
        public PercentileGridAggregator(IStorageContext storage, ITimeAxisIntegrator timeAxisIntegrator, ISpatGridIntegrator latAxisIntegrator, ISpatGridIntegrator lonAxisIntegrator, bool checkForMissingValues, string latAxisName = null, string lonAxisName = null)
        {
            this.metadata = new GridDefinitionAnalysis(storage.StorageDefinition, latAxisName, lonAxisName);
            IArrayAggregator meanValueAggregator = new ArrayMean(metadata, timeAxisIntegrator, latAxisIntegrator, lonAxisIntegrator, checkForMissingValues);

            this.component = new GridAggregator(storage, metadata, meanValueAggregator, timeAxisIntegrator, latAxisIntegrator, lonAxisIntegrator);
        }