[Orca-users] Weather Station
Al
a_degennaro at staff.chuh.org
Thu Mar 16 07:23:29 PST 2000
From: Al <a_degennaro at staff.chuh.org>
Hello ORCA-users;
This is an excellent tool. I have installed, configured (to a point), and
even generated webpages with this tool. It seems a perfect fit for an
application I and my students are working on here at Cleveland Heights HS.
However, I have a couple of (green-horn, novice, etc) questions.
1. I have a weather station that is queried every 1 minute. Every 5
minutes wind speed and wind direction are "averaged" and the whole lot is
logged to a text file. (see below)
"system time" ,"time" ,"date" ,"temperature outside" ,"temperature inside"
,"wind chill" ,"relative humidty" ,"barometer" ,"rainfall" ,"heating degree
days" ,"cooling degree days" ,"wind direction 1" ,"wind direction 2" ,"wind
direction 3" ,"wind direction 4" ,"wind direction 5" ,"wind speed 1" ,"wind
speed 2" ,"wind speed 3" ,"wind speed 4" ,"wind speed 5" ,"final wind
direciton" ,"average wind speed"
00:01:02 ,23:09 ,04/23 ,48 ,61
,43 ,53 ,30.72 ,27.51 ,00920
,0009 ,230 ,230 ,090
,090 ,090 ,006 ,006 ,002
,001 ,001 ,NE-E ,3.2
00:06:19 ,23:15 ,04/23 ,48 ,61
,48 ,51 ,30.72 ,27.51 ,00920
,0009 ,090 ,230 ,230
,140 ,140 ,002 ,002 ,000
,001 ,001 ,CAPRICIOUS ,1.2
00:11:35 ,23:20 ,04/23 ,48 ,61
,48 ,51 ,30.72 ,27.51 ,00920
,0009 ,140 ,140 ,140
,140 ,140 ,002 ,001 ,000
,000 ,000 ,CALM ,0.6
00:16:51 ,23:25 ,04/23 ,48 ,61
,48 ,52 ,30.72 ,27.51 ,00920
,0009 ,140 ,140 ,140
,140 ,140 ,001 ,001 ,001
,000 ,000 ,CALM ,0.6
00:22:08 ,23:30 ,04/23 ,48 ,61
,48 ,52 ,30.71 ,27.51 ,00920
,0009 ,140 ,140 ,140
,140 ,140 ,002 ,002 ,001
,002 ,002 ,SE-S ,1.8
00:27:24 ,23:36 ,04/23 ,48 ,61
,48 ,52 ,30.71 ,27.51 ,00920
,0009 ,060 ,060 ,060
,060 ,060 ,001 ,002 ,001
,000 ,000 ,CALM ,0.8
00:32:41 ,23:41 ,04/23 ,48 ,61
,48 ,52 ,30.71 ,27.51
I know ORCA does not like spaces in the first line nor quotes or commas, but
even after removing these extraneous bits I cannot get ORCA to read my data.
Graphs are generated but the values appear to be zeros.
my configuration file (weather.config) looks like this:
state_file /home/orca/weather
html_dir /home/httpd/htdocs/orca
rrd_dir /home/httpd/htdocs/orca
late_interval 1.1 * interval
find_times 1:00
html_top_title Cleveland Heights HS RAINWISE Weather Station
html_page_header RainWise Weather Station Data
html_page_footer Thanks to Reaching Heights for the grant which provided this re
source.
expire_images 1
group RAINWISE {
find_files /home/orca/(200003\d{2}).log
#column_description a b
# system_time
# rainwisetime c
# date
# temperature_outside
# temperature_inside
# wind_chill
# relative_humidity
# barometer
# rainfall
# heating_degree_days
# cooling_degree_days
# wind_direction_1
# wind_direction_2
# wind_direction_3
# wind_direction_4
# wind_direction_5
# wind_speed_1
# wind_speed_2
# wind_speed_3
# wind_speed_4
# wind_speed_5
# wind_direction
# average_wind_speed
column_description first_line
date_source column_name date
date_format %2m/%2d
interval 300
}
plot {
title Barometric Pressure
source RAINWISE
data barometer
#data_type derive
data_min 30
data_max 33
legend Barometric Pressure
y_legend Pressure (millibars)
line_type area
color c00000
}
plot {
title Temperature Outside
source RAINWISE
data temperature_outside
#data_type derive
data_min -20
data_max 110
legend %g Temperature Outside
y_legend Degrees (F)
}
As you can see I have tried naming the columns myself, as well as trying to
use (a cleaned up version) the first_line.
Again, graphs are produced but no trace is obvious.
errors include the statements that values in the columns are not numeric (eg
10/24 not numeric, but it should be a date as either %m/%d or I even tried
%2m/%2d ;-).
ORCE DOES recognize new files as they are generated (every midnight a new
data file is generated of the form yyyymmdd.log) and ORCA sees and tries to
process it. NO LUCK.
Am I am missing something obvious? Have I chosen the wrong tool? I saw
were Blair had plotted the Humidity in Budapest. This is my goal as well.
2. Since each day is a new log file WEEKLY, MONTHLY, etc are not valuable.
How do I turn them off?
3. I am using a pentium 120 running Linux 5.2 and using ORCA 0.25 with
rrdtool_13. How can I use ORCALLATOR.SE to capture networking statistics
for my classroom, high school, and ultimately my school district and make
the plots available to my CISCO CCNA course? Any suggestions?
I really like ORCA, but if I am missing the mark perhaps you could direct me
to a more appropriate tool. I recognize that these may be obvious questions
to YOU (collective you) but I need to be productive immediately and could
use some guidance. Bye for now...
PS. My website is tech.chhs.chuh.org
to see the stuff ORCA generated use tech.chhs.chuh.org/orca
,. . .-,--. ,---. B ~B
/ | | ' | \,-.| -' ,-.,-.,-.,-.,-.,-. +---+---+
/~~|-.| , | /|-'| ,-'|-'| || |,-|| | | G| $ | H |
,' `-'`' `-^--' `-'`---| `-'' '' '`-^' `-' +---+---+ => B(G)!
,-.| ~G| - | - |
`-+' +---+---+
Alfred J. DeGennaro
VOICE
work (216) 371-7100
home (440) 888-0125
------------------------------------------------------------------------
@Backup- Protect and Access your data any time, any where on the net.
Try @Backup FREE and recieve 300 points from mypoints.com Install now:
http://click.egroups.com/1/2345/5/_/_/_/953219789/
------------------------------------------------------------------------
More information about the Orca-users
mailing list