Add more information to EToAdjustmentMethod raw data
This commit is contained in:
@@ -50,7 +50,12 @@ async function calculateEToWateringScale(
|
|||||||
scale: scale,
|
scale: scale,
|
||||||
rawData: {
|
rawData: {
|
||||||
eto: Math.round( eto * 1000) / 1000,
|
eto: Math.round( eto * 1000) / 1000,
|
||||||
radiation: Math.round( etoData.solarRadiation * 100) / 100
|
radiation: Math.round( etoData.solarRadiation * 100) / 100,
|
||||||
|
minT: Math.round( etoData.minTemp ),
|
||||||
|
maxT: Math.round( etoData.maxTemp ),
|
||||||
|
minH: Math.round( etoData.minHumidity ),
|
||||||
|
maxH: Math.round( etoData.maxHumidity ),
|
||||||
|
wind: Math.round( etoData.windSpeed * 10 ) / 10
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user