BUFR Table C - Data description operators (Edition 3)

Similar documents
Lecture 3 Tao Wang 1

Learning Log Title: CHAPTER 3: ARITHMETIC PROPERTIES. Date: Lesson: Chapter 3: Arithmetic Properties

Logic, Words, and Integers

C NUMERIC FORMATS. Overview. IEEE Single-Precision Floating-point Data Format. Figure C-0. Table C-0. Listing C-0.

EXAMPLE 1. Change each of the following fractions into decimals.

Bounded, Closed, and Compact Sets

SETS. Sets are of two sorts: finite infinite A system of sets is a set, whose elements are again sets.

Chapter Binary Representation of Numbers

MAT121: SECTION 2.7 ANALYZING GRAPHS AND PIECEWISE FUNCTIONS

NZ Mathematics Level 1-Yr 9 Curriculum Objectives Addressed Within Numbers Up! Volcanic Panic

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

CS4215 Programming Language Implementation

Chapter 2, Part III Arithmetic Operators and Decision Making

DRAFT. Encapsulation of Dirac Video content and time code markers in ISO/IEC Transport Streams

Real Numbers finite subset real numbers floating point numbers Scientific Notation fixed point numbers

Year Nine Scheme of Work. Overview

CSc 10200! Introduction to Computing. Lecture 2-3 Edgardo Molina Fall 2013 City College of New York

UNIT - I: COMPUTER ARITHMETIC, REGISTER TRANSFER LANGUAGE & MICROOPERATIONS

Find the specific function values. Complete parts (a) through (d) below. f (x,y,z) = x y y 2 + z = (Simplify your answer.) ID: 14.1.

in this web service Cambridge University Press

PRINCIPLES OF COMPILER DESIGN UNIT I INTRODUCTION TO COMPILERS

M/s. Managing distributed workloads. Language Reference Manual. Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567)

Lesson 12: The Graph of the Equation y = f(x)

UNIT 1: NUMBER LINES, INTERVALS, AND SETS

997 Functional Acknowledgment

UNIT 8 STUDY SHEET POLYNOMIAL FUNCTIONS

Guide to WMO Table Driven Code Forms: FM 94 BUFR. and FM 95 CREX

COMPUTATIONAL PROPERIES OF DSP ALGORITHMS

CHAPTER 8. Copyright Cengage Learning. All rights reserved.

Chapter 3. Set Theory. 3.1 What is a Set?

CS 361 Concurrent programming Drexel University Fall 2004 Lecture 8. Proof by contradiction. Proof of correctness. Proof of mutual exclusion property

Language Basics. /* The NUMBER GAME - User tries to guess a number between 1 and 10 */ /* Generate a random number between 1 and 10 */

The New C Standard (Excerpted material)

Chapter Multidimensional Gradient Method

Lexical Considerations

Mathematics Year 9-11 Skills and Knowledge Checklist. Name: Class: Set : 4 Date Year 9 MEG :

C How to Program, 6/e by Pearson Education, Inc. All Rights Reserved.

Year 9: Long term plan

MATVEC: MATRIX-VECTOR COMPUTATION LANGUAGE REFERENCE MANUAL. John C. Murphy jcm2105 Programming Languages and Translators Professor Stephen Edwards

15 Unification and Embedded Languages in Lisp

THE CONSTRUCTION OF AN ALGOL TRANSLATOR FOR A SMALL COMPUTER

Optimizing Closures in O(0) time

Integers and Rational Numbers

Page 1. Where Have We Been? Chapter 2 Representing and Manipulating Information. Why Don t Computers Use Base 10?

Lexical Considerations

Year 7: Long term plan

Definition of Basic Polar Data Product

Number Systems. Binary Numbers. Appendix. Decimal notation represents numbers as powers of 10, for example

2010 Summer Answers [OS I]

INTERNATIONAL TELECOMMUNICATION UNION 4%,%-!4)# 3%26)#%3 4%2-).!, %15)0-%.43!.$ 02/4/#/,3 &/2 4%,%-!4)# 3%26)#%3

Unit-II Programming and Problem Solving (BE1/4 CSE-2)

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value

Curriculum Area: Mathematics Year: 10 Foundation. Aspire Learn Achieve. 1 Number All students have access to:

ISO/IEC INTERNATIONAL STANDARD. Information technology Abstract Syntax Notation One (ASN.1): Specification of basic notation

Year 9 Autumn Term Topics Covered Calculations Special Numbers Manipulating Algebraic Expressions Fractions Decimals, Fractions and Rounding

Problem. Prove that the square of any whole number n is a multiple of 4 or one more than a multiple of 4.

Postgres Plus xdb Replication Server with Multi-Master User s Guide

Multipliers: etc. c loo IO Digits: 2 3 ; 7 ones plus 7x l= 7 3 tens plus 3x lo= 30 2 one hundreds 2 x 100 = 200 Total 237

Notes for Unit 1 Part A: Rational vs. Irrational

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Combinatorial Optimization

Year Term Week Chapter Ref Lesson 1.1 Place value and rounding. 1.2 Adding and subtracting. 1 Calculations 1. (Number)

RIVA / Athena Pro-Series ECU

We have seen that as n increases, the length of our confidence interval decreases, the confidence interval will be more narrow.

NUMBER 1 ALGEBRA 1 AUTUMN TERM YEAR 7

The Syntax of auto Declarations

Exponent Properties: The Product Rule. 2. Exponential expressions multiplied with each other that have the same base.

Chapter 2: Number Systems

Expected Standards for Year 6: Mathematics Curriculum (taken from ncetm progression maps)

Stage 7 Checklists Have you reached this Standard?

1.2 Real Numbers. Objectives In this section, you will learn to:

SERIES X: DATA NETWORKS, OPEN SYSTEM COMMUNICATIONS AND SECURITY OSI networking and system aspects Abstract Syntax Notation One (ASN.

Year 6 Term 1 and

Decision Making using the IF Statement. Logical Control Structures

Rules of Exponents Part 1[Algebra 1](In Class Version).notebook. August 22, 2017 WARM UP. Simplify using order of operations. SOLUTION.

COMP2611: Computer Organization. Data Representation

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance.

Numeral Systems. -Numeral System -Positional systems -Decimal -Binary -Octal. Subjects:

Why Don t Computers Use Base 10? Lecture 2 Bits and Bytes. Binary Representations. Byte-Oriented Memory Organization. Base 10 Number Representation

SMURF Language Reference Manual Serial MUsic Represented as Functions

CS113: Lecture 3. Topics: Variables. Data types. Arithmetic and Bitwise Operators. Order of Evaluation

Study Guide For use with pages

KS3 MATHEMATICS THRESHOLD DESCRIPTORS NUMBER (Incl. RATIO & PROPORTION)

Problem One: A Quick Algebra Review

Year 6 Mathematics Overview

a) y = x 3 + 3x 2 2 b) = UNIT 4 CURVE SKETCHING 4.1 INCREASING AND DECREASING FUNCTIONS

MA 1128: Lecture 02 1/22/2018

Practice Problems (Con t) The ALU performs operation x and puts the result in the RR The ALU operand Register B is loaded with the contents of Rx

Raising achievement Foundation/Higher Tier Grades 1 9

Real Numbers finite subset real numbers floating point numbers Scientific Notation fixed point numbers

Stage 6 Checklists Have you reached this Standard?

Beal High School. Mathematics Department. Scheme of Work for years 7 and 8

Unit 3: Multiplication and Division Reference Guide pages x 7 = 392 factors: 56, 7 product 392

BUFR User s Guide. Milan Dragosavac. Operations Department. January 2004

Year 6 Maths Medium Term Planning. Autumn. Unit A1 Number place value, multiplication and division

number Understand the equivalence between recurring decimals and fractions

1 Lexical Considerations

Maths Homework Booklet Term 2

The assembler has the pseudo op-codes listed in Table 8-1. Pseudo Op-Codes. .2byte expression1 [, expression2 ]...

Intermediate Algebra. Gregg Waterman Oregon Institute of Technology

Transcription:

BUFR Table C - Data description s (Edition 3) 2 01 YYY Change data width Add (YYY-128) bits to the data width given for each data element in Table B, other than CCITT IA5 (character) data, code or flag tables. 2 02 YYY Change scale Add YYY-128 to the scale for each data element in Table B, other than CCITT IA5 (character) data, code or flag tables. 2 03 YYY Change reference values Subsequent element descriptors define new reference values for corresponding Table B entries. Each new reference value is represented by YYY bits in the Data section. Definition of new reference values is concluded by coding this with YYY = 255. Negative reference values shall be represented by a positive integer with the left-most bit (bit 1) set to 1. 2 04 YYY Add associated field Precede each data element with YYY bits of information. This operation associates a data field (e.g. quality control information) of YYY bits with each data element. 2 05 YYY Signify character YYY characters (CCITT International Alphabet No. 5) are inserted as a data field of YYY x 8 bits in length. 2 06 YYY Signify data width for the immediately following local descriptor YYY bits of data are described by the immediately following descriptor. 2 21 YYY Data not present Data values present in Section 4 (Data section) corresponding to the following YYY descriptors shall be limited to data from Classes 01-09, and Class 31. 2 22 000 Quality information follows 2 23 000 Substituted values 2 23 255 Substituted values marker 2 24 000 First-order statistical 2 24 255 First-order statistical values marker The values of Class 33 elements which follow relate to the data The substituted values which follow relate to the data substituted value; the element descriptor for the substituted value is obtained by the application of the data present bit-map associated with the substituted values. first-order statistical value of the type indicated by the preceding 0 08 023 element descriptor; the element descriptor to which the first-order statistic relates is obtained by the application of the data present bit-map associated with the first-order statistical ; first-order statistical values shall be represented as defined by this element descriptor. I.2 BUFR Table C 1

2 25 000 Difference statistical 2 25 255 Difference statistical values marker 2 32 000 Replaced/retained 2 32 255 Replaced/retained value marker 2 35 000 Cancel backward data reference 2 36 000 Define data present bit-map 2 37 000 Use defined data present bit-map 2 37 255 Cancel use defined data present bit-map difference statistical value of the type indicated by the preceding 0 08 024 element descriptor; the element descriptor to which the difference statistical value relates is obtained by the application of the data present bit-map associated with the difference statistical ; difference statistical values shall be represented as defined by this element descriptor, but with a reference value of -2 n and a data width of (n+1), where n is the data width given by the original descriptor. This special reference value allows the statistical difference values to be centred around zero. The replaced/retained values which follow relate to the data This shall signify a data item containing the original of an element which has been replaced by a substituted value. The element descriptor for the retained value is obtained by the application of the data present bit-map associated with the substituted values. This terminates all previously defined backward reference and cancels any previously defined data present bit-map; it causes the next data present bit-map to refer to the data descriptors which immediately precede the to which it relates. This defines the data present bit-map which follows for possible re-use; only one data present bitmap may be defined between this and the cancel use defined data present bit-map. This causes the defined data present bitmap to be used again. This cancels the re-use of the defined data present bit-map. Notes: (1) The operations specified by descriptors 2 01, 2 02, 2 03 and 2 04 remain defined until cancelled or until the end of the data subset. (2) If change scale is used, then it may be necessary for the originator of the message to supply an appropriately rescaled reference value and data width. (3) Cancellation of the use of the redefined value shall be effected by the inclusion of the appropriate operand with YYY set to 0. The value shall then revert to the original Table B value. I.2 BUFR Table C 2

(4) Nesting of descriptors must guarantee unambiguous interpretation; in particular, s defined within a set of replicated descriptors must be cancelled or completed within that set. (5) Nesting of the descriptor 2 04 is defined such that: (a) (b) Each new definition adds to the currently defined associated field. The order of the included associated information shall correspond with the order in which the associated fields have been defined. Each cancellation (2 04 000) cancels only the most recently defined addition to the associated field. (6) When the descriptor 2 04 YYY is to be used, it shall precede the first of the data descriptors to which it applies. (7) The data description 2 04 YYY, other than 2 04 000, shall be followed immediately by the descriptor 0 31 021 to indicate the meaning of the associated fields. (8) In the data stream, the 6 bits described by 0 31 021 shall precede the YYY bits. (9) Once an associated field has been established and given meaning, the meaning may be changed by a reapplication of descriptor 0 31 021. The associated field needs not to be cancelled in order to change the meaning. Further, if an associated field is cancelled, and then re-established, it must be given a meaning by a proper application of the 0 31 021 descriptor, as described in Notes (5) to (8), i.e. a previous assignment of meaning does not remain in force when the associated field is cancelled. (10) Data description s shall not be applied to Table B, Class 31 entries. (11) The operation 2 05 permits the inclusion of plain language. (12) The 2 06 YYY allows for the inclusion of local descriptors in a message, with their associated data, which can then be by-passed by a receiver of the message. It can be applied to element descriptors (F = 0) only. (13) If replaced/retained values are indicated, this shall imply that the data element in the original part of the message has been replaced with a (presumably) better value; the original value has been retained in the message following the replaced/retained. If multiple replacements for the same data element are to be included, they shall be ordered such that the original datum shall be last, the first replacement shall precede it, the next precede that, etc. Each (set of) replaced/retained data values shall be indicated by the inclusion of the 2 32 000. (14) If substituted values are indicated, this shall imply that the data element in the original part of the message is thought to be of poor quality. However, it has been left in the original message as received; an improved value has been placed within the message following the substituted values. If multiple substitutions for the same data element are to be included, they shall be ordered such that the first substitution shall be first, the next substitution shall follow it, the next follow that, etc. Thus, the (presumed) best value will be found at the end of the collection of substituted values. Each (set of) substituted data values shall be indicated by the inclusion of the 2 23 000. (15) Operator 2 21 YYY allows for the construction of a BUFR message containing only coordinate (Classes 01 09), delayed replication (Class 31) and quality control information. The message could be linked back to the original data-containing message by comparison of the coordinate information in the two messages, or, in a local context, through database information in section 2. (16) First-order statistics have values with a similar range and the same dimensions as the corresponding reported values (e.g. maxima, minima, means). (17) Difference statistics are difference values; they have dimensions the same as the corresponding reported values with respect to units, but assume a range centred on zero (e.g. the difference between reported and analysed values, the difference between reported and forecast values). (18) No descriptors are reserved for local use. I.2 BUFR Table C 3

BUFR Table C - Data description s (Edition 4) 2 01 YYY Change data width Add (YYY-128) bits to the data width given for each data element in Table B, other than CCITT IA5 (character) data, code or flag tables. 2 02 YYY Change scale Add YYY-128 to the scale for each data element in Table B, other than CCITT IA5 (character) data, code or flag tables. 2 03 YYY Change reference values Subsequent element descriptors define new reference values for corresponding Table B entries. Each new reference value is represented by YYY bits in the Data section. Definition of new reference values is concluded by coding this with YYY = 255. Negative reference values shall be represented by a positive integer with the left-most bit (bit 1) set to 1. 2 04 YYY Add associated field Precede each data element with YYY bits of information. This operation associates a data field (e.g. quality control information) of YYY bits with each data element. 2 05 YYY Signify character YYY characters (CCITT International Alphabet No. 5) are inserted as a data field of YYY x 8 bits in length. 2 06 YYY Signify data width for the immediately following local descriptor 2 07 YYY Increase scale, reference value and data width 2 08 YYY Change width of CCITT IA5 field YYY bits of data are described by the immediately following descriptor. For Table B elements, which are not CCITT IA5 (character data), code tables, or flag tables: 1. Add YYY to the existing scale factor 2. Multiply the existing reference value by 10 YYY 3. Calculate ((10 x YYY) + 2) 3, disregard any fractional remainder and add the result to the existing bit width. YYY characters from CCITT International Alphabet No. 5 (representing YYY x 8 bits in length) replace the specified data width given for each CCITT IA5 element in Table B. 2 21 YYY Data not present Data values present in Section 4 (Data section) corresponding to the following YYY descriptors shall be limited to data from Classes 01-09, and Class 31. I.2 BUFR Table C 4

2 22 000 Quality information follows 2 23 000 Substituted values 2 23 255 Substituted values marker 2 24 000 First-order statistical 2 24 255 First-order statistical values marker 2 25 000 Difference statistical 2 25 255 Difference statistical values marker 2 32 000 Replaced/retained 2 32 255 Replaced/retained value marker 2 35 000 Cancel backward data reference The values of Class 33 elements which follow relate to the data The substituted values which follow relate to the data substituted value; the element descriptor for the substituted value is obtained by the application of the data present bit-map associated with the substituted values. first-order statistical value of the type indicated by the preceding 0 08 023 element descriptor; the element descriptor to which the first-order statistic relates is obtained by the application of the data present bit-map associated with the first-order statistical ; first-order statistical values shall be represented as defined by this element descriptor. difference statistical value of the type indicated by the preceding 0 08 024 element descriptor; the element descriptor to which the difference statistical value relates is obtained by the application of the data present bit-map associated with the difference statistical ; difference statistical values shall be represented as defined by this element descriptor, but with a reference value of -2 n and a data width of (n+1), where n is the data width given by the original descriptor. This special reference value allows the statistical difference values to be centred around zero. The replaced/retained values which follow relate to the data This shall signify a data item containing the original of an element which has been replaced by a substituted value. The element descriptor for the retained value is obtained by the application of the data present bit-map associated with the substituted values. This terminates all previously defined backward reference and cancels any previously defined data present bit-map; it causes the next data present bit-map to refer to the data descriptors which immediately precede the to which it relates. I.2 BUFR Table C 5

2 36 000 Define data present bit-map 2 37 000 Use defined data present bit-map 2 37 255 Cancel use defined data present bit-map This defines the data present bit-map which follows for possible re-use; only one data present bit-map may be defined between this and the cancel use defined data present bit-map. This causes the defined data present bitmap to be used again. This cancels the re-use of the defined data present bit-map. 2 41 000 Define event This denotes the beginning of the definition of an event (see Note 19). 2 41 255 Cancel define event This denotes the conclusion of the event definition that was begun via the previous 2 41 000. 2 42 000 Define conditioning event 2 42 255 Cancel define conditioning event 2 43 000 Categorical forecast 2 43 255 Cancel categorical forecast This denotes the beginning of the definition of a conditioning event (see Note 19). This denotes the conclusion of the conditioning event definition that was begun via the previous 2 42 000. The values which follow are categorical forecast values (see Note 20). This denotes the conclusion of the definition of categorical forecast values that was begun via the previous 2 43 000. Notes: (1) The operations specified by descriptors 2 01, 2 02, 2 03, 2 04, 2 07 and 2 08 remain defined until cancelled or until the end of the data subset. (2) If change scale is used, then it may be necessary for the originator of the message to supply an appropriately rescaled reference value and data width. (3) Cancellation of the use of the redefined value shall be effected by the inclusion of the appropriate operand with Y set to 0. The value shall then revert to the original Table B value. (4) Nesting of descriptors must guarantee unambiguous interpretation. In particular, s defined within a set of replicated descriptors must be cancelled or completed within that set, and the 2 07 may neither be nested within any of the 2 01, 2 02, and 2 03 s, nor vice-versa. (5) Nesting of the descriptor 2 04 is defined such that: (a) Each new definition adds to the currently defined associated field. The order of the included associated information shall correspond with the order in which the associated fields have been defined. (b) Each cancellation (2 04 000) cancels only the most recently defined addition to the associated field. (6) When the descriptor 2 04 YYY is to be used, it shall precede the first of the data descriptors to which it applies. (7) The data description 2 04 YYY, other than 2 04 000, shall be followed immediately by the descriptor 0 31 021 to indicate the meaning of the associated field. I.2 BUFR Table C 6

(8) In the data stream, the 6 bits described by 0 31 021 shall precede the YYY bits. (9) Once an associated field has been established and given meaning, the meaning may be changed by a reapplication of descriptor 0 31 021. The associated field needs not to be cancelled in order to change the meaning. Further, if an associated field is cancelled, and then re-established, it must be given a meaning by a proper application of the 0 31 021 descriptor, as described in Notes 5 to 8, i.e. a previous assignment of meaning does not remain in force when the associated field is cancelled. (10) Data description s shall not be applied to Table B, Class 31 entries. (11) The operation 2 05 permits the inclusion of plain language. (12) The 2 06 YYY allows for the inclusion of local descriptors in a message, with their associated data, which can then be by-passed by a receiver of the message. It can be applied to element descriptors (F = 0) only. (13) If "replaced/retained" values are indicated, this shall imply that the data element in the original part of the message has been replaced with a (presumably) better value; the original value has been retained in the message following the replaced/retained. If multiple replacements for the same data element are to be included, they shall be ordered such that the original datum shall be last, the first replacement shall precede it, the next precede that, etc. Each (set of) replaced/retained data values shall be indicated by the inclusion of the 2 32 000. (14) If "substituted values are indicated, this shall imply that the data element in the original part of the message is thought to be of poor quality. However, it has been left in the original message as received; an improved value has been placed within the message following the substituted values. If multiple substitutions for the same data element are to be included, they shall be ordered such that the first substitution shall be first, the next substitution shall follow it, the next follow that, etc. Thus, the (presumed) best value will be found at the end of the collection of substituted values. Each (set of) substituted data values shall be indicated by the inclusion of the 2 23 000. (15) Operator 2 21 YYY allows for the construction of a BUFR message containing only coordinate (Classes 01 09), delayed replication (Class 31) and quality control information. The message could be linked back to the original data-containing message by comparison of the coordinate information in the two messages, or, in a local context, through database information in Section 2. (16) First-order statistics have values with a similar range and the same dimensions as the corresponding reported values (e.g. maxima, minima, means). (17) Difference statistics are difference values; they have dimensions the same as the corresponding reported values with respect to units, but assume a range centred on zero (e.g. the difference between reported and analysed values, the difference between reported and forecast values). (18) No descriptors are reserved for local use. (19) An event, as defined for use with s 2 41 000 and 2 42 000, is a set of one or more circumstances described using appropriate Table B descriptors along with their corresponding data values. The grouping of such descriptors together as a single event allows them to be collectively assigned as the target of a separate descriptor such as 0 33 045 or 0 33 046. When defining a circumstance within an event, descriptor 0 33 042 may be employed preceding the appropriate Table B descriptor in order to indicate that the corresponding value is actually a bound for a range of values. (20) A categorical forecast value represents a best guess from among a set of related, and often mutually exclusive, data values or categories. Operator 2 43 000 may be used to designate one or more values as categorical forecast values, and descriptor 0 33 042 may be employed preceding any such value in order to indicate that that value is actually a bound for a range of values. I.2 BUFR Table C 7