OpenSprinkler › Forums › OpenSprinkler Unified Firmware › Penmen-Monteith ETo method python script for possible use as weather script › Reply To: Penmen-Monteith ETo method python script for possible use as weather script
hplato
Thanks Shawn,
I tried this tonight, and two things;
– Without data for yesterday. the mmFromLogs subroutine ‘oops’ when trying to open the data. I copied your data to yesterday’s date, and the script ran. However, what should an actual starting point be for ET/<date> and logs/<date>?
– From what I gather, I need to figure out the number of seconds for each station to distribute 1mm of water, and then edit the 1mm file. OK got it.
Using your script, I’m a little confused by the first set of values in the weatherprogram/run file. When I run the script, I get:
Resolved your lat:xx.xxxx, lon:-xxx.xxx, they will be stored
0.633333333333 mm adjustment for weighted 3 day rain forcast
1.0 mm adjusment for rain occuring today
P-M ETo
6.4366 mm on grass
7.4292 mm on shrubs
sunrise & sunset in minutes from midnight local time
327 1301
Current filename we are using: 16587
Looking for log file: 16586
Weather Station ID: xxxxxxxx
[75, 150, 75, 60, 75, 75, 60, 0]
[[-1, -1, -1, -1], [0, 0, 0, 349, 0, 0, 349, 0]]
From my understanding, this it to turn on stations 4 and 8 for 349 seconds, however the -1 means that the station is actually disabled?