Windmeter on platform
mar05
The windmeter is mounted on the platform. It
comes down from the platform on a fiber into jon hagens windmeter box.
This box supplies a analog meter output. It also presents the voltages
for velocity, direction to front panel bnc's and to rear panel bnc's
that
are read by a sbc computer to log the info.
see: Dana's notes on
the windmeter (oct08)
The logging of the data:
-
The program running on the sbc is called wind_data.c. It is located in
/home/aoui/develop/sbc/wind_data.c.
-
The mjd in the output file comes from this computers clock
-
An X display program called windmeter.c runs on the obsdisplay
computer.
It's source code is in /home/aoui/display/wind/windmeter.c. It uses
jeff's
sockLib routines to connect to the sbc wind_data.c program. It reads
the
data, displays the info on the monitor to the left of observer2 and it
uses the log_msg() routine (/home/aoui/lib/loglib.c) to write the data
to the disk file. The time stamp in the file hhmmss comes from
obsdisplay's
clock.
-
It looks like the jd time stamp in the datafiles drifts off (the sbc
clock
is probably not too stable). The hhmmss time stamp looks accurate since
obsdisplay is running ntpd.
Idl code:
The idl code to manipulate the wind data is :
-
/share/pkg/rsi/local/phil/wind/
-
There are a set of routines to read in a months worth of logfiles and
stores
them in an idl.sav file. These save files are currently in
/share/gx260s1dat1/wind
(a usb disk).
-
A set of routines to generate monthly/yearly plots.. see the readme
file
in teh idl/wind directory.
<-
page up
home_~phil