New evapoTransp block ( evapotranspiration )

Post Reply
davidefa
Expert
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 )

Post by davidefa » Thu Jul 01, 2021 1:01 pm

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.
evapoTransp_1.0c.zip
(4.21 KiB) Downloaded 44 times
NOTE
Only minimally tested
Attachments
evapoTransp.png
evapoTransp.png (9.12 KiB) Viewed 1038 times
Image

User avatar
Asobig
Advisor
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 )

Post by Asobig » Sat Jul 03, 2021 7:26 am

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:

Code: Select all

GROUP BY Year(DateTime), Month(DateTime), Day(DateTime)
			ORDER BY DateTime Desc
			LIMIT 1
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:

Code: Select all

SELECT avg(T), avg(H), avg(P), avg(S), avg(W)
		FROM alldata " .
		$span

davidefa
Expert
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 )

Post by davidefa » Tue Jul 06, 2021 2:18 pm

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

evapoTransp1.png
evapoTransp1.png (21.38 KiB) Viewed 998 times
Attachments
evapoTransp_1.1i.zip
(8.17 KiB) Downloaded 58 times
Image

Post Reply