aw5277: new weather csv
This commit is contained in:
@@ -1913,7 +1913,7 @@ namespace FarmMapsAPI.Carbon
|
||||
var monthClimateList = new List<ClimateVariable>();
|
||||
foreach (var month in gisSoilSet.AllMonths)
|
||||
{
|
||||
var climateYear = loopYear > 2020 || loopYear < 2011 ? 2012 : loopYear;
|
||||
var climateYear = loopYear > 2050 || loopYear < 2011 ? 2012 : loopYear;
|
||||
var monthData = climate.Single(x => x.Key.Item1 == farmZone && x.Key.Item2 == month && x.Key.Item3 == climateYear).Value;
|
||||
var newMonthData = new ClimateVariable(monthData.Temperature, monthData.Precipitation, monthData.Evapotranspiration * 1.25);
|
||||
monthClimateList.Add(newMonthData);
|
||||
|
||||
Reference in New Issue
Block a user