`NOAA/ETL Marine Boundary Layer Flux Data Acquisition System

HP 700 UNIX Workstation Environment

07/15/99 Jeff Hare

During the JASMINE-NAURU-KWAJEX-MOORINGS deployment, we are utilizing the 2-workstation environment. One UNIX workstation (Dilbert) is used solely as the data acquisition system, while the other (Crazyhorse) serves as the platform for daily diagnostics, 5-daily archival tape creation, and as a data acquisition backup in the case of a catastrophic failure of Dilbert.

Users

The user interface for the HP workstation is the Comon-Desktop-Environment and is a windows-type interface. All user programs and data acquisition are accessed from the 'user1' account on the machine named 'Dilbert' and from the 'jeh' account on the machine named 'Crazyhorse'. That is, the user should be logged in as 'user1' on 'Dilbert' and as 'jeh' on 'Crazyhorse'. There is a Superuser, named 'root' which has rights and privileges, including the option to destroy the entire system, above that of 'user1' or 'jeh'. Therefore, only in necessary circumstances and with care should the user be logged in as the Superuser. If necessary, please find someone in the science team or on the ship's crew who is familiar with UNIX for assistance.

Passwords

Crazyhorse:

jeh	2dogit

root	2bornot2b

Dilbert:

user1	2dogit

root	2bornot2b

Terminal

'Open a terminal window'. It is necessary to have a window open in order to run MATLAB or the data acquisition software. To close one of these windows, type the word 'exit' (without quote marks), followed by the Return key.

Text editor

'Open the editor'. This editor will be useful if you wish to look at the contents of a data file. It is possible for the operator to use the text editor to edit and create MATLAB programs. Once open, a left mouse button click on 'File' on the menu bar will enable you to 'Open' a file in a given directory. Once you have located the file in the directory of choice (for example, the previous day's data files will be moved into the /home/jeh/data directory on Crazyhorse), double click with the left mouse button on the file name or highlight that filename with a single click of the left mouse button and single click on the 'OK' button on the menu bar. The user can page through a data file using the mouse on the scroll bar on the far right of the editor window. Close the editor by a single left mouse button click on 'File' and then 'Exit'.

Exit

'Logout'. The user should only logout when the system is to be shutdown or when there are major problems which must be resolved by the system administrator.

UNIX

The operating system for the HP700 is HP-UNIX. The machine and the operating system allow multitasking, so that analysis routines, tape backups, etc. can be executed from a separate window while data is being acquired. However, with the 2-workstation environment, one machine (Dilbert) is used solely as the data acquisition system, while the other (Crazyhorse) serves as the platform for daily diagnostics and 5-daily archival tape creation. Although the data acquisition machine has the resources available for multi-tasking, it should only be attempted in the case of a catastrophic failure of one of the workstations.

Upon opening a terminal window, the user will be required to execute UNIX commands. Here are some examples of useful UNIX commands (note that each will be followed by a 'Return').

ls	list files in the current directory

ls -l	list files and size of files in current directory

more filename	displays the contents of the file page by page

rm filename	delete filename (remove)

pwd	list the name of the current directory

bdf	list the total bytes occupied and available for each disk on the system. This command will be useful to prevent data loss from filling the data disks prior to archive (see backup procedures below).

cd /home/user1/bin	change directory (in this case to the /home/user1/bin directory. Note the use of the leading slash).

man command	displays the 'help' page for the command. For example, 'man ls' (without quote marks) displays information about the 'ls' command.

It would be desirable to find someone familiar with UNIX before venturing into other commands and operations of the workstation.

Start-up procedure

Note that the system should be powered up and functional at the start of the deployment. Furthermore, the system is on an uninterruptable power supply (UPS) and should not power down at any time. However, the startup procedure from power-off for either Dilbert and Crazyhorse is as follows:

1.	Turn on all SCSI interface units, one at a time. These include the Central Data Serial Port Interface (no power switch on unit...user should disconnect/connect DC power plug), 2-Andataco External Hard Drives, and an HP CD-ROM. As you power each individual unit up, wait 15-30 seconds for it to power up before switching power onto the other SCSI units. ** Note that it is necessary to power-up Crazyhorse's /home hard disk before the /scratch2 is powered.

2.	Turn on power to the HP Monitor and Processor. A rather long start-up sequence is initialized on the HP Workstation requiring no user input. Wait until a full-screen login screen appears.

3.	When the full-screen login screen appears again, enter the name 'user1' for Dilbert or 'jeh' for Crazyhorse (without quotes) in the login name space. Return key or Tab to the password entry location, enter the password, followed by the Return key.

6.	After a minute or so, the HP-VUE screen appears. No further user input is required to the system initialization. The user may proceed with data acquisition or analysis.

Shut down procedure

The Dilbert data acquisition and Crazyhorse workstation systems should remain powered up during the duration of the deployment, and the system power is channeled through a UPS. A loss of power to the workstation could result in loss of data or corruption of files. Therefore, it is imperative that the proper shutdown sequence be adhered to whenever power and UPS are to be disconnected from the workstation. The ship's command should notify the operator if power, including UPS (an unlikely scenario), will be shutdown at any time during the deployment. The shutdown procedure is as follows:

1	Exit the current HP-VUE session by single left mouse button click on the Exit sign in the lower right corner of the screen. Alteratively, the user can logout by making a right mouse click on the desktop space and choosing the 'logout' option.

2.	The full login screen will be displayed in a few moments. When this screen appears, login as 'root' (without the quote marks), use the Return key or Tab to the password and enter in the password for 'root' followed by the Return key.

3.	When the HP-VUE screen appears, open a terminal window by a double left mouse button click on the arrow above the icon for terminal. Open a terminal window.

4.	At the '#' prompt, type the following followed by the Return key:

shutdown

5.	Almost immediately the screen displays a message requiring a 'y' or 'n' response. This question asks if the user wishes to send a message to other users informing of a system shutdown. Type the 'n' character (without quote marks), followed by the Return key.

6.	After a minute or two, the screen displays another message requiring user input response. This question asks if the user wishes to proceed with system shutdown. Type the 'y' character (without quote marks), followed by the Return key.

7.	System shutdown will proceed. After a few more minutes, a black screen will appear with a single '#' prompt. At this point, type the following, followed by the Return key:

init 0; exit

This informs the system that it is to go into the 'zero' state.

8.	The system will respond with a prompt which states that power may be turned off provided UPS doesn't require attention. Power off the HP processor.

9.	Power off the monitor, and all SCSI devices.

An alternative method for shutdown is to login as root, open a terminal window, type the word 'sam', choose 'Routine Tasks' from the listed icons, then choose 'System Shutdown'.

Data Acquisition

The workstation performs data acquisition via a 'C' code program (hp_das.c) and executable file (hp_das) found within the data acquisition system directory (/home/user1/bin). All data acquired with this program is written to the primary data storage directory (/home/user1/bin/data). An identical data acquisition routine can be found in the /home/jeh directory on Crazyhorse.

Subsequent data backups and tape archival are performed on Crazyhorse (the data are copied over to Crazyhorse using FTP). In addition, data can be stored on Dilbert's second disk in the directory named /hare/data_backup.

To start the data acquisition system, proceed as follows:

1.	A terminal window should be open with a prompt similar to the following:

user1@dilbert 51>

If no window is available, the user need only double click the left mouse button on the Terminal icon in the desktop environment. Widen the window by placing the mouse cursor on the edge of the screen, press and hold the left mouse button, and drag the window edge to the right or left. A click and hold of the left mouse button on the top edge of the terminal window enables the user to move the window anywhere on the HP-VUE screen. It is important for visual verification of the data acquisition program and for the MATLAB routines that the window be sized large enough to display the information which is to be presented to the screen by the program.

2.	The data acquisition program is located in the following directory:

/home/user1/bin

The user must reside in that directory for proper function of the data acquisition routine. At this time, type the following, followed by the Return key:

cd /home/user1/bin

This UNIX command changes the directory to the location of the data acquisition program.

3.	To start the data acquisition program, type the following, followed by the Return key:

hp_das

This executable file begins the data acquisition program.

4.	At this time, the user should see the window occupied by a line of information, updated every 5 seconds, similar to the following:

11:48:02 bytes/5 sec: P0=2400 P1=2400 P2=0 P3=0 P4=1200 P5=1400 P6=0 P7=499

The first field is the UTC time, and the subsequent fields are the number of bytes read for each corresponding channel. Note that data on channel P2 are sent only once per minute, while the number of bytes per 5-second interval into channels P6 and P7 is relatively variable. Channels P1 and P3 will not be used for Kwajex. The remaining channels (P0, P4, P5) are fast-channels (20 Hz and above), and they should have input bytes per interval similar (but not exactly) to that shown in the example above. The data files are written into the Dilbert directory /home/user1/bin/data.

Daily Data Backups

The user should execute the following set of commands from the machine named Crazyhorse. These commands can be executed while the data acquisition routine is running on Dilbert. The file transfer should only be executed after GMT 00Z to copy the entire previous day's data files.

1.	Click open a terminal window on Crazyhorse.

2.	Change the directory to /home/jeh/data. Type the following concluded by the Return key:

cd /home/jeh/data

3.	Establish connection to Dilbert. Type the following concluded by the Return key

ftp 205.156.17.169

(Note that Dilbert's IP address is 205.156.17.169, while Crazyhorse's IP is 205.156.17.168).

4.	Enter the username for Dilbert

user1

5.	Enter the password

2dogit

6.	Change the directory on Dilbert to access data

cd /home/user1/bin/data

7.	Change the transfer characteristic to ascii

ascii

8.	Change the transfer characteristic for no prompt

prompt

9.	Copy data files for the previous day from Dilbert's /home/user1/bin/data directory into Crazyhorse's /home/jeh/data directory.

mget P?_XXX??

where XXX = yesterday's 3-digit yearday. For example, if the time is now 00:05 Z on Day 191, the operator will enter the following (including question marks, which are single-character wildcards)

mget P?_190??

Note that the file transfers for the previous GMT day should not be attempted until after 00Z.

10.	When all files have been successfully copied, type

quit

to exit FTP. The operator may then perform a listing (using the 'ls' command at the UNIX prompt) from a terminal window on Crazyhorse to verify that all files have transfered. In addition, the operator may view a few of the transferred files to verify by using the 'more' command from the UNIX prompt.

11.	The user should also copy the previous day's data files on Crazyhorse onto the second hard disk with the following:

cp /home/jeh/data/P?_XXX?? /scratch2/jeh/data

Note that /home and /scratch2 are on separate external disk drive units on the Crazyhorse system to ensure data preservation in case of catastrophic loss of one of the disks prior to tape backup.

The user should regularly execute the 'bdf' command (without quote marks) from the UNIX prompt to ensure that the disks are not filling beyond capacity (as given by the percent used information). Furthermore, the user should ensure that less than 2GBytes of information will be archived to tape, as that volume is the capacity of the tapes.

5-Day Data Backups

The user should perform this backup-to-tape procedure every five Julian days for example: (days 200, 205, 210, 215, 220, 225, 230, 235, 240, 245, and 250). The user should be sure to only have those 5-days' worth of data which are to be archived resident within the /home/jeh/data directory on Crazyhorse. All other data, which should have been archived in previous sessions, should be moved into the /scratch2/jeh/data directory. The operator should be aware that the tapes are capable of holding only 2 Gbytes of data, while the hard disks on Crazyhorse and Dilbert have double that capacity. Be sure to move and/or remove files as necessary to successfully archive and to not overfill a disk (use the 'bdf' UNIX command).

1.	Change directory on Crazyhorse to /home/jeh/data using:

cd /home/jeh/data

2.	Insert a cleaning cartridge into the proper slot of the tape drive chassis. Wait a few minutes for the tape to engage, spin up, rewind, and eject. Remove the cleaning tape. It is not necessary to perform this cleaning step before every archival session. However, it is desirable to keep the head of the tape drive clean, and cleaning is a brief operation.

3.	Insert a new blank tape cartridge into the tape drive. Wait a few moments for the tape to engage, spin up, and rewind.

4.	Archive to tape using the following command (use small-case characters with the exception of the leading 'P' in the filename):

tar cv /home/jeh/data

The options 'c' and 'v' act to create the archive and show (verbose) each file as it is written, respectively. This step of the procedure takes a couple of hours.

5.	Remove the Copy 1 tape and place one of the provided labels on the edge of the tape. Write the relevant information on the label and on the paper insert for the tape cover. This information should include the experiment name (Kwajex), days of data on tape (for example: Days 221-225), and tape number and copy number (for example, 1st tape, copy #1).

6.	Insert a second tape and repeat steps 3 through 5. This tape will be copy 2.

7.	Remove archived files, as necessary, from the hard disk to preserve space. This is very important, as filling a disk may corrupt the system. Execute the following command:

rm /home/jeh/data/P?_XXX??

where XXX denotes the days files to be removed. It is best to remove the oldest files first.

System Components

The ETL data acquisition system uses the HP700 machine named Dilbert as the data acquisition processor, with external hard disks for data storage on Dilbert, an internal tape drive for backup data archival, and an eight-channel serial data interface. The external disks and the serial data interface are daisy-chained on a SCSI standard interface bus. In addition, Crazyhorse serves as the platform for running diagnostic software and for archiving to tape.

External SCSI Interface Hardware

1.	Central Data SCSI Interface Serial Ports

This interface is used as the primary interface for data acquisition. All data transferred to the HP700 is serial at this point. Data are either acquired from the serial output of an individual instrument (sonic anemometer, gyrocompass, infrared hygrometer, GPS receiver, ship auxiliary

information) or is analog signal which has been digitized and transferred to the serial interface (Campbells #1, #2, #3).

2.	Andataco Hard Disk #1

root directory:	/home

default directory:	/home/user1

data acquisition system directory:	/home/user1/bin

primary data storage directory:	/home/user1/bin/data

backup data storage directory:	/home/user1/bin/data_backup

MATLAB programs directory:	/home/user1/hare

3.	Andataco Hard Disk #2

root directory:	/hare

backup data storage directory:	/hare/data_backup

4.	CD-ROM (not used)

-Central Data Serial Interface

The following is a list of the instruments on each of the eight channels (0-7) of this interface. The names of the files containing the information from each individual channel and written to the /home/user1/bin/data directory follow the nomenclature as:

filename: Pc_0aatt ,

where c is the channel number,

0aa is the three-digit Julian day,

and tt is the start-of-file UTC hour.

For example, a file which was started at 0800 UTC on Feb 1 from channel 0 (sonic anemometer) would be named P0_03208. Each file is stamped with the Dilbert clock (in seconds since midnight Jan 1, 1970) with two fields: seconds and ten-thousandths of seconds. This time can be cross- referenced to the GPS time, which is regularly logged on Channel 7.

Channel 0 :	Gill Solent Ultrasonic Anemometer - 20.87Hz data rate. Transmitted data are the 2 horizontal wind components (relative to the platform) in cm/s [u, v], the vertical component (relative to the platform) in cm/s [w], and the speed of sound [S]. A conversion from speed of sound to temperature [Ts] is:

Ts = ([S]/50)*([S]/50) + ( (u*u + w*w) /2 + v*v) /403 [deg K]

Channel 1:	Not used for Kwajex

Channel 2:	Campbell 21X Datalogger #2 digitizing the following instruments (in order of transmission and subsequent write-to-file) - 1/minute data rate. [Note that prior to these data in the files, there are four time stamps: the first is the seconds since midnight 1970 and the second is the ten thousandths of seconds. The third is an arbitrary Campbell date figure and the fourth is an arbitrary minute stamp from the Campbell. Therefore there are a total of 26 fields at each point of data in the file]

The instruments are:

2-Infrared Radiometers (Pyrgeometers)

2-Visible Radiometers (Pyranometers)

1-Tsea Snake

1-Vaisala T/RH Sensor

1-STI Optical Rain Gauge

Included in the fields for this file are:

1.	Campbell datalogger ID number

2.	Year

3.	Day

4.	Hour-minute (HHMM)

5.	Case temperature (thermistor) resistance for pyrgeometer #1

6.	Dome temperature (thermistor) resistance for pyrgeometer #1

7.	Case temperature (thermistor) resistance for pyrgeometer #2

8.	Dome temperature (thermistor) resistance for pyrgeometer #2

9.	Sea 'snake' temperature (thermistor) resistance

10.	Vaisala temperature sensor voltage

11.	Thermopile voltage for pyrgeometer #1

12.	Vaisala relative humidity sensor voltage

13.	Thermopile voltage for pyrgeometer #2

14.	Optical rain gauge reference voltage

15.	Thermopile voltage for pyranometer #1

16.	Optical rain gauge signal voltage

17.	Thermopile voltage for pyranometer #2

18.	Case temperature for pyrgeometer #1

19.	Dome temperature for pyrgeometer #1

20.	Case temperature for pyrgeometer #2

21.	Dome temperature for pyrgeometer #2

22.	Sea snake temperature

23.	Vaisala temperature

24.	Vaisala relative humidity

25.	Infrared irradiance pyrgeometer #1

26.	Infrared irradiance pyrgeometer #2

27.	Solar irradiance pyranometer #1

28.	Solar irradiance pyranometer #2

29.	Optical rain gauge rain rate [mm/hr]

30.	Campbell battery voltage

The conversions for resistance and voltage to physical units for the sea surface temperature probe and the radiometers is as follows:

Tsea = 3915.9 / (5.127 + ln [Rsea-10] ) [deg K]

IR FLUX = [Vir]/0.004*sigma + 0.98*sigma*[Tc^4] + 2.5*sigma*(Tc^4-Td^4) [W/m/m]

where sigma=5.67*(10^-8)

Tc = 3563 / (2.74 + ln[Rc])

Td = 3563 / (2.74 + ln[Rd])

SOLAR FLUX = [Vsol]/0.009 [W/m/m]

Channel 3:	Not used in Kwajex (reserved for Robertson Gyrocompass)

Channel 4:	Ophir Infrared Hygrometer - 20Hz data rate. Data file contains counts from the clear channel [Cc], counts from the absorbing channel [Ca], and an error byte.

The conversion from counts to physical units proceeds as:

abshum = x* (ln(rc/a))^1.362 [g/m/m/m]

where rc = Ca/Cc

x = 56.23* (temperature/273.15)^0.8

a = 1.051*(1-0.0017*25)

Channel 5:	Campbell 21X Datalogger #3 digitizing the following instrument (in order of transmission and subsequent write-to-file) - 20 /second data rate.

Systron-Donner Motion-Pak Rotation Rate and Acceleration Sensors: 6 fields

The calibration of these data and the definitions of the coordinate system are as:

rate y-axis = rotation rate about the port-starboard axis, bow down is positive pitch.

Ry = volts/0.05 [deg/s]

rate x-axis = rotation rate about the bow-stern axis, port side up is positive roll.

Rx = volts/0.05 [deg/s]

rate z-axis = rotation rate about the vertical axis, bow to starboard is positive yaw.

Rz = volts/0.05 [deg/s]

acceleration y-axis = acceleration along the bow-stern axis, forward is positive.

Ay = volts/3.75*g [m/s/s]

acceleration x-axis = acceleration along the port-starboard axis, to port is positive.

Ax = volts/3.75*g [m/s/s]

acceleration z-axis = acceleration along the vertical axis, up is positive.

Az = volts/3.75*g [m/s/s]

Channel 6:	Ship Computer System

The following Brown information is currently being logged on this channel at a 1 / 2 second data rate:

P-code Time, P-code Latitude, P-code Longitude, P-code Course Over Ground, P-code Speed Over Ground, Thermosalinigraph Water Temperature, Thermosalinigraph Salinity, IMET Relative Humidity, IMET Air Temperature, IMET Shortwave Irradiance, IMET Rain, LaserRing Gyrocompass Heading, ODEC Speed Log, IMET Wind Speed, IMET Wind Direction.

Channel 7:	GPS Receiver

Approximately 1Hz data rate.

MATLAB Routines

Within the /home/jeh/m_files directory on Crazyhorse, there are a number of application routines to evaluate and display information processed from the data acquisition files.

Starting MATLAB

MATLAB will only operate in the presence of the license manager daemon which runs in the background and is transparent to the user. This license manager should automatically initiate upon system startup. If, for some reason, MATLAB shows a license manager problem, the operator should login as root and type the following terminated by the Return key:

cd /usr/local/matlab/etc

This will change the directory to that containing the license manager. Now, type the following, terminated by the Return key:

./lmstart

A message will appear indicating that the license manager has been properly initiated.

To start the MATLAB software proceed as follows:

1.	If a terminal window is not available on Crazyhorse, open one with a single left mouse button click on the terminal window icon in the bottom left area of the screen.

2.	Change directory to: cd /home/matlab

3.	Type the following terminated by the Return key:

matlab

This will begin the MATLAB session.

MATLAB application programs

As the data acquisition system is operating on Dilbert, it is possible to transfer a copy of the previous day's data files onto Crazyhorse. On the Crazyhorse platform, MATLAB routines can be run to monitor the instrument performance through some preliminary processing and display functions. These include computation and display of sensible and latent heats, evaluation and display of the Ophir window cleanliness, display of sea surface, air temperature, and relative humidity from both the IMET ship system and our own sensors. In addition, a few selected time series and Fourier spectra are plotted for evaluation of sensor performance.

In order to start this package, from the MATLAB prompt, type the following terminated by the Return key:

clear;close('all');fclose('all');flux_eval

This program will display the following information in the MATLAB figure windows for the chosen day:

Figure1:	Temperatures of Vaisala probe, Sea snake, Dome and Case of the 2 PIRs.

Figure2:	Temperature from the Vaisala probe and Sea snake.

Figure3:	Longwave irradiance from the two ETL PIRs.

Figure4:	Shortwave irradiance from the two ETL PSPs.

Figure5:	Rain rate from the optical rain gauge.

Figure6:	Temperatures from the SCS air and sea probes.

Figure7:	SCS ship speed.

Figure8:	Shortwave irradiance from the SCS PSP.

Figure9:	GPS course over ground and laser gyro heading.

Figure10:	Sonic temperature time series.

Figure11:	Relative wind speed from the sonic anemometer: U, V, W components and speed.

Figure12:	Relative wind direction from the sonic.

Figure13:	Relative wind speed from the sonic anemometer.

Figure14:	Net heat flux: Net=Latent+Sensible+Shortwave+Longwave.

Figure15:	True wind speed from the sonic.

Figure16:	Heat flux components: Sensible, Latent, Longwave, and Rain heat fluxes.

Figure17:	Sonic anemometer wind speed spectra for streamwise and vertical wind components for Hour 00.

Figure18:	Ophir hygrometer spectrum of absolute humidity for Hour 00.

Figure19:	Sonic anemometer wind speed spectra for streamwise and vertical wind components for Hour 12.

Figure20:	Ophir hygrometer spectrum of absolute humidity for Hour 12.

Figure21:	Wind speed ETL sonic and SCS.

Figure22:	Relative humidity ETL and SCS.

Figure23:	Tsea ETL and SCS.

Figure24:	Tair ETL and SCS.

The figures can be paged through by pressing the 'Alt' key to the left or right of the space bar, simultaneously with the 'Tab' key. Repeated pressing of 'Alt'-'Tab' will page through the individual plots. Note that the user can reverse the paging by pressing the 'Shift' key with the 'Alt' and 'Tab' keys.

These plots are intended to be utilized by the user as diagnostic tools to periodically investigate data integrity. For example, the turbulence spectra (multiplied by frequency) should show a characteristic (-2/3) slope in the inertial-subrange frequencies, and a time series of ship motion variables will show oscillations corresponding to the ship's response to wave forcing. Furthermore, comparison of variables such as temperature with similar instruments will be helpful in diagnosing problems.

Some additional MATLAB scripts which should be of value:

read_hp_day	Inputs and plots radiometer, air and sea temperature, relative humidity, and rain gauge data from the means Campbell data file. For example, to evaluate the means data for day 194, from MATLAB prompt, type:

ddd=194; read_hp_day

The procedure for running the following routines is the same.

read_shp_day	Inputs and plots data from the SCS data input into Dilbert.

read_son_day	Inputs and plots data from the sonic anemometer.

timatch_5	Inputs data and computes bulk flux statistics over 5-minute intervals. timatch_30
Inputs data and computes bulk flux statistics over 30-minute intervals.

eval_nau	Runs a series of evaluation routines which plot time series and spectra.

eval_ship	Read and plot SCS data

eval_son	Read and plot sonic anemometer data, including spectra

eval_ophir	Read and plot ophir hygrometer data, including spectra

eval_means	Read and plot means data.

openophir3	Input hygrometer data from a specified hour and day, compute statistics and diagnostics for determination of the window integrity. To run this routine, type:

ddd=194; hhh=15; openophir3

(See below for an explanation of the interpretation of the statistics).

Ophir Sensor Window Integrity

The Ophir hygrometer is sensitive to water and sea salt on the lenses. The 'silver' surface and the glass window of the Ophir may be cleaned with the glass cleaner, but this requires the operator to climb the jackstaff. A hose system has been deployed up to the instrument for the purpose of daily cleaning.

The MATLAB program named 'openophir3' can be used to monitor the state of the hygrometer lenses. The user should check the window cleanliness using this MATLAB routine occasionally to determine if the hose system which is on the mast should be implemented to rinse off these surfaces. In dry conditions, if the 10-minute mean counts in the Ophir 'Clear' channel should drop below 2500, the user should consider turning the hose system on. Note that the path will be obscured if liquid water (such as rain) is present. Furthermore, if the 10-minute standard deviation of the 'Clear' channel counts is above approximately 15 for an extended period of time (dry surfaces), and/or the 10-minute Ophir absolute humidity spectra do not demonstrate adequate resolution in the inertial-subrange (i.e. improper slope) the user should consider using the

rinse system. These values are only intended as a guideline and are not 'hard' rules by which the user must adhere. Some judgement is required by the user in this case. The hose system is activated on the aft side of the O2 deck.

Also, approximately daily, the radiometers atop the scaffold should be sprayed with glass cleaner and wiped with paper towel.

Loading Campbell programs

Should the Campbell Dataloggers lose AC power, a battery backup supplies power to the units. However, in some cases, the battery may not protect the unit from loss of software. It then becomes necessary to download the software from a PC to the Datalogger. As mentioned above, there are 2 Campbell 21X Dataloggers in the system as configured for the Kwajex deployments. These are the 'Radiometer/Means' unit on Channel 2, and the 'Motion-Pak' Campbell on Channel 5. Both of these Campbells are physically located within the main lab forward, starboard side.

The procedure for downloading the Campbell programs is as follows:

1.	Toggle the power to the Campbell unit in question. Toggle off, then on. The power switch is located on the side of the datalogger. This power toggle erases any resident memory.

2.	Locate the cable on the PC marked 'PC to Datalogger'. This cable is connected to the COM2 port on the back of the PC. Connect the relevant datalogger (means or motion- pak) cable and black rad-modem to this cable.

3.	Open a DOS window on the PC by a rapid double-click of the left mouse button on the MS-DOS (rabbit) icon.

4.	Type the following from the DOS prompt, followed by the Enter key:

cd\pc208

This will change the directory to the location of the download software.

5.	Type the following from the c:\pc208> prompt, followed by the Enter key:

gt filename

where filename is one of the following relevant datalogger program file names:

-For the Radiometers/Means Campbell in Channel 2, the filename is 'slowmet' without the quote marks.

-For the Motion-Pak Campbell in Channel 5, the filename is 'shipmot4' without the quote marks.

So, for example, if the user wishes to download the datalogger program onto the Motion-Pak Campbell in Channel 5, the user would type the following from the DOS prompt, followed by the Enter key:

gt shipmot4

This starts the Campbell downloading software with the parameters necessary to download the correct program.

6.	When the Campbell software is ready, press the 'd' key to initiate download.

7.	At the prompt type in the filename as before (in our example, the filename is 'shipmot4' without the quote marks), followed by the Enter key.

8.	The download should proceed as normal without further user interaction. Some characters will appear on the screen after a few seconds, followed by one or more beeps. If procedure doesn't work, repeat all steps from the beginning.

9.	Type the 'q' character on the keyboard to quit the application.

10.	At the DOS prompt, type the word 'exit' without quote marks, followed by the Enter key. This will close the DOS window.

Contact

E-mail:	jhare@etl.noaa.gov

cfairall@etl.noaa.gov

Telephone: I can be reached at anytime at my work number (303) 497-5864. Leave a voice-mail message as I will be checking the messages at least daily. You may try to reach me in person at home at (303) 443-1317.

Mailing address:	Jeffrey Hare

NOAA/ETL R/E/ET7

325 Broadway

Boulder CO 80303