Translation Specification for meteorological Russian R/V data. Steven Worley, 07/14/2004: Last review Based on the "Archive Format for Presentation of Ship Marine Meteorological Data, Version 2. 24 January 24 2002 format (attached below LMR transpec), and available in the final report as Appendix 2 (NCAR-eng.doc, dss.ucar.edu/datasets/ds533.1/docs/) The full original record (144 characters) is added as a supplemental attachment. Many elements have received QC assessment. Only elements with QC = 0, or 1 have been registered in the COADS regular fields. c 0 = no QC has been performed c 1 = QC has been performed; element appears to be correct c 2 = QC has been performed; element appears to be inconsistent with other c elements c 3 = QC has been performed; element appears to be doubtful c 4 = QC has been performed; element appears to be erroneous c 9 = The value of the element missing Asterisk (*) next to LMR variable name (e.g. N*) means the variable has an associated QC flag in the original Russian format. Braces {...} indicate the variable name in the Russian format document. Indicators (e.g. DI, WI, VI, SI, etc) are set to non-missing if the associated data element is extant. Note: If the associated data element has QC = 2 or greater, it is NOT placed in the regular LMR fields and the indicator is set to missing. There are some very interesting data elements in the Russian format that do not fit into the COADS regular fields, e.g. vapor pressure, relative humidity, wave degree, sea surface state, wind and swell wave length, predominant waves, precipitation, and sea ice descriptions. These are available in the supplemental attachment. Steven Worley, 04/2002 ------------------------------------------------------------------------- 1 B10 not set (computed by wrlmr) 2 YR 4-digit year {AAAA} 3 MO 2-digit month {MM} 4 DY 2-digit day {YY} 5 HR 3-digit hour {GG}, Hour plus 10ths of hour UTC 0 added as 100ths position 6 TI 1-digit {TI}, Spot check shows set = 0 for first test file, whole hours 7 LON WMO Octant {Q}(code table 3300) along with LON {LoLoLo}(4 digits to 10ths degree) and LAT {LaLaLa} (3 digits to 10ths degree) are used to construct full resolution LON and LAT, using functions lmrlat and lmrlon (functions are listed below). 8 LAT see LON 9 LI 1-digit {LI} from input format is copied here. Spot checks of the first test file showed input value LI=0 (degrees and tenths) 10 DCK set = 735, Russian R/V Digitization 11 SID set = 64, Surface meterological data from Russian R/V 12 PT set = 5, ship 13 QI quality indic, not set 14 DS dup status, not set 15 DC dup check, not set 16 TC track check, not set 17 PB pressure bias, not set 18 DI 1-digit {DI} from input format is copied here. Spot checks of the first test files showed input value DI=0 (36-point compass) 19 D* 2-digit {dd}, WMO code table 0877, tens of degrees 00 (calm) translated to 361 99 (variable) translated to 362 20 WI 1-digit {WI} from input format is copied here. Spot checks of the first test files showed input value WI=1 (meter per second, measured) 21 W* 2-digit {ff}, meters/sec 0 is added as the 10ths position value 22 VI 1-digit {VI} from input format is copied here. Spot checks of the first test files showed input value VI = 0 and 1 (estimated, and measured) 23 VV* 2-digit {VV}, WMO code table 4377 24 WW* 2-digit {ww}, WMO code table 4677 25 W1* 1-digit {W1}, WMO code 4561 26 W2* 1-digit {W2}, WMO code 4561 27 SLP* 5-digit {PPPP}, 10ths of hectopascals 28 T1 1-digit {T1} from input format is copied here. Spot checks of the first test files showed input value T1 = 0 (degrees Celsius and tenths) 29 AT* 4-digit {TTT}, degrees C to 10ths 30 WBT* 4-digit {TbTbTb}, degrees C to 10ths 31 DPT* 4-digit {TdTdTd}, degrees C to 10ths 32 SST* 4-digit {TwTwTw}, degrees C to 10ths 33 SI 1-digit {SI} from input format is copied here. Spot checks of the first test files showed input value SI = 4 (a few 3), 3 = hull contact sensor, 4 = through hull sensor 34 N* 1-digit {N}, octas, WMO code table 2700 35 NH* 1-digit {Nh}, octas, WMO code table 2700 36 CL* 1-digit {CL}, genus of CL, WMO code table 0513 37 HI 1-digit {HI} from input format is copied here. Spot checks of the first test files showed input value HI = 1 (a few 0), 0 = estimated, 1 = measured 38 H* 1-digit {h}, WMO code table 1600 39 CM* 1-digit {CM}, WMO code table 0515 40 CH* 1-digit {CH}, WMO code table 0509 41 WD not set, generally assumed equal to D (wind direction) 42 WP* 2-digit {PWPW}, whole seconds Note: A few records (263) were found to have WP = 99. This is a legitimate setting, but not permitted in LMR. See documentation. 43 WH* 2-digit {HWHW}, half-meter values (none found in test files) 44 SD* 2-digit {dW1dW1}, tens of degrees, WMO code 0877 code = 99 (Variable, or all directions, or unknown, or wave confused direction indeterminate) is mapped to SD = 37 45 SP* 2-digit {PW1PW1}, whole seconds Note: A few records (19) were found to have SP = 99. This is a legitimate setting, but not permitted in LMR. See documentation. 46 SH* 2-digit {HW1HW1}, half-meter values (none found in the test files) 47 C1 country code, cannot be set to new alpha codes in lmr format set to 'RU' when IMMA becomes available. 48 C2 not set 49 SC not set 50 SS not set 51 A not set 52 PPP not set 53 IS not set 54 ES not set 55 RS not set 56 II set = 1, ship call sign or assigned Russian document number 57- 64 ID(8) 5 character string maximum {ID}, convert to upper case Note: In some cases where ship call sign is unknown the Russian R/V document number is used for the ID 65 OS not set 66 OP not set 67 T2 not set 68 IX not set 69 WX not set 70 SX 1-digit {SX} from input is copied here Russian rules are: ------------------ SX = 0, if swell periods in whole seconds. SX = 1, if swell periods converted from code according to Table 11 (COADS). SX - blank, if values Pw1Pw1 {swell wave period} is missing ------------------ SX = 0 is an erroneous setting. If wave period is already in whole seconds SX need not be set, i.e. SX should be missing. If SX = 0 set SX = missing. 71 IRD not set 72 A6 not set --------------- ascii version of file Format.V2.doc -------------- Notes, 04/2002, COADS here means LMR.5 format, sjw Archive Format for presentation of ship marine meteorological data. Version 2. 24 January 2002. No Field Description Coding procedure Bytes Record name position -- ----- ----------- ---------------- ---- -------- 1 ID Call sign 5 1-5 2 AAAA Year, UTC Four digits 4 6-9 3 MM Month, UTC 01-12, January to 2 10-11 December 4 YY Day, UTC 01-31 2 12-13 5 GG Time of Tenths of hour 3 14-16 observation UTC 6 TI Time indicator The same as in 1 17 COADS 7 Q Octant of the WMO code table 1 18 globe 3300 8 LaLaLa Latitude Tenths of degrees 3 19-21 9 LoLoLo Longitude Tenths of degrees 4 22-25 10 LI La/Lo indicator The same as in 1 26 COADS 11 N Cloud amount Octas, WMO code 1 27 table 2700 12 dd True wind WMO code table 2 28-29 direction 0877, Tens of degrees 13 DI Wind direction The same as in 1 30 indicator COADS 14 ff Wind speed M/s 2 31-32 15 WI Wind speed The same as in 1 33 indicator COADS 16 VV Visibility WMO code table 2 34-35 4377 17 VI Visibility The same as in 1 36 indicator COADS 18 ww Present weather WMO code table 2 37-38 4677 19 W1 Past weather WMO code table 1 39 4561 20 W2 Past weather WMO code table 1 40 4561 21 PPPP Air pressure Tenths of 5 41-45 hectopascals 22 TTT Air temperature Tenths of degrees 4 46-49 Celsius 23 TwTwTw Sea surface Tenths of degrees 4 50-53 temperature Celsius 24 T1 Temperature The same as in 1 54 indicator COADS 25 SI Sea surf. temp. The same as in 1 55 method indicator COADS 26 Nh Amount of lowest As reported for 1 56 clouds CL or, if no CL clouds is presented for CM, in octas; WMO code table 2700 27 CL Genus of CL cloud WMO code table 1 57 0513 28 h Height of clouds WMO code table 1 58 1600 29 HI Cloud height The same as in 1 59 indicator COADS 30 CM Genus of CM WMO code table 1 60 clouds 0515 31 CH Genus of CH WMO code table 1 61 clouds 0509 32 TdTdTd Dew point Tenths of 4 62-65 temperature degrees Celsius 33 e Water vapor Tenths of 3 66-68 pressure hectopascals 34 U Relative humidity % 3 69-71 35 TbTbTb Wet_bulb Tenths of degrees 4 72-75 temperature Celsius 36 PWPW Wind wave period Whole seconds 2 76-77 37 HWHW Height of wind Half-meter values 2 78-79 waves 38 ST Wave degree Code table 2 1 80 39 MS State of sea Code table 3 1 81 surface 40 LW Wind wave length Meters 3 82-84 41 dW1dW1 Direction of Tens of degrees 2 85-86 predominant swell waves 42 PW1PW1 Period of Whole seconds 2 87-88 predominant swell waves 43 SX Swell period The same as in 1 89 indicator COADS 44 HW1HW1 Height of Half-meter values 2 90-91 predominant swell waves 45 LW1 Length of Meters 3 92-94 predominant swell waves 46 HWMAX Maximum height of Half-meter values 2 95-96 waves 47 LLW Length of Meters 3 97-99 predominant wave 48 RRR Amount of 0.1 Mm 3 100-102 precipitation which has fallen in the last 12 hours 49 tR Observational WMO code table 1 103 period for RRR 4019, and duration of FM 13-IX SHIP, precipitation 1989 edition 50 ci Concentration or WMO code table 1 104 arrangement of 0639 sea ice 51 Si Stage of WMO code table 1 105 development 3739 52 zi Current ice WMO code table 1 106 situation (in an 5239 hour of observation) and trends in conditions within three hours prior to the hour of observations 53 Di True bearing of WMO code table 1 107 base ice edge 0739 54 bi Ice of land WMO code table 1 108 origin 0439 55 Q1 Quality control 0. no quality 1 109 indicator for (N) control (QC) has been performed. 1. QC has been performed; element appears to be correct. 2. QC has been performed; element appears to be inconsistent with other elements. 3. QC has been performed; element appears to be doubtful. 4. QC has been performed; element appears to be erroneous. 9. The value of the element missing. 56 Q2 Quality control IDEM 1 110 indicator for (dd) 57 Q3 Quality control IDEM 1 111 indicator for (ff) 58 Q4 Quality control IDEM 1 112 indicator for (VV) 59 Q5 Quality control IDEM 1 113 indicator for (ww) 60 Q6 Quality control IDEM 1 114 indicator for (W1) 61 Q7 Quality control IDEM 1 115 indicator for (W2) 62 Q8 Quality control IDEM 1 116 indicator for (PPPP) 63 Q9 Quality control IDEM 1 117 indicator for (TTT) 64 Q10 Quality control IDEM 1 118 indicator for (TwTwTw) 65 Q11 Quality control IDEM 1 119 indicator for (Nh) 66 Q12 Quality control IDEM 1 120 indicator for (CL) 67 Q13 Quality control IDEM 1 121 indicator for (h) 68 Q14 Quality control IDEM 1 122 indicator for (CM) 69 Q15 Quality control IDEM 1 123 indicator for (CH) 70 Q16 Quality control IDEM 1 124 indicator for (TdTdTd) 71 Q17 Quality control IDEM 1 125 indicator for (e) 72 Q18 Quality control IDEM 1 126 indicator for (U) 73 Q19 Quality control IDEM 1 127 indicator for (TbTbTb) 74 Q20 Quality control IDEM 1 128 indicator for (PWPW) 75 Q21 Quality control IDEM 1 129 indicator for (HWHW) 76 Q22 Quality control IDEM 1 130 indicator for (ST) 77 Q23 Quality control IDEM 1 131 indicator for (MS) 78 Q24 Quality control IDEM 1 132 indicator for (LW) 79 Q25 Quality control IDEM 1 133 indicator for (dW1dW1) 80 Q26 Quality control IDEM 1 134 indicator for (PW1PW1) 81 Q27 Quality control IDEM 1 135 indicator for (HW1HW1) 82 Q28 Quality control IDEM 1 136 indicator for (LW1) 83 Q29 Quality control IDEM 1 137 indicator for (HWMAX ) 84 Q30 Quality control IDEM 1 138 indicator for (LLW) 85 Q31 Quality control IDEM 1 139 indicator for (RRR) 86 Q32 Quality control IDEM 1 140 indicator for (ci ) 87 Q33 Quality control IDEM 1 141 indicator for (Si) 88 Q34 Quality control IDEM 1 142 indicator for (zi) 89 Q35 Quality control IDEM 1 143 indicator for (Di) 90 Q36 Quality control IDEM 1 144 indicator for (bi) Missing values for all fields is indicated by " blank". --------------------------------------------------------------------- CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC C /05/11/2004, HUA - Add new functions to convert latitudes and longitudes C C by considering The WMO Octant values c C /07/14/2004, Hua - change test to be exactly 360.00 degre C CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC INTEGER FUNCTION lmrlat(iq, lat) if(iq .gt. 4) then lmrlat = -lat else lmrlat = lat endif return END INTEGER FUNCTION lmrlon(iq, lon) if((iq .lt. 2) .or. (iq .eq. 5) .or. (iq .eq. 6)) then lmrlon = 36000 - lon else lmrlon = lon endif if(lmrlon .eq. 36000) then lmrlon = 0 endif