public GridUncertaintyConventionsDecorator( IBatchUncertaintyEvaluator component, IGridCoverageProvider latCoverageProvider, IGridCoverageProvider lonCoverageProvider, ITimeCoverageProvider timeCoverageProvider) { this.component = component; this.latCoverageProvider = latCoverageProvider; this.lonCoverageProvider = lonCoverageProvider; this.timeCoverageProvider = timeCoverageProvider; }
/// <param name="permittedYearsLength">The minimum length of the requested years range for wich the uncertainty is returned</param> public MonthlyMeansOverEnoughYearsStepIntegratorFacade(int permittedYearsLength) { this.component = new MonthlyMeansOverYearsStepIntegratorFacade(); this.decoratedProvider = new TimeCoverageProviders.YearsRangeLengthDecorator(component, permittedYearsLength); }
/// <param name="firstYear">The first year for which data corresponds</param> /// <param name="lastYear">The last year for which data corresponds</param> public MonthlyMeansOverExactYearsStepIntegratorFacade(int firstYear, int lastYear) { this.component = new MonthlyMeansOverYearsStepIntegratorFacade(); this.decoratedProvider = new TimeCoverageProviders.ExactYearsDecorator(component, firstYear, lastYear); }
/// <summary> /// /// </summary> /// <param name="component"></param> /// <param name="firstYear">The first year for which data corresponds</param> /// <param name="lastYear">The last year for which data corresponds</param> public ExactYearsDecorator(ITimeCoverageProvider component, int firstYear, int lastYear) { this.component = component; this.firstDataYear = firstYear; this.lastDataYear = lastYear; }
/// <summary> /// /// </summary> /// <param name="component"></param> /// <param name="permitedYearsLength">The minimum length of the requested years range for wich the uncertainty is returned</param> public YearsRangeLengthDecorator(ITimeCoverageProvider component, int permitedYearsLength) { this.component = component; this.permitedYearsLength = permitedYearsLength; }