beautypg.com

Appendix d. raws-7 data format, D.1 introduction, D.2 format – Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual

Page 49: D.3 programming the datalogger for raws-7 format

background image

D-1

Appendix D. RAWS-7 Data Format

D.1 Introduction

RAWS-7 data format is used to transmit weather data in an ASCII based table
format. Upon reception, data does not need to be decoded. Software such as
WeatherPro can be used to archive and view the data. RAWS-7 data format is
compatible with NIFC.

D.2 Format

RAWS-7 format writes data in columnar format. The first 7 data points are
written to column 1, the next 7 data points are written to column 2 and the next
7 data points are written to column 3. Each data point is configured with a
fixed decimal place and a fixed number of characters. The RAWS-7 data block
is preceded by a carriage return and line feed character.

D.3 Programming the Datalogger for RAWS-7 Format

When using the RAWS-7 format, special care should be taken to ensure the
correct data will be written to final storage of the datalogger and thus
transferred to the SAT HDR GOES transmitter. Data is written in groups of 7.
One group of 7 represents 7 data points, usually for 1 hour of data. All data for
the RAWS-7 group must be transferred from the datalogger to the transmitter
at the same time. If writing hourly data, but transmitting on a 3-hour interval,
write all three hours of RAWS-7 data before P126 is executed. Write
additional data beyond the RAWS-7 data after the RAWS-7 data has been sent
to the transmitter.

The RAWS-7 format has some special functions built in. The RAWS-7 format
will behave differently depending on the amount of data in the active final
storage area of the datalogger. If there are 7 data points in the active final
storage area that have not been sent to the transmitter, the datalogger will
format 1 column of data. More than 7 and less than 14 data points are not sent
to the transmitter. If there are 14 data points, the RAWS-7 format will create a
table with 2 columns of 7 rows. If 21 data points are available, 3 columns of 7
rows each are created. If the number of data points is more than 14 but less
than 21, the first 14 data points are used while the extra are discarded. If there
are more that 21 data points, 3 columns of 7 rows are created. Data points in
excess of 21 are not sent to the transmitter, and can not be sent later.

The RAWS-7 data formats include fixed decimal place and fixed number of
characters. If the data value exceeds the range of the data format, all numbers
will default to 9. When the data value is negative, the minus sign is counted as
one character. As an example, if using data format 6, x.xxx, the minus sign fills
the only character location left of the decimal. All numbers less than -.999 will
print as -.999. All numbers greater than 9.9 will print as 9.999. P126, second
parameter, codes 3 through 8 are considered RAWS data formats