WWW.SA.I-PDF.INFO
FREE ELECTRONIC LIBRARY - Abstracts, books, theses
 
<< HOME
CONTACTS



Pages:     | 1 || 3 | 4 |   ...   | 7 |

«CONTENTS Contents 1 Introduction 3 2 BUFR format 4 2.1 Indicator section......................................... ...»

-- [ Page 2 ] --

Method A basic approach when this software was designed to have a one to one correspondence between expanded data descriptors and the data itself.

The input arguments have to be filled in before packing,. The lengths of the Sections and the total Bufr message length are set by the software. The lengths of the Section 1 and 2 must be supplied by the user. The other Section lengths ought to be set to zero. The default size of the Section 1 is 18 octets and 22 octets for Bufr Edition 4, if there are no local entries. The Section 2 is optional section, and ECMWF uses it to store Report Data Base key. In this case the length of the Section 2 is 52 octets.

Before setting values in the VALUES array, it is recommended to initialise it with the MISSING value indicator.

The Optional Section 2 and a local part of Section 1 must be in the packed form because encoder packs these information in byte by byte manner.

The Data descriptors stored in the KTDLST array are expanded taking delayed replication factor values from KDATA array if needed. The order of replication factor values must be as they appear in the data. If 203YYY change reference value operator is used a reference value shall be in KDATA array.

The VALUES array must be filled in correspondence with previously described data elements. In the case of

multi subsets, the pointer of the ith element in VALUES array is:

index=i +(nsub-1)*KELEM which implies that the first element of the second subset begins at KELEM+1 position even if the number of elements in the observation is less then KELEM.

For character information or elements having CCITT IA No.5 as units, VALUES array element contains a real number which, when truncated to an integer represents

–  –  –

value=isub*1000+length where isub is a subscript of the element in CVALS array, where the character string is stored and the length represents number of bytes/character occupied by this element.

To find out what one observation should look like, the BUXDES routine can be used. This routine expands data descriptors for the user. The procedure to print an expanded list of the data descriptors is the same as to print Section 3 of Bufr message.

Externals

–  –  –

Reference WMO -No. 306 Manual on Codes Volume I, Part B - Binary Codes: J.K. Gibson and M. Dragosavac 1988:Decoding Data Represented in FM 94-IX

–  –  –

3.4 Error codes The errors returned by the Bufr decoding/encoding routines can be zero, negative and positive. The zero returned error code means no errors detected, negative error is a warning error which can occur during packing.

If the value to be packed is too big, BUFREN will pack the truncated value and return a negative error code.

The hard errors are positive.

The Error codes are given in Table 8.

–  –  –

3.5 Partial expansion It is possible to expand only the requested subset of elements without unpacking the whole Bufr message. This method is called partial expansion.

To do partial expansion, the request has to be set by calling the BUSRQ routine before calling BUFREX.

3.5.1 Subroutine BUSRQ Purpose Sets flags and Bufr table B reference numbers of the requested elements for partial expansion.

Interface CALL BUSRQ(KREQ,KRQL,KRQ,RQV,KERR)

where:

• Integer variable are denoted by first letter K.

• Real variables are denoted by first letter R.

Input arguments

• KREQ - An INTEGER array of 2 containing flags.

–  –  –

• KRQL - An INTEGER containing the number of requested elements

• KRQ - An INTEGER array containing the list of requested elements (Bufr table B reference numbers)

• RQV - A REAL*8 array of KRQL containing a list of values signifying requested elements Output arguments

• KERR - Error code Method The lists of flags and Bufr Table B reference numbers are used to designate requested Bufr elements. The elements from class 7 and 8 are possible qualifiers for the other elements if supplied with corresponding values.

The partial expansion is not supported for the whole analysis feedback Bufr messages ( includes original observation and analysis variables followed by the statistics e.t.c.) The list of the requested elements and corresponding word and bit pointers are created before expansion. These pointers are used to extract data from the Data section of the Bufr message.

The KRQ and RQV arrays have to be initialised by missing value indicators NVIND and RVIND respectively.

The KREQ(1) is useful to split the feedback Bufr message into original, quality control and analysis feed back data.

Externals BUNPCK - Unpacks bit pattern BUNPKS - Unpacks bit pattern in repeated way.

Your path for bufr tables is :

/home/ma/maa/bigtmp/wmo_bufr_crex_000250/bufr_000270/bufrtables BUFR TABLES TO BE LOADED B0000000000098006001,D0000000000098006001 BUFR SECTION 0

–  –  –

The equivalent request in batch mode will be:

KREQ(1)=1 KREQ(2)=2 KRQL=7 KRQ(1)=007004 RQV(1)=50000.

KRQ(2)=008001 RQV(2)=RMISS KRQ(3)=010003 RQV(3)=RMISS KRQ(4)=012001 RQV(4)=RMISS KRQ(5)=012003 RQV(5)=RMISS KRQ(6)=011001 RQV(6)=RMISS KRQ(7)=011002 RQV(7)=RMISS where RMISS is missing value indicator RMISS=1.7E38 CALL BURQS(KREQ,KRQL,KRQ,RQV,KERR) getting the same result as previously.





–  –  –

3.6 Printing routines Bufr form is a binary representation of meteorological data and as such is not suitable for visualization. After expanding Bufr data using the BUFREX routine a number of printing routines can be used to print different parts of the Bufr message.

3.6.1 To print Section 0

–  –  –

3.6.3 To print Section 2 Section 2 of the Bufr message is an optional section and every ADP centre can pack any information in this section. The Bufr software decodes this local information and stores it into KSEC2 array. ECMWF is storing RDB key in the Section 2 of the Bufr messages. To print content of the Section 2, subroutine BUUKEY must be called before the BUPRS2 routine.

For other cases, special routines have to be written to unpack this information.

CALL BUUKEY(KSEC1,KSEC2,KEY,KSUP,KERR)

–  –  –

where

• KEY - An INTEGER array containing RDB key information

• The other arguments were described in previous routines.

KEY - An INTEGER array containing RDB key information

–  –  –

3.6.4 To print Section 3 Prior to calling the BUPRS3 routine, the BUSEL or BUSEL2 routine has to be called to get lists of unexpanded and fully expanded Data descriptors. In the case of multi-subset uncompressed bufr data the expanded list of descriptors might be different for different subsets.

CALL BUSEL(KTDLEN,KTDLST,KTDEXL,KTDEXP,KERR)

–  –  –

CALL BUSEL2(KSUBSET,KELEM,KTDLEN,KTDLST,KTDEXL,KTDEXP,CNAMES,CUNITS,KERR) CALL BUPRS3(KSEC3,KTDLEN,KTDLST,KTDEXL,KTDEXP,KELEM,CNAMES) 3.6.5 To print data CALL BUPRT(K,KSUB1,KSUB2,KELEM,CNAMES,CUNITS,CVALS, KVALS,VALUES,KSUP,KSEC1,KERR) where

–  –  –

• KSUB1 - An INTEGER containing the starting subset to print.

• KSUB2 - An INTEGER containing the ending subset to print.

• KELEM - An INTEGER containing the expected number of expanded elements.

• CNAMES - A CHARACTER*64 array containing the element names.

• CUNITS - A CHARACTER*24 array containing the units.

• CVALS -A CHARACTER*80 array containing character values.

• KVALS -An INTEGER containing the expected number of data values.

• VALUES - A REAL*8 array containing the expanded values.

–  –  –

• KSUP - AN INTEGER array containing supplementary information.

• KSEC1 -An INTEGER array containing Section 1 information.

• KERR - An INTEGER containing an error code.

–  –  –

3.7 Bufr software tools 3.7.1 Subroutine BUS012 Purpose Expands only Sections 0, 1 and 2 of Bufr message.

Interface CALL BUS012(KBUFL,KBUFF,KSUP,KSEC0,KSEC1,KSEC2,KERR) where

• Integer variables are denoted by first letter K.

Input arguments

• KBUFL - An INTEGER variable containing the length of Bufr message in words.

• KBUFF -An INTEGER array containingthe Bufr message.

Output argument

• KSUP - An INTEGER array size 9 containing supplementary information

• KSEC0 - An INTEGER array size 3 containing Bufr Section 0 information

• KSEC1 - An INTEGER array of at least 40 words containing Bufr Section 1 information. When Section 1 contains data for local use, KSEC1 should be sized accordingly.

• KSEC2 - An INTEGER array of 4096 words containing Bufr Section 2 information. ECMWF uses this section to store Report Data Base key.

• KERR - An Integer containing an error code.

–  –  –

3.7.2 Subroutine BUS0123 Purpose Expands only Sections 0, 1, 2 and 3 of Bufr message.

Interface CALL BUS0123(KBUFL,KBUFF,KSUP,KSEC0,KSEC1,KSEC2,KSEC3,KERR) where

• Integer variables are denoted by first letter K.

Input arguments

• KBUFL - An INTEGER variable containing the length of Bufr message in words.

• KBUFF -An INTEGER array containingthe Bufr message.

Output argument

• KSUP - An INTEGER array size 9 containing supplementary information

• KSEC0 - An INTEGER array size 3 containing Bufr Section 0 information

• KSEC1 - An INTEGER array of at least 40 words containing Bufr Section 1 information. When Section 1 contains data for local use, KSEC1 should be sized accordingly.

• KSEC2 - An INTEGER array of 4096 words containing Bufr Section 2 information. ECMWF uses this section to store Report Data Base key.

• KSEC3 - An INTEGER array of 4 containing Bufr section 3 header information

• KERR - An Integer containing an error code.

–  –  –

3.7.3 Subroutine BUSEL Purpose Returns lists of unexpanded and expanded data descriptors from the Bufr message. The lists contains Bufr Table D sequence numbers, and the Bufr Table B reference numbers.

Interface CALL BUSEL(KTDLEN,KTDLST,KTDEXL,KTDEXP,KERR) where

• Integer variables are denoted by first letter K.

Input arguments

–  –  –

Output arguments

• KTDLEN - An INTEGER variable containing number of data descriptors in KTDLST array

• KTDLST - An INTEGER array containing the list of KTDLEN data descriptors

• KTDEXL - An INTEGER variable containing number of expanded data descriptors

• KTDEXP - An INTEGER array containing the list of KTDEXL data descriptors

• KERR - An INTEGER containing error code.

3.7.4 Subroutine BUSEL2 Purpose Returns lists of unexpanded and expanded data descriptors from the Bufr message for particular sebset.

Interface CALL BUSEL2(KSUBSET,KELEM,KTDLEN,KTDLST,KTDEXL,KTDEXP,CNAMES,CUNITS,KERR) where

• Integer variables are denoted by first letter K.

Input arguments

• KSUBSET - Subset number

• KELEM - Number of expected elements Output arguments

• KTDLEN - An INTEGER variable containing number of data descriptors in KTDLST array

• KTDLST - An INTEGER array containing the list of KTDLEN data descriptors

• KTDEXL - An INTEGER variable containing number of expanded data descriptors

• KTDEXP - An INTEGER array containing the list of KTDEXL data descriptors

• CNAMES - CHARACTER array containing element name

• CUNITS - CHARACTER array containing element unit

• KERR - An INTEGER containing error code.

3.7.5 Subroutine BUUKEY Purpose Unpacks ECMWF Report Data Base Key.

Interface CALL BUUKEY(KSEC1,KSEC2,KEY,KSUP,KERR) where: zz

• Integer variables are denoted by first letter K.

Input arguments

• KSEC1 - An INTEGER array of at least 40 words containing Bufr Section 1 information. When Section 1 contains data for local use, KSEC1 should be sized accordingly.

• KSEC2 - An INTEGER array of 4096 words containing Bufr Section 2 information. ECMWF uses this section to store Report Data Base Key.

• KSUP - An INTEGER array (size 9) containing supplementary information.

KSEC1 An INTEGER array of at least 40 words containing Bufr Section 1

–  –  –

calculation:

RLAT1 = (KEY(11) - 9000000)/100000.

RLON1 = (KEY(10) - 18000000)/100000.

RLAT2 = (KEY(13) - 9000000)/100000.

RLON2 = (KEY(12) - 18000000)/100000.

3.7.6 Subroutine BUPKEY Purpose Packs ECMWF RDB Key into KSEC2 array.

Interface CALL BUPKEY(KEY,KSEC1,KSEC2,KERR)

where:

• Integer variables are denoted by first letter K.

Input arguments

• KEY - An INTEGER array of 46 words containing unpacked RDB

• KSEC1 - An INTEGER array of at least 40 words containing Bufr Section 1 information. When Section 1 contains data for local use, KSEC1 should be sized accordingly.

• KSEC2 - An INTEGER array of 4096 words containing Bufr Section 2.

KEY An INTEGER array of 46 words containing unpacked RDB key.

–  –  –

KSEC2 The content od the KSEC2 array is given in the following Table:

Array index Word content 1 Length of Section 2 in bytes 2- Report Data Base key in packed form Output arguments

• KERR - Error code Method

The integer values in the KEY array for latitude and longitude must be calculated as:

KEY(10) = NINT (RLON1 * 100000. + 18000000) KEY(11) = NINT (RLAT1 * 100000.+ 9000000 KEY(12) = NINT (RLON2 * 100000. + 18000000) KEY(13) = NINT (RLAT2 * 100000. + 9000000) 3.7.7 Subroutine BUXDES Purpose A basic principle in encoding Bufr data is to have a one to one correspondence between data descriptors and the values to be packed.

This routine is a tool to achieve this requirement. It expands Data descriptors and prints unexpanded and expanded lists. The Unexpanded list should be part of Section 3 of the Bufr message and the VALUES array ought to be filled with element values corresponding to the expanded data descriptors.

Interface CALL BUXDES(K,KSEC1,KTDLEN,KTDLST,KDLEN,KDATA,KELEM, KTDEXL,KTDEXP,CNAMES, CUNITS,KERR)

where:

• Integer variables are denoted by first letter K.

• Character variables are denoted by first letter C.

Input arguments

• K - An INTEGER variable containing 0 - no print 1 - print

• KSEC1 - An INTEGER array of at least 40 words containing Bufr Section 1 information. When Section 1 contains data for local use, KSEC1 should be sized accordingly. The following words of KSEC1 must

be filled:

KSEC1(2) - Bufr Edition number (currently 4) KSEC1(3) - Originating centre KSEC1(8) - Version number of local tables used KSEC1(15)- Version number of Master table used

• KTDLEN - An INTEGER containing number of data descriptors

• KTDLST - An INTEGER array containing data descriptors for Bufr Section 3

• KDLEN - An INTEGER containing dimension of array KDATA

• KDATA - An INTEGER array containing delayed replication factors in the order they appear in the expanded list

• KELEM - An INTEGER containing expected number of expanded elements

–  –  –

Output arguments

• KTDEXL - An INTEGER containing number of expanded elements.

• KTDEXP - An INTEGER array containing list of expanded elements.

• CNAMES - CHARACTER*64 array containing list names of expanded element

• CUNITS -Character*24 array containing list of units for expanded elements

• KERR - Return error code.



Pages:     | 1 || 3 | 4 |   ...   | 7 |


Similar works:

«Univox® FSM 2.0 Multitone Field Strength Measurement Microprocessor controlled User Guide FSM 2.0, Part No 401040 Content Introduction System overview Audio files (test signals) Basic program description Measurements/programs To start/activate Univox FSM 2.0 Using the instrument Certificate of Conformity Step by step 1. Background noise measurement (Noise) 2. Field strength deviation/overspill (Coverage) 3. Basic frequency test (FQ) 5. Adjustment of field strength level (Field) 6. Final...»

«PUPT-2215 hep-th/0611069 arXiv:hep-th/0611069v1 6 Nov 2006 On Metastable Branes and a New Type of Magnetic Monopole Herman Verlinde Department of Physics Princeton University Princeton, NJ 08544, USA String compactifications with D-branes may exhibit regular magnetic monopole solutions, whose presence does not rely on broken non-abelian gauge symmetry. These stringy monopoles exist on interesting metastable brane configurations, such as anti-D3 branes inside a flux compactification or...»

«The Spatio-Temporal Setting in Written Narrative Fiction A Study of Interaction between Words, Text and Encyclopedic Knowledge in the Creation of Textual Meaning Kari K. Pitkänen Academic dissertation to be publicly discussed, by due permission of the Faculty of Arts at the University of Helsinki in auditorium XII on the 29th of November, 2003, at 10 o'clock. University of Helsinki PUBLICATIONS Department of General Linguistics NO. 35 P.O. Box 9 (Siltavuorenpenger 20) 2003 FIN-00014 University...»

«About There, or Thereabouts Steven Connor A talk given at the Catalysis conference on Space and Time, Downing College, Cambridge, 23rd March 2013. Gertrude Stein wrote of her upbringing in Oakland, California in 1937 ‘what was the use of my having come from Oakland it was not natural to have come from there yes write about it if I like or anything if I like but not there, there is no there there’ (Everybody’s Autobiography, p. 298). Stein’s phrase, ‘there’s no there there’ has...»

«in cooperation with For important disclosures refer to last pages Greek Market Watch Monday, 30 April 2007 Opening Comment General Index last 5 days 4,900 600m 500m 4,800 400m 4,700 300m The Greek market closed 1.3% lower paced by Alpha Bank. Turnover reached EUR 410m (-1%). 200m 4,600 100m 4,500 0m The market is expected to consolidate at current levels. Intraday 11:30 12:00 12:30 13:00 13:30 14:00 14:30 15:00 15:30 16:00 16:30 ATHEX Statistics & Valuation FUTURES INTERNATIONAL INDICES FX Open...»

«Do Financial Markets Care About Social And Environmental Disclosure? Further Evidence And Exploration From The Uk [1], [2] Alan Murray [3] Donald Sinclair David Power Rob Gray KEY WORDS: Financial Markets; Share Returns; Investors; Social and Environmental Disclosure; United Kingdom DRAFT 4C: June 2005 Address for Correspondence: Professor R.H.Gray, Centre for Social and Environmental Accounting Research, School of Management, The Gateway Building, North Haugh, University of St Andrews, St...»

«HIGHWAY MAINTENANCE LOCAL CODE OF PRACTICE A GUIDE TO HIGHWAY POLICIES AND PROCEDURES WINTER SERVICE OPERATIONAL PLAN 2016 / 2017 SEASON Environmental Services Manager Document Owner Gary Edwards Document Issue and Revision Record Issue Revision Date Issue/Revision Description Approved 1.0 0 28/07/16 Written Gary Edwards 1.0 1 For Approval Lee Holland Document Distribution List Copy Number Name Organisation 01 Robin Monk Tameside MBC 02 Ian Saxon Tameside MBC 03 Allison Gwynne Tameside MBC 04...»

«Erbslöh Geisenheim AG –AnGus1516® Brauindustrie Seite 1 Method for the treatment of the phenomenon gushing in beer and malt beverages Volker Müller1, Anne Besier1, Reinhard Pätz2, Jürgen Fröhlich1 Erbslöh Geisenheim AG, Erbslöhstrasse 1, 65366 Geisenheim, Germany Institut für Lebensmitteltechnik, Biotechnologie und Qualitätssicherung e.V. ILBQ (Institute of Food Technology, Biotechnology and Quality Assurance), Bernburger Straße 55, 06366 Köthen, Germany. Introduction A high...»

«A N AT I O N AL S T R E E T H AR A S S M E N T R E P O R T Unsafe and Harassed in Public Spaces: A NATIONAL STREET HARASSMENT REPORT Stop Street Harassment Reston, Virginia · Spring 2014 S T O P S T R E E T H AR AS S M E N T A N AT I O N AL S T R E E T H AR A S S M E N T R E P O R T About Stop Street Harassment Stop Street Harassment (SSH) commissioned this study. SSH is a nonprofit organization dedicated to documenting and ending gender-based street harassment worldwide through public...»

«Corporate governance and proxy voting guidelines for Australian securities May 2015 Corporate governance and proxy voting guidelines for Australian securities Contents Executive summary 2 Corporate governance and proxy voting guidelines 3 Boards and directors 4 Accounts, auditors and audit-related issues 11 Risk management 11 Remuneration and benefits 12 Capital structure, mergers, asset sales and other special transactions 23 General corporate governance matters 24 1 2015 Corporate governance...»

«Copyright © National Fire Protection Association 2013. All rights reserved. This copy is solely for your personal, noncommercial use in connection with participation in the NFPA Standards Development Process. Except for limited hard copies reasonably necessary for such use, this copy may not be reproduced or redistributed. For additional copies of this and other downloadable reports related to the NFPA Standards Development Process visit www.nfpa.org. Balloting Version First Draft NFPA® 221...»

«Social Theory 24-1 Social Theoretical Issues in the Design of Collaboratories: Customized Software for Community Support versus Large-Scale Infrastructure Geoffrey C. Bowker Susan Leigh Star University of California at San Diego The same factors which have thus coalesced into the exactness and minute precision of the form of life have coalesced into a structure of the highest impersonality; on the other hand, they have promoted a highly personal subjectivity. Simmel, 1960, p. 413 Social Theory...»





 
<<  HOME   |    CONTACTS
2017 www.sa.i-pdf.info - Abstracts, books, theses

Materials of this site are available for review, all rights belong to their respective owners.
If you do not agree with the fact that your material is placed on this site, please, email us, we will within 1-2 business days delete him.