ehheeeeeemolie onoe1honeee1hse ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d....

234
FD-i33 557 DEVELOPMENT OF THEORETICAL MODELS AND ANALYSES OF THE 1/3 IMICRO-PHYSICS OF CL..(U) DIGITAL PROGRAMMING SERVICES INC WALTHAM MA L E BELSK(Y ET AL. 31 MAY 83 UNCLASSIFIED AFGL-TR-83-8133 F19628-81-C-014i F/G 412 N EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' E11hEEEEEE 0hsoI EohEEshhmhmhhE

Upload: others

Post on 30-Oct-2019

14 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

FD-i33 557 DEVELOPMENT OF THEORETICAL MODELS AND ANALYSES OF THE 1/3IMICRO-PHYSICS OF CL..(U) DIGITAL PROGRAMMING SERVICESINC WALTHAM MA L E BELSK(Y ET AL. 31 MAY 83

UNCLASSIFIED AFGL-TR-83-8133 F19628-81-C-014i F/G 412 N

EhhEEEEEEmoliEonOE1honEEE1hsEEhhhmhommhhm'E11hEEEEEE 0hsoIEohEEshhmhmhhE

Page 2: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

1111 I W W W

MICROCOPY RESOLUTION TEST CHARTNATIONAL BUREAU OF STANDARDS-1963-A

"i

Page 3: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

...h .3 7AFGL-TR-83-0133

-' DEVELOPMENT OF THEORETICAL MODELS

AND ANALYSES OF THE MICRO-PHYSICSOF CLOUD AND PRECIPITATION SYSTEMS

I C LAWRENCE E. BELSKYFREDRICK B. KAPLAN

* f JAMES P. LALLYD. KEITH ROBERTSPETER MILLER

"JOHN FOLEYTERENCE O'TOOLE

SDIGITAL PROGRAMMING SERVICES, INC.60 HICKORY DRIVEWALTHAM, MASSACHUSETTS 02154

31 MAY 83

FINAL REPORT FOR PERIOD 1 AUGUST 1981 to 31 MAY 1983

APPROVED FOR PUBLIC RELEASE; DISTRIBUTION UNLIMITED.

AIR FORCE GEOPHYSICS LABORATORYAIR FORCE SYSTEMS COMMAND

Lij UNITED STATES AIR FORCE__J HANSCOM AFB, MASSACHUSETTS 01731

.

-4 d o

Page 4: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

This report has been reviewed by the ESD Public Affairs Office (PA) andis releasable to the National Technical Information Service (NTIS).

This technical report has been reviewed and Is approved for publication

BARBARA MNM ARNOLD A. BARNES, JR.

Contract manager Chief, Cloud Physics Branch

FOR THlE COMMNDER

O RTA. MACLATCEYDirector, Mlateorology Division

Qualified requestors may obtain additional copies from the Defense TechnicalInformation Center. All others should apply to the National TechnicalInformation Service.

If your address has changed, or If you wish to be removed from the mailinglist, or if the addressee is no longer employed by your organization, pleasenotify AFGL/DAA/LYC Hanscom AFB, Mk 01731. This will assist us in maintaininga current mailing list.

Do not return copies of this report unless contractual obligations or noticeson a specific document requires that it be returned.

A,

Page 5: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

UnclassifiedSECURITY CLASSIFICATION OF THIS PAGE (When Date Entered)"

READ INSTRUCTIONSREPORT DOCUMAENTATION PAGE BEFORE COMPLETING FORM

*- . REPORT tNUMBER 2 GOVT ACCESSION NO. 3. RECIPIENT'S CATALOG NUMBER

* AFGL-TR-83-0133 5 74. TITLE (and Subtitle) 5. TYPE OF REPORT & PERIOD COVERED

DEVELOP14ENT OF THEORETICAL Final ReportMODELS AND ANALYSES OF THE MICRO-PHYSICS 1 Aug 81 - 31 May 83

- OF CLOUD AND PRECIPITATION SYSTEMS 6. PERFORMING ORG. REPORT NUMBER

" 7. AUTHOR(a) D. Keith Roberts S. CONTRACT OR GRANT NUMBER(S)

Lawrence E. Belsky Peter MillerFredrick B. Kaplan John FoleyF19628-81-C-0141James P.Lally Ter nne F ITo nl

9. PERFORMING ORGANIZATION NAME AND ADDRESS 10. PROGRAM ELEMENT, PROJECT. TASKDigital Programming Services, Inc. AREA & WORK UNIT NUMBERS

60 Hickory Drive 62101FWaltham, Massachusetts 02154 2310G5BC

" I . CONTROLLING OFFICE NAME AND ADDRESS 12. REPORT DATE". Air Force Geophysics Laboratory 31 May 1983* Hanscom AFB, MA 01731 13 NUMBER OF PAGES

* Monitor/Barbara Main/LYC 2271 4. MONITORING AGENCY NAME & ADDRESS(If different from Controlling Office) IS. SECURITY CLASS. (of this report)

Unclassified

ISa. DECLASSIFICATION/DOWNGRADING

SCHEDULE

*! 16. DISTRIBUTION STATEMENT (of this Report)

Approved for public release; distribution unlimited

17. DISTRIBUTION STATEMENT (of the abstract entered in Block 20, It different from Report)

- ,s. SUPPLEMENTARY NOTES

19. KEY WORMS (Continue on reverse side if necessary and identify by block number)

Airborne data collection, closed physics, data processing,mathematical modeling, real time operating system

2 ASSTRACT (Continue on reverse side If necessary and Identify by block numbet)

This report summarizes the mathematical procedures used on avariety of standard and non-standard cloud physics data. Itincludes the complete descriptions and operating instructionsfor all programs developed under this contract.

FORM 17 OTO ''N~SSOUE-DD I J 1473 EDITION OF I NOV 65 IS OBSOLETE Unclassified

SECURITY CLASSIFICATION OF THIS PAGE (When Data Entered)

. '-m -.-b --

Page 6: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

•.. % +%'. S . . . " . + . - - . + _

TABLE OF CONTENTS

-I . INTRODUCTION ......... ...................... 11

* 2. AFGL CYBER 74 COMPUTER SYSTEM .... ............. 12

2.1 LYC CYBER 74 PROGRAMMING .. ......... . . . . . 16

3. AIRBORNE DATA COLLECTION SYSTEMS DESCRIPTION ....... .. 19

3.1 PMS-1D SIZING SYSTEM ... ......... . . . . . . 22

3.2 PMS-2D SIZING SYSTEM ..... ............... 24

3.3 LIQUID WATER CONTENT MEASURING SYSTEMS ....... ... 26

3.4 METEOROLOGICAL PARAMETERS - VCO DATA . ....... 29

4. METEOROLOGICAL & CLOUD PHYSICS DATA .......... 30

4.1 PRODUCTION JOB STREAM OVERVIEW .. ......... . 30

4.2 PMS-1D DATA PROCESSING................ 36

4.2.1 PROGRAM EXAUST ..... ............... 37

4.2.1.1 PROGRAM EXAUST OPERATING INSTRUC-

TIONS AND SAMPLE OUTPUT . . . ... 38

4.2.2 PROGRAM SOUND ............... 44

4.2.2.1 PROGRAM SOUND OPERATING INSTRUC-

TIONS AND SAMPLE OUTPUT . . . . . . 46

4.2.3 PROGRAM FILTER ...... .............. .. 49

4.2.3.1 FILTER OPERATING INSTRUCTIONS . . . 50

4.2.3.2 SAMPLE OUTPUT .. ........... . 51

4.2.4 JW-LWC CORRECTIONS .... ............. . 54

4.2.5 DERIVATION AND IMPLEMENTATION OF EX-

POTENTIAL FUNCTIONS... ............ 55

4.2.5.1 WBLGMA OPERATING INSTRUCTIONS

AND SAMPLE OUTPUT .. ......... . 58

3

- -, " . + . + , ! " , .,.-'r + U . _ ,._' " " ,i '.'+'i- . ." . .. "

Page 7: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3 ICE DETECTOR ANALYSIS ................. 60

4.3.1 PROGRAM ICEEX ..... ............... 62

4.3.1.1 PROGRAM ICEEX OPERATING INSTRUC-

TIONS & SAMPLE OUTPUT ........ .. 65

4.3.2 PROGRAM ICEDMP ................. 69

4.3.2.1 ICEDMP OPERATING INSTRUCTIONS

AND SAMPLE OUTPUT .. ......... . 70

4.3.3 PROGRAM ICEDERIV .... .............. 82

4.3.3.1 PROGRAM ICEDERIV OPERATING INSTRUC-

TIONS & SAMPLE OUTPUT ........ .. 86

4.3.4 PROGRAMS PLTEXTRACT & PLTEXTRACT2 . . . .. 94

4.3.4.1 PLTREXTRACT OPERATING INSTRUCTIONS. 95

4.3.4.2 PLTREXTRACT2 OPERATING INSTRUC-

TIONS & SAMPLE OUTPUT ........ .. 98

4.4 PMS-2D DATA PROCESSING .... .............. 101

4.4.1 PROGRAM PMS-2D ............... 103

4.5 SPECIAL ANALYSIS AND PROCESSING TECHNIQUES . . . . 108

4.5.1 PROGRAM CNVRT ..... ............... 108

4.5.1.1 OPERATING INSTRUCTIONS & SAMPLE

OUTPUT FOR PROGRAM CNVRT . . . .. 109

4.5.2 PROGRAM STEVERD .... .............. 114

4.5.2.1 PROGRAM STEVERD OPERATING INSTRUC-

TIONS & SAMPLE OUTPUT ........ .. 115

4.5.3 PROGRAM ATTCHFLES .... ............. 117

4.5.3.1 ATTCHFLES OPERATING INSTRUCTIONS. 118

4.5.4 PROGRAM KNOLLID AND HDATSTAT .. ........ 120

4.5.4.1 PROGRAM KNOLLID OPERATING INSTRUC-

TIONS ............... 121

4.5.4.2 PROGRAM HDATSTAT OPERATING INSTRUC-

TIONS AND SAMPLE OUTPUT ....... . 125

4.6 SNOW DATA PROCESSING - CDC 6600 .. .......... . 130

4.6.1 PROGRAM CNVRTASCII TO CDC ... ......... 130

4

Page 8: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.2 PROGRAM MAKECRRELTAPE ... ........... 132

4.6.2.1 PROGRAM MAKECRRELTAPE OPERATING

INSTRUCTIONS ... ........... 133

* 4.6.3 PROGRAM MAKEIMINSNORATE .. .......... 134

4.6.3.1 PROGRAM MAKEIMINSNORATE OPERATING

INSTRUCTIONS ........... 135

4.6.4 PROGRAM COPYASCME .... ............. 138

4.6.4.1 PROGRAM COPYASCME OPERATING INSTRUC-

TIONS ..... ............... . 139

4.6.5 PROGRAMS CORRSNOWRATEDATA/CORRSNOLOGSCALE. . 140

4.6.5.1 PROGRAMS CORRSNOWRATEDATA/CORRSNO-

LOGSCALE OPERATING INSTRUCTIONS &

SAMPLE OUTPUT ............... .. 1424.6.6 PROGRAM PLOTASCME ............. 144

4.6.6.1 PROGRAM PLOTASCME OPERATING INSTRUC-

TIONS AND SAMPLE OUTPUT ....... . 145

4.6.7 PROGRAMS SMOOTHAFGL/SMOOTHCRREL ...... . 147

4.6.7.1 PROGRAMS SMMOTHAFGL/SMOOTHCRREL

OPERATING INSTRUCTIONS ...... . 148

4.6.8 PROGRAM FALLVEL .... . ........... 149

4.6.8.1 PROGRAM FALLVEL OPERATING INSTRUC-

TIONS AND SAMPLE OUTPUT ...... 150

5. THEORETICAL CLOUD PHYSICS MODELING ... ........... . 152

5.1 PROGRAM CUMOD X2946: ONE DIMENSIONAL, MATHEMATICAL/

PHYSICAL MODEL ... ............... 152

5.1.1 CURRENT STATUS OF PROGRAM CUMOD X2946 . . . 153

5.1.2 CUMOD X2946 JOB CARDS, INPUT DATA, AND

SAMPLE OUTPUT ..... ............... 154

5.2 PROGRAM CUSLIDE . . . . . . . ...... ................. 166

5.2.1 PROGRAM CUSLIDE COMMAND DECK, INPUT DATA . . 167

5.2.2 LIST OUTPUT ................ 168

.,5

4. . . . . . . . . . . . . . . . . . . . . .." " £ ,2 2"i . . - ,-- . . -., -- ,", "

Page 9: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*. . - - . * ' .'

* = *.i . . b - .. .- ,

7 0

5.3 CRAY-i AND CDC INTERFACE PROCEDURES AND DOCUMEN-

TATION ........................... 169

6. LYC POST PROCESSING: PDP-8/E COMPUTER .. ......... . 171

6.1 OS/8 OPERATING SYSTEM .... ............... . 172

6.2 FORTRAN IV ....... .................... 174

6.2.1 FORTRAN SYSTEM COMPONENTS .. ......... . 175

6.2.2 TECO-TEXT EDITOR .... .............. . 181

6.2.3 F4 FORTRAN IV COMPILER ... ........... . 183

6.2.4 RALF-RECOLATABLE ASSEMBLER ... .......... 185

6.2.5 LOAD-RECOLATABLE LOADER ......... . 187

6.2.6 FRTS-FORTAN RUN-TIME SYSTEM ............ 189

6.3 DATA PROCESSING PROGRAMS ... ............. . 192

6.3.1 PROGRAM PLOT.PA .................. . . 192

6.3.2 PROGRAM KNOLID.FT ............... 198

6.3.3 PROGRAM KN1UTL.FT ..... ......... ... 203

6.3.4 PROGRAM JWPLOT.FT ... ............. . 205

6.3.4.1 SUBROUTINE CONTIM.FT . ....... . 210

6.3.4.2 SUBROUTINE INPUT.FT .. ........ . 210

6.3.4.3 SUBROUTINE DISPL.FT .. ........ . 211

6.3.4.4 FUNCTION JWCORR.FT ........ 211

6.3.4.5 SUBROUTINE SCALE.FT ........ .211

6.3.4.6 SUBROUTINE READ.FT .... ........ 211

6.3.4.7 SUBROUTINE LINEAX.FT ....... 212

6.3.5 PROGRAM SNOPLT.FT ... ............. . 213

6.3.6 FORTRAN SUBROUTINE...... . . . . . 218

6.3.6.1 SUBROUTINE RMTAO.RA ........ 219

6.3.6.2 SUBROUTINE CORE.RA . ........ . 222

6.3.6.3 SUBROUTINE SCANT.RA .. ........ . 224

6

Page 10: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-L : . . i- _ p _ n, rm .4 n -. . ." o. . . , : -,. , , . . ,L , - ', - . " " . j, -

TABLE OF FIGURES

3.1 C130E DATA FLOW BLOCK DIAGRAM .. ........ . . . 20

3.2 LEAR DATA FLOW BLOCK DIAGRAM ............ 21

3.3 PARTICLE TRACE THROUGH PMS-1D SYSTEM ....... . 23

4.1 PMS-ID PROCESSING PROGRAM FLOW .. .......... 31

4.2 RADAR ANALYSIS AND CORRELATION PROGRAM FLOW . . .. 32

4.3 PMS-2D PROCESSING PROGRAM FLOW .. .......... 334.4 EWER ANALYSIS PROGRAM FLOW .... ............. . 34

4.5 ICE DETECTOR ANALYSIS PROGRAM FLOW . ........ 35

6.1 PREPARING A FORTRAN IV SOURCE FILE .. ........ 176

6.2 COMPILING A SOURCE FILE .... .............. 179

6.3 ASSEMBLING, LOADING AND EXECUTING A RALF FILE . . . 180

6.4A KNOL1D.FT SAMPLE OUTPUT SECTION DEFINITIONS . . .. 201

6.4B KNOL1D.FT SAMPLE OUTPUT ..... .............. 202

* 6.5 JWPLOT.FT DIALOGUE ..... ................ 207

- 6.6A JWPLOT.SAMPLE OUTPUT - UNCORRECTED .. ........ 208

6.6B JWPLOT.FT SAMPLE OUTPUT - CORRECTED .. ........ . 209

6.7 SNOPLT DIALOGUE ...... .................. 216

6.8 SNOPLT SAMPLE PLOT . . . ................ 217

Accession For

NTIS COA&IDTIC TAR

Justifc :.

C i z Distril-+V Avai'

'Dist

A I-

7

Page 11: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

LIST OF TABLES

6.1 LAB DECTAPE LISTING.................173

6.2 OS/B FORTRAN IV SYSTEM................175

*6.3 TECO COMMAND SUMMARY.................182

*6.4 F4 COMPILER OPTIONS.................183

6.5 RALF OPTIONS.....................185

6.6 LOAD OPTIONS.....................188

*6.7 RUN-TIME SYSTEM OPTIONS................190

6.8 FORTRAN I/O UNIT ASSIGNMENT..............190

8

Page 12: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

LIST OF DEFINITIONS

The following abbreviations are used throughout this report.

AFGL Air Force Geophysics Laboratory

ASCME Airborne Snowmass Concentration Mearurements

CREEL Cold Region Research Laboratory

DPSI Digital Programming Services, Inc.LY Meteorology Division - AFGL

LYC Cloud Physics Branch - LY -AFGL

SI9

Page 13: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

1i. Introduction

During the period of August 1981 to May 1982 DPSI was

under contract (F19628-81-C-0141) to the Cloud Physics Branch

(LYC), Meteorology Division of the Air Force Geophysics Lab-

oratory (AFGL). LYC is the Air Force office abbreviation

for Cloud Physics Branch and will be used interchangeably

throughout this report. The purpose of the contract was to

develop and apply mathematical procedures to a variety of

standard and non-standard cloud physics research data.

Work, under this latest contract, was performed on two

distinct computer systems. The AFGL inhouse Cyber 74 Com-

puter Systems (Control Data Corp.) and the DEC (Digital Equip-

ment Corp.) PDP-8/E. This report is prepared with this dis-

tinction in mind. Chapter 2 describes CDC Cyber 74 programming

while chapters 3 and 4 detail real-time programming for the

PDP-8/E installed on an AFGL operated MC-130E instrumented

aircraft; and inhouse LYC PDP-8/E for testing of flight pro-

gramming and post flight analysis.

The work performed under this contract has been sub-

mitted, in detail, in a set of 22 monthly reports. This

document will summarize changes to existing programs; in

addition, new programs and procedures will be fully described

in this document. A complete set of updated documentation

and operating instructions for each program is included.

'.'

PREVIOUS PAGE 0IS BLANK

11

.4!!'S " , ,:-;'",'' t'',,; ; ,"-; -:-' -- ,;-''" -' " . ,,, .. , --. . _ .';....., ,..-''

Page 14: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

2. AFGL CYBER 74 Computer System

The AFGL computation center consists of two Control Data

Corporation 6600 computers. The two machines are referred to

as system I and system II. Each computer is composed of cen-

tral memory, a high speed central processor, 14 peripheral

processors, and a display console. Up to 15 user jobs in each

system can be in central memory simultaneously, sharing the

central processor at scheduled intervals. Each job in central

memory gains access to the central processor sequentially un-

til execution is complete. Each computer is under complete

control of the NOS/BE operating system.

- Both systems share a non-volatile disk package for per-

mianent file storage. A permanent file is a mass storage file

cataloged by either system, so that its location and identifi-

cation are known to each system always. Frequently used pro-

grams, subroutines and data bases are immediately available

to jobs requesting them without operator intervention. Perm-

anent files cannot be destroyed accidentally during normal

system operation, including normal dead start, because they

are protected by the system from unauthorized access according

to the privacy controls specified when they are created.

The plotting facilities, also available to both systems,

consist of a single off-line mode of operation. This mode

produces plots on one of two media; paper or film. A more

detailed description of these facilities appear in later

paragraphs of this document. Batch processing is, of course,

supported by both systems. This allows the user access to

12

Page 15: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- W. .7 -7

2. AFGL CYBER 72 Computer System (cont'd)

any peripheral device (tape drives, disks, plotters, etc.)

that may be necessary for program execution.

System I, the more heavily used machine, supports the

time sharing system, "INTERCOM", as well. Time sharing ter-

minals are available to LYC using Bell system terminals via

dedicated telephone lines to the 6600 at 300 baud rate. In

addition, there are dial-up lines available for use with

portable terminals. Dial-up terminals must be connected

through an acoustic coupler over standard, voice-grade tele-

phone lines.

INTERCOM allows the user to create, modify, or execute

a program in real time. In addition it allows for data base

modification such as permanent file creation or deletion.

There are two modes of operation using INTERCOM: COMMANDmode and EDIT mode. The EDIT mode is more often used, since

the COMMAND mode is restrictive and anything performed in the

COMMAND mode can be done in EDIT mode. For a complete list

of INTERCOM commands with their description, the reader is

referred to the CDC publication "6000 Series INTERCOM v5

Reference Manual".

As with all programming systems, INTERCOM will require

a great deal of experience in order to gain expertise. There

are many "shortcuts" that may be employed, and a rather long

list of extended capabilities.

13

Page 16: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

2. AFGL CYBER 74 Computer System (cont'd)

The plotting facilities available at the Computation

Center are capable of producing either paper or film plots.

These facilities offer a wide choice for data display. The

pen and ink plotters will produce plots of large dimensions,

excellent line definition and multiple colors. The film

plotters offer high speed plots, large amount of shading and

line flexibility.

The off-line hardware consists of a Calcomp 780 Magnetic

Tape Unit with both a Drum-Type Digital Incremental Zip Mode

30 Inch Dual Step Size Plotter and a CRT plotter. Standard

paper is available in either 12 or 30 inches. Ballpoint

colors are black, red or bMue, in addition to red liquid ink

for photo reproduction.

There are two film systems available; 35mm microfilm and

105mm microfiche. We have found the microfiche system to be

most beneficial. Programs like RAPN produce a multitude of

plots which can easily be plotted on only a few sheet or film

This is very convenient for the LYC scientists. They can

study the plots at a viewer and make hard copies of just the

ones they find most useful. This eliminates the need to go

through roll after roll of pen plots produced by the Calcomp

plotters.

There is an interactive graphics system at AFGL. Located

in the systems area are two Tektronix 4014 graphics terminals.

The Tektronix terminals are available for fast plotting of

small (less than 65K words) programs. The software in these

14

Page 17: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

_ . . .. . , , • , , - .-. ... . . .o . . , ,- . ,. .- -.. .- - , ! -. - 5

2, AFGL CYBER 74 Computer System (cont'd)

programs is similar to that used above except with the added

ability for the user to interact with his program. For ex-

ample, if a scientist sits at the terminal and produces a

plot; he can replot the data "blowing up" a section that he

find most interesting. Hard copies are produced by the

pressing of a button.

The primary language used on the 6600 is Fortran extended.

It is by far more efficient than the conventional Fortran IV.

Numerous non-ANSI (American National Standards Institute) ex-

tensions have been introduced, including: implied typing,

multiple system texts, and Various masking and shifting func-

tions. For a complete list of Fortran extended capabilities

the reader is referred to the "6600 Series Fortran Extended

v5 Reference Manual".

The assembler language used with the 6600 is COMPASS v4.0.

In some instances where bit manipulation is heavily used, or

when the timing of an inner loop is of paramount importance,

COMPASS is more desirable to use than Fortran.

DPSI has used all the programming capabilities offered

by the CDC system. The user of our programs will find FORTRAN,

INTERCOM, COMPASS, and OFF-LINE PLOTS, etc. utilized through-

out the program library and thus modification of these pro-

grams require all personnel to be well-versed in all the CDC

systems.

15

Page 18: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

2,1 LYC CYBER 74 Programming

LYC provides research and advanced development to the

USAF in the area of cloude physics. Practical applications,

rather than pure research are emphasized as the mission of

the branch. At present these practical applications are in

the following areas:

- aircraft icing rates

- melting layer research

- radar correlation

- Passarelli spiral

- Mathematical-Physical cloud modeling

- snow rate study

The following chapters describe the contributions that DPSI

has made in the above areas during the length of this contract.

Specific programs are listed under each general applica-

tion. For every program the inherent mathematical modeling

will be fully described or referenced. In addition a sample

output description will be included.

Full operating instructions are presented for each pro-

gram. The user of this information should be familiar with

the contents of the "AFGL USER'S GUIDE". That document des-

cribes most of the conventions that must be compiles with in

, order to run jobs on AFGL CYBER systems. Although the user's

guide is a much simplified version of the set of CDC cyber

manuals it gives enough information for the running of simple

16

Page 19: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

2.1 LYC CYBER 74 Programming (cont'd)

jobs. This knowledge plus the detailed operating instruc-

tions presented in this document are quite sufficient for

the proper running of the programs.

DPSI maintains all CYBER programming on a disk pack (LYCPOF)

owned by the computer center (SOD). In the succeeding docu-

mentation DPSI uses the convention of attaching, in the in-

structions, the word BIN to the program "ATTACH" to make the

compiled program local to a user job.

ex. ATTACH,LGO,PLTEXTRACTBIN,ID-KAPLANF,MRI.

LGO.

The binary of program PLTEXTRACT is made local to the

job as a file LGO. Repetition of the name tells the system

to load it and begin execution. DPSI maintains several

binaries on the shared system (ID=MILLERP,ROBERTSK,KAPLANF)using this convention. However not all programs are so saved.

The computer center does not allow files to be stored on the

shared disk system without their continued usage. For this

reason DPSI maintains only the most frequently used binaries

on the disk. If the user wants a program not currently on

the shared system (determined by use of the "audit" command)

there are two options. INTERCOM can be used to attach the

program. This will compile and save the binary on the shared

system as above. Or, the control deck can be altered by

placing a "PK" parameter on the first card and replacing the

original attach with the following cards:

ex. PAUSE. PLS MOUNT DISK LYCP07.MOUNT,VSN=LYCP07,SN=LYCP07.ATTACH,P,PLTEXTRACT, ID=LALLY,SN=LYCP07.FTN,I=P,PL=999999.LGO.

17

T .- ." - T- - i-. -: -. - ..-".)- ,-.•.. • -.. . . .,, .. ._ ." .. -. . : . . .- -.

Page 20: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*2.1 LYC CYBER 74 Programing (cont'd)

In this example the compilation is actually done during

the job. In the succeeding documentation the single attach

convention will always be used. It is left to the user to

determine if the particular program is or is not currently

on the shared system.

1..

'N°

Np.

18

Page 21: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

3. Airborne Data Collection Systems Description

During the last data collection period, ending in 1981,

two:aircraft were used to perform the atmospheric sampling

necessary for the desired analysis of the independent research

projects. A USAF owned and operated MC-130E was used for

data sampling to approximately 30,000 feet. High altitude

observations to 45,000 were achieved with a USAF leased Lear

jet model 36C.

Each aircraft had on-board equipment with the capability

to derive a liquid water content (LWC) value, as well as other

meteorological parameters, in real time. This was accomplished

by utilizing the respective on-board computing facilities ofeach aircraft in conjunction with the data obtained from the

PMS-lD systems. In addition each aircraft has three indepen-

dent means of measuring and recording LWC.

The following sections of this chapter delineate a des-

cription of the equipment used and their functions. See fig-

ures 3.1 and 3.2 for a data flow diagram of the on-board

systems.

19

Page 22: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

C4 0 a) 41) 1W 4-) rz.

En 0

44 0)

;0 g W k - aI)

4 0 Wza) 4 C)

14 E4JU W

a))

4J W

$4 04 r4r:

16.2)

M 1 44-P

Fiur 3.1 413O DaaF4 wBok)igaW 230

V .o 0.-- ) 14 $4 0

Page 23: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

0044

10 41 a)

~U)

rI~.

4-))

0

044~

$4O40

El 0

to U44 _V

404

-a.4

Ij 4.

$4 fdU

$4- 0 1

41

214

S S 5 . . S S S .- .4

Inv- * 5.

Page 24: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

7. -o 17 7 5 7-

3.1 PMS-lD sizing system

The PMS-1D particle sizing system consists of three dif-ferent probes that record particle counts in overlapping sizeranges. The Axial Scattering Probe detects particles in the2-30p range. The 20-300u particles are measured with the

cloud probe. The Precip (or Precipitation) Probe is used forparticles in the 200-4500P range. Actual size ranges for theprobes in each aircraft are shown in the following chart.

C130 LEAR

Axial Scatter 2-30p 2-30uCloud 20-300p 20-300pPrecipitation 300-4500p 200-3000p

The axial scattering pr.e is considerably different thanthe other two. It measures optical forward scattering fromsmall particles in a constant size sampling volume. Dual photo-diode detectors are used to verify that the particles arewithin the sampling volume. There is pulse height detection

circuitry to classify the particles into fifteen size cate-gories. The size classes are then read out by the data acqui-sition system at one second intervals.

This probe is specifically designed for water particlesonly. Since the scattering function of ice crystals is poorlyunderstood, the probe is used only to indicate relative num-bers but is not normally relied upon for determining mass of

ice crystals.

The cloud and precip probes utilize a laser beam condensedand mirrored to a zoom lens which distributes light to a row

22

. ., .

Page 25: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

3.1 PMS-ID sizing System (cont'd)

of diode sensors; the cloud probe has 22 sensors and the precip

24. As the aircraft flies, particles appear between the zoom

lens and the sensors, interrupting the light. A shadow is

cast, shutting off some of the diode sensors. The device is

read when a diode is turned off, and the sampling is continued

as any diode state changes until all diodes are back on. At

the conclusion, then, a particle of known diode length has

been counted; the output consists of the count of particles

seen for lengths of one to fifteen diodes for each second.

As an example, if a particle traces the following states in

the diodes (0 = diode on; X - diode off)

0000000000000000000000000000OXXO00000000000000000OXXO0000000000000000OXXXO000000000000000000000000000000000000

Figure 3.3: Particle trace through PMS-lD system

the result would be 1 particle of diode length 5. The "5"

results from the maximum different number of diodes turned

off from start to finish of the sampling (all within a frac-

tion of a second). The reader should note that this 1D PMS

device will suffer errors when two particles are seen at the

same time, for then the maximum lengths will be added together.

Of course the probability of the occurrence is low.

23

Page 26: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

,7.

3.2 PMS-2D Sizing System

The PMS-2D hardware configuration is described below.

C130

Two PMS-2D particle display systems with two size ranges

(25-800V and 200-6400p) tied to dual Pertec (model F5640-9)

digital recorders. The recent PMS-2D data collection system

aboard a Corvair 990 consisted of 60-1920V and 240-F680

particle size ranges.

LEAR

Two PMS-2D particle display systems with two size ranges

(40-1280P and 160-512) tied to a Pertec (model T7640-9)

digital recorders.

The 2D Knollenberg has some important advantages over

the earlier 1D model. Firstly, there are 32 sensors eachexactly 2 5p in diameter. The second dimension is achieved

by taking readings over time so that a two dimensional pic-

ture of the shadow is made. The sampling rate is adjusted

to the speed of the aircraft so that a reading would be taken*every 25v of length. That is, if the aircraft flies at 100

meters/sec, the sampling rate would have to be 4 megahertz.

This exact ratio cannot be maintained perfectly, so the re-

sults are modified slightly in the computer according to the

true airspeed of the aircraft. Like the 1D device, the out-

put is turned on when a sensor is shut off, and continues un-til all sensors are back on, but this device will output thestatus of each of the 34 sensors every four-millionth of asecond until all the sensors are back on. Thus the 2D device

gives a picture of the particle(s) as subsequent readouts areplaced together, and will not give incorrect results when two

24

. -:-

Page 27: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

3.2 PMS-2D sizing system (cont'd)

particles are seen simultaneously.

An additional advantage of the 2D system is the end re-

jection feature. If a particle occludes either ending diode,

it is still recorded on magnetic tape. On the 1D system these

particles are not counted and the data is lost.

The reason for this rejection is the philosophy of the

* ID system; if the ending diode is occluded, there is no way

to estimate the true particle length and it was felt, at the

engineering design level, that it would be better to eliminate

the particle rather than counting it as one with a lesser

diameter. With that in mind, the end diode rejection feature

was incorporated into the ID system. An area of concern, how-

ever, is the number of particles being rejected; with the pre-

sent ID system there is no way to determine this. It may be

of considerable consequence because the larger particles have

the greatest probability of being rejected, and it is precisely

these particles which will contribute heavily to the liquid

water content and radar reflectivity.

25

. . . .. . . . . . . . . . . .

a . ..

Page 28: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

70 .. . . . . . '..

3.3 Liquid Water Content Measuring Systems

Each aircraft had the capability to derive a calculated

liquid water content value, (as well as numerous other meteor-

ological parameters) LWC, in real time. This was accomplished

by utilizing the respective on-board computing facilities of

each aircraft in conjunction with the data obtained from the

PMS-lD systems. In addition each aircraft had two independent

means of measuring and recording the LWC.

On each aircraft there was a Johnson-Williams (model LWH)

liquid water content meter that measured the concentration

of wate in cloud sized droplets. The device used calibrated

resistance wires, both normal and parallel to the airflow, to

measure the amount of cooling due to the evaporation of the

impinging water dropletp, It had a specified range of 0-6

g/m 3, however, it was considered accurate only for particles

in the 10-50V class.

On the C130 there wag an additional device to measure

LWC known by the acronym EWER (Evaporate the Water that ag-

gravates Erosion on Reentry). This device took two samples

of the free-stream airflow simultaneously. One sample was

passed through a high-powered heater to melt and evaporate

all the condensed water. In the other sample the condensate

was mechanically separated from the air by a centrifuging ac-

tion just inside the air inlet. A small portion of the evapo-

rated sample, and all of the separated sample, were passed

through small heaters to adjust the final temperature before

entering the detector chamber.

26

Page 29: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*. 3.3 Liquid Water Content Measuring Systems (cont'd)

The samples were passed between the source and receiverof a Lyman-Alpha humidiometer. The ultraviolet energy emitted

by the source, was attenuated by the water vapor in the path

between the source and receiver. The relative attenuation of

the UV was a direct measure of the water vapor content in g/m 3.

The water vapor in the evaporated sample, and also the back-

ground water vapor, was optically sampled. A provision was

also made for varying the gap between the source and receiver

so that the best sensitivity in various ranges of LWC can be

adjusted in flight.

The EWER system was under the complete control of a ROLM

(model 1601) computer*. In addition to performing all thesequencing operations, the computer also performed the real

time calculations of liquid water content. The shortcoming

of this system was the method of data recordit.

The EWER LWC analog output was directly tied to one ofthe digital VCO channels on the PMS-ID system. From there

it was recorded on both the PMS-lD and TU-10 flight tapes.

By applying the correct calibration equation to this data,

LWC values were processed as a function of time in both a

real time or post processing mode. This data was either pre-

sented in tabular or graphical form.

There was an additional device to measure LWC, known by

.. *DPSI recognizes this machine as a ruqqedized version of theData General NOVA computer. The remainder of this text refersto it as such.

27

Page 30: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

3.3 Liquid Water Content Measuring Systems (cont'd)

the acronym TWCI (Total Water Content Indicator). The device

was designed to measure total water content in both liquid

and solid cloud particles.

A chamber was exposed to the air-flow where water and

ice crystals are collected. Then butyl carbitol was intro-

duced to the chamber. The sensor used a capacitor in a tuned

circuit with the fluid as the dielectric. Water in the fluid

changed the capacitance and the output frequency of the tuned

circuit. Electronic circuits detected the shift by comparing

it with an identical cell Uttliaing pure butyl carbitol as

the dielectric. The output of this system was calibrated in

terms of water content.

28

Page 31: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

3.4 Meteorological Parameters - VCO Data

In addition to the computers, their peripherals, particle

information systems, and various liquid water content devices,

there were a number of other data sensors on-board each air-

craft. These devices were fed directly to voltage controlled

oscillators (VCO's) and were hard wired into the output stream

by analog to digital converters. These sensors contained en-

vironmental information of pressure, temperature, and dewpoint,

and also aircraft information of heading and airspeed. The

data were multiplexed into both the PMS-lD and PMS-2D buffer

memory systems and recorded redundantly on their respective

digital tapes.

The placement of the output VCO data which were combined

with the PMS data varies from aircraft to aircraft and from

time to time. The numbers themselves were limited to four

decimal digits each, giving a range of 0 to 9999. These VCO's

were counts and had to be converted to proportionate values.

29

Page 32: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4. Meteorological & Cloud Physics Data

4.1 Production Job Stream Overview

This section graphically illustrates the interrelation-

ship of existing programs in the product job stream. Figures

4.1 through 4.5 depict the logical processing flow within the

general headings presented. Cross purpose use of programs

for different headings is quite often done. Programs are

listed, however, under the system that most often use them.

43.

0la

%'30

Page 33: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

9L4

E

0

0

r~4

I')I

U)z

Page 34: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

04

1L4

0

0

rd toQ) -4 E

140.&.

I U)

ra4

-40

32

Page 35: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- E4

* 14

0

-.4

* sit

U

0 0

5.44

33

Page 36: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

91/)

zz

00

00

-r4Pdz

-'34

Page 37: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

00

'4-

03

Page 38: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2 PMS-ID Data Processing

For the most part, the programs concerned with the pro-

cessing of LYC's one-dimensional data have not been changed

during the period of this contract and hence will not be

reported on herein. Descriptions, operating instructions,and sample output for the programs may be found in the Final

Report for Contract F19628-78-C-0131.

The following sections describe those programs, dealing

with the one-dimensional data, which have been revised during

the contract period (August 1981-May 1983),

36

. ..

Page 39: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

V"IT

* 4.2.1 Program EXAUST

At the request of AFSC/SD (Air Force Systems Command/

Space Division), the cloud physics branch of AFGL used its

PMS-lD probes to make measurements of particle distributions

for the recent space shuttle launch.

During the March 22, 1982 launch of NASA's Space

Shuttle the LYC scatter, cloud and precipitation probes were

strategically placed 100 meters from the base of the launch

pad atop a 12 foot pole. When the solid rocket boosters ig-

nited and the rocket lifted off, LYC probes were directly in

the path of its plume. Raw data collected by the probes is

written to a PMS-lD data tape. This data tape will be returned

to AFGL/LYC for post processing by the AFGL CDC CYBER Computer.

A new program, program EXAUST, has been written to process

this data. Using the PMS-1D tape as input EXAUST reads in

the raw channel 'counts from each probe. The following informa-

tion is derived from each probe; channel number densities

(N/CM**3-uM), channel normalized number densities (N/M**3-MM)

and their totals are calculated and printed as output. Nochannel number adjustments or melting equations are used so

the diameters are a straight forward calculation (center di-

amter = channel # * Diode Size).

An optional output tape has been included to provide

processed data to NASA for use in their modeling studies.

Complete operating instructions, output tape format, and

sample output follow.

3

!. 37

. .. . . . . . . . . . . . . .

Page 40: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.1.1 Program EXAUST Operating Instructions and Sample Output

CONMAND DECK

PS I,1o300,7Itt. 2616 isATTACH,LBO,EXAUSTDIN,Its KAPLANFNAPOFF.VSNTAPEtsPNSXXX.fEREUEST,1APE1,SrINTNORIN6.VSN,TAPE2*LYCXXX/NT. (OPTIONAL OUTPUT TAPE)REOU[ST,TAPE2,N,RIN69NT. (OPTIONAL OUTPUT TAPE)FlLE(TAPEI,RTmU,3TK,RRLmIO24,NRLIO24,RDImDFS1O5)LDSETPktSETsZERO.L60.EXIT(U)

~7/8/9

DATA CARDS

ID CARD1-10 FLT ID I FORM CXX-Xx11-20 FLI DATE IN FORM DD NON YR21-26 ?AS TAPE NUMER IN FORM PDsXXx

OPTION CARD5 ICLK - 0 USE A/C CLOCK (USED TO TEST)

1 USE PAS CUOCK10 JAVE - AVERING INTERVAL IN 15 FORMAT11-18 PNS ON TIME IN FORM H MM Ss21 LVC - 0 NO OUTPUT TAPE

I CREATE OUTPUT TAPE

PASS DS -AS %ANY AS DESIRED IN INCREASING ORDER* 1-6 PASS START TIRE IN FORM HN NN SS

6-13 PASS STOP TInE IN FOR% Rh SS

617/6/9

38

Page 41: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

. .

OUTPUT TAPE FORMAT

MORDI CONTENT----------------------------------

I START TINE2 STOP TINE3 MIND SPEED4-13 RAU COUNTS SCATTER19-33 RAM COUNTS CLOUD34-48 RAU COUNTS PRECIP.49-63 NURSER DENSITIES SCAT64-78 NURSER DENSITIES CLOUD79-93 NUNDER DENSITIES PRECIP94-108 NORMALIZED ND SCAT109-123 NORMALIZED ND CLOUD124-138 NORMALIZED ND PRECIP

FORMAT TYPES

AtO STARTSTOP TINESE10.5 MIND SPEED110 RAU CHANNEL COUNTS[10.5 NORMALIZED AND UNNDRNALIZEb ND

ONE RECORD = 138 MORDS 1380 CHARACTERS

39

Page 42: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

a cen 4 n ot on a I v C

ama

.91 ze 4A OA z p 01 C

lie - 301 3- cocoac K 6

me emSCK1-3-3

U. b.mig 0000

SE ~ - USUS M

coco b. 3-5 U*~~~ ~ 5 55555-.S S 5

0 .. 30- D- b-n 3- 0 - S-- --oe em.r .r

D,- 3- t

CU 4 444 I MII ZZ ZZZZ**aS 4 4 in MI I 3 1 @1 S 5

a5 In 0 a-3 0000 - a.

4n in 0 0f 0ft K0 an an an In amww40q wi

we wewmx aezzzaD aaa

a. ata au 000t zz1:1 "D m"em~~ ~~~ a, am f tf*

me MOL 45v w4m ao o m-s a a

4c0 on Ws de 46. 4mma I

&Sam

mm~~~ 400~ M

50 4A to0 in

55~CI ev aC O C ra

em mua n Ie I MM M m

me s a VI~ I ai i MI 11 mumu VV YV VUas a a a a a an n in in u mu mu 9415

Page 43: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-r C -

moaCDa

4C

V) Z

zz

-- 0

(w-uNONAIS3 83awn

a4

Page 44: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

Tl I

Iz

00

Cr

I-- c0 in

0-4 CD m

a: CV

Z X0

Lii 0 GLj

Lu 0 - z

0-cw3/)IIN3 3en42a

Page 45: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*7 0

z z

17 lo*f1,,t"o O 0 0 es"0 0 1 n 0 CI0 z

03 v 00v00 0 0mI t

o -. *SC enl40 * .do 0*r-Z A 0 to -P VImI - e . a

* 2 *aI ftS-r000 00 WI* u In 000000000000 o0 0 0

IL I's a 49 )

IV 0' 00000000000000 ; 0 00 0 00 00 00z W23 C0-9mlVV CV 00 0 0 0 0 0 n Z 090 0 0 00 0 : 0

* "Na qu v~-~yu "Mm v

* WICV0000000000@000 ? 0o o~o @ 0 0* # I

a 0 CU IAWOCV - MgCv@00 v CVC 9 000000000000000 0

WMFA* W*0 W I 090 ORU O 0 CU v0-C r i

- zO 0 z

* 1 V - ftooo eo~ * t- Vo a o o o o o 0 f )O Oz cZ~;cz~;;C

26 0 0 0000000000000 v wI 0a 00000000000000

z - 0 0 0

*~I 0 ago I

* --- 0 0 --

a; t 0 Z*~q 00 "W- VWCVI"IIWWIX; - . 0

*- . . .co o o o c o . . .0 z *ieseesoiieemem 0 0 Z

V) 0- 0 au 44 ca-Qa--;;D@e- WI O- 0a- 3 2 CVa--I~a-aWISYYIWI V o 2T

* 3w0Ia~owVO~tW WIIA * O WC C#WSS~ 5 *U

o- F)00000000000000 09 W

on '0 Wn 1. *.i0suei -WN* a0 wwvnwwwwwwwww0 ma

*~ ~~ C0 Uv NCWCShA5S-0- ft 'Au

a-. s - n" O P0 0 43 5* W 2 [email protected]

Page 46: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.2 Program SOUND

Program SOUND is designed to provide graphical and numeri-

cal comparisions of aircraft vs Radiosonde temperature data.

When comparing aircraft temnperature values with Radiosonde

data it is necessary to reduce the array of aircraft data to

discrete values for any given pressure level. Thus after the

temperature data is read from the input tape it is internally

sorted by pressure. Median values can then be obtained for

every 10MB pressure band. It is these median values which

are used for comparison and analysis. Median values, as op-

posed to a mean, were used because they are less affected by

extraneous data points.

The first plot produce4 by program SOUND, is the raw

data plot. The points will always be plotted in ascending

order, visual inspection can verify the sorting procedure.

After this (or any plot) a hard copy can be obtained by hit-

ting the 'copy' button on the tektronix terminal. The next

plot will not be displayed until a space followed by a carriage

return is typed on the keyboard. This allows time to produce

the hard copy between plots. If the user enters the letter"5"' in place of a space the program will jump to the 'STOP(Y/N)'

prompt. A 'Y' will stop the job and return to intercom. An

IN' will return the user to the beginning of SOUND. In a

full sequence for any given data set, four plots and one page

of output are produced. In order; the four plots consist of

(1) raw data, (2) raw data with a median value line overlaid,

(3) raw data with median and Radiosonde data overlayed (Radio-sonde data distinquishable as a dashed line), and (4) a plot

44

. ."

Page 47: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.2 Program SOUND (cont'd)

of median values and Radiosonde data without raw values. In

* addition, dry adiabatic lines are superimposed over the plot

to aid in the analysis of the change in temperature of an

air parcel due only to the change in pressure. Operating

instructions and sample output follow.

4

B45

Page 48: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.2.1 Program SOUND Operating Instructions and Sample Output

turn on computer and hard copy unit

follow *LOGIN' procedure

USER INPUT

ATC, LGO, SOUNDBIN,ID=OTOOLE, MR1.-

ATTACH ,TAPE1, TEMPCK DATA, l=OTOOLE., MR=1

ATTACH, TEK, TEKSIM

LIBRARY, TEK

REQUEST,TAPE6, *Q

ETL, 500

.5 Wa

refer to user dialogue on next page for examples

of prompts and replys.

DISOS, TAPE6,, IAC

LOGOUT

46

Page 49: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

: ENTER IN FLT IDFLT F79-51ENTER IN FLT DATE16DE2L

CHOOSE TEMP TYPEI. . TRUE TEIP2 . . CALC TEMP3NE DEW POINT

....DEFAULT LIMITS FOR TRUE TEMP

" ARE -28. TO 36.00 YOU WISH TO ALTER THE LIMITS S

ENTER -NEW LIMITS (MINMAX)-DEFAULT LIMITS FOR PRESSURE

*' ARE 1959.9 TO 469.900 YOU WISH TO ALTER THE LIMITS

*: ENTER NEW LIMITS (MIN,MAX)9SHOULD INPUT FILE BE REWOUND6.Y.Yt...Y

.*. DC Y3o. WISH TO INPUT RAOB DATA(YN)....EN TER IN 0 OF LEUELS...j.3AFTER EACH LEUEL I ENTER PRESSTEMPDEMPOINT.

-- 94>8 .9-.3? -- ,

5? .->

6.,'7--> --7?-->" 9? -- =

": 1l7 -- >719.-£. 1.-6. t-"11? -- >?8G,-7,1,-25.|" 127 -- )637 -- 1,1-26-.

137 -- >6Qj,1-13 s--7-7?

LEUEL 0 1 994.06 (MB) -2.30 (C) -2.30 (C)LE1.1EL 4 2 877.69 (Me) -1.36 (C) -1.36 (C)LE'IEL 6 3 869.96 (MB) -1.56 (C) -1.56 (C)LE%'EL 0 4 859.96 (M) -2.30 (C) -2.38 (C)LEUEL 6 5 085.66 (MB) -4.30 (C) -4.36 (C)LE,.EL 6 796.66 (no) -5.16 (C) -5.1 (C)L .EUEL 6 7 774.60 (MB) -5.36 (C) -5.36 (C)LEVEL 0 S 754.66 (MB). -5.76 (C) -5.7 (C)LEVEL * 9 744.66 (NB) -3.70 (C) -3.70 (C0LEVEL 0 1S 719.09 (MB) -6.16 (C) -6.26 (C)LEVEL 0 11 ?9.69 (NO) -7.10 (C) -25.16 (C)LEVEL • 12 637.66 (MB) -11.10 (C) -26.70 (C)LEUEL 6 13 661.66 (mB) -13.7 (C) -27.76 (C)

* DO YOU WISH TO ALTER ANY UALUES(Y N)..JL.

.44'p 47

Page 50: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

. . . . .

0

I-LU)1ww

0

* :0

0 0

0 0

(D NCD 038flSS38d

Program SOUND sample plot

48

Page 51: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.3 Program FILTER

Several changes have been made to program FILTER. Orig-

inally this program was written to filter out persistance (non

independence) of LWC icing data.

The program was modified to include the option of plotting

either LWC or true temperature vs. distance (km) and time (sec).

This modification also involved changing the plot axis and

output to be labeled with appropriate captions.

The program was modified to calculate and print out a

smoothed filtered power along side the filtered power. Each

value is printed in tabular form with a one to one correspon-". dence. The equation for calculating smoothed filtered power

was provided by the scientist and is as follows:

DATA(I-I)*.23+ DATA(I)*.54 + DATA(I+I)*.23

For the sake of consistency, the scientist also requested

that the plots of the output be put on a static scale which

eliminates the need to calculate appropriate scales each time.

Consult the sample plots to examine the limits used.

* Operating instructions and a list of sample output follow.

o4.9

,= 49

Page 52: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.3.1 FILTER Operating Instructions

COMMIAND CARDS

DPSICM65000,T500,NT1. ACCT # NAME

ATTACH, LGO,FILTERBIN, ID4q MILLERP, MR=lVSN,TAPElLYCXXX/NT. (KNOLUiD OUTPUT TAPE)

REQUEST,TAPE1,E,NORING,NT.

ATTACH ,CRT ,CRTPLOTS.

LIBRARY ,CRT.

REQUEST,TAPE39, *Q.

LDSET, PRESET-ZERO.

LGO.

EXIT (U)

DISPOSE,TAPE39vFM.

7/8/9

* DATA CARDS

CARD #1 (REQUIRED)

IPLOTZMINZMAX (FREE FORMAT)

- IPLOT - IF 1 TRUE TEMP, 0 IF LWC

ZMIN - MINIMUM PLOT LIMIT FOR CENTERED VALUES

ZMAX - MAXIMUM PLOT LIMIT FOR CENTERED VALUES

CARD 2- (N+1) (N PASSES IN ASCENDING TIME ORDER)

HH:MM:SS COL 1-8 PASS START TIME

HH:MM:SS COL 10-17 PAWfS STOP TIME

6/7/8/9

50

Page 53: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.. .

.9

4.2.3.2 List of FILTER Sample Output Plots

1. Centered LWC Values vs Distance (KM) and Time (Sec)

2. Autocorrelation COEFS vs Distance (KM) and Time LAG

3. Unfiltered Power Density vs Frequency (cycles/KM)

4. Filtered Power Density vs Frequency (cycles/KM)

5. Centered Temp Values vs Distance (KM) and Time (Sec)

Each plot frame also includes as a heading

1. start time

2. stop time

3. averaging interval

4. number of data points

5. LWC mean

6. average altitude

7. average true air speed

Sample charts follow.

51

_°..

.**** * . . . . . . . . . . . . .. .

Page 54: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

R,._ _._ - , - . •" . -

.... _ FLT ETe-1O 23 MAR 78

STOP 24 04 4E.-SEC INTERVAL 438 DATA POINTS LIC MEAN 4122

AVE ALT(IKJi 3W0560 AVE TAS(I/SEC) 85. 5738

AUTOCORELATION COEFS

*1 •98155?S ---2 •S7494

3 83549j . .. ' ...... .79245

s 5 .75513" 6 •73093

7 .71938

9 o66298-. . * . - -'J

i 12 •o64895

. 13 .619012* --6049615 e59655a-- 6- *"S 72 7

'? •54556

* 19 .515522- , - --" .. . ,49376.. .

21 .4879?--- 2 -- -- -- 4;?,8Z

23 o45776*2--- .44345

". 25 • uZSG6-----. 41939

27 .39235- 2----.. 35928

29 335S25138---s32692231 .3±107

33 .31735

.. 3s • 31013.30554

37 .30528

39 .31951

52

.. . -_._ _ . - . - * . . ,, . ... " , , - + .. ,Ih .+L , . . + . . . .+ .- ._- .,* . . .... +.

Page 55: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

S -"~" POwER - SIOOTIED FILTERED POWER1 8332 1 .603322 - ,46316 2 .49669

" 3 e26966 3 .47423_- 4- ,_..71056

5 655273 S .71646,,, e60 6 .925767 1045223 7 1.21337t9 , -cZ6203 a .971649 S1447 9 .98303

* ,,4.w a. '66936 10 1.3*399L 1.27524 11 130270

". "17 09051 12 2.2796613 1.95949 13 1,270041 4 -"1.3216 24 .5403515 e48534 35 .45214is . 584 r 6 a98425I? 1Te934367 17 1911631

1.84933 1s .8S53 ......

19 052916 9 .78379j :,r325" " 20 ,2,6D1 ..

21 1. 17719 21 1.371182 1,' 27Z . 22 1,9227123 2,78553 23 2.,84572-4 -W-48167 Z4 " L.e5S8725 a.6732 25 ..7.90

•2 - " ;30895 26 1.027372? 070725 27 .9279726 I.L06559 2 .1.457929 1.33765 29 .242763u - 32719 30 .7?87231 1.23622 3 .95367S S- 91678 32 1.1673733 a,68656 33 19194679 .12697 .. 34 .92817.

- 35 35 06509as -- i66979 36 .91&43S7 1.23351 37 .89993"30365 38 .5910439 e62331 39 .76678

0 6 77 •"0 T 1. 3597041 1.60995 All 1.33011

-------- 3649 4 *.90274a.3 1.29022 43 1.29022

53

* .....

* . *, - . . .

Page 56: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.4 JW-LWC Corrections

During this contract period the algorithm for making

JW-LWC corrections has been modified so that specific cor-

rections can be made over a specific time interval. Prior

to this only one set of corrections was allowed throughout

a run. Now more accurate corrections may be made by breaking

them up into time segments.

The programs in the production job stream that use JW-LWC

corrections are; KNOLLiD, ICEDMP, and ICEEX.

The new format of the JWADJ namelist are provided below:

NAMELIST JWADJCONTAINS HEIGHT PROFILES FOR A JW-LWC ADJUSTMENT.ELEMENTS ARE:

L NUMBER OF LEVELS (DEFAULT 0- NO CORRECTION) (MAXIMUM 10)HT HEIGHT OF LEVEL IN KM'S (HT(1)GT HT(2)GT...GT HT(L))XA ORIGIN OF LEVEL (ONE PER LEVEL)

SLA SLOPE FROM LEVEL (I) TO LEVEL (I+l) (L-1 SLOPES REQUIRED)LTIM NUMBER OF TIME CORRECTION INTERVALS (DEFAULT 0-

NO CORRECTIONS) (MAXIMUM 10)JWTIM INTEGER ARRAY (2.10) CONTAINING START AND STOP TIMES

IN SECONDSSLATIM SLOPE OF TIME CHANGEXATIM INTERCEP OF TIME CHANGE

54

.Z ., . -. -. . .. ....

Page 57: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

i

4.2.5 Derivation and Implementation of Expotential Functions

As part of the requirements under this contract, DPSI

prepared an Interim Scientific Report (ISR) for submittal to

the contract manager, AFGL/LYC. This report was a compre-

hensive discussion of the derivation and implementation of

the Weibull and Gamma distribution functions to model axial

scattering spectrometer data distributions.

These data were obtained from 26 discrete flight passes

made by the Air Force Geophysics Laboratory's instrumental

VC130-E aircraft during the 1979-1980 winter. The data were

collected in supercooled clouds associated with aircraft

icing. The instrument probe was designed to collect water

particle data in the 2-30 micron range at 2 micron intervals.

The resultant 15 data values (channels) for each flight pass

comprised the raw data sets. However, due to the excessively

noisy data signal present in channel 1, these data were eli-

minated from the analysis. Thus data channels 2-15 were used

as input to the Weibull and Gamma functions.

It was noted that the distribution of the data's number

density spectra seemed to be describable by either the Weibull

function or the Khrgian-Magin form of the Gamma distribution.

The main body of the ISR is concerned with the deriva-

tion of these two distribution functions. First, the Weibull,

defined as:

-5

i% .,-"."' S '..' .,..-. . ..", .,"-. .-. ,. .. . ..,- - -""_ - ... --. . . , " -, ,.,,, , , , , _ _ _.,". . ... ,. - - . ,.:. -- ..55 , .: .;

Page 58: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

p ,"o . "o.-.. W.

4.2.5 Derivation and Implementation of Exponential Function (cont'd)

*b-i -axbf(x) Nabx e

is derived by solving for 'a' and 'b' via the maximum likelihood

method and the Newton-Raphson method, respectively. Similarly,

the Gamma function, defined as:

fx a 2 -ax

is derived by using the maximum likelihood method to solve for

a.

As part of the derivation for both the Weibull and Gamma

functions, the independent factor N was introduced to enable'a' and 'b' to be independent of the magnitude of the distri-bution's range, and dependent only on the nature of the re-spective function. However, solving for N by the way of the

maximum likelihood method would result in the undefined ex-

pression

E Yi=O

and thus another method had to be employed. Therefore, utiliz-

ing the method of least square analysis and partial derivatives,* .the value of N was determined.

The analysis section of the ISR identifies, with the aidof four figures, the shortcomings of the Weibull and the over-

all superiority of the Gamma function to model cloud droplet

spectra data distributions.

56

. - .**.

Page 59: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.5 Derivation and Implenentation of Exponential Function (cont'd)

Program WBLGMA utilizes these functions, as derived, to

model and analyze the raw channel counts (usually 2-15)

collected by the axial probe. Section 4.2.5.1 contains sample

output from the program for one time pass. The first line of

output simply re-states flight and probe data for that pass,

as well as which data channels are being used as input.

The main body of the output in the following table is the

channe) by channel comparison of the two modeled data distributions

(G & W) to the raw data. The overall performance of each distri-

bution function is provided by the LOG RMS valve of each.

See scientific report no. l(AFGL-TR-82-0309), published

30 Septmeber 1982, for the complete discussion detailing the

deriviations and analysis techniques.

57

"'" i " ''' ' .... " ,o" : • , , : . .. ., :. . . .' . . _ 2 1 .£ . . ... ..

Page 60: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.2.5.1 WBLGPKA operating Instructions &Sample Output

ATTACH, W,WBLGA

ATTACR,W,WBLGMA, ID=MILLERPCONNECT, INPUTCONNECT, OUTPUTSCREEN 132LGO

89.98 2.4 .004 2 15

58

Page 61: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.. OP.

10CI

0to

in * ** + 4 V) in 0. N " 4.00 C

0. ~ ~ ~ ~ ~ -M M- 0a l .i

CD lc 04 2 *c Io) 0 0-0 10 N 0o U. . . . . . . . . . . I I + *

z V . - . .. N P. C r wc-C N -

-W -Ww 94 - 0-NN0t wl---4w* 2r

n -W w- &- 0 0. ""-WMla ni

+* 4 . * * + * * * * + * +w MaW a so "Aw w " L I" w w

in i " 0 ww "-0 . f f 0- 0. l r

0 0 00 - f% K - -~ -W -0 .0 CM .01

4D w M M In -W ft .4 M . a**

qr 4w qr -W rW to ~ I" ) io g, Cm C4 C44D 4D.0 4 o 4 40 0 0

V31 U) + + + .4.++.4. . .* +.

w 0 Z w 0 -W C4 m - . .0 * WI*

94V . bs 4MU N0 C -'0NU4 r. flo. 0 aMIem C4V4C4- - " C -0M l r.

CD . . . . . . . . . . * * *

.a 0 CDO 000 2 o4 lC.Cb0 do 0 C. 0k cI* . . . . . .4. . . . . . .* + *4.

hi I i La "A L" hi i hi L" ha ha ha Wi i Lai,C4M o N- - -W " 0 .0 w a N0

in"hi O NN00r.0 m -e- -49 "' N ~ ~ 00 t @ -- "-,logo dc 0 . . . . . . .

co

Ma

0.4 t +* * + + + + 4.... . I.

w .N rNq .0 C 0 pCD 0 42 0

s 4c t4 Mt4 -o -0W C nC - - -D. a * * .. . . . .

in I

59

Page 62: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 4.3 Ice Detector Analysis

Data collection by ice detector can be characterized by three

distinct modes of operation.

1) sensing mode

2) detecting mode, and

3) standby mode.

These modes occur in the sequence listed. The standby mode

however, can be triggered manually at any time.

A. In the sensing mode the probe is signaling that the ice

is accumulating on it. The counts will range in the mode

from 6250 to 9818. (The latter value being equal to 4.8

volts at which point the accumulation of ice triggers

the detecting mode). If icing rates are very low it is

possible that the probp will remain in the sensing mode,

i.e., never accumulating enough ice to go into the de-tecting mode or the ice will evaporate and counts will

decrease in value to approximately 6250.

In the detecting mode, an ice signal is generated and

heating cycle is initiated. During this period random

counts are generated. Typically values under 5000 are

generated (see C) for a number of seconds. All these

data (i.e., exceeding 9818 and less than 5000 counts)are to be disregared as data, but to be used as the in-

dicator of a change from the detecting to standby mode.

The standby mode follows the detecting mode and has arange of counts from 5350 to 5150. The most frequently

observed values is 5250 counts. In this mode all ice

60

Page 63: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

has been removed from the detector, and the DC current

to the probe has been cutoff. Typically this mode lasts

under 2 seconds.

The time needed for the ice detector to return from

standby mode to the sensing mode depends on icing con-

ditions, ambient temperature and airspeed. With moder-

ate icing 7-10 seconds are typical. The return to the

sensing mode occurs when counts equal 6250.

B. It is possible while in the sensing mode for apparently

random counts to be generated; that is, 9818 counts has

not been reached nor exceeded and apparently random

signals, (similiar to those occuing when the instrument

is in the detecting mode) are observed. Following the

occurrence of these random counts, the counts recorded

return to values indicating the unit is still in the

sensing mode.

C. Random counts are sudden large excursion in magnitude.

Since these occur primarily in connection with the

change from sensing to detecting mode and frequently

occur with voltages exceeding 5V, causing a rollover

in counts, (i.e., numbers > 9999 begin at 0001) it isuseful to add 10000 counts to all values < 5000.

.-a

61

... . . . . . .

Page 64: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.1 Program ICEEX

A flight was made on 06 DEC 79 in order to collect data

using the Ice Detector device. As a "quick look" method to

examine the data, a plotting program PLTICE was written (see

*section on PLTICE). This plot coupled with KNlUTIL's VCO

listing for this flight enabled certain empirical relationships

between the recorded data and the behavior of the Ice Detector

device to be derived.

Mr. Morton Glass formulated these relationships on 19*DEC 79 and an updated version of his memo is given on the

following pages. Program ICEEX incorporates these concepts

and, as can be seen in figure 4.6, is at the heart of the

icing data processing and analysis stream.

Data from the Ice Detector is given in VCO position ten

of the PMS1D Kennedy tape. Program ICEEX reads this tape,identifies the modes, eliminates erroneous/redundant points,

and produces an edited output tape.

ICEEX inputs a flight identification, a namelist card

to change the default VCO calibrations, and a set of start

stop time ranges.

For each start and stop time range the first standby

mode is found by performing a three point running mean untilthis average is within 200 counts of 5250. The midpoint of

this mean is then put onto the output tape with a code word

62

Page 65: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.1 Program ICEEX (cont'd)

equal to one. The next step is to find the "trigger value".

This value is the first count whose value exceeds 6000, thus

marking the transition from standby to sensing mode (by ig-

noring the detecting mode completely). When this time is

found (no averaging is used - only the raw count) the data

record is sent with a code word equal to two. Now the ice

detector is considered to be at the start of the sensing

mode. Until the countsgo below the "trigger value", exceed

the maximum 9818 counts, or degrade into four consecutive

"bad points", every data point is written to the output tape

with a code word equal to three.

The cycle of finding the standby mode, trigger value,

and then all sensing values is repeated until a time value

exceeds the input stop time.

This inputting of start and stop times is terminated by

the end of input cards or an end of file on the PMS1D tape.

*Every point in the sensing mode is verified by extra-

polating from the previously read two points. If the input

value differs by more than 400 counts from the extrapolated

value, the extrapolated value is used. The extrapolating

method is designed to compromise between changing direction

and having the data rise rapidly. The extrapolated point

C(i) is given by

C (suggested)= ((C (i-2) +C (i-l))/2+2*C (i-1)-C (i-2))/2

63

Page 66: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.1 Program ICEEX (cont'd)

Since ICEEX lists, on the printer, each value as it is

being written to tape, an asterisk is printed to denote the

fact that it is a "calculated" and not a "true" value. Every

second of extracted data as well as PMS1D raw counts are

written in groups of 59 words to the output tape. Operating

instructions, a description of the output tape, and sample

output follow.

.6

*1

64

_. ' -.. r ..... , i. -: . - . -.. • . "

Page 67: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.1.1 Program ICEEX Operating Instructions and Sample output

C041TROL CARDS

*J3bJDT1Of)0qTP1%NT1. J3B # PASSWDJQATT4C4'LGO' ICEEXBP~,I=. 1DILr.ERP,M.R=1.VSNTROEIsPSTRPSH9Jt1ER. (KENNEDY TAPE - PMS ID TAPE)RSQU'-:STTAPE I tS,1, 'IT.VS4-PTR0E2=0JTPTTRPEN'JT1ER/NT. (PROCESSED DATR TAPE - U'TP'JT)REQUMPT'TAPE29PEYMR1 INS94T.

*.DSST,' ESET-ZERO.

LG.9

DAT ARDS

C!9RD t* UL 1-10 FL164T ID

t1-20 FLIS'4T DATE?5 CLOCK (InAC92-P"S)

30 OUT R 1 1 THIS COLUJ4N T3 INIDICATE USE OF KEN41EDY TAPE?5-90 EXTRADLRT104 90Q4?D (15 FORMIAT - DEFAUJLT 400)

VCDBNA!1 NMtELIST - VC3 CRLJPRATI93(SEE VC3TEF 14 N3ILLlD)

* CARD 3JVRDJ 4RM'ELIST -J*d-L'C RDJJSTPIE!T PROIFILES

(SEE JVRDJ IN K'IOLLID)

r .RD 4 -(4.'4-1)

1 *ASS CARDS IN FORM(STRRTIMS 14 COL'JNN toP -4SS4-M

STRT STOP T14ISS

65

Page 68: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

WORD CONTENTS

1 TIME OF RECORD (IN SECONDS)

2 FLIGHT IDENTIFICATION

3 FLIGHT DATE

4 LATITUDE (NOT USED)

5 LONGITUDE (NOT USED)

6 TEMPERATURE (TRUE IN DEGREES CENTIGRADE)

7 TEMPERATURE (TOTAL IN DEGREES CENTIGRADE)

8 DEWPOINT (IN DEGREES CENTIGRADE)

. 9 JW-LWC (UNADJUSTED GM/M**3)

10 PRESSURE (MILLIBARS)

11 TRUE AIRSPEED (M/SEC)

12 ICING COUNT

13 CODE 1=STANDBY RECORD, 2=TRIGGER RECORD,

3=SENSING RECORD

14 ALTITUDE (METERS)

15-29 CHANNEL COUNTS FOR CHANNELS 1-15 OF THE SCATTER

PROBE

30-44 CHANNEL COUNTS FOR CHANNELS 1-15 FOR THE CLOUD

PROBE

45-59 CHANNEL COUNTS FOR CHANNELS 1-15 OF THE PRECIP

PROBE

ALL VALUES ARE IN FLOATING POINT FORMAT. REDCORD IS 59 WORDS

LONG WRITTEN BY A FORTRAN BINARY WRITE STATEMENT (WRITE(UNIT) LIST)

66

• -..

Page 69: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

0 co 0 0 0 0 1 50, COCOC o" 0. aw 1 ,nMi

(a w1 IM 0; - Il 9- 0 M t CO M1 in ma 1 M C'. M M Ist (00 in to r- m1 (N M~ in OD C, - in at Con 0 (N inl to Im N in f- a, V to to 0 n~

-; 0 (7) Go CD N t':n C4 0-1 C.0 4 4NN000Q C ,CC )-)m , 3 ) O ,LJ

0*q m "M m M- m mIs.~ v w. 7vv-vg T T* 7- 7-

%w m a 0 -(ea D 0 0 0 ( ( c ( ' q a D D 0 - ((lC O OV~ 01 1 1 1 0 0 0 00000q0 i 00--------------------------------------- . ' ,. NM t

8. . . . . . . . . . . . 7 . . . . . . . . . . . . . . . . . . . . . . . . .OCO0 C MI ,U oNt c0IO00--NC ,t -I-MM00--"NMI Dr

* ~ ~ ~ U 01 wI 0 0Cc l l ' C - - 000 CC)0 CD OD10 C- t. ..- .- t- - -r- .- - C.- r- C- t- C"l - tC- f. (I- W1 M1 Co M wD IMO

I. C WO IMP vC I Io ;; . ;-IC Won a;

ccC f-t Du" 7 4C

01

*0

01'

cc 11 11 1 11 1 C SCS .l l ~ l~ I

u-a

r- 010 WOMO M IM 0 0M000 0 in n'- 0inint i i 4'n n noLaioioi nt nm% nnni itt

I- i-

IL

W6

Page 70: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

I77

- - T0 ~ ~ ~ L l 0 ' - -C --- C?')2T-?--

IT LOO n0WI 1I n( n- Dwr -tn- nt n17c Dt n( o ~ no04 tnq ' .MC.f lITM0 )a - I - oL 7, ;m c -DuiL T, T- )I ;U

0r

* 0

0.:90 CO O' -. - 0

L e- M I N 0 I 0 0 1 1 Mm Me 0 MI M 0I 0 N 0 N N DM0 i I I - ?, D CN M I - t- I N N CD Oa IT

V5 10O -WU 7() Ci--0C Dr . n" N -00 Dr , n1 .cy-C4r

U) . . . . . .ON :J M Go~iDC M DMm0 C -I -r t :r S 1 U n L n LIL n

0

* 03-0 ---------------------- u

00

CD 3 t- M ; M7 w- m ; M O t- MO ; MT O - M ; MT ol m

03 .-w00 0 0 0 00 0 0 0 0 0 0 0 00 0 0 0 0 o o oa.

0 WWW CDCO W WWWWWWWWILULCLDWCD'OJWCDLLUAUJJL~J W DCOCOJ~jUJILU

00ui 0 0LnLn0 A ACA4A(A(ALn0 A )(ALnInV)0 M A 000 00 0tn0 000 00 00 00 00J Z Z Z Z Z Z Z Z Z Z z z z z z z z z z z z Z Z Z0 iwu iL UU lu jwu sw% uu Au j%LL W

* 0 68

Page 71: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

:91

4.3.2 Program ICEDMP

The purpose of this program is to generate icing data

output for inclusion within technical reports. ICEDMP pro-

duces output efficiently and quickly. It is highly modular

in nature which allows changes to be made quickly with a

minimum of additional programming. In addition, ICEDMP uti_

lyzed the XEROX hard copy device at the AFGL Computer Center

in order to facilitate the inclusion of quality, reduced size

(8h x 11) copy within technical reports.

ICEDMP uses the raw PMS-lD data tape for input and pro-

duces three distinct output files; one contains axial probe

data; the second contains processed data. Additionally, the

standard output file lists information singular to the parti-

cular flight being processed.

The following pages provide operating instructions and

samplq output.

69

.: - * .

Page 72: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.2.1 ICEDMP uperating Instructions ana bampie uuLtpu

* ~~WMAND DECK

* DPSIT300,TPI,CA500O0. ID I ID NAME a* ATIACH,LGO,ICEDMPDIN,ID* KAPLANF,FR= I .* ATTACO,TAPES,VCOCALS,]D- KAPLANF,MR= I .

* o VSN,TAPEIaPNSXXX. *

0 REOUEST,TAPEI,S,HIMT,NORING.- a FILE(TAPEI,RTU,lT:K,KRL1O24,NBLUIO24,RDzI lFSxl05) •

, LDSEZ,PRESETaZERO.. EXIT(U)*J • REUIND TAPE4,TAPE5,TAPE6,TAPE7. a* a COPY,TAPE4. ** COPYTAPES.• * COPY,TAPE6. **" • COPY,TAPE7. •

: * 719/9 *

a DATA CARDS a* *

• ID CARD *C cc 1-10 FLY ID IN FORN FLT EXX-XX a

• 11-20 FLT DATE IN FORM DD PON YR a* 21-26 PNS TAPE NUNDER IN FORM PMSXXX *1 52-59 PAS ON TIH IN FORN HH NM SS a

*- 4. a

NANELIST VCOEF - USEING ARRAY C(3,13)• USED TO OVERIDE VCO CALIDRATION FILE - SEE KNOLLID *

• NAMELIST JUADJ - USEING L AND ARRAYS NT(1O), XA(1O) AND SLA(IO) a• USED TO MAKE JU-LUC CORRECTIONS - SEE KNOLLID *

a OPTION CARD •a CC 5 ICLK -0 USE A/C CLOCK

', a I USE PAS CLOCK aa 10 IYEL - 0 USE TRUE AIRSPEED •

"I I USE CALCULATED AIRSPEED **[ * 11-15 IAVE - AVERAGING INTERVAL IN I5 FORMAT a

a . 20 PASSAVE - IF SET TO 1 IGNORE IAVE AND GIVE ai PASS AVERAGESa 25 ITNP 0 USE VCO TEMPERATURE CALIBRATION •

1 USE VCO TEMPERATURE CALIBRATION AND aa TRUE AIRSPEEDa 26-30 WRTS - NUMBER OF RECORDS TO SKIP *K .0 - SKIP NO RECORDS (DEFULT) a-• N - SKIP N RECORDS BEFORE PROCCESSING ANY DATA a

* 79-D0 CLOUD PARTICLE TYPE (DEFAULT a RAIN)

a PASS CARDS - AS MANY AS DESIRED IN TIME INCREASING ORDER aa CC 1-6 PASS START TINE IN FORM HNMSS •* 0-13 PASS STOP TIME IN FORM HHhMSS a1 • 20 UNEN SET TO I USE THE JU-LUC FOR ICE THICKNESS aa CALCULATION(DEFAULT AXIAL FOR EACH PASS)

' • 6171619 a• 70 S

a]

in i nlillli .-b a-lmi.l. -.l]lmn "

: '::" : . .*

Page 73: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.-.

4.3.2.1 Program ICEDMP (cont'd)

AXIAL PROBE OUTPUT (TAPE 5) - See Appendix 23B

FLIGHT ID

FLIGHT DATE TOP OF EACH PAGE

AVERAGING INTERVAL

Z TIME - START TIME OF AVERAGING INTERVAL

CHANNEL - RAW AVERAGED AXIAL PROBE COUNTSCOUNTS

CONC - AXIAL PROBE NUMBER DENSITY IN CUBIC CENTIMETERS

15 COUNTSiCONC = E COUNTS

i=l SCATVOL CM**3 ]

COUNTS. = NUMBER OF PARTICLES FOR CHANNEL i

AXIALSCATVOL = [CROSS SECTIONAL AREA (M**2) xAIRSPEED(M/SEC)]*1.E-6

DBAR - MEAN DIAMETER OF AXIAL PARTICLES

15t (COUNTS i )(DIAM.)-- i=11 1

DBAR 15I COUNTS. (TOTAL COUNTS)i=l 1

DIAMi = CHANNEL ADJUSTED CENTER DIAMETER

DBARV - AXIAL PROBE VOLUME AVERAGED PARTICLE DIAMETER

DBARV = ((ALWC*SCATVOL)/(0.523598E-3*TOTCTS)) 1/3"I.E3

71

Page 74: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.2.1 Program ICEDMP (cont'd)

ALWC - AXIAL LWC (G/?I**c)

4,%

SCATVOL - AXIAL VOLUME (M**3)

TOTCTS - TOTAL COUNTS

0.5235988 = 7/6 x p (WATER DENSITY l.E-3 G/MM**3)

DMAZ & DO - 95% AND 50% AXIAL MEDIAN VOLUME DIAMETER

The diameter at which 95% (50% of the water is contained

in channels less than this size; 5% (50%) of the water is

*- *"contained in channels greater than this size. Consult KNOLLID

documentation.

ALWC - AXIAL LIQUID WATER CONTENT (G/M**3)

15ALWC = p E CONC. DIAM.'

,- .t)1 16- i=l

S-VOL - AXIAL SAMPLING VOLUME (CM**3)

S-VOL = CROSS SECTIONAL AREA (M**2)xAIRSPEED(M/SEC)xl.E6

"':" 72

Page 75: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- - " .- .- --. . -- " .. . . - -. .-- - - - ' - .. - ' ' -* .'

' . ' .- " - ' .

4.3.2.1 Program ICEDMP (cont'd)

CLOUD PROBE OUTPUT (TAPE7) - See appendix 23C

FLIGHT ID

FLIGHT DATE TOP OF EACH PAGE

*' AVERAGING INTERVAL

Z TIME - START TIME OF AVERAGE INTERVAL

CHANNEL - RAW AVERAGED CLOUD PROBE COUNTSCOUNTS

ID-C - CLOUD PROBE NUMBER DENSITY IN LITERS

15 COUNTSiiD-C = VOL. x 1.E-3

i=15 i

COUNTSi = CLOUD CHANNEL COUNTS

VOL. = CLOUD CHANNEL VOLUME (M**3), 1

CHANNELCROSS SECTIONAL AREA(M**2)xAIRSPEED(MYSEC)

DBARDMAX SEE ABOVE (USE CLOUD INFORMATION)DO

CLWC - CLOUD LIQUID WATER CONTENT (g/M**3) (SEE ABOVE)

TLWC - TOTAL LIQUID WATER CONTENT (g/M**3)

TLWC = ALWC + CLWC - (LWC CONTRIBUTION OF ANY OVERLAPPINGCLOUD CHANNELS)

PCT CLD - PERCENT CONTRIBUTION OF THE CLOUD LWC TO THE TOTALLWC

PCT CLD CLOUD CONTRIBUTIONAXIAL & CLOUD CONTRIBUTION x 100

73

Page 76: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* , 4.3.2.1 Program ICEDMP (cont'd)

DEWP - DEWPOINT (C)

IF FROST > 0 THEN DEWP = FROST

ELSE

DEWP = 9.84E-4*FROST 2+1. 1305*FROST-0.012

EPT - EQUIVALENT POTENTIAL TEMPERATURE (KELVIN)

EPT = PT[LWs IC pT ]

WHERE T = TEMP °C

TK = TEMP OK

D = DEWP °C

DK = DEWP OK

P = PRESS(Mb)2857

PT = TK(1000/P)" POTENTIAL TEMPERATURE (K)

L = 4.187(734.-.5 TK) LATENT HEAT OF VAPORIZATION (JOULES)

WS = .622(e/P-e) SATURATED MIXING RATIO

e = VAPOR PRESSURE (Mb) AT TK

Sv = .461 (JOULES/K MOLE)(SPECIFIC GAS CONSTANT FORWATER VAPOR)

C ~ = 1.005 (JOULES/g °K) SPECIFIC HEAT OF DRY AIR ATp CONSTANT PRESSURE

T = DK + (D2 (T-D/(D2-1543.307T)-C ISENTROPIC CONDENSATION TEMPERATURE (°K)

CONC - AXIAL NUMBER DENSITY - (SEE ABOVE)

ALWC - AXIAL LWC (SEE ABOVE)

JW-LWC - JOHNSON-WILLIAMS LWC (g/M**3)

JW-LWC (CALIBRATED VALUE) 200JW-WCTAS OR CAS

When desired JW-LWC may be adjusted based on an ALTITUDE

profile - consult KNOLLID documentation for more information.

74

~~~..................." 1........... """" '' ./ " ,& , ...- "'-; .. . - -

Page 77: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

'.4

4.3.2.1 Program ICEDMP (cont'd)

ID-C - CLOUD NUMBER DENSITY (SEE ABOVE)*ICE-TK - ICE THICKNESS DERIVED FROM THE AXIAL LWC PER

NAUTICAL MILE (USES THE DENSITY OF WATER)

ICETK = ALWC*.185325

* AN ALGORITHM HAS BEEN DEVELOPED TO DETERMINE WHEN W4E ARE

NOT IN AN ICING STATE. WHEN THIS OCCURS THE WORDS "NO ICE"

REPLACE THIS CALCULATED VALUE.

TO BE IN AN ICING STATE ALL OF THE FOLLOWING MUST BE TRUE:

1) TRT < -. 50 C

2) JW-LWC > .01 g/m**3)

3) NOT PASS AVERAGING ONLY

A) IF ANY OF THE FIVE SECONDS AFTER INITIALLY REACHING 6000COUNTS (FOR EACH CYCLE) ARE CONTAINED IN THE AVERAGINGINTERVAL

OR

B) ANY VALUES WERE BELOW 6000 OR GREATER THAN 9818 (IN* HEATING CYCLE)

OR

C) 6000 <= ALL COUNTS DURING AVERAGE <=9818 TEST AVERAGESLOPE DURING PERIOD. IF 2 'POINT AVERAGE OR LESS IGNORETHIS TEST, ELSE BREAK INTO 5 POINT MULTIPLES (4 OR 3SECOND SEGMENT IF NECESSARY) AND USE A DERIVATIVE ROU-TINE. IF THE AVERAGE DERIVATIVE >= 25 THEN ICEING.

4) PASS AVERAGING ONLY - THERE MUST BE AT LEASE ONE ICING CYCLE

ICING RATE METER- PASS AVERAGING ONLY

CYS/NT = NUMBER OF ICING CYCLES PER NAUTICAL MILE

CYCLE COUNT*1853.25(# OF SECONDS OF PASS)*(AIRSPEED)

CM/NT = CYS/NT*.05 = THICKNESS OF ICE BUILDUP PER NAUTICALMILE

75

Page 78: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*.-

4.3.2.1 Program ICEDMP (cont'd)

PROCESSED OUTPUT (TAPE 6) - See appendis 23D

FLIGHT ID

FLIGHT DATE TOP OF EACH PAGE

AVERAGING INTERVAL

Z TIME - START TIME OF AVERAGING INTERVAL

ALT - STANDARD PRESSURE ALTITUDE (METERS)

ALT - 44307.69 - 11872(P)0 .19 0 2 84

P - PRESSURE (Mb)

STRAIGHT CALIBRATED VCO

TAS or - TRUE AIRSPEED OR CALCULATED AIRSPEED (KNOTS)1. CAS

TAS - STRAIGHT CALIBRATED VCO

CAS = ,/1516.4(TRT+273.16) MCHSQ + 3v,(TRT+273.16)/P

P = PRESSURE (Mb)

TRT = TRUE TEMPERATURE (C)

MCHSQ = MACH SQUARED NUMBER

5 DELP 0.2857143_1

"1 DELP = DELTA PRESSURE (Mb)

= ((0.001865IAS)-0.060149)*IAS+3.96965

IAS = INDICATED AIRSPEED (CALIBRATED VCO IN KNOTS)

TOT T - TOTAL TEMPERATURE (C)

STRAIGHT CALIBRATED VCO

TRT - TRUE TEMPERATURE (C)

TRT = (TOT T+273.16)/(1+0.1992*MCHSQ)-273.16

FROST - FROST POINT/DEW POINT (C)

STRAIGHT CALIBRATED VCO

76

Page 79: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

7. 7e 7. 77o

IL IL I'. mu

IL a a .- u

*~~~ mq 41~~~ooeurnn

Iunmmt

It : cocoaZ 0 uit0s in m, 44C C D Dw Dmu a a in 44umr m 0 0D OurI0 0 r)~

mu 0 in 44 9A0 o o iiI 0 o161.0 0 0 00 in 00lWurn U mm au nV)murn il 05 in thI ZZZZZZZ at0 as m

al u WW W 8* ng n z 0z0000 inm

CD Oo CO If of 1

mu 30 4 w 0 -N 04 urn4

ar 0 inmm 3.4414 0 1 C*

muu a-- C. a 0 0mIt u lu a. a. 0 0 0murn 0. w 4 0 0 0mm

I0 00 0 V) onu 0 00 VCOC D 0 110111 #A

-m - 0 -. - --D - ISO ('4 ('O 0 to0 0COr)n 0 0 ED ID 4(4 (' murn 000 0 CD u)10 40) Ci?' u

ur si il ~00000 IfIfummw w w cc 0r m

urn It Wr . 2 C 00 OD 0ODuOn CD CO If 0 04 m

Mu -O 0.CLIL 00000 n mCOn - nDn 0 0 4) 4) 1) t uu O CD CO r- 11n o i 0 C)i muforn D C C LC.m C 0 L9 0 0 - - - -ni -n -oo o -n0

m m - 0s I( n e n ..- 0 0a g

u r w w ma. 4 4 4 4 4 mlm m w i i l

u mC Itn w~4 4 e

vn CL L ') M *6 06 006murn~ ~ ~ ~~O as 0. o.It n If -. Ch i. 0. m

-~~~~~~ mm - CV0 ahuo.*g*o. 5 I E 5 0 0 8mm mmCq

Cmm m4 C14 C

Co of

It a 0 It of Of of m1m a If&* && w a 4 4 If If

go O a 1 t tI t 0 N1 f i 1 Im m ci77

Page 80: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

I- w0 M.

w -

0

U 4.1

xI-

a- z

>. CO) .

9 0 zo-1

in W i

0064

* 0.-

in~~ w w cocl

040 0 0 -C

In 4 <tLfI(D 4 z -. 4

C4 r t-i-0

65to 0) L) 4 41,00c 0 0 W uia

In M Il CrOlD~ 0 04

-~( -so $A - 4 4

CID D. oo o00 0 a 4ZC'x

a, 0000000I 0a 0 0 -0

O C a0000000n00000 0 W I

CNI~~~u owco w o o o; C

-LJ in ci-> 0000UJ

0 ~ ~ ~ ~ i UinZ 0- iI

* ~ ~~~~ Cr WtOiWW iWWlJW WWI- f 4 00 00 00 00 01 .)-t Z -*

4 -. 0000000000 01 Wn i

b 00 0 0 000 0 " Zr 00) - *. 0 0 0a - 000 in 0:3 000 i('4 'I winO e0C0DIn 00 40l A 0 0 0

Q In 0 0 0I) ii I.- Cr 0 -C. CO 0 l-41 c D 0 ; o,00, C(q)o

I. 40 00 L- 0l M VD i0 C4U. u. 40 v n ols.-C x U- -1 0 in in In to W 0

-0 I-l 016) 0 U 0 0Z

0) 40 000 0 01 WI78

Page 81: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

40 q 4now 0q w

uecooe4c390000000

0C5 000-; C

X t- 0 M -0 4(

ccI c ( C0 0 0 4

U V In 0 0o0In

qC 0000000~

U0 0000000

q0000000

S0000000

Cd 000000

- C4)

I--I

In z t-0000-0

*4c 0

zz

u 4

0I (400000-

'C1-I noo-

co N4 4 C4

079

Page 82: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-O 0000000

SL 0

um~ o0000C

um) 000000039a 0000000

00 00000

CIA 0 00 00 0

crI 14000000.c m

0 '000000

0- 000000

00000000

10000000

(' 0000000

0000000

S0 0 0000000

z -

00000000

L.-

* 4 0

Page 83: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

I~7.

us

o -in 0

4- NO00COQ0W2 qDOCOV-0

N. 0000000

co

0 0000 0

M-1OODMIOO

>- 00000-0

000 0,

62 0000000

a 0000000

0.m 100000

x- 1 000000

-z0

01) 600 O40 CO01

> 0

0 3 - Z ZZ

4 4 -9q C

04 M

MI

U) . ... 22*

0 -C m- - -c

6L-Al 009600O0f

10- - CY1M111 ("M O N

0. 6-U flq('q.-81

Page 84: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.3 Program ICEDERIV

One facet of ice detector analysis is a study of how

the ice detector VCO values vary with the amount of water

observed by the JW-LWC and the PMSlD AXIAl devices.

At first, the analysis concerns itself with the rate at

which L' . VCO readings vary; in other words the derivative

of the ice detector VCO values. The first problem with nu-

merically calculating a derivative is in choosing the neighbor-

hood over which it is to be computed. The second problem is

that a derivative calculation is extremely sensitive to minor

fluctuations in the neighborhood in which it is computed.

The solution to the first problem is to calculate the

derivatives over various intervals and deduce the best one

to use. The second problem requires a smoothing function to

be applied to the data and then utilize a derivative method

to realize the rates of change.

In APPLIED ANALYSIS, by C. Lanczos (Prentice Hall 1961)

a method to smooth the data and to compute the derivatives

is given on pages 321-324.

The method calculates a smoothed polynominal of degree

2K (where K is the number of points on each side of the point

at which the derivative is to be computed) and then develops

its derivative. The general formula for the derivative of

f at x with F neighbors on each side for equally spaced one

82

C7:

Page 85: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

", 4.3.3 Program ICEDERIV (cont'd)'.

second data is then

+K Kfx) =E af(x+al)/s Z a2

a~=l

The above formula works for K > 2.

This method requires the point which the derivative is

to be computed to be in a neighborhood of K points. Thus for

the first two and last two points the general formula fails.

The way to derive these values is to compute a least

square second degree fit and use its normal equations:

. f'(l) = (-21f(lI+13f(2)+17f(3)-9f(4))/20':"'if'(2) - (-llfll)+3f12)+7f(3)+f(3))/20

The last two points (xmax, xmax-l) are comparably calculated

fl (xmax) = (21f(xmax-13f(xmax-l)-17f(xmax-2)+9f(xmax-3))/20

* . fl (xmax-l) = (ill(xmax)-3f(xmax-l)-7f(xmax-2)-f(xmax-3))/20

ICEDERIV was originally written to accept an ICEEX

output tape, and for each data point calculate the deri-

vative, using 2, 3, 4, 5, 6, and 7 neighboring points.

The table printed by ICEDERIV is broken at every new icing

.. cycle and contains the ICE count, time and derivatives.

.. * .

• 83

, o, •

Page 86: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

..3Program ICEDERIV (cont'd)

Since a comparison is to be made with JW-IWC or PMS 1D

AXIAL these other two parameters were added to the table.

These data sources are also subject to one second "noise"and were smoothed. A five point smoothing formula is given

in APPLIED ANQALYSIS pages 316-320.' The reasoning used for

five points and not a higher number is that these LWC devices

give "INSTANT" readings and as such they do give verifying

answers from second to second. A longer smoothing intervalwould hide the data behavior while a short period would not

sufficienitly smooth the sample "noise".

For any given point x.i the smoothing formula is:

fsmooth (x 1)=[-3fs 1- -i12f (xi-l) +17f (x 1 ) 412f (x i1 ) -3f (x i 2 ]/3 5

d for the first two points f~x) f(x2 ):

~smooth Ix1

f smooth (x 2) x2 41xI 25Af 1/

where:

*fx 1 ) f(x 4)3f(x 3 )+3f(x )..f(X1)

Afx) fx)fx 4 )+f(x)4f(x 2)+f(X)

84

Page 87: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.3 Program ICEDERIV (cont'd)

f or the last two points f (x MA), f (mx1

smooth xmax)1 xaxcmax xmax

where:

f(x ) =x f(s mx)-4f(s mx )+6f(x xa- -fxxa-)fXa-

All the above equations in addition to the liquid watercalculating module (for the JW-LWC and AXIAL probe devices)

from KNOLLID were encoded into ICEDERIV.

An additional feature of the program is the calculationof total pass LWC. Subroutine SIMPSON calculates the totalwater content measured during every icing cycle. SIMPSONuses two separate methods. SIMPSON's and the trapezoidal

rules of numerical integration are used (see: "Introductionto Numerical Analysis:f -by F. B. Hildebrand, pages 91-95).Totals by both method~s Are calculated for the following: jy'-LVWC,JW-LWC smoothed data, PMSlD LWC, and PMSlD LWC smoothed data.Answers are presented at the end of the output for each cycle.

Operating instructions and sample output follow.

Page 88: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.3.1 Program ICEDERIV operating instructions& Sample Output

CONTROL CARDS

DPSI,CM100000,T400,NTI. IDW ID NAME

ATTACH, CRT, CRTPLOTS,MR= 1, SN=SHARED.

LIBRARY, CRT.

REQUEST,TAPE39, Q.* VSN, TAPE I=LYCXXX/NT.

REQUEST, TAPE1,NT, E, NORING.

LGO,PL=99999999.

EXIT(U)

DISPOSE, TAPE39 ,FM.

REWIND,TAPE2,TAPE3,TAPE4.

COPY, TAPE2

COPY, TAPE4

COPY, TAPE3

7/8/9

6/7/8/9

* OUTPUT FILE FROM PROGRAM ICEEX

DATA CARDS (AS MANY AS NEEDED IN TIME ORDER)

CC DESCRIPTION

1-2 MIN-PMS PROBE MINIMUM CHANNEL # TO USE

(12 FORMAT - DEFAULT ZERO)

3-4 MAX-PMS PROBE MAXIMUM CHANNEL W TO USE

(12 FORMAT - DEFAULT 15)

* 11-16 START - PASS START TIME IN FORM HHMMSS

* 18-23 STOP - PASS STOP TIME IN FORM HHMMSS

. * 31-35 FCYC - FIRST PASS CYCLE (15 FORMAT)

" * 36-40 LCYC - LAST PASS CYCLE (15 FORMAT)

46-50 PLIT - PASS IDENTIFIER (A5 FORMAT)

* either or both pass times and cycle numbers may be used.

86

Page 89: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.3.1 Program ICEDERIV Sample Outputs (cont'd)

A. Standard Output File for every cycle

1. second by second listing of the following parameters

ICE COUNT

2 PT RATE• JW-LWC

* JW-LWC (SMOOTH)

• PMSlD-LWC

* PMSlD-LWC (SMOOTH)

PMS MVD

DEWPOINT DEPRESSION "TRUE TEMP - DEWP)

PRESSURE

ALTITUDE

TRUE TEMPERATURE

TOTAL TEMP

2. Simpson's and trapezoidal rule calculation for each

of the four LWC's above (*)

3. mean values of DEWPOINT DEPRESSION through TOTAL TEMP

in the list above. Also the DEWPOINT DEPRESSION and

TRUE TEMP standard deviations.

87

m .. 0 o - .oo. °°o° - .. . . o.- . . _• .. . . , •.. . . . . .,

Page 90: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 4,.3.3.1 Program ICEDERIV sample outputs (cont'd)

4. Calculated least square fit lines and correlations

of the following pairs:

JW-LWC - PMS-LWCRATE - JW-LWCRATE - JW-LWC (SMOOTH)RATE - PMSlD-LWCRATE - PMS1D-LWC (SMOOTH)

B. TAPE2 Output File

Cycle summary data file containing one line of data for

each cycle above.

C. TAPE3 Output File

Pass summary data file containing averages for every

cycle within a pass.

D. TAPE4 Output File

Contains a one line summary of least square fit line

coefficients for every cycle

NOTE: B and C above contain most of the parameters found in

A-1

Additionally ICEDERIV produces graphic output on 105mm

microfiche. The following plots are produced.

A. FOR EVERY CYCLE OF A PASS

1. Log normalized number density vs channel size

2. Scatter plot of PMS lD-LWC (SMOOTH) vs channel size

3. Scatter plot of JW-LWC (SMOOTH) vs channel size

88

L

Page 91: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.3.1 Program ICEDERIV sample outputs (cont'd)

4. time plot containing: rate, PMS ID-LWC (SMOOTH), and

JW-LWC (SMOOTH)

5. rate vs PMSlD-LWC (SMOOTH) scatter plot

6. rate vs JW-LWC (SMOOTH) scatter plot

B. FOR EVERY PASS

1. scatter plot of JW-LWC vs PMSID-LWC

2. Log normalized number density vs channel size

8

...........-.

.. . .. .. . . . . . . . . . . . . .~

Page 92: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

nc

g g 4; 4 D

* 0

:) ash C) C1 4

lIA P_ ;,04L4

0 to0Dt0 u 0 0 44

0.- . N ,

z t& -h- N .uz . *SI t- N. 0

3 CL C)rW W now0

N -M *-

41 Of C1 x

-~~~3 h-u It4fl 00j * 1

WLLI~~ IfII IA

o % - ).

am. . ;a;40L 0 4tiI/Vh IA SA 4h

* 4A V ~ t C1 003

UIflf ai M -A4Mn 000 2AI .;a

49 30. C1C 0. CL0

o0 M. 0 cc0 0 00

0 -23 M0q

' ~ 0'q0In 0 l ;C 0* 0 0

0~o- 00 0 0j cc W 0 4lc c- oo us 0. M 0 0 0*v 3000 01 0t %0 M MtC4 -Jo-J 1 E

* a 0 -1 ccor orcc o

UZ M-s I* - - 0o 0 q.-If cc0c -M eC%a t3 to 0 N 0j 0 +' Z 49 0 *uZ 0Wz 0u#a1/ faq0 0 *k 090u

I- 0j 9AfAL & 3'A- o -

- 90

Page 93: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

z a-I-<U - - - - - - - - - - - - - - - - -- - - - - - - - -

No tt Vr 7Tf VVV r00M-t 7N0 7 L Nr-7--N Tt -XL,1 r i" - Ll Zr n .j nzt , yir rmr n ( D .)m(N -7cr )n- ,xi .r ,m.c. , - - -. a ,oovc oz oc:;o0C . r mC

N - n7 Cv o~ c~ NCt lci( q" vt l N(0NI NC. vt . nCym M( I vr . vV N

WW M wN NO VM NNV0~hD N ~ ro m-w oVI00v~o

LaiUA 0 0Cm- -0 N-00 v 0 00 M0 0- 00 00 00. . . . . . . . . . . . . . . . . . tn . . . . . . . . . . . .

30. MMI (9

ON4g MI I I ~ t ~ S ~ ~ ~~ , g~ 0 MV eaCD WO OS0i I 4 O O W VWVVC- N -VCLa. . . . . . .

-Wq in in(cM-0v qOOOqv -00 qv m~oo NO.-NOW - Oevmcw.

2 : J I I II I I II SII II C;11 I C; CI I I4 44 I 4 c;-(;

0.N NO q wwV VVV~Dv------w -t %Nt -Nc Nt -t -t -t 0000000000000w0-

i. oNmvm NNO 00 w O M O M4 O NN~w mt 0WO9D0wn ~oi~.

* 0"U *4 l)k*0 ; * 0 l c ;l r C ,U zU c -Wlt ;t'V D ,W

NZ N W44

N :7 M.. - I f 0r .C1 tn N 4v.,......-V. MM.*

U).0 . .I O 4 -- . n .- . . . -. . . . . .~OI~l * 4 4 9 4 4 4 .

fpo*o w N_ in oo NOO0 -O~OMNMm UmNm OM MOO N W OOOOO

0- Nm U 0 0M N - 1) N WD UI) 0D) M 0 0 - in M V) 0 - M V)10 M) 0 in 0i M) in N - 0 0 0 0 0 0 0 0 0 0 a% W - 0 M)

I. OO OV M"O-OOOOO-0-0V. 0 0 0N000.-ON -N loOOOq W N0o 00 0 0 0 -00)

MONO 0NC-flifl -.- If0f- NMl-N"N N -.-.- N .-

ID N n ID W )- m N 0) m- N v0 N - U)-t )N )qI - 0 t Dc)I in) ID U q NO M0 V, M f- W00 ID

a W MO N)0~~iN v 1-00 O-Nr')g)In W00 ON ;;Moo - N(0N0(0 NNND0)0)0oo -CVCV

N M -N M 0 M 1.- 0 W M W - - N N N V V N M N N M to N N W N N N N N N W V M - N N N N 0 N W N

U) N Nqqquqqq44

N C N NY N ?v N Ny Cv N Nf N Nl Nl N4 N Nl N' N N N NI Nl N Nv N N4 e N N Nl N N4 N N N1 N1 Nm N N1 N1 N1 CV N NI N. N N Nv Nv N

Uj N) Nm4tqN Cd )N DN.o)qMI0vD.o(0Vqt-.)f V ( q -VVIninC in In Din

4 ma>. z

11.91

Page 94: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

9 -0O N- qclM ,r- --q q 0qk(,C iiMFLn 0 00000000I'.-dqo0

coooooooooooooo00000000000 00

1- l MDTD7 CC4 - ID C M L V- M V - W0O OOOO0 OOOC1(OrtUou r

a sA -( 0 (a 0. Me& 0' (0 -O -f -I0C SC . O0C sC Oa '~e s0~ se ~6/10.0 00000000000000000000000000000000000000000000000000

0 00000000000000O000000C--- O000000*0c-0O00000oO0o

Mmt0W 00 - -L ~ nNx--00e w 0m0000 000000no woo

- 000 ooo0000000000000o000000000000o000000000000000-.

o 1 0 00000000 0u I P sqlr- o -o -- eN~mlrc ~ o-o oooo oe0- o,

I I 1 t 1 ' 010000000011I 0

W 3uJL -0C0-000l-0O-000ed00000000000u000000000000000000o.0

I- UA -0-0000000000--00-000000---OOOOCoe--00000000000000.-C. 000000000O000O000000000000000000N- 0000000000o0000o

uJ (n go I I I 1 -010000000011I 0

0 c4M M _ -77- I I -Imn) O in0 q0s- 0-0a00 00 000sjCNc)o m

- 00O0000O000000000000000000000000000000000."OO0OOO-

an~ 10 000 ; '00000; 04 LO-C41,- sI oa,( -I , M0I..-0r, -0 -N- nC -M0 r0N00000000C4C-r

I- I I I I I OIOO1O0O00II

0/ u 0000000000000000-000000000.-0000000000000000000000.-

- ttD1 t I III No Ma~ll 1181 t-I I 10000000000 06r O

0 00-00-0--0-0"--ecve0-0o0.N..0ooo-OOOOOOOOOOOOOO

In ; I C; I OI O OO O I 0;001 *,

- 00000000000000000000000000000000000000000000.OO-

o 10 00000000 0ON,;W-N O N N;;D qNNw o (NM~D; o o 0 0m:m

uocr M 4w ( -MMo T M,10 - tm o eo o O- W 0 0 0 0 n

3 II OIO00O O IOo

in1 u C(I 000 00000 0000- 00000 O0-00 000o 9oooo0000000 ...

uJ

0 00000-0-------- - - tc--- c-,.00N4 cc40 0 0 - 0 00 0 0 0................................................................................... ..................

P-

N 3-C W-VM1 D0i n00000000G0CN T0VMC lMV-WVt , MNN- NC mvM0I ,00000000000VL

vo momwowmrWCOwo00oWwW00oooo fo-,or

U00 oI u I

3-L 0 N M- C4qW - f- MMmm w000 t- -- C - Mm - wm , wM N

OA up -

.. C'I00000000000000000000000000 NO000000oooooooooooo

* . IN.sa

92

Page 95: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

VV 600

C4 C4 ct Ci ci

CLi C-4 M

C% V) Ci MIn

3B MWil I I I

00

W cc - 0 In CL

*J CL CV.. C% I l M

0, j cl v Cl -; v;

-C C. f- vl Ci V 0-

IV cob V t- toI

o;. t z C l C;

in - O I V -

1.-a9.- l In In In

a ai . . .

a-. l in C

.i c V M o M

11W t- 40 MI MIvccl

M 30 - - -I - C4

(n ~ Ct CV IM 4mC0 O m a, ; " 0

.-C

> l0 0 m0mVlAW cm - m 0 0

_j 0. t- 0 CO Cl)

1.-~ - v

in Wln 0o MI

4l *Ci Cis C14 ev

m ql 0 -0 cv

M 0l Cl 0I CV

qw In Cl - al

0. Z-

49

Page 96: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.4 Programs PLTEXTRACT & PLTEXTRACT2

Program PLTEXTRACT produces pen plots which contain icing

data on the top half of the paper and two lines of VCO plots

on the bottom half. The VCO data is triggered by icing cycles.

VCO buffers are filled only when in an icing cycle. The buf-

fers are then plotted and flushed when one-half hours' worth

of data has been stored.

PLTEXTRACT was written as a means of verifying the extrac-

tion program (see ICEEX). PLTEXTRACT plots the extracted

data on the same scale as PLTICE. This enables the PLTEXTRACT

to be overlayed on the PLTICE graph and visually check tieextraction process. Processing was performed on the E79-49

06 DEC 79 flight (the benchmark data base) with no difference.

.*-. The usefulness of the PLTEXTRACT plot is more than simply

data verification. VCO information or various LWC parameters

can be plotted at the bottom and LYC scientists can use this

information to help them derve empirical relationships.

In addition, PLTEXTRACT2 was written to disregard thepresence or absence of icing cycles and only plot two VCOparameters. This is an important tool which allows the JWdevice adjustments, made by LYC scientists to be checked.

"*! PLTEXTRACT2 uses the same KNOLLID output tape as input as

PLTEXTRACT.

Operating instructions and sample output are provided

on the following pages.

94

"o..

Page 97: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.4. 1 PLTEXTRACT Operating Instructions

CONTROL CARDS

* DPSI,CMl30000,T500,NT2. ID# ID NAME

ATTACH, LGO,PLEXTRACTBIN, ID=KAPLANF,MR=l.

ATTACH, PEN, NEWOFFPEN.

LIBRARY,PEN.

REQUEST,TAPE39, *Q.

VSN,TAPEl-TAPE NO/NT. (ICEEX PRODUCED OUTPUT TAPE)

REQUESTTAPE1,NTNORINGE.* VSN,TAPE2-TAPE NO/NT. (KNOLLID PRODUCED OUTPUT TAPE)

*: * REQUEST,TAPE2,NT,NORING,E.5LGO.

.7/8/9

DATA CARDS

CARD 1

COL 1-10 FLIGHT ID (FLT EXX-XX)

11-20 FLIGHT DATA (XX XXX XX)* 80 set to 1 when tape2 available

CARD 2

COL 1-12 PLOT #1 LITERAL

CARD 3

COL 1-12 PLOT #2 LITERAL

CARD 4 (FREE FORMAT IN FOLLOWING ORDER)

PLOT #1 ID NUMBER

PLOT #2 ID NUMBER

PLOT #1 MINIMUM VALUE

95

ml ,., ; : ,, . .. . -- . . ., . - . - _ . .. . . . ..-

Page 98: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

Plot #1 MAXIMUM VALUE

Plot 42 MINIMUM VALUE

Plot #2 MAXIMUM VALUE

6/7/8/9

When tape 2 (KNOLLiD data) is not available change NT2 to

NTl on the job card.

Remove the tape request cards for tape 2 and set COL 80

to zero of data card 1.

96

Page 99: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

fD-R133 557 DEVELOPMENT OF THEORETICAL MODELS AND ANALYSES OF THE 213MICRO-PHYSICS OF CL..(Ii) DIGITAL PROGRAMMING SERVICESINC WALTHAM MA L E BELSKY ET AL. 31 MAY 83

NCASIFIED AFGL-TR-83-8133 Fi9628-8i-C-0141 F/G 4/2 NEhCAS oEE3 hhom omisofllmfflmloflflfflfsmhohmhhhEmhEsmEohmhmhEmhh

I fllfllfllfllfllfllflI fflfflffllfllfllfllf

Page 100: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.. 61

la

9.

1 iiiii

MICROCOPY RESOLUTION TEST CHARTNATIONAL BUREAU OF STANDARDS-1963-A

4 . o ' , % ' ' . ' ' ' " . ° % ° ' ° ° ° ' " . " - ° ' ' % - " • .- . . . . - ._ . • . - , - o - - - . - . - - • - • - , - . .. .

Page 101: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.r __ " . .. . . . ..

PLOT ID CODESAVAILABILITY*

NUMBER DESCRIPTION TAPE I TAPE 2

1 TRUE TEMPERATURE YES YES

2 TOTAL TEMPERATURE YES NO

3 DEWPOINT/FROSTPOINT YES YES

4 JW-LWC YES YES

5 PRESSURE YES YES

6 TRUE AIRSPEED YES YES

7 HEIGHT YES YES

8 ASSP PROBE LWC NO YES

9 CLOUD PROBE LWC NO YES

10 PRECIPITATION PROBE LWC NO YES

11 TOTAL PROBE LWC NO YES

12 LOG ASSP PROBE NT NO YES

13 LOG CLOUD PROBE NT NO YES

14 LOG PRECIPITATION PROBE NT NO YES

15 LOG TOTAL PROBE NT NO YES

16 ASSP PROBE DO NO YES

17 CLOUD PROBE DO NO YES

18 PRECIP PROBE DO NO YES

19 TOTAL PROBE DO NO YES

20 ASSP PROBE DO TIMES LWC NO YES

21 CLOUD PROBE DO TIMES LWC NO YES

22 PRECIP PROBE DO TIMES LWC NO YES

23 TOTAL PROBE DO TIMES LWC NO YES

TAPE2 (KNOLLID OUTPUT TAPE) IS USED IF COL 80 OF ID CARDIS SET - ELSE DEFAULT IS TAPE1 (ICEEX OUTPUT TAPE) WHICHLIMITS AVAILABILITY TO FIRST SEVEN OPTIONS.

97

Page 102: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.4.2 PLTEXTRACT2 Operating Instructions Ana Output

CONTROL CARDSCLASS.CM1300005 T200.NT1. ID 0 ID NAMEATTACH.LGOPLTEZTRACT23IND IDuX(APLANF,MRl.ATTACH.PEN.OFFLINEPEN,S~sSHARED.

LIBRARY PEN.REOUESTTAPE39.0 0.*VSN.TAPEZ=TAPENOINT (KNOLLID PRODUCED OUTPUT TAPE)*EOUEST,.TAPE2,NTNOR ING *E.

LCO.7/8/,

DATA CARDS

CARD 1COL 1-10 FLIGHT ID (FLT EXX-XX)

11-20 FLIGHT DATE (1X-IXX-XX)CARD 2COL 1-12 PLOT 01 LITERALCARD 3COL 1-12 PLOT 02 LITERALCARD 4COL (FREE FORMAT)PLOT 01 ID NUMBERPLOT 02 ID NUMBERPLOT *1 MINIMUM VALUEPLOT 01 MAXIMUM VALUEPLOT 02 MINIMUM VALUEPLOT 02 MAXIMUM VALUE6I7I6I9

98

Page 103: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.3.4.2 PLTEXTRACT2 opier~tiflg Instructions And output (cont'd)

*PLOT ID CODES

NUMBhR DESCRIPTION

1 TRUE TEMPERATURE2 NOT USED3 .DZWFOINTIFROSTPOINT4 JW-LWC5 PRESSURE6 TRUE AIRSPEED7 HEIGHT8 ASS? PROBE LWC

9 CLOUD PROBE LVC

10 PRECIPITATION PROBE LWC11 TOTAL PROBE LVC12 LOG ASSP PROBE NT13 LOG CLOUD PROBE NT14 LOG PRECIPITATION PROBE NT1S LOG TOTAL PROBE NTIt LSP PROBE DO17 CLOUD PROBE DOis PRECIP PROBE DOit TOTAL PRODE DO20 AISP PROBE DO TIMES LVC21 CLOUD PROBE DO TIMES LVC22 PRECIP PROBE DO TIMES LVC23 TOTAL PROBE DO TIMES LWC

*NOTE: TAPE2 (KNOLLID Output Tape) Is used. Column 8Oof ID card must be set.

99

Page 104: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

C.CD

00.rcn

00

IC,,

a iea

Page 105: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

7 17.. r -.... 7 7. 772 77777 -:7-7<vi

4.4 PMS-2D Data Processing

DPSI designed and developed a set of programs to analyze

the data obtained from the PMS-2D Knollenberg devices. The

details of this design were described in reports from pre-

vious contracts. A new program for automatic particle typing

developed during this contract is described in the next sec-

tion.

The 2D particle display system is a valuable source of

data to LYC. Data was collected from two independent systems

(one each on the C130E and Learjet) and recorded on magnetic

tape using a nine-track Pertec recorder. Only the C130 tapesare processed on the AFGL CDC 6600 computer. PMS-2D data were

collected aboard a Convair NASA 990 aircraft and those data

were processed via the 2D programs described below.

These data tapes contain two types of records, composed

of "fast" (long) and "slow" data. The fast data recordscontain the 2D particle image slices. One dimension, the

columns, is represented by the 32 diode array. The other

dimension, the rows, is achieved by taking readings over

time so that a two dimensional picture of the shadow is ob-

tained. The speed of the aircraft is, theoretically, kept

at a predetermined constant speed based on the resolution

Oiameter) of the 2D probes and the frequency of the clock

polling the sensors. That is, the C130 aircraft flew at ap-

proximately 200 knots in order for the 25p diameter diode sen-

sor to produce a square image of each particle at the given

sampling rate of 4 MHz. Likewise, the 2D system installed a.

board the NASA Convair 990 was operated at true airspeeds of

101

. . . . . . . . . .."" "'..2 -2 .

Page 106: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.4

4.4 PMS-2D Data Processing (cont'd)

of approximately 466 knots in order for the 60V diode sensor

to obtain a square image at the same 4 MHz sampling rate.

However, because true air speed of the aircraft cannot be

kept constant, the data are modified slightly by the 2D data

processing programs to maintain the square image representa-

tion of the particles. Thus the 2D device gives a picture of

the particle(s) as subsequent readings are placed together.

The slow data records are written to tape once every

ten seconds. These records contain VCO and analog information.

In addition, selected ID data is multiplexed in the 2D buffer

and also recorded in the slow data records. The exact infor-

- mation contained in these records is different for each air-

craft.

41,

=.

.

-

.,

102

• 4 " *. ", -,"',. -. " -.* . -.. .-. ".. . ..... . .• . .. . .•.. . . . . .,

Page 107: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.4.1 Program PMS2D

* Program PMS2D takes the 2D automatic typing algorithm de-

veloped by Dr. Hunter of ADAPT, Inc. and packages them in a

manner which allows maximum use and ease of operation by LYC

personnel.

These routines take the 2D scans and converts them to

normalized integer values called "hols". Other routines in-

terpret these hols by converting them to "ANT" vectors for

use by eigenvector analysis. The routines are copyrighted

by Dr. Hunter and will not be described here. Essentially

what DPSI has done is to write driver routines to process2D data tapes. As originally delivered by Dr. Hunter the

routines could only process at most 300 particles per comp-

uter run. The new program has been written to allow process-

ing of 300 particles per data record. Experience has shown

that there are only approximately a dozen acceptable particles

per data record hence no particles should be lost during the

processing of a run. Operating instructions and sam-le output

are provided on the following pages.

103

. . . . .. . -

Page 108: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*- 4.4.1 PROGRAM PMS2D Operating Instructions &Sample Output

COMMIAND DECK

COMMNAND BECK

tflLLR,CH1l15000,NWiI,T500. 1416 tILLERP

YSN ,7APEi =KNE370/Nl.REOUES7TAPEI ,PELNRNT.AflACHPPHS2D,ID=MILLERPjMR=l

* ~F7Nr5, IxP ,D=LGOtL3OPLx999999.- EIE(TAPEl ,RTWU,3TKNRL&557SMDL=5576,RDl ,UFSa560)

LqSE! ,FILESxTAPEI ,PRESE7sZERO.LGO.;EXIT (U)

INPUT DATA

NAMEL IS7IOP7S/HAMELlST/TYPP47/ID CARD

1-10 FI ID (FLT EGO-16)11-20 FLT DATE(DDIIOMYR)21-30 KNE TAPE 00.(KNE37O)

PASS TIMES(MrAXItIUH 20)1-6 SIAR14NH9IMSS)

r 7-10 S7OP(H0IISS)7/6/9

.10

Page 109: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

CIA

0

0 0

us 1.-

17-~ a 0-0

0

1-~~1 oe e0~m.z

4 0 0 .. , - .4VI

c~w ~ wco0 IA .

Ren ClCU)UISUag a 4 WIL I-.- 4

.4-~ 0 0 us

* -0 92 1-

ij 0U cc

Wu 11, 21 4Nn S. to -Ow1*4ba. .S S SS S . .... . z 0 -K~~~~1 SI "110 11

21-A o- Wa OK0 0 4,wn u §4. 3 W 1- aJ

vl MU- - 1- 0. 13 1-0 4.0 N.l.I1SU, 4.1 N .C40 @A -2

0 0n ta-.-a Wl00 ~ eIN Ou 0 W cc I01 W- h - 0Z x . 0 j

Cl3, UK 00- 01 0

(4Z 39 4904 1n0 zU .5 4.4K -41 41 n

4% 0-V T 0%0; S 2 9 WT..~ .4XInX-4 z

hi 4)-ISCA- - 3W WA4a hA0~ -~ --1 VW cc KuZ a

- o ~ .- N al w2 z- n zV! 11!. .. !C :C I .o4AP- >.i

2 qV- 044 .9 P (Am

en Ifl4ww o - a -* --. 1- .

cc Z Z z W 0K0IL U.. =2 2* 01o-* .41-hamlzennsm 000000 Z 0

C!- C! C fWO-0 .JO.M!,-3a

;; N mm w -Cll~41'1.V 0 Wawwww u z W -ae) 1.- in o- mI-

*~I 0*. -0 -1- CL

o hi" mm m MVll C).4.4I. ~ CVhI . . . MC4Cllflt"dC' Con

105

Page 110: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

0 0

1.IA

,M I-d

4 00

*~ 0.U04AA 4

0 MA

I 00

I.-V x al

oxaI Ulw2 -

-- ASo- 0 -0

4A 4cI or e-I.-.~, 3 WC xt0

CL ~ a l MA w 0 z -0w4 _jW40

cl V) S A w 4 WI- sthe- 334 um3.

I.- IW MAw mC..4

0 4" -00535 4-J to ~ W W wI-

CIO .4 Am t 49 -1-4 4wwwwwwwal

Cl 51 -3w4wwww%-a

o 4 ~0000000W,w -- M uw w£

a xzxxxz aS ~ u w- I-IuI-i-) W w-

1- 31- 12 3-* IA wwwwww~wCl~~~ aA~ UIa a a a aUaq 42ww

o mawammm

@5 ooUouUouMA 0- 1- P. MA 6 1-- 1-w

2c SalMAIiMAw MAW0 min £ xa

100

0J

e *t**ed.

Page 111: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

21

0;

00

Ooc*w wI.- C, j z L M 6 L x a x o -CCLCL 0 -9 co 4 - r C z . a a -c

- 0 SM I- a # 0. > * * .C

* * * l -107

Page 112: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5 Special Analysis and Processing Techniques

4.5.1 PROGRAM CNVRT

Program CNVRT is a data processing program written to

aid LYC scientists in the analysis of data from NCAR CLOUD

DATA TAPES. These tapes are recorded with 524 60-bit words

per record. Each word contains 3 20-bit integers. These

parameters are converted according to a given table and dis-

played in a format suitable to LYC scientists.

Operating instructions and sample output are provided

on the following pages.

108

-------------------. .

Page 113: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

Jrw . IF. 174. . - 44~- 4 - 4

S 4.5.1.1 operating Instructions for Program CNVRT

MILLER,T100,NT2. 1416 MILLERP

ATTACH, I,CNVRT, ID=KAPLANr.

ATTACH, TAPE5, IS=KAPLANF.

VSN, TAPE3=LYCBOB/NT.

- 4. REQUEST,TAPE3,NT,NORING,L,PE.

FTh, I=I,PL=99999.

REWIND,TAPE3.

* EXIT (U)

DISPOS,OUTPUT, PR, *c

EOR

109

Page 114: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.1.1 PROGRAM CNVRT Sample Output

0403! 00!)0 coo 0. 0mu CA- cm c% ev - t 4f

xt.lwo.:.0I- 000000000000000000000000000000000000000000000U0. g 0 000 0000 000 000 0 0 000000 00!0

0 3 .3, 01-4Cll- -. ~-.- 440--XI

0-rI.9J4.-1-- X-CC--

0 00 v. - ~0 0' 0 0 0 0 0 - . 0 0 0 0 0 0 0 0 0 0 . . - 0 . 0*~~~ -. Dw I&. Ag 00 00 00 0 a0 0 0 0 0 0 0 0 0 0 00 00 0 0n

000 000 00 -- 0 0 oeooOSM4~lo 000 00U .z & .0 w *-w -- -Z0;0403 0W"

IC f 4 ftw- 133 4

ftw ~ .Lft- 0 wO 9) j 0 9 0 0 O X

o11oo A w 00 **U w 0 e Qz U.S.Ig....Sw .. S...Ix bWSSN .. wum ,,**P*6I1ft40X0*-2

1 0-0 40 IA Uz --- U1 'aJWD 0 Z 0 a- w

I muofl- 0 4 44 4

1.4s -f0 IA10 333333

OftI 40005 Jft0 I, Zowo C, s0 ) I 0 - f * o 2 - - 3 - ' I I ! t 0- f .

4.0I'- >w ow up* r0If ft 0 zt I. z .I-2t.Iz-)- .2I WZ0 U.; -. m x 0 L baa 0. - 4< u

Wt11IAD 0z~ -aww- " U M w a1-0 41- ft

...OII IC 0 ;0 -W0.0 - V

z 1 WIr -- - --. _..U.0 '0-'- _:3 260 *-, U4. IA 31 &0 o - X 3-."00 .. IIIIAAJO

.0W1 -4.-. wwC ft w o z 4a4. ow-- .20 flzz. x' lfI-.---40 mm!:a 0 .10 .1W NM4 W 4 Z a a2 I-- >01-. AI-. cm 30 I 1

1. 0 3 f 70 I A -2 ~ z : 0 ft- Ut0 00 ft( -0 Ca a.> a 01a M>C - 0 0 a =- LI0 m.C1 3c,%0Z Z &OWOoO 010 0 0

1In4 401 0t I-l0.*.IZOC .0 >. U00 - --. -44U00 UIt6 w0 7. co" co o-~f 4-0I 00 0 II..- moo0 VIf0f04-xwo Iff 3

02-D 0 0 WI-0 >I .10 1 4 1 3 0 00 w -I

w - a2 o> C a 0 i:-D00>>> 024 .2 1.. .04,0 0 3L3 . -- ul

w00 .03.1 - 0 dc 2zw L ... 4ftto zz .. 4 fft.-OIffOI. 4 -0 0 - 24 4 1 I 1I 0 0

- -- -- -- -- - --- - ---2I.I00 -11 O0 U- - - -- 000- ' --- ---- -.I3 3- - -3 --

Z t0 4 -0 5 4 - - - - - IA U -. -C 3 3 3 I II.woc . 00 -00 , 6400 W..-IIC - - OOt'.3 51 .

W>114 I 0I 0.I. 2>--? WW.,. f~t*.~I- 0.-~ CCI110(0 -

6---. o-'c A O - l- . 2 O : > > 0 C 1 4 1 0 4. : 0 r ( O o 0 0 0 1 0 0

Page 115: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

0080000080800000000000000000000000000000000000000008ooooao 000000

909000 0000000 0 0 000000 0000000000000000000 0000

- 0000--------E ;-Z-- CI(')..0---------0- -- 011)00- --zzzzz

0 ugeese; a se l 3ss eam ,i2esese aeci IS i iii1,1

02 00 000 00 0 00 - - - -0-0 00 00 00 00 000 00 00 00 -0 00IDS~ 00000000 9 z 000000000000 00

mom en ILWq UR

M Mf:1~ eole.)- =24 z - .-

02 2 a -0 3E

'DIOS ~4Z - 5- -5000030

W U, 9oz s-x O elolletnVa =1E % 0 2 -a

An" 0 ;3=. 035 -- 50 u*1*,. am 0-w~ 00- (A W11 IV v""m z o - u tttzaS -- 2

en- z V- za a -a f- -Sat 0w3z- 2863~1 05U2,h J.'~h .0 OezU00" om wu en - - 0 IC5- 2 -1 a, ON2- -- IC 8:8

hi 45-w - -9 us asW &., s- 'n hZ% 2 - 2 0 -

enele £6 w a MA or w Z 0- Uow ~ en)19 18> i 4 h ) 4 8 & 000 .

wso- his --Zmz 41*440~ozz W0OX 0a8 eiO

-00W040 W-400101*38 hi0 'L It~~zii44~0sh 0-.. -O

on 511 -i -86 :8 8 8 -i ~ h e el 2 ) 4 -6 8 - - 8 0 H . 8:0 ~ ~ Z fin-0~ 1 l Z .- s-s-s - 3 42 4 11 Zeg80i...iOs -4 2 3 :21

.enas-zs 0 200hhhih 8 0 412000)- s-w 1w~ tj 2z 0o34j ODDs

0-6.l.lJ. i 8:::88:-w-688 .. .- .-. s--s- 3£ . 22 66- 3 0 hi-ill v

-0 Z ------- ----- ----- ----- 202 3000gOUi8:8:0 3D..l8: :42444Z--- 0W8322..3W380~88:88:I..ihiihiihi 5-61* ~ lJ4Z000*1*8:.:8::.0 000

Page 116: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

x 0

o aC N C C t C c vt C ., C t w C .C C o4C- - , 4N5

V

0- v 9h- V N~

01 ID 10 I1n 10~f. . .OC.O.o.o.o.o.o.e.oC! ooo.o.o.o.o . . .o.o. .! . .. . . . O . a.. c

oW ttt N~t'oi. .w . . . . .~ * f t f t f t nwe.e .Ir :0: VowO V .T IV

11

Page 117: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-4" f f f f f ftel lC- dt~tftft 04 tftft e"ft CV4CI -4v"C(ftC

ri M M M t M M ftn n M ol b V) M Mfto4% 91 M n noo M M M0 ft0,0M0M0f

I' I .. IIIIIIIIIP ------- P -P ..- I .P -I -P -I -I .P----------------

NM" NO0 C,0 . wC 0UOPC

W!.W !Q ! 9!9 !1 ! P 1 !1 ! Pw 1 0a l000010000 10I 01C DI DC DW000 t

v v 1 w1 vq. .. W V Wv W W- qq W W qU%4aw n 1

-.~ ~ ~ ~ ~ ~~~~wm mm0o00O0L.000O0000u000C0oo0O0.O(*0C~~~~~~4 ftc~~c ftC!!GG .00!!00 .9 .99 ftf tf f tf t tf tftf tf c!tf t tf tftf tf :atf tftf tf f tf tqtf tftf tf u!tf t tf

. .si a . as. . ma ... C ...... 1!,mC! . .i m a .C! a ! C! a .. a .i a a m. alm C? mm c! . a aa aMe MM MM M M M M MMMM fM 4 MMMnMmMMm

w2 I 010 0OD00 0 C'. .,W V V

Ix t

C40 b C ;C ; t . *V ' 0 D * * C,4q n 0 D ~ ' M ,i*W ,Ov0w- tqW WW qqWl4WWinW VWWUWV)q q4 w qLnq 4W qW WW q

ft ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ C f!" .t .t .tf tf tftf tf tf f tf tf f tf tf t tf tf tftf tf tftf tf tf f tf tf f e tf tftf tf t

-~: Of-f~~OfO Oet OSm fmS tOffffft: o ,ft:~. ft:fttO ftt ftfft.-a - --- --- - : : : :: :: :: : : : : : : : I-h : 7 - : 7 -I :W:-I-.: 7 :: : :: I

r44

Page 118: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

__ _ _ _ _ _ _ _ _ _ _ _ __ _ _ _ _ _ _ _ _ ___ , - - , . . - . - .' - - j . - " - - ---' .- &..-.,... . ..-. .. . -. .- . . . - - .

4.5.2 PROGRAM STEVERD

LYC scientists are continually searching for new sources

of cloud physics or icing data. In early 1983 LYC began re-

ceiving icing data from West German scientists. This data

is formatted so that the first two records contain flight in-

formation such as date, time, total records and comments.

During each flight eleven parameters were collected and

written to the tape (records 3-13,14-24...). Each record

contains 600 words and pertains to one parameter. Each word

in the record represents data collected over a one second

interval.

This program reads and formats these data for LYC

scientists.

The order of these parameters on the tape is:

time, altitude, air speed, static temperature, dewpoint, dif-

"N ference, humidity potential, LWC, backscattering coefficient,

degree of icing, icing rate, and ice warning signal.

The German data tapes are processed via the CDC job

shown below:

DATA TAPE -- > SYSTEM UTILITY COPYCF -- > OUTPUT DATA FILE -- >

PROGRAM BUFFTNS -- > OUTPUT DATA FILE -- > PROGRAM STEVERD -- >

FORMATTED LISTING

NOTE: Program COPYCF is batched via a card deck

Program BUFFTNS and STEVERD are run interactively

Operating instructions and sample output for these programs

follow.

114

. ."

Page 119: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.2.1 PROGRAM STEVERD OPERATING INSTRUCTIONS

COPYCF UTILITY JOBMILLR,NT1. 1416 ?4ILLERPREQUEST,GDATA16 ,*PF.VSN, TAPE 1=LYCGRM/NT.REQUEST,TAPE1,PE,NT,EB,NORING, L.FILE(TAPE1,RT=U,BT=K,MRL=10000,MBL=10000,RB=1,BFS=1005)COPYCF (TAPE1,GDATA16)CATALOG, GDATA16, , ID=KAPLANF.

* 7/8/96/7/8/9

PROGRAM BUFFTNS

ATTACH,B, BUFFTN5, ID=KAPLANFATTACH, TAPE 3, GDATA1 6, ID=KAPLANFFTN,I=B,PL99999991A30

PROGRAM STEVERD

ATTACH, S ,STEVERD, ID=KAPLANFFTN5, I=S,PL=999999LGODISPOSE, OUTPUT, PR, 191

115

Page 120: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

rw~-- I -- - 7 - - . - -I (N I .-

WW LJUW W WWAJi

S. .

o n f" c-a (N1%r. W ~. r% w M 0- U M~ W -4I 04@ ;; .a . '.- a W o ino -

. . . . . . . . . . . . . . S

LA. a a a

OWLA m"I nr .)r *r n0mC D . .

* ~~~ ~. . . . . . . . . . .

-e- 4 0 0- 0-01 01a r L ooo o ccm o. o 4 o 40 oooo

LA -- - 0 "'!ee% r-! .000o4!

:c a . bmi nt'.(.c .(. ..o ..-on -. V) n b

w . . . . . . . . *N . . . . . . . . . .

* IL -............................. . . . . . . .~ . . .

............................................. . . . . . . . 6 .

cm' I Baa* c> B= B* ID Bm ma i * a) a' a0 a0 A* 4

Page 121: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.3 Program ATTCHFLES

A procedure was written that eliminates the need to in-

dividually attach files every two weeks so that they will

not expire. Every time a new program is written or an old

program becomes obsolete it can be added or deleted by using

this procedure. In addition, this procedure can be easily

modified so that it will also catalog all files to the disk.

Operating instructions and a listing of the program may

be found in the next section.

117

.

Page 122: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 4.5.3.1 ATTCHFLES Operating Instructions

COMMAND'ATTACH ,A,ATTCHFLES, ID=KAPLANF

AT CY= 001 SN=SHARED

CONMAND-BATCH,A, INPUT

118

Page 123: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.3.1 PROGRAM ATTCHFLES (cont'd)

TOP OF FILE

MILLR,T100. 1416 MILLERPREQUEST,A, *PF.ATTACH, B, BATCHPLT, ID=KAPLANF.REWIND,A,B.COPY FADB.UNLOADSA, BREQUEST,A, *PF.ATTACH,B,BUFFTN5, ID=KAPLANF.REWIND ,A, B.COPY ,A ,B.UNLOADIA, B.REQUEST,A, *PF.ATTACH, B, CNVRT, ID-KAPLANF.REWIND,A, B.COPY,B,A.UNLOAD ,A, B.

* REQUEST,A,*PF.ATAC,COPYLYCBOB, ID=KAPLANF.

REWIND,A, B.COPY, B,A.UNLOAD ,A, BREQUEST,A, *PF.ATTACH, B, ICEDERIVBIN, ID=KAPLANF.REWIND,A,B.COPY ,B ,A.UNLOADIA, BREQUEST,A, *PF.ATTACH ,B, ICEDMPBIN, ID=KAPLANF.REWIND,A,B.COPYPB ,A.UNLOAD ,A, B

119

Page 124: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*- .. . . . ~

4.5.4 PROGRAM KNOLLID AND HDATSTAT

In order to assist in the analysis of icing data collected

during the flight of 11 DEC 79 (E79-50), DPSI has prepared a

modified version (cycle 18) of KNOLL1D to produce an output

file (tape 11) for additional processing. This file contains

scatter probe counts for channels 1-15 (one channel per re-

cord), with VCO data (temp, dewpoint, and relative humidity)

contained in the 16th record. This sequence is repeated for

each second of the pass.

Subsequently, program HDATSTAT was written to process

these scatter probe and VCO data. The program produces two

types of output: first, the total count for channels 1-15 ar-

provided for each second of the pass; and then the average

value for each channel is completed for the pass (standard

deviation and variance are also completed for each channel).In addition, the average values for temperature, dewpoint,

and relative humidity for the pass are calculated after the

channel 1 summary is printed. Since these VCO values occuronly once per second, repetition of these averaged values after

each subsequent channel summary would be meaningless.

Operating instructions for KNOLLID (cycle 18) and oper-

ating instructions and sample output for HDATSTAT are provided

in the next section.

120

!--.?.-,, ,~~ ...- .-...... .......,.,........ .... ,...

Page 125: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.4.1 PROGRAM KNOLUiD Operating Instructions

COMMAND DECK

MILLR,CM65000 ,TP1,T100. 1416 MILLERPATTACH, LGO, KNOLLIDEIN, ID=KAPLAN,MR=1,CY=18.ATTACH, TAPEB8,VCOCALS, ID=KAPLANF ,MR=1.REQUEST,TAPE11 ,*PF.VSN, TAPE1=PMS3 17.REQUEST,TAPE1,S ,HI,MT.FIIE(TAPE1,RT=-U,BT=K,MRL=1024 ,RB=1,BFS=105)LDSET, PRESET=-ZERO,FILES=TAPE1.LGO.EXIT (U)REWIND, TAPE3.REWIND, TAPEll.COPY, TAPE3.CATALOG, TAPE11,HPATA43TD, ID=I4ILLERP.7/8/9

121

Page 126: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.4.1 KNOLLID operating instructions (cont'd)

DATA CARDS

CARD 1 - ID CARD

COL 1-10 FLT XYR-NNCOL 12-20 DD MON YRCOL 21-30 INPUT TAPE NUMBERCOL 31-40 PLOT TAPE NUMBERCOL 52-59 PMS ZERO SECONDS - HH:MM:SSCOL 70 IOSKP(O=STANDARD OUTPUT;1=CREATE TAPE 11 DATA FILE)

CARD 2 NAMELIST SCOEF

ARRAY S (5) OF SOUNDING COEFFICIENTS (DEFAULTED INTER-NALLY).

CARD 3 - NAMELIST VCOEF - USED TO OVERRIDE VCO CALIBRATIONS

ARRAY C(3,13) CONTAINING THE VCO CALIBRATION COEFFI-CIENTS IN THE FOLLOWING ORDER: INTERCEPT, FIRST DEGREEAND SECOND DEGREE COEFFICIENTS.VCO'S ARE IN THE FOLLOWING ORDER:

1 INDICATED AIRSPEED2 TEMPERATURE3 EWER4 TWCI-45 DEWPOINT/FROSTPOINT6 LWC-JW7 MAGNETIC HEADING8 PRESSURE KISTLER9 TRUE AIRSPEED10 ICEING RATE11 TWCI-1

12 TWCI-213 TWCI-3

CARD 4 - NAMELIST JWADJ

CONTAINS HEIGHT PROFILES FOR A JW-LWC ADJUSTMENT.ELEMENTS ARE:

L NUMER OF LEVELS (DEFAULT 0-NO CORRECTION) (MAX 10)HT HEIGHT OF LEVELS IN KM'S (HT(1) GT HT(2) GT...GT HT(L))XA ORIGIN OF LEVEL (ONE PER LEVEL)SLA SLOPE FROM LEVEL (1) TO LEVEL (1+1) (L-1 SLOPES

REQUIRED

"2 . . 122

Page 127: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.4.1 KNOLLID operating instructions (cont'd)

CARD 5 - OPTION CARD (ALL 15 FORMAT)

COL 1-5 NFHEADR - SET TO 1 WHEN CONDENSED FORMAT HEADERCARD DESIRED

6-10 ICLK 1 = USE A/C CLOCK2 = USE PMS CLOCK

-. 11-15 IDAT I = USE FINALIZED DATA LITERAL0 = USE PRELIMINARY LITERAL

16-20 IPLT 1 = PLOT TAPE PRODUCED0 = NO PLOT TAPE

21-25 N2PROBE 2 = TWO CLOUD PROBES3 = TWO PRECIP PROBES

26-30 ITMP 0 - TEMPERATURE DETERMINATION BY VCO PROFILEI = TEMPERATURE DETERMINATION BY STANDARD

ATMOSPHERE2 - TEMPERATURE DETERMINATION BY R r'?OSONDE

PROFILE31-35 JVCO - NUMBER OF VCOFIX CARDS DESIRED (0-10)36-40 NSKP >0 IS THE NUMBER OF MWf-OF-FJLES TO SKIP

BEFORE PROCESSING TUX, DATA*0 IS THE NUMBER OF RECORDS TO SKIP BEFOREPROCESSING THE DATA

41-45 IDEK I = PRODUCE A PUNCHED DECK CONTAINING THETIME, HEIGET, LWC AND DO VALUES,0 - NO DECK

46-50 MXLINES - NUMBER OF PASS LITERALS DESIRED FOR THECONDENSED OUTPUT FORMAT (0-15)

51-55 INTRP 1 - USE INTERPOLATION0 - NO INTERPOLATION

56-60 IDMZ 1 = SUMMARY FILE OF DOLWC AND Z VALUESPRODUCED

0 = NO SUMMARY FILE PRODUCED61-65 IVEL 1 = USE TRUE AIRSPEED

0 = USE CALCULATED AIRSPEED66-70 IFORM I = CONDENSED OUTPUT FORMAT PRINTED AND THE

PLOT TAPE USES UNMELTED BARWIDTH'S0 - NORMAL OUTPUT AND NORMAL PLOT TAPE

71-75 IOUT 1 - NO STANDARD OUTPUT0 = STANDARD OUTPUT PRODUCES

76-80 ISCAT I = USE .9 FACTOR IS SCATTER CALCULATIONS0 = .9 FACTOR NOT USED

123

Page 128: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.4.1 KNOLLID operating instructions (cont'd)

CARD 6 NEW FORMAT HEADER CARD (IF NFHEADR .EQ. 1)CENTERED LINE (A80) TO BE PRINTED AT THE TOP OF EACHNEW FORMAT OUTPUT.

CARD 7 TYPE LITERAL LINEIF MXLINES > 0 MXLINES CARDS ARE REQUIRED HERE INCENTERED A80 FORMAT. THESE LINES ARE PRINTED ONNEW FORMAT OUTPUT; BENEATH THE INTERVAL PARTICLETYPE.

CARD 8 ONWARDS

A) ANY DATA CARDS REQUIRED BY SWITCHED SET ON OPTIONCARD JVCO 0 IMPLIES VCO PROFILES IN HEREITEMP=2 IMPLIED RADIOSONDE PROFILES HERE

B) TYPE, EDIT, HTOX, XTOD CARDS INTERSPERED IN HERE

TYPE (15 MAXIMUM)

COL 1-4 TYPECOL 6-13 HH:MM:SS (START TIME)COL 16-23 HH:MM:SS (STOP TIME)COL 25-26 CLOUD TYPECOL 27-28 PRECIP TYPECOL 31-35 AVERAGING INTERVAL (15)COL 45-64 LEFT JUSTIFIED PASS LITERAL FOR HEADER OF NEW

FORMAT (A20)

EDIT (5 MAXIMUM)

COL 1-4 EDITCOL 6-13 HH:MM:SS (START TIME)COL 16-23 HH:MM:SS (STOP TIME)COL 26,28,30 PROBES TO BE EDITED (1,2,3)COL 31-54 CHANNELS TO BE EDITED (13 FORMAT, 8 MAXIMUM)

HTOX (NO MAXIMUM)

COL 1-4 HTOXCOL 6-7 TYPE CODE (ODD NUMBER)COL 9-10 EQUATION NUMBERCOL 12-13 ARGUMENT TO BE CHANGED (1=M, 2=B, 3=BREAKPT)COL 15-30 NEW VALUE (F15.0)

XTOD (NO MAXIMUM) SAME AS HTOX

COL 12-13 ARGUMENT TO BE CHANGED (1=CO, 2=EX, 3=BREAKPT)

124

Page 129: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.5.4.2 PROGRAM HDATSTAT Operating Instructions and Samiple Output

~04 in -W Vi1 t - M"WVW. N" C-I4 Oq ~ N D.C. re MI

Mftmft~fttMfttttttt mtt mt~fftfttm utf

~~comi UP00 c Wn0 0 0 Go 40 o do an

0.j ~ gg w ~ W gI LI 4 LW& &G WA M L1 u L &U 1

-.1= SMaU.jC1 MWC t 0 MZ . .Mo - 2o t on M ft0C4. .t- .4C4S4

ft F J U UUEW minu.. .... .. m .. m... "W, mu m

- -. -

4 ft LI,

z I-- t C&L -j M MM SSWM M~W..81 M S W M S S 1

W 6 t f -94 & 9U t1Ca ~ u Co

13 M I IIJIIIIIIIIIIIILLLLLLLLLLLLLLLLLLLLI- ~ ft125

Page 130: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

dam rmaP ni

40 WA up I I La L0En S, in a) c, Sb iD

N, C, CD IS a S, IN M

w Nfl w M~~NIlf- W!in c1sc C4 Vns. a n ct

*ca .I w WS cn C- M9% oD -WP 00Sam100r , im C-4 9-)%i i

N N 0 .0N NI H Nl *- v NO U- 'CN in V4N

NUN~C HU H1(l N* 0 o an .0 0 n - n ow, s .- i P- 2r) i u'sCi 5

'MMMIIt MM A" 0" us C La Li 0. 01 .C i i

La LI Mt Lai "A Ii MI 0&MIM X. X I MIM MI. *I. U. 0 Im 55 aDN a

0" = l 2 *i a0 ME i 2c Li 2z

000 00 =lC I . S 4c0W t AC =I w 0 C MSM.OM

126

Page 131: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

fn I"

o 0 4 DW) 0 V) 0 W0

.0O l 1D I4 - .0 P" .0 onC4 r4 W4 C4q w4 MW in 0 e r

-4. 0 04 0 OW 0 4. 0

V4 4 i4 ! 0- 4 1 4 0 0go IS N. N. 400 N -N10 Naom -- b, C14 14 C%O m N4 C 4N -0 C40 V 40

o ' $- Nl 6M NI--N N .4 N N

It a

3c a, M; to ; -4 "I a, -Z 0 00j 41 14c~ MW MW 00 0; C; mc W - N

I- - I t it a4 40 a - CD4

2, La so M. L - . u. up w. L Z . L Ir

N = N NN =127

Page 132: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-..'-r r --. r r--

In) coI-)6

o' coI0N 0 0 ol - 0.n) a on S0 an S.0SaC> SFIf N NN cm N

CD -C m 40 wi 4; fo 4 4 C L4fi'9 In) n anm C

)~C C4 a- -. a C NWa411o 2 na In In 0 fln o -c

* in) i) b fi f) - if)

a~t 5 a 5a u

0- z 9rc - - 3L'c 22 I- 9 D 4 - 0c 9D 0IS Ma ISC 0 IS 410 IS) 0 a

U III us 0- -a Ii. -CxC=wu 1 U, Ha I*" I* d w f- iSOn I C 2 * CA Z) CLL I& 1- * .c guA Z. Z)ISOc

128-.

2

o-4

Page 133: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.4J

V31

C

* -'

.4 . L SA

CPCam I i kH' LH

W U)

:2 ca- dmLi$-4 2AI" a P. 1C& o c e

*U 9Lale * IA~

cn 40 wIj* C *. SAL) =

~CCZ H29

Page 134: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6 Snow Data Processing - CDC 6600

4.6.1 Program CNVRTASCII to CDC

There have been problems using the CDC built-in data

(ASCII) conversion software. DPSI has developed a program

which will read an ASCII file and perform a table look up

in order to convert the data the CDC display code.

Program CNVRTASCII to CDC incorporates the binary buffer-

in I/O technique preventing the CDC operating system fromassisting in the conversion. Three types of output are pro-

vided; formatted display code, octal bytes, and record by

record output of the display file,

130

Q.

Page 135: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.1 Program CNVRTASCII to CDC (cont'd)

JOB NAME,NTl*,T100. aaaa pppppppATTACH, ICNVRTASCI ITOCDC,ID=ROBERTSK.

.FTNI=I,SL,R=3.(A) VSN,TAPE1= INT*.

-"REQUEST, TAPEI, *,S, VSNT*,NORING.LGO.EXIT (U)

fCATALOG,TAPE2, ID=(B) KCATALOG, TAPE3, , ID= .

CATALOG,TAPE4, ,ID= .6/7/8/9

* 7 or 9 truck, and bit density may change for each specific job.

* (A) If the source ASCII data is on disk, replace with:ATTACHTAPE1, ,ID_ .

. (B) Rearrange as required, for just a printout, replacement:REWIND, TAPEx.COPY, TAPEx,OUTPUT.

131

- L .. A a

Page 136: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.2 Program MAKECRRELTAPE

Program MAKECRRELTAPE is a data conversion program which

will convert a snow weight, 7track, OS/8 tape generated by

the PDP-8 to a 9track,ASCII format supplied to CRREL. Since

" this program uses tapes, it executes under batch. Excluding

, the media change, the apparent difference between the input

- and output of the program can be seen in section 4.6.3.1.

The input data tape containing 384 characters per record

is converted to the standard 9track format with each record

containing three, 60 bit words.

132

* ..- . * .,.•

Page 137: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.2.1 Program MAKECRRELTAPE Operating instructions

JOB NAME,TP1,NT1,T100. aaaa ppppppp

ATTACH, I ,AKECRRELTAPE, ID=ROBERTSK.

FTN,I=I,SL,R=3.

VSN,TAPE1=___

REQUEST, TAPE1,S,MT,NORING.

FILE(TAPEI,RT=u,BT=-K,l4RL-1OOOO,MBL=10000,RB=1 ,BFS=1005)

VSN,TAPE2= /NT.

REQUEST, TAPE2 ,NT,VS, RING.

LGO.

7/8/9

6/7/8/9

TAPE1=INPUT=PDP-8 OS/8 7TRAC( TAPE

TAPE2=OUTPUT=CRREL9TRACX ASCII TAPE

133

Page 138: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.3 Program MAKE1MINSNORATE

The techniques employed for snow fall analysis requires

compatible data sets with resp..ect to time. The CRREL ASCME

data is recorded as a one minute average. Therefore to pre-

sent an accurate representation of fall velocity, it becomes

necessary to calculate AFGL snow rates as one minute averages.

Program MAKEIMINSNORATE has been designed to provide one

minute averaged snow rates and an instantaneous value (snow

rate as taken from the nearest whole minute). This program

operates under INTERCOM and accepts as input an AFGL format

#2 snow weight data file (seesection4.6.3.1)Output consists

of three data files; averaged snow tape, instantaneous snow

rate, and snow rates for each 2.809 second period.

134

Page 139: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.3.1 Program MAKE1MINSWORATE OperAting Instructions

ATTACH, I,MAKE 1MINSNORATE, ID=ROBERTSK.

FTN,I=I,SL,R=3.

ETL, 100.

ATTACH,TAPEI,___ *#_D=

LGO

TAPE1=INPUT--AFGL SNOW WEIGHT DATA*

TAPE2=OUTPUT=-AVERAGED 1 MINUTE SNOW RATE *

TAPE3=OUTPUT=INSTANTANEOUS 1 MINUTE SNOW RATE *

TAPE4=OUTPUT-SNOW RATE FOR EACH 2.809 SECONDS

* AFGL DATA IN FORMAT #2

** AFGL DATA IN FORMAT #3

135

Page 140: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

AFGL FORMAT #1

COL COL1 8

4- ++ xxX.XxT XXX.XX

DATA A RECORDED BY THE TEKTRONIX 4023 TAPE RECORDER, F8.2

AFGL FORMAT #2

COL COL1 30

HH MM SS DATE+ XXx.XX + Xxx.xx

1Xxx.xX +xxx.xX + XXX.XX

DATA SUPPLIED TO CRREL ON A 9 TRACK ASCII TAPE, RECORD LENGTH,3-60 BIT WORDS

AFGL FORMATr #3

COL COL1 20

HH MM SS + XXX.XXHH MM SS +XXX.XX

DATA FORMAT USED IN CDC PROCESSING PROGRAMS

AFGL SNOW RATE FORMAT

136

Page 141: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

1 17 28 39 50 574, + + 4 +MM/YY HH;MM;SS .xxxxxxx .xxxxxxx .xxxxxxx .xxxxxxx

x x x X

An X in the decimal point columns indicates that the ASCMEdevice was imperative' or out for maintenance. When CRREL

tapes are processed initially, the X's are replaced with'-1.0000000'. This will simplify the post processing stream

programs.

.

CRREL DATA FORMAT

137

.................

Page 142: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.4 Program COPYASCME

At times CRREL (Cold Regions Research Laboratory) suppliesLYC with data tapes containing field observation values from

their ASCME (Airborne Snow Mass Concentration Measurements)

device. The ASCME data is used at LYC for comparison with

LYC snow rates and for fall velocity analysis.

In order to process these data tapes, they must be read

and converted to CDC display code. Program COPYASCME is a

quick and simple program which will read each file (usually

there is more than one file) from a CRREL tape and allow themto be catalogued.

The CRREL data tapes have been formatted on a 9 track

magnetic tape written in ASCII at 800 BPI (Bits Per Inch).

This format could change, but only the "REQUEST" job cardwould then require modification.

Presently, COPYASCME will extract five files from the

CRREL tape, if more files are required, change the "PROGRAM"

statement within the COPYASCME program. Only one data card

is necessary when operating this program; it defines the

number of files to transfer.

138

Page 143: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.4.1 Program COPYASCME Operating Instructions

JOB NAME,NT1*,T100. aaaa ppppppp3 ATTACH, I,COPYASCME, ID=ROBERTSK.

FTN,I=I,SL,R=3.

VSN,TAPE1= _/NT.

R.EQUEST,TAPE1 ,HD*I ,VS* ,NT* ,NORING.

I LGO.

EXIT (u)

CATALOG,TAPE2, ,ID=___

CATALOG,TAPE3, -,ID=___

CATALOG,TAPE4, ,ID=___

CATALOG,TAPE, ID=___

CATALOG,TAPE6, ,ID=___

7/8/9

xxx 4-number of files to copy,column 1-3

6/7/8/9

* 7 or 9 track, bit density, and recording format could be changed

at any time.

TAPE1=INPUT=CRREL DATA TAPE (see Appendix 2)

TAPE

=OUTPUT=CDC FORMATTED FILES

TAPE6

139

Page 144: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

a!. . - .. a. . . - . . .. - a. *x .-- =.-- -- --- . -- . . . - . . .

4.6.5 Programs CORRSNOWRATEDATA/CORRSNOLOGSCALE

In order to complete analysis of the snow data collected

by both LYC and CRREL, DPSI has developed two data correlation

programs; CORRSNOWRATEDATA and CORRSNOLOGSCALE. Both programs

operate in an identical fashion, however, the former generates

a linear interpretation of the data, whereas the latteris a

logarithmically based comparision.

Both programs have been designed to generate Tektronix

CRT plots in an interactive environment (INTERCOM). However,

with a few modifications, output can easily be sent to any

of the plotting devices available.

The ASCME tapes contain data for three devices, and thus

three plots are created. At the conclusion of each plot "FRAME"

is called allowing the operator time to produce a hardcopy of

the plotted image.

It is suggested that the 19 inch Tektronix be used for

final copies as the resolution is preferable to the twelve

inch CRT's.

All output generated by both correlation programs is

displayed on the plot and includes such parameters as:

- standard deviation of x and y- correlation and convenience- the first degree best fit equations

r140

Page 145: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.5 Programs CORRSNOWRATEDATA/CORRSNOLOGSCALE (cont'd)

The correlation is produced on a point by point compar-

ison of the two data sets, and therefore identical times must

be present. If a time discrepancy is found, "INCONSISTENT

CLOCK TIMES" is printed. The data files could be edited

using "NETED" as required.

141

Page 146: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.5.1 Programs CORRSNOWRATEDATA/CORRSNOLOGSCALE Operating Instruc-

tions and Sample Output

ATTACH,, , ID=ROBERTSK.FTN,I=I.ATTACH, TAPEl ,afgldata ,ID=ATTACH,TAPE2,crreldata ,ID=___ATTACH, TEK, TEXSIM,CY=2**.ATTACH,LIB,LIBNEWX5951 ,ID=WARD,MR=1.LIBRARY,TEK,LIB.LGO

* EITHER CORRSNOWRATEDATA. OR CORRSNOLOGSCALE

** CY=Z FOR ALL TEKTRONIX EXCEPT SYNCRONOUS TERMINAL DOWNSTAIRSAT THE CDC CENTER, USE CY=1.

TAPE1=INPUT=AFGL DATA, FORMAT#3 (see Appendix #1)TAPE2=INPUT=CRRL DATA (see Appendix #2)

142

Page 147: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.

SE COELTIW4 OF $ME I

TION

.3tw fto~

soup .am

=via -m

Rm

AFGL/LYC SNOW RATE

143

Page 148: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.6 Program PLOTASCME

During the initial processing of the CRREL ASCME data,LYC scientists require time VS ASCME plots. Therefore anINTERCOM interactive plotting program, PLOTASCME, was writtento produce three ASCME plots on the Tektronix CRT terminal.

144

* . . -.•

.

Page 149: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.6.1 Program PLOTASCME Operating Instructions and Sample Cutput

ATTACH, I, PLOTASCME, ID=ROBERTSK.FTN,I=I.ATTACH,TAPE1, ,1D=___ATTACH,TEK,TEKSIM,CY-2.LIBRARY,TEK.LGO

TAPE1=INPUT=CRREL DATA (see section 4.6.3.1)

145

. . . . . . . .. . . . ....

Page 150: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

000

0

0

0<

0 I

))

0 C(0<

(2**N/O) INOSY

146

Page 151: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.7 Programs SMOOTHAFGL/SMOOTHCRREL

During snow post processing development it became necessary

to smooth the AFGL snow rates and CRREL ASCME data as a tech-

nique to remove inherent noise. To expedite such activities,

" -DPSI has written two programs, both of which run interactively,

" * SMOOTHAFGL and SMOOTHCRREL.

Both programs operate identically. The former requires

the input file (TAPEl) to be in AFGL format #3 and the latter

requires a CRREL data file (see section 4.6.3.1)

Provisions have been made to readily alter the smoothing

neighborhood. In both programs, variable "SMOOTH" will de-

fine the number of points taken for each averaging pass.

NOTE- this number must be odd for the program to function prop-

erly.

147

* * * . . *.. . . . . . .

Page 152: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

. 4.6.7.1 Programs SMOOTHAFGL/SMOOTHCRREL Operating Instructions

ATTACH,I, * ID=ROBERTSK.FTN, I=I.ATTACH,TAPE1, ,ID=LGO

TAPE1=INPUT=AFGL OR CRREL DATA FILETAPE2=OUTPUT=SMOOTHED DATA OUTPUT

* EITHER

SMOOTHAFGLOR

SMOOTHCRREL

148

Page 153: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

i, .- - -. .a--- -

S 4.6.8 Program FALLVELN

The end product of the LYC snow analysis is the generationof a snow fall velocity plot. This plot is calculated by com-

paring the ratio of AFGL snow rates to that of the CRREL ASCMEdata ( L The plot is then presented on a time axis.

FALLVEL runs interactively under INTERCOM and generatesthree frames, one for each ASCME device. Output is presentedon the Tektronix graphics terminal.

149

Page 154: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

4.6.8.1 Program FALLVEL Operating Instructions &Sample Output

ATTACH, I,FALLVEL, ID=ROBERTSK.FTN,I=I.ATTACH,TAPE1, *,ID=__ATTACH,TAPE2, ,ID=___

ATTCHTEI(, TEKSIM, CY=Z.ATTACH,LIB,LIBNEWX5551 ,ID=WARD,MR=l.LIBRARY,TEK,LIB.

-4 ILGO

TAPE1= INPUT=AFGL DATA*TAPE 2=INPUT=CRREL DATA

* AFGL FORMAT #3 (see section 4.6.3.1)

150

Page 155: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- .- ". 1 .*. s u t w ewA

*15

4

4-

*,

p1-

Page 156: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

5. Theoretical Cloud Physics Modeling

5.1 Program CUMOD X2946: One-Dimensional, Mathematical/Physical Model

As part of past research efforts, LYC scientists developed

a mathematical-physical model of the life cycle and precipi-

tation process of an isolated warm cumulus cloud (Silverman

& Glass 1973). The model integrates the vertical equation of

motion and mass continuity, first lawof thermodynamics, ard the

equations of continuity of water vapor and liquid hydrometeors.

All equations are formulated in one-dimensional space.

The dynamic interaction between the cloud and the en-

vironment is modelled by two entrainment terms: turbulent en-

trainment representing horizontal mixing at the sides of the

cloud; and dynamic entrainment representing the systematic

inflow or outflow of air required to satisfy mass continuity.

However, the unique feature of this model is the handling of

the microphysical processes. Starting with a cloud condensa-

tion nucleus spectrum, the formation/growth of cloud droplets

and raindrops are modeled in detail for 67 logarithmically

spaced size classes that include a range of particle radii

from 2 to 4040p.

In addition, LYC scientists investigated the feasability

of reducing the amount of computer memory and processing time

required to perform these detailed microphysical and dynamic

calculations by devising a numerical method of simulating the

microphysical process by a set of parameterized expressions.

152

Page 157: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

5.1.1 Current Status of Program CUMOD X2946

A rigorous microphysical model such as CUMOD X2946 could

be applied not only to the analysis of the life cycle of a

I. warm cumulus cloud, but also to the detailed study of theformation, growth, and evaporation process of the cloud drop-let spectra and their role in the precipitation process.

The original version of CUMOD X2946 (cycle 22) hasbeen modified to produce cycle 25. As part of the modeling

"a experiimentation during late 1982, this latest version of thei model was re-created in an non-update form (CUMOD, cycle 15)

in preparation for execution on the CRAY-I at the Air ForceWeapons Laboratory, Albequrque, NM. This CRAY compatible

version of CUMOD is called WARMCU, cycle 14.

The command deck for a production run of CUMOD X2946(cycle 25), along with input data and sample output are pro-

vided in the following pages.

153

"°..." .-. : '.".-..,, . ..." .... .-: .,_ .. .__'r "..."....."..'...'..,.-'.."...'"......'........".......... "" .,."" ,

Page 158: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

5.1.2 CUMOD X2946 Job Cards, Input Data, arnd Sample Output

COMMAND DECK

MILLR,CM150000 ,T500. 1416 MILLEEPRFL, 150000.ATTACH, OLDPL, CUMODX2946, ID=ROBERTSK, MR=l.UPDATE(F).FTN, I=COMPILE,PL=999999,PD=6,OPT.LDSET (PRESET= ZERO)LGO (, , , OUTPUT)EXIT (U).REWIND, TAPE 8.COPY (TAPE BOUTPUT)DISPOSE, OUTPUT, *PR,C.7/8/9

UPDATE CARDS AS NECESSARY7/8/9

154

Page 159: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

CV 0

a+000 +. + +.4~~ w Us . ~ W

o; * ) 4; a i * j gn ID gn ; C; CDC7 - qV CV - 0I 0 10I C4 - C Cit

a IL ' , . in t- t-

U0 z -C z a > (Ma I o K xa 0 z

m w 0- 3 a w a- 06 .. .. a a 1- m~ 0- 2 4c -0 wW%~ & z a 41n P- z z x f- z 0-a ~a 0 x a z #A

155

Page 160: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

0

0

0

-1-

9 in

z o0 0 0 0 00 0 00 00

+

w mC u u 0l U ui A l u i M u u

SO0 0 0 0 0 0 0 0a

I n 0 0 0 0

IDl lt v c l c ~ - n c o t-

z 0 0

0 0 t C a a a a a a a a I a a a a a a a a a 0

cc to a; 9;0 0 0; 0; 0 ; V0 0: 0; 0

0 - I - S C I . - - - -l - - -l - - 0-

0 0 Ao U. a& Z a a A L %uL I L L L 4. U & % 6 U L W U L W A

0 0 V l U U U * a a * p p u a156a

Page 161: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

liEI

0

IA 1 Iin hi cm in + aN - C4 U s W u j u

'n + 0 D W + C - U 0 in I

V) 0 , CnD , 0 - m 0 C 4 M CdC 4 C

0 I- D * i 0 4c C4 Mi q 0 in 0 0 0 0 0AAt - -C 3i Z X Xi 0 A in x hi u v u u

0f o ~ w 4 W U ~ ~ u u a a o 'DIC C n + 0 *~ d i I h ih i h

* a -q a w m a-~ - hi an an n1n57

Page 162: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* .~ -. -77-

0I

a+

o; C-a. -a CO 140 us 0

hi~ 0. 6

0D . 4 ;4+0 of 00

0 * S .0+ 40-0

a . - . - C,1.C0 08 00

Co 0r. C *o-4a a*C;"o W

nw w oseam C; a - a

1 0 hiS* 0S

0 C050 0"0

-00 0 0 000

+W - CVuso *ea 0*s0 a

o v a 0

-0 400 hwO+ -a. w; l * ac.4w 0 o - . oI

ob . 4.ob *0 -+a 0 0

+ . hLi . _eaUA o 4T a sa

.5. 0* *.+0 40 0 a0

n.; m . C4 C -C+5 40 wo

. - S o *4o0 -0 -('4 0

Mq -0 V0 000hi0 400 +00+nn w. W+

W"a hwao MWO-0 ('1- C;" c 0C

+ V) + 0 us 0

V 0 0J+-0 a, 0*n 4 i0 hiCw .- CV - - r.

*60

0. C4 0 O 00we) 4;0+0 400080 wo hi4+

-COhio 1-wo nVO-0 '* ? .. ..

ft ft.

158

Page 163: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*1... - - ..--

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..lCl Cl Cl Cl Cl Cl I Cl Cl Cl Cl Cl Cl Cl Cl Cl C C C C C C C C ~ ~ ~0 0 000000000iW u 00000 W 000000 W00 0000W WW WW 0 00W 0W 0000WW W 0000000 W WW000

+ -r + Mo "mm v +4+ + ~ m +4+0+++ 4 4 4+4 + + 4++ +++

t: a- 0; --t -a - -l( - - ia --W 0-C -l' f -~i -a 0-- -) -n w - -~ 0-C -~ - U4 -D - ~ 00 ---

qv v qv l q C4 cv 4') 1') "' 1'"t4") lc 0)01' 0))004' 0)0)0)0)0)v v C4' e ) 0 Cl4 Cl C Cl C4 e C C C l l cl o C l Cl Cl l Cm C C C Cl Ce l Cl4( ~000000000000000000000000000000000000 a0o00000000000000

........................................................ ............... ....................

000000000000000r-Wo00000000 00 00 00 00 000 00 00 00 00

0- 1- Mr MA MAMAWf MAMA-MA M- A MAMA MA t- MA MAMA MA A MA0 M MADMA AOMA MOMAM W MA MACAIMACMDMA MAMAWMAW M MA MAMA MA A0MAMMAMA1MA A MA M

Cl Cl Cl Cl C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C; C;

0

Cl~ ~ ~ ~ ~ ~~~t ClC lC lC lC lC lC C Cl C? lC l ? Cl Cl Cl Cl Cl a? C! Cl Cl Cl C! Cl Cl Cl Cl lC CCl a? Cl Cl . l C C C Cl 0! Cl G! 0! C C

0000000000000000000000000000000000000000000000000000

an VOnWqWt -WvWa~ COWC lflWWOlt-W-sfOl0 oi an nllnirwN"V WO77-:c0 0 1

4 l ;0 4 A49; 91 ;a ;0 0 0;a W0DW SW *i~ 0 WW WW 0)-- --- )0)0--0 ---

a)e lllllllllllllllllllllllll~~~~~~~~~~~~~~~~~~~~~~~~~00

I,zvNMMMMMMMVVVVVVqVVVi

* . q qq q~)4)r O)') t~~l l~~l l~~l l~~l l~~l l~~ll159l~

.Ao ~ o ~ o o o o o o o O O~ O O O O O O O O O O O O

Page 164: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

1in

*' a

0

0+

+ 0

W

C4

0 a

l C+ al

0 a

o 0* a

016

* a(4

06

+ -• .. . • o+ ' . • + % + • • . + " . • • • • - . - . • - . - ° • .. , .

Page 165: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

61

VVT I VMmm m 4e V,)M~ r m cme lcNN e N N "1 CC4N C 1

00 0 00 00 0 0 0 00 0 000 0 0 0 00 0 0 0 0 0 0p0

U) -0-0 qinmnw0 r-wo0000 oooo-ww00 o--00 nw000 -Wooo ofrt.i. - .+++WW Wr W W WW1WcW~w w w wwrww w www(W W WWLU ...~r

* CL

I16

w&

Page 166: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

000000000000 a a ac. 000000000000a0000000000000000000000

x at at a as I S-- mei la) 6 i I Sow mpM M Ina amf-4C V samCt-n in a- ama V IlOO q ID a Ia II aa i aW i MCIi qVMV CD Vi Mi r) r- Ni hi hi hi) h) Mi Vi eIW Wi Wi all C-) hi -i U) 04 9- hi -i Ml IaJ UJV ONi MOD Wi f- C- Wi 40 Vi &0 Wi hi 0

-W4 WW O ~ - N O- M-O - N O M - 0

Z;tt Gb nr4~~ 4dql i 6 6 i 6 6 6;6; c 6 0ettt~ +~w

#a~ewssmsswwmmsmwmsoaawwa-t--r-MW0

r -mmoomt-

0000000 00 000 t

z 0 0 0 N 9- W f-00r- 0

V C r - CD l4 a (q N 02SC

0

0

000 00 000 00 f. 00 000 00 000 0 000 00000000000000 'S)+++++++.f~ ~ ~~ a.. . . . . . . a ... .. ... .. .. ... .. .. $.C4

CL0W W *-N "CCCCLM) OVf 0 ; - C VM4~ W W CO 1-nei00-oqKa-hM 2v f n O- m c. clrN~ NSDOOSSmr) -Sn5.00C)m I

0- VV V0 C0M3VC0 M OWV -IO M V V V00 D W - N-OOOO Oa- N 0

0

M1+

00000000000000La0000000000000000000000000000000000000 ('I++*+*~ +++++4 +*+++ *++I44 **++e+ *+-a...*4++ *++1,4 + 0I-ohiWhhiiihelhii hi hiihhhiihhiii~ihhii hii~ih i~ihihiiiuwiiii h . ('I

mmMW Mol m NN WW O ..--- (')nSOSD-S mnw .~ a'SS q'Cd DfS S .St0 400 aaa-a o ' a q o o S n n q . - - , -S () S ~

hi 10t.1mr-mmD wo mSDOI oq-vm soCCW) ~SD-.G~~.)Sn0S S.SV -WV0-00M ,4 f- Ln M -o0 0 -- V r% 0 M r- - 0 0 0 V V N 0 M-Mo0oo-N 0 n hN rm 0to - W inaoovowv No.-.-nqmai n wwm- omt-wcco - Nm vm D - r- t-o ww .'S5.'S'S'S;S'S'S'S' 4-,- 9;)-c;swmwmmsS mmsmswwwwswwwc; c; a; a0; 0; oaabooo

- -- - -- - V NN NN N c mV) mm ) mm m 4q V VV V 00

hiCI.

Ge4.hiW .

162o

Page 167: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-. o 0 ' . - ~2 - . -. .. . . .

+MAc a uw u

44. el3

M mb0iIn

(q 0 -

P(C V) l

-ofmus wI I

S- vl V~-Cl it ID

0 CD q(1'OO

ob V-0 w0 0

C4 aaou0 +'v

* *V""ooo

+41 IIhi, hi .i

W (0 . V 4

tq 0(044'cq+i +i hI

* ~ ~~ WIO-o

Cl 0 C-C

* 000

hi hi hi h

W-D000

000-

I +)w +@i.. I

-0 NDO0

co In-C 04+ +I +

W C Y mqI0mC 0

C;V;r . I lI r;-C0 C

00000000(~O4OMVU) 40

441164

Page 168: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

(7

0

04

0

In

0

Sal

0

0'lz 0 C; C C; ; C; C; C

U)

to In 0C14 C in I

0 0 M Ww 0 q CV m gn to r CD

0a0 N C;0 0l

x 04 0 0-K z z z z z z zz z x a

z CL it a w w IL Ax cc la A W U . I

164

Page 169: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

00 ftr f- t -t, t- .r- t- W W W W W W -0a 1MM() 10 00000a- - -- -.-. - -

Gi 00000000000000000000000000000000ooq 0C4 0iflw .3m 00 O OO000000ooo0000000000000000000000000000mlc.)0 0 q0o .

W 00000000000000000000000000000000000000000oqoc . . . . . ° °. . . . . .o.o.o. .oo oo a . . . . . . . . . . . . ..* -

|'.000000000000 0IISIIIlSlllll

-- - - - - - - - - - - O W

00 0 0 00o0 0 0 0 0 00 0 0 0 0 0 0 O i O 0 0

*-W.

I I

0000000 00o00000000000000000000000m0 wm t.wt-n.0CCU 000000000000000000000000000000000000 q - 1 G )( ()-()0 -IZW 0000000000000000000000000000000000000-W coo 0 '0 O0.- ( 00000000000000000000000000000000000000 tafqw 0~a -. 1. ... . . ...... ... . .. . . . . . .. . . ..... . . . . . . . . . . . . . . . . . .. . .. ow

30000000000000000000000000000000000000 - c 0

2-

0 ~ ~ ~ ~ ~ I -NVVM-M1

0*

* ft* O 00000000 00000000000000000000000000000000000000 MC .t

ou a-a .-.-- m a -- wI000-qanw waooooe vgm'-qmcn t~- 0 -t

! -

.0 ccO0a 00000000000000000000000000000000000000000000000000 40

-

u n~ 0 .

-. UL 0000 0 0 0 0 0 0 00 0 0 0 0 0 0 00.00 0 0 0 0 0-

000No*

44.............................................3

000000000000000000000000000000000000000000.00000000 ).f

(0'ACmi -WO O MV- t m ,w -v rO O ~ -V W M tv vM 0 -

n i M O0 V0000000000000 00000 t-

0 W ................................................................................... 0

o f 00000000000000000000000000000000000000000000000000 -rs

C9 c

Xw -wI VLIL 0 0 #.-

ft C14

SU 000000000000000000000000000000000000000o000000000- < -0asoo oo

*0 W

00 00 0 000 0000 0000 000 OOC 000000000 000 00000 000 ;CCr-:C c;, cc O

............................................... ow

-L 3 000000000000000000000000000000000000000 0W0000000 M;SW 0 00 0 00-

03 0000000000000000000000000CD000000.-WoocooOOOOOOOO O WOA ~ ggggggggggggggggggggggg -

1-165

Page 170: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

5.2 PROGRAM CUSLIDE

This program utilizes the output tape from CUMOD X2946

to produce CRT plots on microfiche. The resultant plots are

divided into two categories: Key meteorological parametersinvolved in cloud development and cloud droplet spectra analysis.

The former group consists of summaries of precipitation, LWC

(cloud, precipitation and total), velocity, relative humidity,

buoyancy, and radar ref lectivity; while the latter provides athree-dimensional display of the droplet spectra within the

cloud at user specified heights and intervals (IPROG=l).

As an alternative, a modified output file (IPROG=2) exists

which contains contour plots without symbols for the cloud

development parameters; altitude axes in kilometers instead

of meters; plot titles with larger characters, and deletes

the printing of the flight identification data on the plots.This format was chosen for usage in reports and slide or

overhead presentations.

Appropriate command deck card input data and a list of

plots produced follow.

166

Page 171: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 5.2.1 PROGRAM CUSLIDE Command Deck and Input Data

COMMAND DECK

MILLR,CM120000 ,T200,PK. 1416 MILLERPPAUSE PLEASE MOUNT DISK LYCP07MOUNT,VSN=LYCPO7 ,SN=LYCPO7.ATTACH, TAPE8, DATA, ID=MILLERP ,MR=1 ,SN=LYCPO7.ATTACH,,CUSLIDE, ID=MILLERP, MR1l.FTN, I=S,R=3,SL,PL=999999,OPT.REQUEST,TAPE39, *Q.

ATTCHCRT, CRTPLOTS.LIBRARY, PRESET=ZERO.LGO.

9 EXIT(U).7/8/9

INPUT DECK

CARD 1PLTARR(1) USER SPECIFIED ID(A1O)PLTARR(2) PROB. No. & ID

CARD 2IDENT FLIGHT ID,DATE,SELECTED INPUT VARIABLES(8A10)

CARD 3A IPROG,OPTS,NCYCLE,DELZ,TZERO,RIMAX,RCMAX(.15,1OI1,

15 ,3F10. 0, 2F5. 2)CARD 4

LEVTOP ,LEVBOT (215)

167

Page 172: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

77-. 2,'

[-7-

*: 5.2.2 List of Plots Produced by Program CUSLIDE

1) RAIN INTENSITY (MM/HR) VS TIME(Minutes)

2) CUMULATIVE RAINOUT (MM) VS TIME (Minutes)

3) ALTITUDE (METERS) VS TOTAL LWC (GM/M3) VS TIME (Minutes)

4) ALTITUDE (METERS) VS CLOUD LWC (GM/M3) VS TIME (Minutes)

5) ALTITUDE (METERS) VS PRECIPITATION LWC (GM/M3) VS TIME(Minutes)

6) ALTITUDE (METERS VS VELOCITY (M/SEC) VS TIME (Minutes)7) ALTITUDE (METERS) VS RELATIVE HUMIDITY (%) VS TIME

(Minutes.)

8) ALTITUDE (METERS) VS BUOYANCY (M/SEC2) VS TIME (Minutes)* 9) ALTITUDE (METERS) VS LOG10 (RADAR REFLECTIVITY) VS

TIME (Minutes)

10) DROPLET SPECTRA

HEIGHT (METERS M.S.I.) VS RADIUS (MICRONS) VS

TIME (Minutes)

168

Page 173: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-'4

5.3 CRAY-1 and CDC Interface Procelures and Documentation

LYC increased its cloud modeling research effort by

developing and applying time-dependent, numerical models

which integrate the numerous and complicated microphysical

and dynamic characteristics of the atmosphere. Such computer

programs require extensive amounts of both CPU memory and

execution time in order to model these processes. Unfortune-

ately, the two CDC 6600 computers available at AFGL do not

adequately meet these needs in a cost effective manner. In

order to meet the new computer needs of LYC, use of the CRAY-I

facilities at Kirtland AFB (AFWL), Albequerque, NM was in-

itiated. To utilize the computer systems at AFWL from AFGL,

DPSI became familiar with the three distinct communication

options available.

- Direct link to CRAY

- IBM to CRAY

- SAMMET (military CDC communication network)

Direct link to CRAY-i or linking with IBM are the simplest

procedures. They require a terminal, modem, long distance

telephone line and knowledge of CRAY-i and IBM procedures.

Each of these communication procedures only allows for the

* execution/editing of programs and viewing (via CRT terminal)

of output, and neither provides foi the transferral of pro-

grams or data files between the two sites. Another drawback

of these options is the fact that only one user may access the

CRAY-i or IBM computer at a given time.

S.

169

Page 174: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-7 -

5.3 CRAY-i and CDC Interface Procedures and Documentation (cont'd)

A second alternative, SAMNET, will allow multiple users

access to the AFWL CDC 6600 computer. In order to use

SAMNET, a variety of commands and procedure must first be

understood. DPSI has been extensively involved in their ident-

ification and implementation for the LYC applications.

DPSI helped AFGL test and evaluate a variety of procedures

for interfacing with the CRAY-1. These are to be published

as an AFGL technical memorandum.

An interesting approach to job execution at AFWL (via

SAMNET) allows users to batch jobs into the AFGL 6600. The

CDC40 in turn, activates SAMNET and transmits the job controlcards to the AFWL 6600, from which control can be forwarded

to the CRAY. When the job terminates on the destination host,

it follows the flow path back to AFGL and output is printedon ther terminal (Central, AC, AB) specified by the job cards.

U -7

"..7-

Page 175: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6. LYC Post Processing: PDP-8/E Computer

The PDP-8/E computer at LYC consists of the following

equipment

1) 32K (MOS memory and CPU)

2) Twin Dectapes (non-interruptable)

3) Tektronix I/O Screen/Keyboard

4) Input or output " magnetic tape

5) Dec-writer

6) Bootstrap loader in read-only memory (ROM)

7) Centronics printer

8) High speed paper tape reader

9) Calcomp Plotter

twin withitejTektronix 32 K Centronic

. I I CRT printer

: magtape calcomp read/pu~nci~i plotter

The TU-10 magtape drive is primarily used as an output

device and for creating backups (Program FUTIL) of Dectapes.

Using a 7 track magnetic tape it is also possible to transfer

data to the CDC 6600 computer. For example, once PDP-8 snow

scale data has been cataloged on the 6600 (transferred via

tape) it can then be sent to one of the LYC Tektronix 4052

computers via a telephone modem.

171

Page 176: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.1 OS/8 operating system

OS/8 is a sophisticated operating systemdesigned for

the PDP-8/E. Besides the monitor facilities, OS/8 includes

a library of powerful system programs which allow the user to

develop programs using Fortran IV and assembly languae.

To bring up OS/8, the PDP8/E must be bootstrapped:

Turn the power key to the "on" position. A DECTAPE with

the OS/8 operating system (see below) must be mounted on DEC

tape drive unit 0, write lock, REMOTE. The switch register

must then be set to 74708. Lower then raise the "HALT/SINGLE

STEP" keys. Press "LOAD ADDR", "EXT LOAD ADDR", "CLEAR" and

"CONT". The DECTAPE will spin and the terminal will respond

by typing a monitor dot ".'; 0S/8 is running the keyboard

monitor.

Any system or user program can be run from this point.

At any time if a program "bombs", OS/8 can instantly be re-

started by this boot proceedure. Detailed instructions on

the OS/B operating system may be found in the "OS/8 Handbook".

A list of the DECTAPES and their titles that are used on

the Cloud Physics PDP8/E is given in table 6,1. The contents

of each tape are included in a file on the DECTAPE and can be

accessed by typing:

.DIR 4

172

.. i*Lr.'...... 2.42.'2. .. * .-

Page 177: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.1 OS/8 operating system (cont'd)

TAPE NO TITLE

" 1 " SYSTEM WORK TAPE2 * OS/8 BACK UP3 * QWIK4 AND PLOT4 M MAINDECS DIAGNOSTICS5 * MORT'S TAPE6 * BACK UP7 * A/C BACK UP8 RTX/8 DEVELOPMENT9 *FORTRAN IV SYSTEM10 * BASIC11 * FLAP TAPE12 RTX/8 TAPE13 LWC TAPE14 FORTRAN PROGRAMS15 TKPLOT16 WORKING STORAGE 1

C 17 WORKING STORAGE 218 WORKING STORAGE 319 WORKING STORAGE 420 * BACK UP

* indicates the tape contains the OS/8 operating system andcan be bootstrapped

Table 6.1: Lab DECtape Listing

-

..:

417

Page 178: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2 FORTRAN IV

This chapter will describe the FORTRAN IV system avail-

able on the LYC PDP-8/E computer. The steps necessary tocreate and run a FORTRAN program are described in the next

few sections, however it is assumed the reader has prior

knowledge of FORTRAN programming.

OS/8 FORTRAN IV provides full standard ANSI FORTRAN IV

under the OS/8 operating system. The FORTRAN IV packagerequires a hardware environment consisting of a PDP-8/E with

32k of memory, a console terminal and a mass storage device.

The system is designed to employ a KE8-E Extended ArithmeticElement, FPP-8/E Floating Point Processor, and any bulk

storage or peripheral I/0 device.

The FORTRAN system is highly optimized with respect to

memory requirements, amd am overlay feature is included that

can permit programs requiring up to 300k of virtual storage.

The library functions permit the user to access a number a

laboratory peripherals, to evaluate a complete set of tran-scendental functions, to manipulate alphanumeric strings, and

to output to the Tektronix graphics terminal or the calcomp

incremental plotter.

174

.- - - . - . -. - . . .

,! * * I .

S. S -

Page 179: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- sq * -' m , - . -* t .-' , , .'- "% . '. 5

.- " ' - . -; - . - ,- o

, .- - -. " _ . ,. " ,.- - - .

* 6.2.1 FORTRAN system components

OS/8 FORTAN IV is a system of five programs. (table 6.2)

Each program is a necessary part of the system and must be

run in proper sequential order.

A. TECO - text editor

B. F4 - FORTRAN IV compiler

1. PASSI

2. PASS2

3. PASS20

4. PASS3

C. RALF - Relocatable Assembler

D. LOAD - Relocatable binary loader

E. FRTS - FORTRAN Run-time system

Tabie 6.2: OS/8 FORTRAN IV system

A FORTRAN IV program written by the user is called a*: source program, to distinguish it from the various object

programs generated by the OS/8 FORTRAN IV system. (see figure

6.1). Source programs are prepared on-line by means of the

system editor, TECO.

,

~175

qi . . - . . . . . . . - - - . , . . , : - , - - . - . . . - . . . .... . -

Page 180: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

... - ., .. . . . -. _.. . . ,... . . .. -, -. . . . _ . ., * .. .. . _i- i.-

6.2.1 FORTRAN system, components (cont'd)

TECO

Fortran

Source

Program

Figure 6.1: Preparing a FORTRAN IV Source File

176

' . . .

Page 181: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.1 FORTRAN system components (cont'd)

Once a source program has been prepared, it is supplied

as input to the FORTRAN IV compiler, F4, which translates

each FORTRAN statement into one or more RALF (Relocatable

Assembly Language,Floating Point) statements and produces anoutput file containing an assembly language version of the

source program.

Compilation errors are printed on the DECwriter in two

letter codes. (see "OS/8 Handbook, pages 8-14 for F4 error

K messages). If a source listing has been requested, the errorsare printed, after the line in error in plain English.

The RALF assembly language output produced by the com-

piler must be assembled by the RALF assembler. During assembly

each RALF Assembly Language Statement is translated into one

or more instruction for either the PDP-8/E computer or the

Floating Point Processor and an output file is created con-

taining a relocatable binary version of the assembly language

input. (See figure 6,2)

The relocatable binary file produced by the RALF assembler

is a machine language version of a single program or subroutine.

This file, called a RALF module, must be linked with its main

program (if it is a subroutine) and with any other subroutines

or functions, including subroutines from the system library,

that it requires in order to execute. The OS/8 FORTRAN IV

loader, LOAD, accepts a list of RALF module specifications from

the DECwriter and builds a loader image file containing a

relocated main program linked to relocated versions of all sub-

routines and library components that the mainline requires to

execute. (see figure 6.3)

177

Page 182: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.1 FORTRAN system components (cont'd)

The loader image file is an executable core load, completeexcept for run-time 1/0 specifications. It may be saved on

the DECtapes and run at any time. The loader also provides

for an optional core load map that indicates memory allocation

of the individual routines loaded. The overlay feature of the' loader permits certain user defined modules of a program to

be stored in the loader image file during execution and read

into memory only as needed, which effectively provides a ten-

fold increase in maximum program size. (See figure 6.3)

The loader image file is read and executed by FRTS, theFORTRAN RUN-TIME SYSTEM. FRTS configures an I/0 supervisor

to handle any FORTRAN input or output request. The run-time

system assigns I/0 device handlers to the I/0 unit numbersreferenced by the FORTRAN program, allocates 2/0 buffer space,

and also diagnoses certain types of run-time errors; Such as,I/O errors, numeric underflow/overflow, hardware malfunctions,etc. Run-time errors are indicated at the DECwriter; fatal

errors cause the program to abort, however.

The system provides complete error traceback to identifythe full sequence of FORTRAN statements that terminated in

the error condition.

The compiler, assembler, loader and run-time system eachaccept standard OS/B command decoder option specifications."OUTPUT1,OUTPUT2,OUTPUT3 <INPUTI, ... , 4NPUT9/OPTION"

Options are alphnumeric characte ; preceeded by a slash.They can be anywhere in the command 31ne, but usually placed

on the right.

178

. ... * .

Page 183: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

Q.1q

oJ

:-. DECwrlter

Fortran

TECO Complier

Fortran RALF

Source Input

Program File

Figure 6.2; Compil1ng a Source File

179

Page 184: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

Binary File

Fortran

Compilier_______ _ag

RALF

Assembler

RALF xCtO

Inut(FRT S)

File

Figure 6.3: Assemibling, loading and executing a RALF file

.4 180

Page 185: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.2 TECO-Text Editor

OS/8 TECO is a powerful text editing and correcting pro-gram that runs under the OS/S operating system. TECO may be

used to edit any form of ASCII text such as program listings,

manuscripts, correspondence and the like. Since TECO is a

character-oriented editor rather than a line editor, text

edited with TECO does not have line numbers associated with

it, nor is it necessary to replace an entire line of text inorder to change one character.

Writing a FORTRAN program begins with the text editor.

TECO is called by typing:

.R TECO4and responds with an asterik "", the OS/8 prompt. Editingwith TECO is actually very simple. All commands are one or

two letters with or without arguments. The following table

briefly illustrates some commonly used TECO commands.

ERdev:filnam.ex Open for READ (input) 'filnam.ex'on device -ev'

EWdev:filnam.ex Open for WRITE (output)'filnam.ex'on device-'dev'

Y Clear the text buffer, then readthe next page from input

P Write the text buffer to outputRead the next page from input

L Move the character pointer(cp) to the beginning of thenext line

T Type the content of the textbuffer from the cp to the be-ginning of the next line.

Itext Insert mode. All subsequent chara-cters are placed before the cp

181

Page 186: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

o 6.2.2 TLCO-text editor (cont'd)

Stext Search for string 'text',cp positioned after search string

3 move the cp to the beginning ofthe text buffer

FStextl$text2$ search for sting 'textl' andreplace with 'text2'

EX write text buffer to output.copy remaining input to output,close Input/Output. exit toOS/8 monitor.

Table 6.3: TECO Command Summary

note: all commands are separated by one 'ALT MODE' key(which echos as a dollar sign) and a command strinq is

terminated by two consecutive altmodes.

For more information regarding TECO, see the"OS/8 Handbook"

pages 2-132.

182

Page 187: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-.-.

U 6.2.3 F4 FORTRAN IV compiler

The FORTRAN IV compiler accepts one FORTRAN source language

program or subroutine as input, examines each FORTRAN state-

ment for validity, and produces a list of errors plus a RALF

assembly language version of the source program, along with

an optional source listing. A job which requires more than

one module (i.e. subroutine) must have each program compiled

separately, then combined using the loader. F4 terminates

by chaining to the RALF assembler automatically unless it was

requested to exit to the monitor after compilation. The com-

piler is called by typing:

.R F44

F4 responds with the Command Decoder prompt, the asterik "*".

The file/option specification line is entered as:

dev:RALF.RL,dev:LIST.LS<dev:FTCODE.FT/(options)

terminated with a carriage return. The compiler accepts

four options. Any run-time options recognized by RALF,LOAD

or FRTS may be specified to the compiler.

OPTION OPERATION

A return to keyboard monitor after compilation.RALF is not called

F produce a RALF listing on 'dev:LIST.LS'

N do not include error traceback faciltities(decreases memory requirements)

Q optimize cross-statement subscripting duringcompilation.

Table 6.4: F4 Compiler Options

183

Page 188: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.3 F4 FORTRAN IV compiler (cont'd)

* Any errors detected by the compiler are reported on

the DECwriter in short form (see "OS/B Handbook", pages 8-14).

If a listing is requested, the errors are printed in English.

18

18

-.. . . . . . . . . . . . .. . . .

Page 189: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.4 RALF - relocatable assembler

The RALF assembler accepts one RALF assembly language

program or subroutine as input and produces a relocatable

binary file, called a RALF module, as output. An optional

listing of the assembled input file is also available. RALF

terminates an assembly by exiting to the keyboard monitor

unless it was requested to chain to the loader.

RALF honors three options:

OPTION OPERATION

G After assembly, chain to the loader, then tothe Run-Time system

L After assembly, chain to the loader, but notthe Run-time system

T If a listing file has been specified in thecommand line, surpress the listing and produceonly the symbol table

Table 6.5: RALF Options

RALF is called by typing:

.R RALF4

and responds with an asterik. The command line appears as:

dev:RALF.RL,dev:LIST.LS<dev:RALFI.RA,...,dev:RALF9.RA/(options)

185

Page 190: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

7 - -. . . , - .

6.2.4 RALF - relocatable assembler (cont'd)

If more than one Input is specified, they are combined

into one module and assembled as if it were one file.

When an error is detected, the error code (see "OS/8

Handbook" pages 5-38 for RALF error codes) and the line in

error are printed on the DECwriter. If a listing was re-

quested, the error code appears before the line in error.

For more details on the RALF assembler and how to code

Floating Point programs, see the "OS/8 Handbook", chapter 5

and pages 8-15 to 8-20.

186

. . . . . .-..

Page 191: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

S 6.2.5 LOAD - relocatable loader

The OS/8 FORTRAN IV loader accepts up to 128 RALF modules

- along with any necessary library components, to form a loader

image file that may be loaded and executed by the run-time

system. This is accomplished by replacing the relative

" starting location of each section (module) with an absolute

core address. Absolute addresses are also assigned to all

entry points defined in the input modules. Once all RALF

modules and library components have been assigned to some

portion of memory and linked, absolute addresses are assigned

to the relocatable binary text and to the externals.

The overlay feature of the loader facilitates running

programs which are too large to fit into memory, allowing

programs which require 300K of memory to run in less than

32K actual core memory.

An overlay is a set of subroutines stored on a bulk

storage device. When any subroutine in an overlay is called

by the mainline or other subroutine, the entire overlay is

read into memory, where it generally replaces another overlay

*. of equivalent size.

Overlays are variable-size portions of memory reserved

. for specific sets of overlays. FORTRAN IV permits eight

levels, 0-7. Level 0 is always present in memory, and con-

tains the mainline, common blocks, PDP8 mode code, and library

components.

Levels 1 thru 7 each may contain up to 16 overlays, one

of which is core resident at any given time during execution.

187

Page 192: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.5 LOAD - relocatable loader (cont'd)

As execution begins, overlay MAIN is loaded into level O and

started. Other overlays are read into memory when one ofItheir constituent subroutines is called. No two overlays

Kl from any given level are ever co-resident

To call the loader, type:

.R LOAD 4

Load will respond with an asterik. The command string appears

as:

dev:IMAGE.LD,dev:MAP.LS<dev:PROG9.RL,...,dev:PRO9.RL/(options)

IMAGE.LD i$ the loader image output file. MAP.LS is the loader

symbol map output file. Possible run-time options & -:

OPTION OPERATION

" C Continue the current line of input on the nextline. The command decoder only permits nineinput files per line. This option circumventsthis.

G Treat the current line of input as the last andchain to the run-time system.

L Accept the single input file on this line as analternate library, used in place of the systemlibrary.

O Close the current level, and open the next se-quential level for input.

S If a symbol map has been requested, include systemsymbols.

U Ignore the rules governing subroutine calls be-. tween overlays

'S TABLE 6.6: LOAD OPTIONS

1880

Page 193: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

- - *|

-*-- -- ,- .-- w -,,. -, . -.-

1 6.2.6 FRTS - FORTRAN run-time system

The OS/8 FORTRAN IV run-time system reads, loads, and

executes a loader image file produced by the loader. It also

configures a software I/0 interface between the FORTRAN IV

program and the OS/8 operating system, then monitors program

execution to direct I/0 processes and identiftiescertain types

of run time errors. The run-time system is called automati-

cally to load and execute the loader image file produced by

the loader whenever the "G" option is specified to the loader.

The run-time system is able to accept file I/0 specifi-

cations. This allows the user to write a source program which

refers to an I/O device as an integer constant or variables.

This program may be compiled,assembled and loaded into an

image file. This image file may be run any number of times• ,each time specifying different physical I/0 devices. Thus

logical unit #8 may refer to the DECwriter in one run, and

. the line printer in another run.

To call the run-time system, type:

.R FRTS4

FRTS calls the command decoder and responds with an asterisk.

The run-time system accepts two classes of input. (1) the

load module to be executed. (2) Run-time file assignments.

To define the image file, type:

*dev: IMAGE.LD/ (options)

189

Page 194: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

"4

6.2.6 FRTS - FORTRAN run-time system (cont'd)

iZ Possible options to FRTS are:

OPTION OPERATION

H Halt after loading, but before executing theprogram. Pressing 'cont' switch starts the

program.

E Ignore the following run-time errors

a. Illegal subroutine callb. Reference an external in an overlay

other than in the form 'JSR EXTERN'c. Reference to an undefined symbol

TABLE 6.7: Run-Time System Options

Once the image file has been defined, FRTS returns withanother asterisk to accept I/0 specifications. Four out of

nine possible I/0 unit numbers are initially assigned by FRTS.

I/0 UNIT INTERNAL HANDLER

1 paper tape reader2 paper tape punch3 line printer4 DECwriter567 user defined89

TABLE 6.8: FORTRAN I/0 Unit Assignment

To associate a device with a unit number type:

dev:/nwhere "n" is the unit number, and "dev:" is any name of a

non-directory device (LPT:,MTAO:)

190

Page 195: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.2.6 FRTS - FORTRAN run-time system (cont'd)

To define a file structured data file type:

dev:file.ex/n for previously created files

dev:file.ex</n for non-existent files.

In any case, only one file or device specification is

permitted on each line, and no more than six directory devicesfiles may be created by the Fortran program. A specification

terminated with an ALTMODE starts the Fortran program.

o.1

~191

. ..

Page 196: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

*6.3 Data Processing Programs

6.3.1 Program PLOT.PA

Program PLOT was written to aid LYC scientists in the

calibration procedure of aircraft VCO data and for general

data plotting where best fit (1st and 2nd degree) equations

can be calculated. Input is accepted through the DEC-Writer

terminal, output is displayed on the Tektronix CRT.

Program PLOT will

(a) plot an x-y table on the Tektronix plotter; the

table is input at the Decwriter. If desired,

the x and/or y values can be modified by logging

them in order to produce a linear-linear, a linear-

log, a log-linear or a log-log plot.

(b) generate the x values automatically after a speci-

fication of the first x and x-step is given

(c) allow the user to select the low and high valuesof x and y to be used on the plot

(d) plot each point with a '+'; the user can choose whether

or not to connect the plotted points with a line

(e) label the plot with an alphabetic description

(f) plot a least square best fit curve to the data

(first or second degree), and p,int out the

fitting function

(g) generate a table of deviations of the least square

fit to the original data, and calculate the RMS

error.

(h) allow the user to modify the data, limits anddescriptions and replot, with a new least square

fit, without having to retype the entire x-y

table.

192

Page 197: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

AD-R133 557 DEVELOPMENT OF THEORETICAL MODELS AND ANALYSES OF THE 33MICRO-PHYSICS OF CL..(U) DIGITAL PROGRAMMING SERVICESINC WALTHAM MA L E BELSKY ET AL. 31 MAY 83

UNCLASSIFIED AFGL-TR-83-0133 Fi9628-81-C NiAi F/G 4/2 N

EEmhohhohmoiE

Page 198: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

1111.0 4.1 5U1111,__ *o __

111112 10 1 1

r iiii ,__

MICROCOPY RESOLUTION TEST CHARTNATIONAL BUREAU OF STANDAROS-1963-A

I

*. -. """ ""J •" . . . . - -

Page 199: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.1 Program PLOT.PA (cont'd)

In order to execute program PLOT, and perform the many

optional capabilities, the following step-by-step procedure

should be executed:

1. Mount Dectape 5 on unit 0, write enabled and remote

2. Switches set to 7470

3. Press ADDR-1oad, EXT.-addr-load, Clear, Cont

4. Computer responds with a dot

5. Type R PLOT

6. Within 22 seconds the computer responds with

PLOTTING PROGRAM

7. IS X ON LOG SCALE?

If the x-data is to be logged base 10, answer Y otherwise N

8. IS Y ON LOG SCALE?If the y-data is to be logged base 10, answer Y otherwise N

9. IS DELTA X CONSTANT?

If the x-data (before taking logs) is equally spaced,

answer Y, otherwise N

10. If delta x is constant, the computer will request X-START

and DELTA-X, as X-START?

Type the starting value and return,

DELTA X?

Type the difference between successive x-values and return

11. The computer responds with

ENTER X,Y TABLE

or ENTER Y TABLE (for constant delta-x)

12. For each value input the computer will first print the

index number (1,2,3,..,etc) When only y-values are being

input, the user will type the y-value followed by a

193

: :' : : ,".;- . _ " :' ' :-:'- ,' , .- :" " ": '- " ." . ". .. . . . .. .1 -' . .w - ~

Page 200: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

E.3.1 Program PLOT.PA (cont'd)

return; if both x and y values are being input, the

user will type the x-value, followed by a comma, followed

by the y-value and a return.

13. When all values have been inputted, type

1E35 return

14. The computer will respond with

LIMITS OF X ARE xxxxx, xxxxx

which indicate the low and high values of the x-table.

Then it prints

TYPE LIMITS TO USE

The computer expects two numbers, separated by a comma,

the first number is the value of x at the left end of

the plot; the second is the value of x at the right end

of the plot. There will automatically be 10 divisions

in this range. If the first limit typed is unacceptable

(larger than the limit found) or if the second limit

typed (smaller than the limit found) is unacceptable,

*step 14 is repeated.

15. Step 14 is done for Y

16. The computer will print

CONNECTING LINE?

If a line is desired between points in the order they

were typed in, answer Y. An answer of N will eliminate

the connecting line.

17. The computer will respond

TURN ON PLOTTER, TYPE DESCRIPTION

Type a description to be printed on the bottom of the

plot. This description is limited to 67 characters. A

rubout will respond with a carriage return, and the user

194

Page 201: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

. . . . . . . . . . . .

6.3.1 Program PLOT.PA (cont'd)

should type the entire description over again. Make

sure plotter is on, and "on-line" before pressing return.

18. The plot will be made. At its conclusion, the computer

will ask

LEAST SQUARE FIT?

If a curve fitting the data is desired answer Y; other-

wise answer N and proceed to step 22.

19. The computer responds

DEGREE (1 OR 2)?

*. - Degree 1 is a straight line fit; degree 2 is a quadratic

fit. Respond either 1 or 2. Any other response will

force step 19 again.

20. The fitting curve will be plotted. The least square poly-

nominal will be printed

(a) at the top of the plot, and

(b) on the Decwriter

21. The computer then asks

*DEVIATIONS?

If the table of x, y, calculated-y, deviation-y and RMS

is desired, answer Y; otherwise answer N22. The computer will ask

REPLOT?

If the data is to be modified, eliminated, or extended,

or if another plot is to be made changing either x or y

limits, or the description, or the fitting function,

respond with Y; otherwise respond N and proceed at step 6

23, The computer will ask

NUMBER?

If there are no changes go to step 23(c),

195

• .'*' ',* *, * . ,- . ,.,*. .. .' . ' . '' .....-- - - • . . . . . .. ' " "

Page 202: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.1 Program PLOT.PA (cont'd)

(a) The computer expects the index number of the data

point being changed. It will accept an index num-

ber one greater than the length of the table (omit

the number corresponding to 1E35) with the assump-

tion that the table is being extended. The table

may be extended repeatedly by entering an index

number equal to one more than the previous maxi-

mum number. If the number typed is invalid, step

23 is repeated. After the number is accepted, the

• .computer will type X,Y=

Respond with the value of x, a comma, the value of

y and return. Step 23 will be repeated. The data

being typed will be logged according to responses

made in steps 7,8

CAUTION: DO NOT ENTER 1E35 FOR THE LAST NUMBER.

The program knows how many points there are in the

table.

(b) If a value of x,y is to be eliminated, after its

index number has been accepted, and X,Y = has printed,

'type

IE35,1E35 return

(c) When all changes have been made, answer NUMBER? with

0 return

The procedure restarts at step 14

ERRORS

1. Alphabetic errors: If an error is discovered before re-

turn is pressed, and the information was alphabetic, as

in steps 7,8,9,16,17,18,19,21,22, type the rubout key;

the computer will respond with a carriage return; retype

the entire response, beginning with the first character.

196

. II

Page 203: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.1 Program PLOT.PA (cont'd)

*2. Numeric errors: If an error is discovered before a comma

or return is pressed, and the information was a number,

as in steps 10,12,14 and 23, type the rubout key; the

computer will not respond (automatic feature of the 27bit ficating point package); then type the entire number

over again, beginning with the first character. CAUTION:

If two numbers were being inputted, separated by a comma,

the rubout will erase the CURRENT NUMBER ONLY.

3. Incorrect responses to Y or N: The computer will speci-

ficially look for the Y. Any character other than Y will

be treated as N except a carriage return, which should

be used only after a character has been typed.

RESTART ADDRESS: 0200

197

...........................................

. . . . . . . . .

Page 204: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.2 Program KNOL1D.FT

Introduction

KNOLID is a PDP-8/E Fortran IV program which has been

developed for the Cloud Physics Branch to obtain quick and

informative printer display of aircraft data from the lab

PDP-8/E computer.

KNOLiD will accept input from either the PMS1D Kennedyrecorder or the PDP-8/E TU-10 flight tape. The output device

is the line printer and an example may be found in figure 6.3

Note however, the example contains one 'block' of data, where-

as, KNOL1D prints two per page.

Operation

The KNOLID program is currently stored on the "Fortran

System" DECtape (#9), the source code is on tape 14, "For-

tran programs". To run KNOLID, tape #9 must be mounted on

unit 0 and the operating system booted up. The TU-10 or

Kennedy tape should be mounted on the magtape drive, set to

unit 0, write protect, and on-line. In response to the OS/8

monitor dot on the DECwriter, type 'EXECUTE KNOL1D.LD.'

FRTS will load and start running KNOL1D.

KNOLID begins by asking a battery of questions:

"PDP-8/E KNOLID VX.YY"

1 "FLIGHT NUMBER?"

THE FLIGHT NUMBER IS ENTERED IN THE FORM "EYY-NN"

19.

198

Page 205: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.2 KNOLID.FT (cont'd)

2 "TAPE FORMAT?

0 - PMs

I - TU-10 (RAWINS)

2 - TU-10 (FPPINS)

3 - TU-10 (SEMI-INS)"

THE TAPE FORMAT MAY BE PMS OR TU-10 (SELF EXPLANATORY),

RAWINS IS FOR TAPES WITH INS FORMATTED LAT/LON. FPPINS

IS DATA CONVERTED TO FORTRAN FLOATING-POINT, SEMI-INS

IS THE CURRENT FORMAT AND CONTAINS LAT/LON IN BINARY

FORMAT-ADJUST FORM.

3 "A-D BUFFER?

0 - NEW (> APRIL 80)

1 = OLD (< APRIL 80)"

IN APRIL 1980 THE A-D BUFFER FORMAT WAS CHANGED. FLIGHTS

BEFORE APRIL 1980 ARE #0, OTHERWISE #1.

4 "FLIGHT DATE?"

THE FLIGHT DATE IS ENTERED IN THE FORM "DD-MMM-YY"

5 "MAG HEADING DEVIATION - 0.0, CHANGE?"

THE MAGNETIC DEVIATION IS PRESET T6 ZERO AND MAY BE

MANUALLY CHANGED TO ACCOMODATE FLIGHTS IN AN INFINITE

RANGE OF LATITUDES AND LONGITUDES. AN ANSWER OF "Y"

RESPONDS WITH:

6 "CHANGE TO?"

THE USER NOW ENTERS THE NEW MAGNETIC DEVIATION IN

DEGREES.

199

Page 206: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

7,7,

6.3.2 KNOLID.FT (cont'd)

7 "AVERAGING INTERVAL IN SECONDS?"

THE NUMBER OF SECONDS TO AVERAGE PER BLOCK OF DATA

(i.e. 60 SECOND AVERAGE).

8 "START,STOP TIMES (AS 'HH MM SS HH MM SS')?"

ENTER START AND STOP TIMES AS INDICATED. TO PROCESS AN

ENTIRE TAPE, TYPE: "00 00 00 99 99 99"

. 9 "PARTICLE TYPE: HARDWARE INPUT OK?"

IF HARDWARE INPUT OF PARTICLE TYPE (ONLY TU-10 FLIGHT

TAPES) FROM THE C130 EVENT SWITCHES IS DESIRED, TYPE

"Y11, OTHERWISE MANUAL RESPONSE IS NECESSARY, AND

10 "PARTICIPATE TYPE (1,2,3,4,5)?"

ENTER THE NUMBER 1-5 CORRESPONDING THE APPROPRIATEWEATHER CONDITIONS.

1 = RAIN (DEFAULT FOR PMS TAPES)

2 = WET SNOW

3 = SMALL SNOW

4 = LARGE SNOW

5 = BULLET-ROSETTES

11 "COMMENTS?"

TWENTY-FOUR CHARACTERS ARE RESERVED FOR ADDITIONAL

USER COMMENTS

TAPE errors are reported on the DECwriter terminal,

and could be: parity errors, incorrect record length and

end of tape/file. When KNOLID has reached the stop time,

it will return to question 8.

200

"," , ,. '',,'*.4*" ,, . **'- - 4 *. .'. - ",-" - . . . .-... .. . "- • "' ". , "... - . - ".* ' ". - "- ,: "

Page 207: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.2 KNOLlD.FT (cont'd)

K® FLIGHT ID

FLIGHT DATEINITIAL AIRCRAFT AND ELAPSED SECONDSDATA AVERAGING CYCLECOMMENTS

INITIAL LATITUDE AND LONGITUDE

© PARTICLE TYPE; HARDWARE OR USER INPUT

S AVERAGED VCO"S; RAW AND CALIBRATED

SUMMED SCATTER* CLOUD AND PRECIP PROBE COUNTS

PROBE CHAWNEL SIZESNUIBER/METERS**3 - MM BANDWIDTH

@SCATTER, CLOUD AND PRECIP PROBE HOUSEKEEPING STATUS WORDSVARIOUS SELECTED PARAMETERS

Figure 6.4A: KNOL1D.FT sample output section definitions

201

.... , ..., *,'..- . .... -- .4 .-. ., -,, -.,- . , . . . : . . ., - . . . . ,

Page 208: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

w

4 4I

0. (flin 0CCO 0 0 CC; 0 C

Li 11111 *jeII* I0

4~~ f, a. 0 I ~-0 ZVC k(Q 0

IIN

WE I ,

-j-

Ll IL Ir0C, . 0 V n4

tr 0 -Q 1, - IWr r4... p. - -

(A- mm(l k

ow 1 - 'r 0 .

~tb C. NW ~

", 1- 1- w m 0F

4 go * &L .A *T aD z

Ir.

~, ~ 202

Page 209: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.3 Program KNIUTL.FT

Introduction

DPSI has developed a PDP-8/E quick look dump of PMSID

or TU-10 flight tapes. Program KN1UTL will read either tapes

and produce a raw VCO dum.p of user selected areas contained in

the Knollenberg buffer.

KNIUTL accepts user input from the DECwriter terminal

as to which type of tape to process and what area of the tape4to list. Currently, KNIUTL will process either a PMSID tape

or a TU-10 flight tape (in any of three formats: RAWINS,

FPPINS, SEMINS), and dump VCO, scatter probe, cloud probe

or precip probe data.

Operation

-'I. The source of KNIUTL is stored on DECtape 14; the image

file is on tape 9. To run KN1UTL mount tape 9 on unit 0,

write enable, boot-up the OS/8 monitor and type 'EXECUTE

KNUTL.LD'. FRTS will load and start running KN1UTL.

The following list represents operator dialogue withKNIUTL. Note: under score indicates user response,

(1) KN1UTL V 2.20

ENTER FLIGHT ID/DATE? B80-38 ON 17-DEC-80

(2) TAPE FORMAT?

0=PMS I=TU-10 (RAWINS) 2=TU-10 (FPPINS) 3=TU-10 (SEMINS)

0

203

, . . .~...................... ............ ..... ..- -

Page 210: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 6.3.3 Program KN1UTL.FT (cont'd)

(3) A TO D BUFFER (not asked if PMS tape)

0=OLD 1=NEW

(4) OPTIONS ENTER IT' OR IF'

DUMP VCO DATA? T

DUMP SCA DATA? F

DUMP CLD DATA? T

DUMP PRE DATA? F

(5) TAPE STARTS AT XX:XX:XX

ENTER START AND STOP TIMES (HR MM SS HH MM SS)

4

xx xx xx xx xx~ xx

.3

NOTE: If a start time of "00 00 00"1 is entered, the

first time on the tape is substituted. If "-1" is

entered KN1UTL will restart itself (used if a new

3 tape is to be dumped, with out reloading KN1UTL,

and return question #1.

-- 204

71 (4 OPTONS NTER'T' R204

Page 211: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.4 Program JWPLOT.FT

One of the liquid water content measurement systems

used by Cloud Physics on board the MC130E aircraft was known

as the "JW" (Johnson and Williams). While the device was a

good means of measuring LWC, it has problems. As aircraft

pitch changed during climbs and decents, it -produced

values below zero, DPSI has developed a program (JWPLOT),

run on the PDP-8/E computer, which will correct JW data in

real-time on the Tektronix CRT. Running JWPLOT is a little clif-

ferent than other PDP-8 Fortran programs because it recquires a

DECtape data file used as a temporary scratch space. The DECtape

must initially be zeroed. This can be accomplished via the

PIP program (Peripheral Interchange Program). With tape #9

on unit 0, and the data tape on unit 1, write enabled, type:

.R PIP* A:</Z$ (ALTMODE PRODUCES DOLLAR SIGN)

The tape on unit 1 is now zeroed, Typeo*

.R FRTS* JWPLOT4

* *A:JWPLOT.DF</8$ (ALTMODE):.

This generates a data file on unit 1 called JWPLOT.DF.

205

Page 212: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.4 Program JWPLOT.FT (cont'd)

The PDP-8/E JWPLOT program is constructed from eleven

programs.

JWPLOT main codeCORE memory device bufferRMTAO PMS tape processorTEKLIB Tektronix libraryCONTIM seconds to H:M:S subroutineINPUT accepts start/stop times flight ID/dateDISPL displays plot areaJWCORR JW correction subroutineSCALE scales x,y coordinates to plot areaREADT returns one second of JW/ALT data per callLINEAX draws x or y line axis

JWPLOT, CONTIM, INPUT, DISPL, JWCORR, SCALE and READT are taken

directly from the CDC code. RMTA0, CORE and TEKLIB are common-

ly used PDP-8/E library routines. LINEAX is a newer version

of the line axis routine previously used on the PDP-8/E.Figure 6.4 contains terminal dialogue between the operator

and JEWPLOT. Figures 6.5A and 6.5B are sample plot output

of uncorrected and corrected data, respectively.

206

, . o ' .. : .' . . ' ' ' ... . f . ' ... . ." : " / " . . " . . -. .- .. , - .

Page 213: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

CALIBRATION DATE IS 26-SEP-,O. CHANGE VALUES? (V/N)V

ENTER THE JU-LNC CALIBRATION (AB,C)-3. 68, 4%7. 4E-4, 0. 03. 696000E*00 7. 40OE-04 0. OOOE-01

ENTER THE PRESSURE CALIBRATION (ABC)1132. 0, -. 0992, -. 1649E-61. 13288EeO3-9. 92088E-82-1. 64900E-67

ENTER THE TAS CALIBRATION (RB.C)-50. 8,. 05, 0. 05. 90000E01 5. SOOOE-02 6. 06009E-01

ENTER THE IRS CALIBRATION (AoBC), -637. 94,. 1866, -. 9991E-5

6. 37940E+02 1. 8660E-O1-9. 9918E-06

ENTER THE TEMP CALIBRATION (A,B,C)-50. 74,. 0099.. 2525E-75.07490E+91 9..908F[-63 2.5250SE-08

-RAW DATA OUTPUT? (T/F)._

USE CALCULATED TRS (T/F)F

INPUT THE START AND STOP TINES (HH MM SS HH MM SS)00 00 00 99 99 99

DEFAULT VALUES FOR HT(KM) ARE 6.0, 81.0DO YOU WISH TO CHANGE THE LIMITS? (V/N)V

ENTER THE NEW LIMITS (MIN, MAX)O.8O,5. S

DEFAULT LIMITS FOR JU-LWC ARE -S.3, 1.5DO YOU WISH TO CHANGE THE LIMITS? (Y/N)N

ENTER. FLT ID (EXX-XX)ESO-04

ENTER FLT DATE (DO-MMM-VY)1 -J AN - S

Figure 6.5: JWPLOT.FT Dialogue

207,.

Page 214: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

5.3.4 Program JWPLOT.FT (cont'd)

IE85I B1FEB-91 1: 1: 1 TO 99899:99

8a.-

6. go 803~ ga a 12 s

JW-LW

Figure 6~~~.A 4 LTsml otu norce

S *J ~ S. 208

Page 215: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.4 Program JWPLOT.FT (cont'd)

i "its ,,I TO 99,,ggig..77

4

.

.. 7.1

2 .**

* .1.,.. --. 0..........

I.l . IE ' . .

CORRECTE JW-LWC.

Figure 6.GB. JWPLOT.FT sample output - corrected

209

Page 216: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

I.

E.3.4.1 Subroutine CONTIM.FT

CONTIM is used by JWPLOT and will convert total secondsto "HH:MM:SS".

CALL CONTIM (SECS,TIME)

where:

SECS are total seconds

TIME is a two element array which will contain "HH:MM:SS"

NOTE: CONTIM will insert leading zeros for time parameters

less than ten. i.,e. 12:03:00.- + t

6.3.4.2 Subroutine INPUT.FT

INPUT is another JWPLOT subroutine which will accept

from the user:

(1) start and stop times (HH MM SS HH MM SS)(2) new height (kin) limits

(3) new JW-LWC limits

(4) flight ID

(5) flight date

This information is returned to JWPLOT through common memory.

210

-e .... ..- ,. ., ,,, i . . . . . . . . .*-- I * "" ' ' ' "" '" "" "" " - " I I*" " "

Page 217: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.4.3 Subroutine DISPL.FT

DISPL is used in JWPLOT to draw the plotting area of

the JW graph. Flight ID, flight data, start and stop times

are drawn at the top; x and y axis are drawn and labelled.

Whether the plot is corrected or uncorrected data is indi-

cated at the bottom.

6.3.4.4 Function JWCORR.FT

JWCORR is used in JWPLOT to perform the JW=LWC correc-

tion. By building a table of intercept points using the

Tektronix cross-hairs (identifying true zero values), JWCORR

can subtract or add the proper offset to align the JW-LWC

data point to zero.

6.3.4.5 Subroutine SCALE.FT

SCALE is used to program JWPLOT to scale JW/HT data

points to the plotting area and to ensure that no points

fall beyond x and y limits. If so, the points are set to

extreme x and y values and plotting occurs on the graph

boundaries.

6.3.4.6 Subroutine READT.FT

READT was developed from JWPLOT to return one second data

from a PMSlD flight tape. READT uses the RMTAO subroutine

which processes four second tape data; however for every call

to READT, a pointer (KNBASE) to the current second's data

is incremented to the next second. After four calls (four

seconds of data), RSADT reads another tape record and resets

211

.............. . . . ......

. . . . . . . . . . . . . .

Page 218: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.4.6 Subroutine READT.FT (cont'd)

KNBASE to second #I. Errors are directed by READT and generate

an error message on the DECwriter terminal:

"TAPE ERROR X"

Where X is the error (1-7)

Error codes are then returned to JWPLOT for further

processing. (i.e. END OF TAPE CONDITION).

E.3.4.7 Subroutine LINEAX.FT

LINEAX is a Fortran subroutine which will draw and label

an X or y axis on the Tektronix CRT. It replaces an older

version also called LINEAX. The major differences being:

(1) numbers plotted on the y axis are at 00 angles as is

the x axis, and (2) axis max and min limits are scaled down

automatically by LINEAX to ensure a maximum field width of

4 characters for each tic mark numeric-label.

212

Page 219: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

S

6.3.5 Program SNOPLT.FT

SNOPLT has been developed by DPSI for analysis of snow

data collected during LYC's SNOWlA project (1981). SNOPLT

contains many options for manipulating the data via a smooth-

ing technique, zeroing negative weights or rates, enlarging

and reducing plot sizes, and specifying the smoothing neighbor-

hood for the 'DERIV' function.

SNOPLT requires as input a data file processed by the

OS/8 operating system (either DECtape or magtape). Snow

data contained on this tape will be buffered into a 2400

element array (=1:52:21 hours). Data is then processed in

one hour increments (weight and rate plots as defined by user

input options) and then shifted left through the array leaving

300 original data points. The remaining space in the array

(2100 points) is filled with the tape data and the next hourprocessed.

This method of shifting the data left through the array

is known as "the mobile page" and simulates virtual memory.

This was necessary in order to properly implement the "Deriv"

function; whereas data from the previous hour is required in

the N-point neighborhood smoothing,

Figure 6.6 contains the dialogue for operating SNOPLT

and figure 6.7 is a sample plot. A brief description of each

question (from figure 6.6 follows:

1) The frequency of each snow weight (Delta 'T') has been

timed at 2.809 seconds. This is a default, but can be

changed. Note: <N> indicates that pressing carriage

return is the same as typing 'N' (NO).

213

.............................. 2

Page 220: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.5 Program SNOPLT.FT (cont'd)

2) If question one was yesaccept a new delta 'T'.

3) Not a question; prints date/ID of collection mission.

4) Allows output selection of printer, plotter or both.

5) Page width is default to 11 inches - allows redefining

this to any size.

6) Defines how many hours of data to plot on each page,

7) Fixed hour size determined by questions five & six. This

vill adjust the frame size to center the number of hours

vithin a page. Adjustable for plotting overlays of other

cbpartment's snow data.

8) Should a snow rate plot be produced, enter T(rue) or

F(alse).

-9) Minimum and maximum scale of snow weight plot.

10) If snow rate plot selected (question eight; minimum and

maximum scale of snow rate plot; and smcothing neighborhood

'N' for derivative function.

11) Should the snow weight be smoothed prior to plotting;

T(rue) or F(alse)

214

Page 221: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.5 Program SNOPLT.FT (cont'd)

12) If question eleven is true; should the snow weight be

generated from snow rate data (True) or by smooth func-

tion (False).

13) Should negative weights and negative rates be set to

zero (True or False).

215

.

*. .°.

C ' . -t % ~ ~ .* C ' * ~ ~ * . ..... -

Page 222: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.5 Program SNOPLT.FT (cont'd)

NOTE: User responses are identified by underscores

1) SNOPLOT -- SNOW RATE PLOTTING PROGRAMSNOW WEIGHT DELTA IT' = 2.809CHANGE DELTA 'T* (Y/N) <N>?

2) Y1 ENTER NEW DELTA 'T' (XX.XXX):

3) SNOW MISSION ID: S82-04 31-JAN-82

4) PLOTTER OUTPUT (T/F):PRINTER OUTPUT (T/F) -

5) PAGE WIDTH = 11.0, CHANGE TO (CR=SKIP):

6) HOW MANY HOURS OF DATA PER PAGE (XX)?

7) ENTER FIXED HOUR FRAME SIZE (CR=x.y)?

8) YOU WANT TO INCLUDE A SNOW RATE PLOT (T/F)?

9) SNOW WEIGHT PLOTSENTER MINMAS:

10) Y8 SNOW RATE PLOTSENTER MINMAX" _

4ENTER NEIGHBORHO-D"FOR DERIVATIVE FUNCTION:

11) SMOOTH WEIGHT DATA (T/F):

12) Y1I SMOOTH WEIGHT FROM RATE DATA (T/F):

13) ZERO NEGATIVE WEIGHTS (T/F):ZERO NEGATIVE RATES (T/F):

Figure 6,7; SNOPLT dialogue

216

" " 0 % ' '' "'' ''" " " " ' * . . ' ' * CC. - C. . . . . . . . . . . .. 'J - " " " - " "

Page 223: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-r- * * . . ,.7r. ---

0

0

* -4

0

00

S 217A 0 11 N a IV A a al

Page 224: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6 Fortran subroutines

There is a set of Fortran (also written in RALF assembler)

subroutines used on the PDP8/E for processing aircraft data.

(1) RMTAO: was written in RALF assembler to convert PMS ID

or TU-10 flight tapes to Fortran format

(2) CORE: was received through the "PDP-8 Software News"

Fall 1980 magazine. CORE enables Fortran IV to

execute the ENCODE and DECODE functions not pos-

sible before in PDP8/E Fortran IV

(3) SCANT: was developed to eliminate the drudgery of pro-

cessing tape errorEwhen using RMTAO. SCANT also

implements the binary search method, and thus,

very quickly searches tapes for start times.

. II

218

Page 225: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-. .7. 7. 7. 7.r 7 ;P-,

6.3.6.1 Subroutine RMTAO.RA

RMTAO is a RALF coded subroutine used by Fortran programsto read PMS 1D and TU-10 flight tapes. Since its inception,many revisions have been developed to make RMTAO an extremely

versatile addition to the PDP8 Fortran library. RMTAO features

include:

1) processes PMS or flight tapes

2) seven diagnostic error codes

3) five tape functions (expandable

to eight)

4) TU-10 tapes include LAT/LON and

event word data

5) economical memory resources

RMTAO requires six arguments per call:

CALL RMTAO (Al,A2,A3,A4,A5,A6)44

where:

Al = 276 element array tape buffer

1-64 Second 165-128 Second 2 Knollenberg buffer see Appendix 1

129-192 Second 3193-256 Second 4257-258 Second 1259-260 Second 2 Latitude/Longitude (in radians)261-262 Second 3263-264 Second 4265 Second 1266 Second 2 Event word data (1 through 5)*267 Second 3268 Second 4

219

Page 226: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6.1 Subroutine RMTA0.RA (cont'd)

269-270 Second 1271-272 Second 2 SIGN & ID data word for LAT/LON273-274 Second 3275-276 Second 4

* event word codes

1 = RAIN2 = WET SNOW3 = SMALL SNOW4 = LARGE SNOW5 = BULLET ROSETTES

A2 = tape format

0 = Kennedy tape1 = TU-10 tape

INS data in RAW format2 = TU-10 tape

INS in FPP format3 = TU-10 tape

INS in semi-FPP format

A3 = A-D buffer tape

0 = OLD (BEFORE APRIL 1980)

1 = NEW (AFTER APRIL 1980)

A4 = tape error code

CODE MEANING

0 NO ERROR1 PARITY2 END OF FILE3 INCORRECT RECORD LENGTH4 BEGINNING OF TAPE5 DRIVE OFF LINE6 END OF TAPE (AT EOT, RMTAO AUTOMATICALLY REWINDS)7 BLANK TAPE READ

220

Page 227: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6.1 Subroutine RMTAO.RA (cont'd)

AS = - number of second to process for READ (FUNCTION 0)

OR + number of records to space forward or backward

(FUNCTIONS 3 and 4)

A6 = tape drive function

CODE MEANING

0 READ A RECORD & CONVERT TO FPP FORMAT1 REWIND DRIVE, TURN OFF LINE2 REWIND DRIVE3 FORWARD SPACE4 BACKSPACE

5] UNUSED

The source file of RMTAO is on tape number 14 and

is called RMTAO.RA.

221

r- 7

Page 228: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

.. . ..- .... - - -.-. . ,[ • . - .. . .' . . .- . . . . - - - - - - : - -

6.3.6.2 Subroutine CORE.RA

The CORE subroutine, received from "PDP-8 Software News"

Fall 1980 magazine, is a RALF assembler coded program which

will create a memory I/O buffer accessible via Fortran READ/

WRITE commands. CORE requires only one call to define the

I/O unit number. More than one call will produce unpredic-

table results. Calling format is:

CALL CORE (u)

Where: u is the I/O unit to assign the memory buffer not

previously used in system configuration (the LYC

PDP8/E system uses unit 5)

A write to the memory device is like printing on the

terminal. A read will transfer the buffer to the Fortran

program as though the characters were typed on the keyboard.

ENCODE - Simulated feature

*. A number can be written to the memory device using a

numeric format (I,F,D) then read back using alphanumeric

format (A).

example: CALL CORE(5)NUMBER=12.3WRITE (5,10) NUMBER

10 FORMAT (F6.2)READ (5,20) ALPHA

20 FORMAT (A6)

At this point, Alpha = "12.3"

222

Page 229: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6.2 Subroutine CORE.RA (cont'd)

The ENCODE feature is a particularly useful tool in for-

matting for plotter output.

DECODE - Simulated feature

Virtually identical to ENCODE, DECODE will convert an

* alphanumeric string to numeric format.

CALL CORE (s)ALPHA=6H 14.67WRITE (5,10) ALPHA

10 FORMAT (A6)READ (5,20) tUMBER

20 FORMAT (F6.2)

NUMBER is now set to 14.67

223

V..-

Page 230: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

* 6.3.6.3 Subroutine SCANT.RA

Every job run on the PDP8/E computer which processes

aircraft data tapes requires TU-10 drive control. Every

job must also process tape error messages, should an error

occur during execution. Most jobs handle data in a time

frame; that is, within a start and stop time. For these

reasons DPSI has developed a RALF assembler routine (SCANT)

to handle magtape overhead control.

Subroutine SCANT interfaces the user Fortran IV programwith the RMTAO (read magtape 0) subroutine. SCANT features

include:

1) reset, read and scan functions

2) common memory communication block

3) stop time detection and start time

not located

4) full tape error diagnostics in simple

English

5) aircraft clock rollover algorithm

All communication variables and parameters are passedthrough common 'A'. This common block contains the following:

KNBUF Knollenberg tape bufferKNBASE PTR to current second in KNBUFFORMAT tape format (PMS/TU-10)ATOD A to D buffer tjLpeERROR RMTAO error codeSECCNT number of second to process per record (1,2,3,4)CURSEC current secondRECORD current tape recordSTARTT search start time

224

Page 231: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6.3 Subroutine SCANT.RA (cont'd)

STOPT search stop time-FIRSTT first time on tapeFUNCT SCANT functionTERROR SCANT error code

Internal time is always maintained in a total seconds

format (H*3600 + M*60 + S) as in variables CURSEC, STARTT,

STOPT, and FIRSTT. Whenever time is printed, as in an error

message, it is converted back to a normal format (HH:MM:SS).

When a rollover condition occurs, 24 hours (86400 seconds)

is added to CURSEC, therefore if a start time greater than

23:59:59 is specified, it too should include a 24 hour roll-

over, i.e. 25:05:00.

The three functions RESET, READ and SCAN of subroutine

SCANT are selected through an arithmetic variable, FUNCT:

FUNCT.LT.0 RESET

rewind the tape drive and read record one.

FIRSTT is set to the first time on the tape.

FUNCT.EQ.0 READ

One second of tape data is read.*

FUNCT.GT.0 SCAN

The time in STARTT is searched for in whatever

direction necessary (forward or backward).

* One tape record contains four seconds of data. When a

record is physically read, KNBASE is set to second 1, (=0);

*when a READ is processed, KNBASE is incremented to second 2

(-64), second 3 (=128), second 4 (=192), second 5; next record

is read, and KNBASE is reset to zero.

225

: -'.-? -' '. ;; ; -. ? .-.; -.? . ; ; ; ? .;/ - , .. ., .. . . ;. i.;-? , . .:- ; :. ,:.- -,, .. . ; *

Page 232: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

-4 6.3.6.3 Subroutine SCANT.RA (cont'd)

.If SCANT detects a search error, it reports it through

another arithmetic variable, TERROR.

TERROR.LT.0 the stop time (in STOPT) has been exceeded by

the last read. *

TERROR.EQ.0 no error

TERROR.GT.0 the start time (in STARTT) has not been located.It could be either before FIRSTT or after the

EOF, EOT or BTR (blank tape read).

* A stop time will result if a) the stop time has been passed,

b) or if an EOF, EOT or BTR has been detected. ERROR will

contain the actual situation. See section 4.5.5.1 for RMTA0

error codes.

i After each call to subroutine RMTAO, SCANT interrogates

the tape error word, a non-zero value calls the error message

processor. There are seven possible errors:

1) PARITY

displays error message

"HH:MM:SS PARITY ERROR ON RECORD: XXXX"

the next record is read

2) END OF FILE (EOF)

displays error message

"HH:MM:SS END OF FILE AT RECORD: XXXX"

if SCANT was currently searching for a start time, TERROR= 1

if the EOF occurred during a read, TERROR=-l

226

2'r

Page 233: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,

6.3.6.3 Subroutine SCANT.RA (cont'd)

3) INCORRECT RECORD LENGTH (IRC)

displays error message"HH:MM:SS INCORRECT RECORD LENGTH ON RECORD: XXXX"

the next record is read

4) BEGINNING OF TAPE (BOT)

no error message, used for search function. If BOT is

hit twice in a row during a search, TERROR=+l

5) OFF LINE

"* TU-10 OFF-LINE... FIX AND PRESS RETURN!"

Correct the tape drive problem and press the keyboard

return key.

6) END OF TAPE (EOT)

2 displays error message

"physical end of tape"

the end of tape marker has been sensed. If SCANT was

currently searching, TERROR-41. If the EOT occurred during

a read, TERROR=-l.

7) BLANK TAPE READ (BTR)

displays error message

q"BLANK TAPE READ (HH:MM:SS)"

The last read took too long, and therefore no data is on

the tape. If SCANT was currently searching for a start

time, TERROR-+l. If the BTR occurred during a read, TERROR

-- 1.

. 227

,f .4 ..* . .° ° °. . °o-. - . . * " -- °. ~. . ...a

Page 234: EhhEEEEEEmoliE onOE1honEEE1hsE Ehhhmhommhhm' … · * f fredrick b. kaplan james p. lally d. keith roberts peter miller "john foley terence o'toole sdigital programming services,