/* * Wind decode result and error reports * Copyright JMA * * Ver 1.00 */ 1. Introduction Wind data (direction and speed) in reports via GTS or internet are decoded and stored in specially prepared files in Comma Separated Value (CSV) format. Information on primary quality control (QC) is also prepared in other files. The decoded data and QC information include the file name of and the position in the original reports, so that users can easily refer the original reports. The format of the decoded data is CSV. If you have any program package on the market that can read CSV, you can easily import these data for these packages. Detailed information of the files is explained below. 2. Decoded wind data file 2.1 Name of the file pub/wind/wind.rcvMMMdd MMMdd (MMM=Jan,Feb,..., dd=01,02,...) : Month and day that the original report was recieved at RTDB. 2.2 Format description # Ver 1.00 Copyright JMA 98.1.20 # # -------------------------------------------------------------------- sequential number (SEQ#) # ! ------------------------------------------------------------ latitude (LAT) # ! ! --------------------------------------------------- longitude (LON) # ! ! ! ------------------------------------------------ day (DAY) # ! ! ! ! --------------------------------------------- month (MON) # ! ! ! ! ! ---------------------------------------- year (YEAR) # ! ! ! ! ! ! ------------------------------------- hour (HOUR) # ! ! ! ! ! ! ! ---------------------------------- minute (MIN) # ! ! ! ! ! ! ! ! ----------------------------- wind dir (unit in deg) (DEG) # ! ! ! ! ! ! ! ! ! ------------------------ wind speed (unit in m/s) (SPD) # ! ! ! ! ! ! ! ! ! ! ---------------------- quality information (QI) # ! ! ! ! ! ! ! ! ! ! ! ------------- call sign (SGN) # ! ! ! ! ! ! ! ! ! ! ! ! -------- position in the file # ! ! ! ! ! ! ! ! ! ! ! ! ! (sequential number of record) (REC#) # ! ! ! ! ! ! ! ! ! ! ! ! ! ------ original file name (ORG) # ! ! ! ! ! ! ! ! ! ! ! ! ! ! 1,20.60,N,133.34,E,29, 8,1997,22,58, 60, 17,/, 52657, 59,buoy.obsAug29.rcvAug31 2,26.46,N,144.97,E,30, 8,1997, 2,30, 150, 999,/, 21523, 19,buoy.obsAug30.rcvAug31 remark 1 If the first character of a line is a '#', the line is a comment line. 2 "Ver xxxx" indecates supported version of the decoding program. 3 "99.." indicates that the element is not available with regard to numerical data. 4 "//.." indicates that the element is not available with regard to text data. 5 Quality information is not saported in the version 1.01, and it always set as "/". 3. Error information file 3.1 Name of the file pub/wind/error.rcvMMMdd MMMdd (MMM=Jan,Feb,..., dd=01,02,...) : Month and day that the original report was recieved at RTDB. 3.2 Quality Control 3.2.1 Quality control is performed only to detect values out of range by definition (see below) for each decode element. If such a value is found, we recognize it as an "error" and put the related information into the "error" file. a. year If YEAR>the present year or YEAR12, then MON=99 (error) c. day If DAY<1 or DAY>31, then DAY=99 (error) d. hour If HOUR<0 or HOUR>24, then HOUR=99 (error) e. minute If MIN<0 or MIN>59, then MIN=99 (error) f. latitude If LAT<0 or LAT>90, then LAT=99.99 (error) g. longitude If LON<0 or LON>180, then LON=999.99 (error) h. wind direction If DIR<0 or DIR>360, then DIR=999 (error) 3.2.2 If each element satisfies the following value check, we put "warning" information into the error information file but the value in the decode temperature data file remains as it is. a. call sign If the length or SGN is less than 3 or SGN includes any character(s) except alphabets (A-Z) or numbers (0-9), then put "Warning(SGN=...)". 3.3 Example SEQ#= 31 : Warning(SGN=+),ORG=ship.obsDay29.rcvAug30, REC#=1 SEQ#= 33 : Warning(SGN=/UZNS),ORG=ship.obsDay29.rcvAug30, REC#=3 SEQ#= 248 : Error(DIR=830),ORG=ship.obsDay29.rcvAug30, REC#=307