Trixology
WeatherCat => WeatherCat General Discussion => Topic started by: jg on July 18, 2013, 01:53:07 AM
-
I'm trying to build a table of my soil temperature data (i have 3 sensors). My goal is to have current temp, daily high, daily low, average (I figured all that out).
What I can't figure out is what tag to use for the last 7 days and last 28 days (similar to the STRecent data). This week isn't nearly as valuable as the last 7 days from a horticultural point of view. Same with past 28.
Am I missing something, seems like you should be able to enter the number of days back for that stat.
-
Maybe you are searching for the DAYSAGO tag:
PERIOD can be one of:
TODAY, YESTERDAY, THISWEEK, LASTWEEK, THISMONTH, LASTMONTH, THISYEAR, LASTYEAR, THISSEASON, ALLTIME.
User defined date ranges can also be used as the PERIOD - e.g. 2010-12-01/2011-03-01 (ISO 8601 date format - yyyy-mm-dd)
WeatherCat 1.1 Build 210 and later add the following periods:
SINCE9AM - period covers from 'now' to the previous 9 A.M.
HRS(X) - period covers X number of hours from 'now' '- i.e. HRS(24) means the last 24 hours. x must be a number greater than 0 - e.g. HRS(0.5) means the last half hour.
WeatherCat 1.1.2 and later adds DAYSAGO(X) which covers the day 'X' days ago - for example DAYSAGO(1) means yesterday and DAYSAGO(2) means the day before yesterday. X must be an integer number between 1 and 99999.
In this thread there is a link to the latest WeatherCat tags: http://athena.trixology.com/index.php?topic=43.0
Hope this helps!
Cheers,
Reinhard
-
Oh, and a look into the User Manual would take some shades away, too! ;D
In your case page 180/181 for PERIOD tags!
;)
Cheers,
Reinhard
-
Oh, and a look into the User Manual would take some shades away, too! ;D
In your case page 180/181 for PERIOD tags!
;)
Cheers,
Reinhard
Figured it out - you need to use the "HRS" tag, then 168 for 7 days. Thanks for the direction....
-
Is there anyway to show the range between the high and low on this table (i.e, temp range/day/3/7/28 days)?
http://www.jgweather.info/RoslynWeather/table.html
-
There's no WeatherCat tag to do it, but it sounds like a little PHP could do that for you - it'll need someone more familiar with PHP than me but the gist would be to get the high and low into variables, subtract them and print the result.
-
There's no WeatherCat tag to do it, but it sounds like a little PHP could do that for you - it'll need someone more familiar with PHP than me but the gist would be to get the high and low into variables, subtract them and print the result.
Thanks. Not that necessary, figured if it was built-in I'd use it. My brain can still do that math on its own :-).