SURFACE AIRWAYS HOURLY TD-3280 AND AIRWAYS · PDF fileSURFACE AIRWAYS HOURLY TD-3280 AND...

Click here to load reader

  • date post

    23-Jun-2018
  • Category

    Documents

  • view

    227
  • download

    0

Embed Size (px)

Transcript of SURFACE AIRWAYS HOURLY TD-3280 AND AIRWAYS · PDF fileSURFACE AIRWAYS HOURLY TD-3280 AND...

  • SURFACE AIRWAYS HOURLYTD-3280

    AND

    AIRWAYS SOLAR RADIATIONTD-3281

    Prepared by

    Pete Steurer and Matt Bodosky

    National Climatic Data Center

    Federal Building

    Asheville, North Carolina

    26 June 2000

    This document was prepared by the U.S. Department of Commerce,National Oceanic and Atmospheric Administration, NationalEnvironmental Satellite Data and Information Service, NationalClimatic Data Center, Asheville, North Carolina.

    This document is designed to provide general information on thecurrent, origin, format, integrity and the availability of thisdata file.

    Errors found in this document should be brought to the attention ofthe Data Base Administrator, NCDC. See topic 58 for a summary ofthis data set.

  • Table of Contents PageTopic Number

    INTRODUCTION 1. Data Set ID............................................3 2. Data Set Name..........................................3 3. Data Set Aliases.......................................3___________________________________________________________________DESCRIPTION 4. Access Method and Sort for Archived Data...............3 5. Access Method and Sort for Supplied Data..............13 6. Element Names and Definitions.........................10 7. Start Date............................................42 8. Stop Date.............................................42 9. Coverage..............................................4210. Location..............................................4311. Keyword...............................................4312. How to Order Data.....................................43___________________________________________________________________DATA CENTER13. Archiving Data Center.................................4414. Technical Contact.....................................44__________________________________________________________________DATA QUALITY15. Known Uncorrected Problems............................4416. Quality Statement.....................................4517. Revision Date.........................................45__________________________________________________________________OTHER DATA SETS18. Source Data Set.......................................4519. Essential Companion Data Sets.........................4620. Derived Data Set......................................46__________________________________________________________________SUMMARIZATION21. Reference.............................................4622. Summary...............................................46

  • 3

    1. Data Set ID:

    TD-3280 and TD-3281

    2. Data Set Name:

    Surface Airways Hourly and Airways Solar Radiation

    3. Data Set Aliases:

    Surface Weather ObservationsAirways Weather Reports

    4. Access Method and Sort for Archived Data:

    MANUAL AND TAPE NOTATIONS

    1. FILE (NCDC Variable Length Storage Structure)

    A. Physical Characteristics

    Data in this file are retained in chronological order by station. Although library tapes are normally maintained as described below,different characteristics including fixed length records can befurnished on request. Additional charges may be accrued forspecial processing.

    B. COBOL or FORTRAN Data Description

    (1) Typical ANSI COBOL

    IDENTIFICATION DIVISION. PROGRAM-ID. CRDWT3280. * THIS PROGRAM READS TD3280 DATA AND LISTS IT ON * A PRINTER. ENVIRONMENT DIVISION. CONFIGURATION SECTION. SOURCE-COMPUTER. UNIVAC-1100. OBJECT-COMPUTER. UNIVAC-1100. INPUT-OUTPUT SECTION. FILE-CONTROL. SELECT INDATA ASSIGN TO INTERCHANGE. DATA DIVISION. FILE SECTION. FD INDATA

    LABEL RECORDS ARE STANDARD RECORDING MODE IS D BLOCK CONTAINS 12000 CHARACTERS

  • 4

    DATA RECORD IS DATA-RECORD. 01 DATA-RECORD. 02 RECORD-ID.

    03 RECORD-TYPE PIC X(3). 03 STATION-ID PIC X(8).

    03 ELEMENT-TYPE PIC X(4). 03 ELEMENT-UNITS PIC XX. 03 YEAR PIC 9(4). 03 MONTH PIC 99. 03 SOURCE-CODE-1 PIC X. 03 SOURCE-CODE-2 PIC X.

    03 DAYX PIC 9(2). 03 NUM-VALUES PIC 9(3).

    02 DAILY-ENTRY OCCURS 1 TO 100 TIMES DEPENDING ON NUM- VALUES. 04 TIME-OF-VALUE PIC 9(4).

    04 DATA-VALUE PIC S9(5) SIGN LEADING SEPARATE. 04 FLAG-1 PIC X. 04 FLAG-2 PIC X. * WORKING-STORAGE SECTION. * 01 ELEM-CT PIC 9(5) COMP. 01 PRCT PIC 9(5) COMP. * * PROCEDURE DIVISION. OPENING. OPEN INPUT INDATA. READ-REC. READ INDATA AT END GO TO ENDALL.######* ADD 1 TO ELEM-CT.######* IF ELEM-CT > 5 GO TO ENDALL.**************************************************************** THE TWO STATEMENTS IMMEDIATELY ABOVE CONTROL********* THE NUMBER OF ELEMENTS PRINTED.******************************************************* DISPLAY ' ' UPON PRINTER. DISPLAY '++++++++++++++++++++++++++++++++++++++++++++' UPON PRINTER. DISPLAY RECORD-ID UPON PRINTER. MOVE O TO PRCT. PERFORM PRINT-A-RECORD NUM-VALUES TIMES. GO TO READ-REC. PRINT-A-RECORD. ADD 1 TO PRCT. DISPLAY DAILY-ENTRY(PRCT) UPON PRINTER. ENDALL.

  • 5

    DISPLAY '::::::::::::::::::::::::::::::::::::' UPON PRINTER. DISPLAY '::::::::::::::::::::::::::::::::::::' UPON PRINTER. DISPLAY 'E N D OF R U N' UPON PRINTER. CLOSE INDATA. STOP RUN.

    (2) TYPICAL FORTRAN 77

    C******************************************************* C*****PROGRAM. FRDWT3280C*****THIS PROGRAM READS TD3280 AND LISTS IT ON A PRINTER.C******************************************************** CHARACTER*3 RECTYP CHARACTER*8 STNID CHARACTER*4 ELMTYP CHARACTER*2 EUNITS CHARACTER*1 SRC1, SRC2, FLAG1, FLAG2 DIMENSION ITIME(100), IVALUE(100), FLAG1(100), FLAG2(100) OPEN(10,FILE='INDATA',ACCESS='SEQUENTIAL', + STATUS='OLD',RFORM='VB',MRECL=1230, + TYPE='ANSI',BLOCK=12000)C***************************************************C*****THE LAST FOUR ARGUMENTS OF THE OPEN STATEMENT AREC*****EXTENSIONS ON THE UNISYS SYSTEM.C*************************************************** 5 READ(10,100,END=999)RECTYP,STNID,ELMTYP,EUNITS,IYEAR, +IMON,SRC1,SRC2,IDAY,NUM,(ITIME(J),IVALUE(J),FLAG1(J), +FLAG2(J),J=1,NUM) 100 FORMAT(A3,A8,A4,A2,I4,I2,A1,A1,I2,I3,100(I4,I6,2A1))C IELMCT=IELMCT+1C IF(IELMCT.GT.5)GO TO 999C********************************************************C*****THE TWO STATEMENTS IMMEDIATELY ABOVE CONTROLC*****THE NUMBER OF ELEMENTS TO PRINT.C******************************************************** WRITE(6,200)RECTYP,STNID,ELMTYP,EUNITS,IYEAR,IMON,SRC1, +SRC2,IDAY,NUM 200 FORMAT(1X,A3,A8,A4,A2,I4,I2,A1,A1,I2,I3) 15 DO 25 I=1,NUM WRITE(6,300)ITIME(I),IVALUE(I),FLAG1(I),FLAG2(I) 300 FORMAT(1X,I4,I6,2A1) 25 CONTINUE GO TO 5 999 CLOSE(UNIT=10) WRITE(6,*)' E N D OF R U N' STOP

  • 6

    END

    NOTE: If you do not have FORTRAN 77 you can read the character datadescribed above into integer variables.

    C. IBM JCL NOTES.

    1. For ASCII Variable specify:LRECL = 1234RECFM = DBOPTCODE = Q

    2. For EBCDIC Variable specify:

    LRECL = 1234RECFM = VB

    2. RECORD

    A. Physical Characteristics

    Each logical record contains one station's hourly data values fora specific meteorological element for a period of one day. Therecord consists of a control word, and identification portion, anda data portion. The control word is used by the computer operatingsystem for record length determination. The identification portionidentifies the record type, observing station, element type,element units, year/month, source codes, day and number of values. The data portion contains the meteorological observations for thehourly data values and flags. The data portion is repeated for asmany hourly values as occur in a day.

    NOTE: Present Weather Code (PWTH) is an exception. See CodeDefinitions and Remarks on 'PWTH'.

    NCDC Library Tapes are structured as follows:

    Record Length : Variable with maximum of 1230 charactersBlocked : 12000 characters maximumMedia : ASCII 18-Track IBM-Type 3480 CartridgeDensity : 36,000 BPIParity : OddLabel : ANSI Standard LabeledFile : 1 File per tape

    B. FORMAT (VARIABLE RECORD)

  • 7

    The first ten tape fields, the ID PORTION of the record, describethe characteristics of the entire record. The DATA PORTION of therecord contains information about each element value reported. This portion is repeated for as many hourly values as occur in aday.

    Each logical record is of variable length with a maximum of 1230characters. Each logical record contains a station's hourly datafor a specific meteorological element for a one day interval.

    C. List of Variables ELEMENT WIDTH POSITION001 RECORD TYPE 3 001-003I002 STATION I.D. 8 004-011 D003 METEOROLOGICAL ELEMENT TYPE 4 012-015 004 MET. ELEMENT MEASUREMENT UNIT CODE 2 016-017 P005 YEAR 4 018-021 O006 MONTH 2 022-023 R007 SOURCE CODE 1 1 024 T008 SOURCE CODE 2 1 025 I009 DAY OF MONTH 2 026-027 O010 NUMBER OF DATA PORTION GROUPS THAT FOLLOW 3 028-030N011 TIME OF OBSERVATION (HOUR) 4 031-034012 SIGN OF METEOROLOGICAL VALUE 1 035 D013 VALUE OF METEOROLOGICAL ELEMENT 5 036-040 A014 QUALITY CONTROL FLAG 1 1 041 T015 QUALITY CONT