I converted the et plugin in a block.
It uses the local recorded data ( temperature, humidity... ) to calculate evapotranspiration ETo for current date, current location ( see the plugin documentation for more info ).
If you don't have a solar sensor you have to define the solar radiation in the block setup.
NOTE
Only minimally tested
New evapoTransp block ( evapotranspiration )
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
New evapoTransp block ( evapotranspiration )
- Attachments
-
- evapoTransp.png (9.12 KiB) Viewed 1038 times
- Asobig
- Advisor
- Posts: 72
- Joined: Mon Aug 21, 2017 7:05 am
- Location: Almere
- Station model: Davis Vantage VP2+
- Software: Meteobridge (Red)
- Contact:
Re: New evapoTransp block ( evapotranspiration )
Thanks for the conversion to a block.
I think there is something wrong with the SQL statement.
Because in the statement there are these lines:
So, whatever period you specify it will always select the data from the last day and not the average from the complete period.
I think that the complete SQL query should look something like this:
I think there is something wrong with the SQL statement.
Because in the statement there are these lines:
Code: Select all
GROUP BY Year(DateTime), Month(DateTime), Day(DateTime)
ORDER BY DateTime Desc
LIMIT 1
I think that the complete SQL query should look something like this:
Code: Select all
SELECT avg(T), avg(H), avg(P), avg(S), avg(W)
FROM alldata " .
$span
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: New evapoTransp block ( evapotranspiration )
Hi Asobig, thanks for the hint. I corrected what you reported and added a few option.
As shown in the image the block shows the evotranspiration:
- of a few 'periods' in the past ( using the data recorded by the weather station in the past periods ), ETo(-n day) in the image
- of 'today, last 24h' ( using the data recorded by the weather station in the past 24h ), ETo(24h) in the image
- of 'today, forecast' ( using the data recorded by the weather station from past midnight till now and forecast from yr.no from now till next midnight ), ETo(f) in the image
- a couple days in the future ( using the forecast from yr.no ), ETo(f+n day) in the image
This to help having an overview of the evolution of the evapotranspiration, and a better evaluation of today's value
As shown in the image the block shows the evotranspiration:
- of a few 'periods' in the past ( using the data recorded by the weather station in the past periods ), ETo(-n day) in the image
- of 'today, last 24h' ( using the data recorded by the weather station in the past 24h ), ETo(24h) in the image
- of 'today, forecast' ( using the data recorded by the weather station from past midnight till now and forecast from yr.no from now till next midnight ), ETo(f) in the image
- a couple days in the future ( using the forecast from yr.no ), ETo(f+n day) in the image
This to help having an overview of the evolution of the evapotranspiration, and a better evaluation of today's value
- Attachments
-
- evapoTransp_1.1i.zip
- (8.17 KiB) Downloaded 58 times