FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL...

64
A - MODEL(S) FOR MICROBIAL BUDEN PREDICTION m- JPL Contract 952532 Volume VII User's Manual for the Input Translator Program (Task 2 of Phase VITI) Prepared by: Program Manager for Jet Propulsion Laboratory 4800 Oak Grove Drive Pasadena, CalifornFa 91103 Approved: Chief Operations Analysis S terns Engineering %sger Bartin NarFet ta Corporation Pa 0. Wox 179 Denver, Colorado 80201 https://ntrs.nasa.gov/search.jsp?R=19700019798 2020-02-29T22:42:23+00:00Z

Transcript of FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL...

Page 1: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

A - MODEL(S) FOR MICROBIAL B U D E N PREDICTION m-

JPL Cont rac t 952532

Volume V I I

U s e r ' s Manual f o r t h e

I n p u t T r a n s l a t o r Program

(Task 2 o f Phase VITI)

Prepared by:

Program Manager

f o r

J e t P ropu ls ion Labora to ry 4800 Oak Grove Drive

Pasadena, C a l i f o r n F a 91103

Approved:

Chief Opera t ions A n a l y s i s

S terns Engineer ing %sger

B a r t i n N a r F e t ta Corporat ion Pa 0. Wox 179

Denver, Colorado 80201

https://ntrs.nasa.gov/search.jsp?R=19700019798 2020-02-29T22:42:23+00:00Z

Page 2: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

A s a r o ~ u l t oE a d d i t i o n a l work done i n Phase V L Z L ( J P L C o n t r a c t

9 5 2 5 3 2 ) , t h r a o new volurnas have been p repared . Volume V Z I d e s c r i b e s t h e

I n p u t T r a n s l a t o r Program (ITP) , which p r e p a r e s i n p u t d a t a f o r t h e MBPM.

Volume VTIX c o n t a i n s changes t o Volume VI and inchudes a complete L i s t i n g

o f a l l ~ u b r o u t i n e e i n t h e MBPM, as r e v i s e d i n A p r i l 1970. Volume EX de-

~ c r i b e a t h e u s e o f t h e ZTP wi th t h e MBgM i n p r e d i c t i n g t h e m i c r o b i a l burden

o n the Pfariner Mars 69-3.

(Shee t t o be p a s t e d i n Volume I%, page i i )

This w o ~ k %US $>e~fo~med for the Jet Propulsion h b o m t q , ci:alifornia Institute of Technology, sponsored by the F-lational Aerorxauri~ and Space Adminia-d~ &nmCG Nm7-1m0

Page 3: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

FORE WORD

This document d e s c r i b e s t h e work performed a s Task 2 of Phase VIII

of JPL C o n t r a c t 952532. (This i s a fol low-on t o JPL C o n t r a c t 952028.)

Phase VIII accomplished improvements i n t h e p r e p a r a t i o n of i n p u t d a t a

f o r t h e computer programs g e n e r a t e d i n Phase 111.

This document i s a supplement t o t h e Revised U s e r ' s Manual f o r t h e

Microb ia l Burden P r e d i c t i o n Model (Volume VI) . A s t h e work d e s c r i b e d

i n t h i s r e p o r t i s a c o n t i n u a t i o n of t h e work d e s c r i b e d i n r e f e r e n c e s 1

through 6 , t h i s document i s w r i t t e n on t h e assumpt ion t h a t t h e r e a d e r i s

f a m i l i a r wi th t h e m a t e r i a l i n t h e r e f e r e n c e d r e p o r t s .

Wis work was formed for the Jet Propulsion hbmtcsrp, California Institute of Technology, sponsmd by & National Aeronautia and Space Aaaf i tnG9~ rr?n&?r

Contracd NM7.100.

Page 4: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

CONTENTS

Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . i

. . . . . . . . . . . . . . . . . . . . . . . . . . . Contents i F

I l l u s t r a t i o n s . . . . . . . . . . . . . . . . . . . . . . . . iii

. . . . . . . . . . . . . . . . . . . . . . I . In t roduc t ion 1

. . . . . . . . . . . . . . . . . . . I1 Technical Discussion 2

. . . . . . . . . . . . . . . . . . . . . . . A General 2

. . . . . . . . . . . . . . B Descr ip t ion o f Subrout ines 3

. . . . . . . . . . . . . . . . . . . . . . C Input Data 9

. . . . . . . . . . . . . . . . . . . . . D Output Data 1 6

. . . . . . . . . . . . . . . . . . . . E Control Cards 16

. . . . . . . . . . . . . . . . . 111 Resul t s and Conclusions 20

. . . . . . . . . . . . . . . . . . . . . . . References 22

Appendix . . . . . . . . . . . . . . . . . . . . . . . A l

Page 5: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

iii

ILLUSTRATIONS -

F i ~ u r e Page

. . . . . . . . . . . . 1. I n p u t T r a n s l a t o r Program M a c r o l o g i c 4

T a b l e

1. Da ta C a r d s . . . . . . . . . . . . . . . . . . . . . . . . 6

. . . . . . . . . . . 2 . I n i t i a l Run Through ITP, TAS, a n d BPS 17

. . . . . . . . . . . 3 . R e s t a r t Run Through ITP, TAS, a n d BPS 18

. . . . . . . . . . . 4. I n i t i a l TAS Run Wi thou t Re runn ing ITP 19

. . . . . . . . . . . . . 5. R e s t a r t TAS Without Re runn ing ITP 1 9

Page 6: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I. INTRODUGTXON

During Phases I, 11, and III o f J P L C o n t r a c t 952028 t h e requ i ren~en t t i

f o r t h e M i c r o b i a l Burden P r e d i c t i o n Model (mPE2) were e s t a b l i s h e d , and the

model was deve lped and programmed f o r computer u t i l i z a t i o n . During Phases

I V , V, and V I , t h e model was used t o e s t i m a t e the burden on the Mar ine r V

S p a c e c r a f t . Refe rences 1 through 5 d e s c r i b e t h i s work.

As a r e s u l t o f t h e above work, a number o f change8 were i d e n t i f i e d

t h a t would improve t h e e f f e c t i v e n e s s o f t h e e x i s t i n g computer programs.

These changes were e f f e c t e d d u r i n g Phase VLI of t h e c a r r y - o n c o n t r a c t ( JPL

C o n t r a c t 952532). A s a r e s u l t o f t h e e x p e r i e n c e g a i n e d d u r i n g the p r e p a r a -

t i o n o f t h e i n p u t d a t a , t h e d e s i r a b i l i t y o f a more manageable method o f

p r e p a r i n g t h i s d a t a f o r i n p u t t o t h e program was recogn ized .

The I n p u t Trans l a t o r Program (ITP) h a s been developed d u r f ng Phase

V I I I o f JPL C o n t r a c t 952532 t o meet t h i s l a t t e r need. The ITP performs much

o f t h e r e p e t i t i o u s and time-consuming work invo lved i n p r e p a r i n g i n p u t d a t a .

I n a d d i t i o n , i t a l s o performs bookkeeping c h o r e s such a s r n ~ i n t a i n i n g the

c u r r e n t s t a t u s of a l l p a r t s . The I T P has been p r o g r a m e d 80 t h a t o n l y

minor r e v i s i o n s have been made t o the p r e v i o u s l y developed p o r t i o n 8 o f t h e

program. I n most c a s e s , a n e r r o r o f i n p u t d a t a t o t h e LTP i s prLneed a s

a n e r r o r , b u t does n o t s t o p t h e p r o d u c t i o n of a n i n p u t t a p e f o r t h e Tape

A l t e r a t i o n S u b r o u t i n e (TAS). The manual p r e p a r a t i o n o f i n p u t d a t a i s t h e r e -

f o r e r educed t o cod ing t h e J P L Q u a l i t y Assurance D a i l y A c t i v i t y Repor t i n -

f o r m a t i o n f o r key punching, key punching t h i s i n f o m t i o n , and making c o r -

r e c t i o n s t o t h e e r r o r s which a r e f l a g g e d by t h e ITP.

T h i s volume i s a U s e r ' s t4anua.l which d e s c r i b e s t h e v a r i o u s s u b r o u t i n e s

compr i s ing t h e I n p u t T r a n s l a t o r Program, t h e method of d a t a i n p u t , and t he

p r o c e s s o f t r a n s f e r r i n g t h e o u t p u t d a t a t o the MBPM.

Page 7: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

The p r i n c i p a l f a c t o r i n t h e development o f the ITP t h a t c o n t r t b u t e d

t o changes i n e x i s t i n g programs was t h e change from making p a r t s i n p u t s a t the

Task l e v e l t o making t h e s e i n p u t s a t t h e Sub task l e v e l .

Although t h e changes a r e minor i n n a t u r e and smal l i n number, t h e

e f f e c t i s f e l t on a number o f pages o f t h e User ' s Manual. The changes

t o t h e s e pages a r e l i s t e d i n Volume V I I I o f t h e s e r i e s o f r e p o r t s .

The ITP h a s been used t o p r e p a r e i n p u t d a t a based on t h e Mariner Mars

69-3 s p a c e c r a f t f o r u s e on t h e MBPM. Using t h i s i n p u t d a t a , t h e MBPM has

been run on t h e CDC 6400 a t Mar t in M a r i e t t a ' s Denver f a c i l i t y and on t h e

Univac 1108 a t JPL i n Pasadena.

Volume I X o f t h i s s e r i e s o f r e p o r t s d e s c r i b e s t h e p r e p a r a t i o n o f the

i n p u t d a t a , t h e r e s u l t s o f t h e burden p r e d i c t i o n o f t h e MM 69-3, and a

comparison w i t h swab sample d a t a t a k e n d u r i n g t h e s p a c e c r a f t p r e p a r a t i o n .

11. TECHNICAL DISCUSSION

A. General

Development o f t h e I n p u t T r a n s l a t o r Program was c o n s t r a i n e d by two

c o n s i d e r a t i o n s : (1) t h e i n p u t fo rmat would be on t h e f o u r types o f c a r d s

as developed by JPL t o e x p r e s s a l l t h e o p e r a t i o n s covered by t h e QA l o g

d u r i n g t h e assembly, t e s t and checkout o f a Mariner type of s p a c e c r a f t , and

( 2 ) t h e o u t p u t format would r e q u i r e a minimum amount o f changes t o be made

t o t h e Microb ia l Burden P r e d i c t i o n Model and t h e s u b r o u t i n e s a l r e a d y de-

v e l p e d a s a p a r t o f t h e model.

A STAGE a e p r e s e n t l y used i s a segment o f t h e p r e p a r a t i o n , u s u a l l y

s e v e r a l days , devo ted to a type o f a c t i v i t y such a s sys tems t e a t , space

s i m u l a t i o n test, e t c . . The STAGE L s l i s t e d by t h e ITP and t h e number is

c a r r i e d a s A m a t t e r o f r e c o r d , b u t is n o t a s i g n i f i c a n t i t e m t o t h e LTP.

Page 8: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

A TASK i s now, by d e f i n i t i o n , e q u a l t o one day. The TASK number (of

t h e STAGE) i s c a r r i e d on the r e c o r d , and t h e Bay number (of t h e e n t i r e Run)

i s merely reproduced from t h e i n p u t d a t a and i s n o t s i g n i f i c a n t t o t h e LTP.

Time i s i n p u t t o t h e program i n minu tes , and t h e ITP checks the t o t a l t ime

o f a l l SUBTASKS w i t h i n t h e TASK. I f t h e t o t a l does n o t e q u a l 1440 minu tes

(24 hours ) a n e r r o r message i s p r i n t e d .

The SUBTASK h a s become t h e b a s i c u n i t o f t h e program, r a t h e r than t h e

OPERATION. The r e v i s i o n s t o the MBPPl a r e p r i n c i p a l l y due t o t h i s change i n

approach , and a r e d e s c r i b e d i n t h e Addendum t o t h e U s e r ' s Manual f o r t h e

M i c r o b i a l Burden P r e d i c t i o n Model (Ref. 7 ) i s s u e d c o n c u r r e n t l y w i t h t h i s

r e p o r t , b u t under s e p a r a t e cover . b I i ~ s i 0 n o f p e r t i n e n t Fnformat ion (en-

v i ronment code, opera t i o n number, t ime, p a r t number, e t c . ) w i l l be p r i n t e d

a s a n e r r o r , b u t w i l l n o t c a u s e program t e r m i n a t i o n . An e r r o r w i l l be

p r i n t e d i f t h e sum o f t h e OPERATION t imes w i t h i n t h e SUBTASK i s n o t e q u a l

t o t h e i n p u t SUBTASK time.

The o n l y unique pa ramete r s s t i l l a s s o c i a t e d w i t h t h e OPERATION a r e t h e

type and t ime. A l l o t h e r i n f o r m a t i o n i s common t o t h e e n t i r e SUBTASK.

F i g u r e 1 shows a f low diagram o f t h e ITP macro log ic . I n p u t d a t a a r e

normal ly on c a r d s , whi le o u t p u t d a t a a r e on t a p e . The q u a n t i t y o f o u t p u t

d a t a p r e p a r e d f o r a s p a c e c r a f t program r e q u i r e s t h e use o f t a p e . For

example, t h e ETP o u t p u t d a t a f o r t h e %rFner Mars 69-3 program amounts Lo

a l m o s t 60,000 r e c o r d s . The o u t p u t t a p e g e n e r a t e d by the ETP compat ib le

w i t h t h e i?nput r equ i rements o f t h e TAS s u b r o u t i n e .

B.

A d e s c r i p t i o n of each o f t h e s u b r o u t i n e s i n t h e I n p u t T r a n s l a t o r Pro-

gram i s g i v e n below. A complete l i s t i n g o f each of t h e s e s u b r o u t i n e s is

i n c l u d e d i n t h e Appendix,

Page 9: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I WRITE "0" WRITE '$0" WRITE WRITE "0" CHECK FOR

DD A

KC KC NEN = 0 ON

PD ~ I I U OR NRI! '-

CARD CARD CARDS CARD SUBTASK

i

DETERNINE DETERHINE

LI AND L3 PARTS NOT CURRENTLY / lNDEx / INSTALJ3D 1

"SUBTASK" OF PARTS NOT

INSTALLED

CHECK TO SEE 1 i;,F;{z 1 1 F::zzrl

WRITE FINAL CALCULATED

AREAS

I FIGURE 1.

I MACROLOGIC

Page 10: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

SUBROUTINE ITP, t h e I n p u t T r a n s l a t o r Program ( s u b r o u t i n e ) . Th i s program

p r e p a r e s a Tape 12 f o r i n p u t i n t o t h e TAS s u b r o u t i n e (Ref. Vol. VI, pp,

18-19) , The ITP, w i t h a minimal amount o f i n p u t , performs the t e d i o u s p r e p a r a -

t i o n o f i n p u t r e q u i r e d by t h e TAS and s u b s e q u e n t l y by t h e BPS (Ref. Vol. V I ,

p. 21). The ITP, by performing much o f t h e r o u t i n e work, i n c l u d i n g t h e

bookkeeping and c r o s s - c h e c k i n g t o d e t e c t e r r o r s and i n c o n s i s t e n c i e s , p re -

p a r e s i n p u t d a t a t h a t a r e more f r e e o f e r r o r s t h a n may be expec ted from

manual ly p repared i n p u t d a t a . I n p u t d a t a t o t h e ITP a r e much l e s s r e p e t i -

t i o u s than r e q u i r e d by t h e TAS, c o n s i s t i n g o f o n l y f o u r types o f c a r d s which

must be i n p u t i n a s p e c i f i e d o r d e r . The t y p e s o f c a r d s a r e (1 ) s t a g e c a r d s ,

(2 ) t a s k c a r d s , (3) s u b t a s k c a r d s , and (4) p a r t s c a r d s . From t h e s e c a r d s t h e

ITP p r e p a r e s a l l n e c e s s a r y i n p u t d a t a e x c e p t f o r environment , b a s i c d i s t r i -

b u t i o n s , and o p e r a t i o n s d a t a . I n s t r u c t i o n types and d a t a a r e d e s c r i b e d i n

t h e I n p u t Data S e c t i o n . The c a r d t y p e s a r e i d e n t i f Fed i n Table 1 and f u l l y

d e s c r i b e d i n Reference 6, pp. 26-38.

SUBROUTINE CREAD, t h e Card REABing s u b r o u t i n e . T h i s s u b r o u t i n e r e a d s one

c a r d under t h e a p p r o p r i a t e FORMAT s t a t e m e n t and h a n d l e s w r i t i n g o f c o n t r o l

c a r d s .

, t h e DD and DQ c a r d b u i l d i n g s u b r o u t i n e . Th is s u b r o u t i n e

h a n d l e s t h e b u i l d u p o f a l l DD and DQ d a t a c a r d s , o r d a t a r e c o r d s on Tape 12.

SUBROUTINE ERROR, t h e ERROR w r i t i n g s u b r o u t i n e . T h i s s u b r o u t i n e w r i t e s e r r o r

messages which c a l l a t t e n t i o n t o i t ems which shou ld be checked f o r i n p u t

accuracy . A s t h e e r r o r s normal ly encounte red i n t h e ITP a r e n o n - f a t a l , a

t a p e Fe p repared which FB a c c e p t a b l e t o the TAS and BPS.

Page 11: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

TABLE 1

D a t a C a r d s

CONTROL CARD

RUN DESCRIPTION CARD

STAGE DESCRIPTION CARD

TASK DESCRIPTION CARD

ENVIRONMENTAL SURFACE L I F E T I M E MODIFIERS

ENVIRONMENTAL DESCRIPTION CARD

ENVIRONMENTAL qUANTLTIES CARD

OPERATION DESCRIPTION CARD

OPERATION QUANTITIES CARD

SUBTASK DESCRIPTION CARD

PART DESCRIPTION CARD

PART QUANTITIES CARD

DISTRIBUTION DESCRIPTION CARD

D I S T R I B U T I O N QUANTITIES CARD(S)

SUBTASK CHANGE CARD

SUBTASK OPERATION CARD

PART EFFECT CARD

ZONE DESCRIPTION CARD

ZONE COMPOSITION CARD

Page 12: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

SUBROUTINE FINAL, t h e FINAL a n a l y s i s s u b r o u t i n e . Th is s u b r o u t i n e performs a

f i n a l a n a l y s i s when a n END c a r d i s encounte red i n CREAD. Thia a n a l y s i s i n -

c l u d e s a l i s t o f p a r t s which c u r r e n t l y a r e n o t i n s t a l l e d and a summary of the

i n i t i a l i n p u t a r e a and t h e c a l c u l a t e d a r e a f o r each subzonz.

SUBROUTINE HEAD, HEADing s u b r o u t i n e . Th is s u b r o u t i n e p r i n t s a heading on

e a c h page c o n s i s t i n g o f parameter numbers a l o n g t h e top o f t h e page f o r e a s e

i n i d e n t i f y i n g paramete rs t o be changed by TAS.

FUNCTION IOPPER, i s a f u n c t i o n t o de te rmine i f a n o p e r a t i o n i s a decontamina-

t i o n type o f opera t i o n .

FUNCTION ISUBZO, i s a f u n c t i o n t o o b t a i n a number from t h e subzone l e t t e r

code.

SUBROUTINE KC, t h e KC c a r d b u i l d i n g s u b r o u t i n e . Th is s u b r o u t i n e b u i l d s a l l

KC c a r d s e x c e p t f o r t h e KC c a r d s w r i t t e n t o t r a n s f e r a r e a s from one s u r f a c e

t o a n o t h e r s u r f a c e o f t h e same zone ( r e f e r r e d t o a s "0" and "E" c a r d s ) .

SUBROUTINE KOPE, t h e KO and PE c a r d b u i l d i n g s u b r o u t i n e . Th is s u b r o u t i n e

b u i l d s a l l KO c a r d s and t h e i r r e s p e c t i v e PE c a r d s .

SUBROUTINE MVLR, i s t h e s u b r o u t i n e t h a t o b t a i n s environment numbers from

l e t t e r codes .

SUBROUTINE OEKC, i s t h e s u b r o u t i n e t h a t b u i l d s a complete s u b t a s k c a r d s e t

( p r i n c i p a l l y KC c a r d s ) f o r s w i t c h i n g subzone occluded a r e a s from exposed t o

occ luded ($9 code) o r from occluded t o exposed (E code) .

Page 13: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

SUBKOTJ%INE PDINTL, i s t h e PD and PQ c a r d b u i l d i n g s u b r o u t i n e f o r subzones .

T h i s s u b r o u t i n e i s c a l l e d on a n i n i t i a l r u n t o b u i l d t h e PD and P(( c a r d s

f o r t h e zones ( p a r t s 1 t o l o o ) ,

, i s t h e PD and PQ c a r d b u i l d i n g s u b r o u t i n e f o r p a r t s

(which a r e sometimes e n t i r e subzones ) . T h i s s u b r o u t i n e b u i l d s PD and PO

c a r d s f o r p a r t s o r subzones which a r e t o be i n s t a l l e d o r removed.

SUBROUTINE PNPUT, i s t h e P r e l i m i n a r y FNPUT s u b r o u t i n e . This s u b r o u t i n e i s - c a l l e d on a n i n i t i a l r u n t o r e a d i n t h e f o l l o w i n g :

(1) t h e p a r t s l i s t

(2) t h e s u r f a c e h i s t o g r a m s

(3 ) t h e d i s t r i b u t i o n shape f o r p a r t c o n t a c t r e t e n t i o n

(4) t h e s u r f a c e r e t e n t i o n f a c t o r f o r f a l l o u t con tamina t ion

(5) t h e mean p a r t c o n t a c t r e t e n t i o n

(6) t h e t o o l r e t e n t i o n d i s t r i b u t i o n f o r c o n t a c t

( 7 ) t h e mean number o f organisms on hand o r t o o l

(8) t h e r e t e n t i o n f a c t o r f o r t h e t o o l i n de te rmin ing con tamina t ion

by c o n t a c t

( 9 ) t h e p e r c e n t o f t o t a l a r e a f o r c o n t a c t on exposed s u r f a c e s

( L O ) t h e d i s t r i b u t i o n shape o f the f r a c t i o n o f o r g a n i e a s removed

(11) t h e mean f r a c t i o n o f organisms remved from a l l s u r f a c e s

Page 14: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

(12) up t o t e n decon tamina t ion o p e r a t i o n s

(13) environment codes

SUBROUTINE RECWS, i s t h e RECord Wri t ing S u b r o u t i n e . Th is s u b r o u t i n e w r i t e s

t h e d a t a r e c o r d s on Tape 12. It a l s o p r i n t s t h e d a t a r e c o r d s f o r i n s p e c t i o n

and e a s e i n i d e n t i f y i n g t h e r e c o r d s t o be a l t e r e d by TAS.

c.

The i n p u t d a t a c a r d s c o n s i s t o f a n INITIAL c a r d , a set o f c a r d s de-

s c r i b i n g c o n d i t i o n s which a r e needed throughout t h e program, and a s e t of

c a r d s d e s c r i b i n g t h e o p e r a t i o n s , i n sequence, which comprise t h e e n t i r e

assembly and t e s t i n g p reced ing launch.

The INITIAL c a r d has INITIAL i n Columns 1-7 f o r a n i n i t i a l r u n and

RESTART i n Columns 1-7 f o r a r e s t a r t run. (The program r e a d s o n l y Columns

1 -6 . ) On r e s t a r t r u n s a Tape 2 (Ref. Vol. V I , p. 18) must a l s o be used.

The n e x t s e t o f c a r d s a r e t h e PARTS LIST INPUT, the SURFACE HISTROGRAM

INPUT, t h e CONSTANT LIST, t h e DECONTAMINATE OPERATIONS CARD, and t h e EN-

VIRONMENT CONVERS I O N CARD.

PARTS LIST INPUT

FORMAT (lX, 12, A l , 12 , 3X, 4A6, l X , 4F9.0, 4X, A6)

The f i r s t s e t o f c a r d i n p u t s c o n s i s t s o f the p a r t s (and zones) l i s t .

Each p a r t (and zone) i s i d e n t i f i e d by a t w o - d i g i t number (zone) , one l e t t e r

(subzone) , and a t w o - d i g i t number ( p a r t ) ; f o r example, 0lA01. The ITP l i m i t s

u se t o twenty zone numbers (1 t o 20) , f i v e subzone codes (A, B, C , D, and E ) ,

and s i x t y p a r t s ( 1 t o 60) p e r subzone, i n a d d i t i o n t o t h e subzone codes (e.g.,

Page 15: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I6A00). A Burden P r e d i c t i o n S u b r o u t i n e (BPS) zone ( t h e subzone i s the

l a r g e s t i t e m recognized by t h e program and i s o f t e n r e f e r r e d t o i n t h i s re-

p o r t as a zone) i s i d e n t i f i e d by t h e f i r s t t h r e e c h a r a c t e r s , fo l lowed by Lwo

z e r o e s , f o r example, 01B00, which cor responds t o p a r t 21, i n t h e memory maLrix

and i n t h e p r i n t o u t , 20D00, which cor responds t o p a r t 80, and 09C00, which

cor responds t o p a r t 49. For each p a r t and zone (a zone i s t r e a t e d a s a

p a r t ) a c a r d must be read i n which c o n t a i n s t h e p a r t code (15A00, 02C25,

09E60, e t c . ) , a 24-alphameric c h a r a c t e r d e s c r i p t i o n , an a r e a f o r each o f

t h e f o u r s u r f a c e s ( i n s q u a r e i n c h e s , r i g h t j u s t i f i e d i n f i e l d ) , and a n

o p t i o n a l 6-a lphameric c h a r a c t e r s e r i a l number. A zone c a r d must be fol lowed

immediately by p a r t s c a r d s f o r a l l t h e p a r t s i n t h e zone. A b lank c a r d

t e r m i n a t e s t h e 1is t .

SURFACE HLSTROGRAM INPUT

FORMAT (110) ( F i r s t c a r d o f each S e t )

Th is number ( r i g h t j u s t i f i e d ) i s t h e number of i n t e r v a l s i n t h e

h i s togram.

FORMAT (8E10.3) (Second c a r d o f each s e t )

Th is c o n s i s t s of one o r two DR c a r d s and one o r two XR c a r d s . For

d e s c r i p t i o n o f t h e s e i n p u t d a t a s e e Vol. V I , pp. 34-35.

Two h i s tograms must be i n p u t , one f o r each of the exposed s u r f a c e

types . The " top exposed" must be i n p u t f i r s t (even though no top exposed

s u r f a c e a r e a s e x i s t ) and t h e "exposed'"~ i n p u t second,

Page 16: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

CONSTANT LIST

FORMAT (110, 2E10.3, 110, 4El0.3; /, 110; 4E10.3)

Several r equ i r ed cons t an t s a r e read i n a s followe: (Ref. Vol. V I ,

pp. 33-34, 37-38)

I A B - corresponds t o I A B ( 6 ) on PQ ( p a r t q u a n t i t i e s ) card

AAG - corresponds t o AAG on PQ card

AAS - corresponds t o AAS on PQ ca rd

LS - corresponds to LS on PE ( p a r t e f f e c t ) ca rd

APC - corresponds t o APC on PE card

APS - corresponds to APS on PE card

APA(L) - a percentage to be m u l t i p l i e d times the a r e a of s u r f a c e 1

to o b t a i n c o n t a c t a r e a on PE ca rd

LK - corresponds t o LK on PE card

AR(J) - corresponds t o AR(J) on PE ca rd

DECONTAMINATE OPE RATIONS CARD

FORMAT (1115)

Operation numbers which a r e decontamination opera t ions a r e

l i s t e d a s

11, IDET(l), IDET(2), . . . . . , IDET(I1)

where 11 i s the number of decontaminate ope ra t ions in t h e

subtask. Thfe number cannot exceed 10.

IDET(J) i s the ope ra t ion number a s s o c i a t e d with the

decontamination,

E N V E R O W N T GONVFRSION CAB%)

FOWT (10, (LX, A l ) )

Up t o t e n environment b e t t e r codes ordered 80 a s t o correspond

Page 17: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

The n e x t s e t o f c a r d s a r e t h e STAGE C A D , t h e TASK CARD, t h e SUBTASK

CARD, and t h e PARTS CARD and must a p p e a r i n t h a t o r d e r the f i r s t t ime.

Subsequen t ly , any one o f t h e f i r s t t h r e e c a r d s may f o l l o w t h e PARTS CARXI

a n d t h e o r d e r o f a l l f o l l o w i n g c a r d s must be main ta ined each t ime. Plainte-

nance o f t h i s o r d e r i s v e r y i m p o r t a n t , a s any d e v i a t i o n w i l l c a u s e a t e rmi -

n a t i o n of t h e run .

STAGE CARD

Columns 1-5 STAGE

Columns 8-9 The s t a g e number. A r i g h t - j u s t i f i e d i n t e g e r , unique f o r t h i s run.

Columns 11-52 42 a l p h a m e r i c c h a r a c t e r s t a g e d e s c r i p t i o n .

TASK CARD

Columns 1-4 TASK

Columns 5-7 The t a s k number. A r i g h t - j u e t i f i e d i n t e g e r , unique f o r t h i s s t a g e .

Columns 9-50 42 a l p h a m e r i c c h a r a c t e r t a s k d e s c r i p t i o n .

SUBTASK CAD

Columns 1 -2 The s u b t a s k number. A r i g h t - j u s t i f i e d p o s i t i v e i n t e g e r , n o t n e c e s s a r i l y unique.

Columns 3-26 24 a l p h a m e r i c c h a r a c t e r s u b t a s k d e s c r i p t i o n .

Columns 27-32 R i g h t - j u s t i f i e d number o f t o t a l minu tes t o pe r fo rm s u b t a s k .

Columns 33-34 Number o f men pe r fo rming s u b t a s k . A r i g h t - J u s t i f i e d i n t e g e r . L f a z e r o i s i n p u t f o r Lns ta1 la t i o n o f removal s u b t a s k , t h e program s e t s t h e number e q u a l t o one.

Column 35 Alphameric c h a r a c t e r t o FndFca te environment code , If blank , o r code Fa n e t i n the Enyut 1Fs t , t h e environment i s assumed t o be unchanged from t h e p r e c e d i n g s u b t a s k ,

Page 18: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

Column 50 Alphameric c h a r a c t e r t o s i g n i f y type o f a u b t a s k : 1 = I n s t a l l . A l l p a r t s ( n o t zones ) marked "X"

w i l l be i n s t a l l e d .

R Remove. A l l p a r t s ( n o t zones ) marked "XI' w i l l be removed.

M Modify. The purpose o f t h i s s u b t a s k i s t o change zone a r e a s from s u r f a c e 2 t o 4 o r v i c e v e r s a .

A l l o t h e r c h a r a c t e r s have no meaning t o t h e program.

Columns 51-52 F i r s t o p e r a t i o n number i n s u b t a s k . A r i g h t - j u s t i f i e d i n t e g e r .

Columns 53-56 Time ( i n m i n u t e s ) r e q u i r e d f o r o p e r a t i o n . A r i g h t - j u s t i f i e d number.

Columns 57-58 Second o p e r a t i o n number.

Columns 59-62 Time f o r second o p e r a t i o n .

Columns 63-64 T h i r d o p e r a t i o n number.

Columns 65-69 Time f o r t h i r d o p e r a t i o n .

Columns 69-70 F o u r t h o p e r a t i o n number.

Columns 71-74 Time f o r f o u r t h o p e r a t i o n .

Columns 75-76 F i f t h o p e r a t i o n number.

Columns 77-80 Time f o r £ i f t h o p e r a t i o n .

When a n o p e r a t i o n number o f z e r o i s e n c o u n t e r e d , t h e program assumes

t h a t t h e r e a r e no more o p e r a t i o n s f o r t h a t s u b t a e k .

PARTS CARDS

Each c a r d h a s t h i r t e e n 6 -a lphamer ic f i e l d s (1-61, (7-12) , ....., (73-78) . Each f i e l d h a s t h e f i v e - c h a r a c t e r p a r t number i n t h e f i r s t f i v e

columns. The f i r s t two c o l u ~ n s i d e n t i f y t h e zone, t h e n e x t column identf .

f i e s t h e subzone, and t h e l a s t two columns i d e n t i f y the p a r t number.

Column 6 o f e a c h f i e l d shou ld c o n t a i n one l e t t e r , a s f o l l o w s :

Page 19: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I f column 6 i s b lank t h e zone i s c o n s i d e r e d t o have secondary

o r a d j a c e n t e f f e c t ( f a l l o u t b u t no c o n t a c t on t h e PE c a r d s ) ,

I f column 6 i s "X" o r "$', t h e zone i s c o n s i d e r e d to have

pr imary e f f e c t ( f a l l o u t and c o n t a c t on the PE c a r d s ) . I f

t h e type o f s u b t a s k i s "I" o r "R" t h e X'ed p a r t o r W'ed zone

i s i n s t a l l e d o r removed.

I f column 6 i s "53" t h e occ luded a r e a of t h e zone i s moved from

t h e exposed ( s u r f a c e 2 ) where i t h a s been accumula t ing burden,

t o t h e occ luded p o r t i o n ( s u r f a c e 4) o f t h e zone. An "0"

code must be encoun te red f o r each zone sometime d u r i n g the

run . A l l subsequen t p a r t s i n s t a l l e d i n t h i s zone w i l l have

t h e occ luded a r e a added t o t h e occ luded p o r t i o n of t h e zone

r a t h e r than t o the exposed.

I f Column 6 i s "El' t h e occ luded a r e a o f the zone, which a t

some p r e v i o u s t ime had been moved t o occ luded wi th a n "53"

code, i s moved back t o t h e exposed a r e a of t h e zone. On

subsequen t p a r t i n s t a l l a t i o n s t h e occ luded p o r t i o n o f t h e

p a r t w i l l be added t o the exposed p o r t i o n o f t h e zone. I f

a n "E" code i e used on a zone, t h e L a s t code e n c o u n t e r e d

b e f o r e t h e program t e r m i n a t e s shou ld be a n '"If code. An

example of a n "E" code would be t h e expornre o f a n a r e a when

a cover i s removed. Th i s area had p r e v i o u s l y been swi tched

t.n o c c l u d e d when t h e cover was i n s t a l l e d ( w i t h a n ''0'' code) ,

Page 20: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

A number o f p o i n t s need t o be c a l l e d t o t h e a t t e n t i o n o f the u s e r of

t h e program. These a r e :

(1) A t a s k c o n s i s t s o f one day o r 1440 minu tes .

(2) The program w i l l a c c e p t up t o 1000 s u b t a s k s p e r t a s k . As t h e

l a r g e s t number used i s 9 9 , t h e s e w i l l n o t n e c e s s a r i l y be unique

numbers. Only p o s i t i v e numbers a r e used.

( 3 ) The mated a r e a f o r a p a r t i s i n c l u d e d i n t h e occ luded a r e a f o r

t h e p a r t u n l e s s t h e occ luded a r e a i s shown a s z e r o .

(4) A l l X'ed p a r t s on a n "I" o r "R" s u b t a s k a r e i n s t a l l e d o r removed.

Zones may n o t be i n s t a l l e d o r removed wi th a n "X" ( i n t h e s i x t h

column of t h e six-column f i e l d on the PARTS CARD). Any p a r t wi th

a "W" i n t h e s i x t h column i s c o n s i d e r e d t o be a zone and t h e t o t a l

zone i s i n s t a l l e d o r removed. Contac t p a r t e f f e c t i s assumed f o r

"W" code a s f o r "XI' code.

(5) P a r t e f f e c t c a r d s a r e w r i t t e n o n l y f o r zones. The primary e f f e c t

a p p l i e s t o zones c o n t a i n i n g p a r t s X'ed o r W'ed. A cumula t ive

a r e a i s k e p t f o r e a c h s u r f a c e o f each zone s o t h a t t h e p roper

c o n t a c t a r e a i s c r e d i t e d .

(6) When a p a r t i s i n s t a l l e d , t h e occluded a r e a o f t h e p a r t i s added

t o t h e exposed ( s u r f a c e 2 ) a r e a o f t h e zone u n l e s s a (ZONE CHANGE

CODE) (0 CODE) i s encounte red f o r tha t zone,

( 7 ) I f a p a r t i s i n s t a l l e d ( o r removed) two o r more coneecutFve t imes

an error Fs p r i n t e d bu t t h e p a r t i s assumed t o be a l r e a d y i n s t a l l e d

( o r removed).

Page 21: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

(8) A n o p e r a t i o n wi th z e r o t ime i s p r i n t e d o u t as a n e r r o r even though

t h i s may be a l e g i t i m a t e i n p u t .

(9) A t ape a b l e t o e x e c u t e i n TAS and BPS i s normal ly made r e g a r d l e s s

o f t h e e r r o r s encounte red . The e r r o r s a r e p r i n t e d a s i n f o r m a t i o n

on i n p u t d a t a t h a t shou ld be checked f o r r e v i s i o n .

(10) I f a n environment code i s o m i t t e d , t h e environment code f o r the

p reced ing s u b t a s k i s used.

(11) I f no men a r e s p e c i f i e d f o r a n i n s t a l l a t i o n o r removal s u b t a e k ,

t h e program assumes one man was invo lved .

D.

A l i s t o f t h e s t a t u s (whether i n s t a l l e d o r n o t ) of a l l p a r t s and the

s u r f a c e a r e a s of a l l zones i s main ta ined c o n s t a n t l y and may be p r i n t e d o u t

a f t e r any t a s k by e x e r c i s i n g t h e o p t i o n . P a r t s may be i n s t a l l e d o r removed

i n any s u b t a s k ; e n t i r e subzones m y be i n s t a l l e d o r removed i n any s u b t a s k ;

t h e occ luded a r e a o f any subzone m y become exposed, o r , f.f exposed, may

become occluded i n any s u b t a s k ; environments m y be changed a t any s u b t a s k ;

t h e program h a s r e s t a r t c a p a b i l i t y a f t e r any t a s k ; t h e I T P o u t p u t d a t a i s

p u t on t a p e i n t h e fo rmat a c c e p t a b l e t o t h e s u b r o u t i n e s o f t h e MBPM a s a

'Tape 12". (Ref. Vol. V I , pp. 19-21 , ) A d e s c r i p t i o n o f each o f t h e s e r e c o r d

t y p e s i s g i v e n i n Vol. V I , pp. 26-38, a s amended by R.eference 7 .

E . C o n t r o l Cards

A s o r i g i n a l l y p r o g r a m e d , %AS u s e s a Tape 12 f o r i n p u t , T h i s i s s t i l l

t h e case, and TAS can be o p e r a t e d from a ?Cape 12 whether g e n e r a t e d as b e f o r e

o r g e n e r a t e d by t h e I T P , A Tape 12 must t h e r e f o r e be w r i t t e n by %TP whenever

o u t p u t hs d e s i r e d . Table 2 shows t h e c o n t r o l c a r d s f o r a n i n i t i a l r u n through

I T P , TAS, and BPS. The o u t p u t from ETP Ls saved on Tape 1 2 s o t h a t a d d i t i o n a l

i n i t i a l r u n s m y be made i n t he f u t u r e wi thou t r e r u n n i n g LTB.

Page 22: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

& R U N LBB%IPe0%OZQ5s0769%eYGeY3EO f TP E 3USCH CALL XU999 &MSG HOUNf T d P E X X X X X T O R E Q O L B B ( P R D G R A H T A P E ) & A % G e f A P E o f o X K X X X R BASGcTPF I / / 5CO & C O P I N c R TAPE* &FREE TAPE, M S G MOLJMT TAPE X X X X X T O BRIEaE bBB ( R E S T A R T DUMP @RITE8 &&seer S ~ V ~ X X X X X U &MSG HBUNP T & P & X X X X X T O U R B T E h 8 8 ( T O SAVE O U T P U T 8 & A S G B Y f Z c T c X X X X X U

CAbh BPP CALL TAS CWeL BPS R E T U R N

- - - - - - - - - - - - - ~ f p P N I T ~ A ~ B ~ T A - - - - - - - - - - - - - - - - I N l T I P L

i, Ol.A%fO SUBZONE STRUCTURE ( A l 4 0 3 0 249 87319 O l A B l OCTAGON STRUCTURE dSH8bV 1 - - - - - - 3Z9Q - - - -

'3 a ,o a,@ 5 Z O O , ~ a-2 o,a a * ~ 15 $I, I% Q95 8,O O e O

2 6 7 ' f H V S A 0 F E N P - - - - - - - - - - - - - - - gTf3 S T A N D A R D DATA - - - - - - - - - - - - - - - -

STAGE 1 S P A C E C R A F T A Z S E H m Y AND CHECKOUT T A S K P DAY Oat 6 / 1 9 / 6 8 %INST UPPER R I N G HAWN 510 2HP 8 2 5 1 % 1 P 400 f Q019 7 0

-- 4

I 008130 END - - - - - - - - - - - - - - - - T & s D & T & - - - - - - - - - - - - - - - - - - - -

1 3 2 H 1 hi B B 0 26 D

2 1 2 I B A R I N E R H n R S 1969 -3EHH 6 9 - 3 ) ASSEHBbVlTEST

Q 2 87 2

T A U 2, IN$'$= RW TIEROUGH ITP, T& W BPS I

Page 23: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

&RUN L B B T T P B O & C ~ Q S B ~ ~ ~ ~ ~ S Q B O ~ ? ~ G B %VP h BUSCH CBLL X 4 9 9 9 &W%G NOIPNT T A P E X X X X X B8 REWB LBB l P R O G R A H TWPEB & & S G I T P P E O T O X X X X X W 88SGvTPF / I / 500 6 C B P P M c R BBPEa &FREE TAPE* ~ H S G MOUNT $ A P E x x x x x TO R E B B e a s ~ R E S P W R V DUHF R E A D D 8 A B t r T 2 s T o X X X X X R &MSG MOUNT TBPE ~ X X X X T O YRIIE L B B ~ R E S T W R V BUHP & R I T E ) QASGIT 3 e Y a X K X X X U &H%G #BUNT TAPE X X X X X TO @ R I T E bBB Q P O $&ME BUTPUVJ 8 A S G e T 9 2 r V c X X X X X g 8FQWsk"lWIN

CALL IOP CALL TCtS @WLL BPS RE 'BURN E QaD

Bxsr - - - w e - - - - - - - - - - P T P STANDARD D A T A - - - - - - - - - - - - - - - R E S T A R T T B S K U BAY 009 6/28/68 IROUfE HBRR 70 3H2 1 2 5 1 2 3 15% 1 2 5 2 251Q %a

O I A B 2 I S d B P 15A02 LSW86X

TABTA 3* RXSTAWT RUN TktRoUGEI ITPs Tbb% %r BPS

Page 24: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

&RUN LBBITPt060245e07&95eYO~ob3ka&4 . % B B L BUSCH CALL X4999 19

anst M O U N T ~ P E x x x x x t o R E A D L S B [PROGRAM T A P E # & S C W T B P E P T ~ X X X X X R 8 A S t r f P F / / d 508 0

~ C O P I N I R T ~ P E , &FREE DdPEe &MSG M O U N T TdPE X X X X X 9 0 b R I f E L B B DWESVARf DUHB U W X T E B & A S & r f 3 e T o K X X X X U &MSG H(SUMV T A P E X Y X X V Q R E A D LBB ( S A V E D O U B B U T B C A Z G r T 1 2 r T r X X X X X R QFORoFSAIk

C A L L TAS CALL BPS R E TURN END

axca - ~ - - - - - - - - - - - - - - ~ & ~ D & ~ & L I - L I ~ ~ ~ L I L I L I ~ ~ ~ ~ ~ ~ ~ ~ - - -

1 r 2 h 1 8 1 0 O 86 3

2 li 2 B XBRPNEW FBRS 1969-3tNN 6 9 - 3 ) ASSEHBLVJTESO

-2

&RUN C B B I % P ~ ~ ~ Q Z ~ % ~ ~ ~ ~ ~ S B ~ O B Y ~ ( ~ Q r I I P L BUSCW &RSt &BUNT BbPE X X X X X 10 READ t B B & & S G e T B P E e l o X X X X X R & A S G t T P F P B B SCO & C ~ P I N I R TkaPEm &FREE TWPE- &MSG MOUNT TAPE: X U X X X 80 READ BBS & A S t p T 2 r O e X X X X X R

' ansc MOUNT ~ B I B E x x x x x T O U R B T E L ~ B & A S C s T 3 o T e X X X X X U &MSG MOUNT BdPE X X X X X T O READ k B B & A S t s B f Z e T o X X X X X R &FOR eE&ZN

C A L L T&S C B t L BPS RE TUSH E NO

axe7 - - - - - - - - - - - - - - a = - -TA% D B V B - - - * - -

99999 B 2 -

Page 25: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I f t h e ITP i s t o be s topped f o r r e s t a r t l a t e r a Tape 3 must be w r i t t e n .

Tab le 2 shows t h e c a r d s f o r w r i t i n g t h e r e s t a r t dump. Then, when r e s t a r t i n g

ITP t h e p r e v i o u s l y w r i t t e n Tape 3 i s r e a d a s a Tape 2 as shown on Tab le 3 .

Table 3 shows t h e c o n t r o l c a r d s f o r a r e s t a r t r u n through ITP, TAS, and BPS.

The r e s t a r t dump from t h e p rev ious r u n i s r e a d from Tape 2 and a r e s t a r t

dump i s w r i t t e n on Tape 3 f o r subsequen t runs . The ITP o u t p u t i s b e i n g saved

on Tape 1 2 so t h a t i t w i l l n o t be n e c e s s a r y t o r e r u n ITP on f u t u r e restarts .

The f u t u r e r e s t a r t s w i l l have t o be r e s t a r t e d a t t h i s same p l a c e , however.

A s t h e Univac computer a t JPL i s n o t p r e s e n t l y c o n f i g u r e d f o r m u l t i t a p e opera -

t i o n on FORTRAN, r e s t a r t must be used whenever t h e o u t p u t of ITP exceeds

approx imate ly 26,000 r e c o r d s .

No changes c a n be made i n ITP i n i t i a l d a t a on r e s t a r t . ITP s t a n d a r d

d a t a f o r t a s k s subsequen t t o t h e r e s t a r t are n o t a f f e c t e d by t h e r e s t a r t i n g .

Changes i n TAS d a t a ( f o r example, changing t h e env i ronmenta l c o n d i t i o n s ) a r e

made by i n s e r t i n g t h e new TAS d a t a ( i d e n t i f i e d by r e c o r d number from t h e p re -

ced ing p o r t i o n o f t h e run) immediately f o l l o w i n g t h e END c a r d o f t h e ITP d a t a .

The format of t h i s new d a t a c a r d i s d e s c r i b e d on page 12 o f Volume V I . Even

when no changes a r e ma,de, a TAS d a t a c a r d must be added ( f o r example, s e e

"99999" c a r d on Table 5) .

Tab le 4 shows t h e c a r d s f o r a n i n i t i a l r u n on TAS us ing ITP o u t p u t d a t a

saved on a Tape 1 2 , wi th r e s t a r t dump r i t t e n on Tape 3 . Table 5 shows a r e -

s t a r t on TAS u s i n g ITP o u t p u t d a t a saved on a Tape 12, r e a d i n g r e s t a r t dump

Eronn 'l'npe 2 and w r i t i n g a n o t h e r r e s t a r t dump on Tape 3 ,

1 11. WS ULTS AND CONCLUSIONS

The I n p u t T r u n e l a t o r Program meats a l l o f t h e s p e c i f Fed o b j e c t i v e s .

Checkout p rocedures , t r i a l runs and a complete r u n o f t h e 69-3 have been

made w i t h t h e ETP, I n p u t e r r o r s a r e , i n g e n e r a l , p r i n t e d o u t f o r t n f o m t i o n ,

Page 26: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

b u t do n o t cause t e r m i n a t i o n o f t h e progran.

The program has been r u n s a t i s f a c t o r i l y on t h e CDC 6400/6500 a t Mar t in

M a r i e t t a ' s Denver f a c i l i t y and on t h e Univac 1108 a t JPL. When t h e program

was used o n t h e 1108, however, i t was d i s c o v e r e d t h a t mu1 t i t a p e o p e r a t i o n

i s n o t p r e s e n t l y p o s s i b l e w i t h FORTRAN programs (March 1970) . With t h e

amount o f d a t a g e n e r a t e d on t h e MM 69-3, a t l e a s t two ( p o s s i b l y t h r e e ) t a p e s

would be r e q u i r e d t o p r o c e s s t h e e n t i r e run on a s i n g l e pass through t h e

computer. Th i s means t h a t t h e r u n must be s u b d i v i d e d i n t o s e c t i o n s which

t h e 1108 can h a n d l e by e x e r c i s i n g t h e RESTART o p t i o n of t h e ITP.

The ITP h a s been used t o make a complete r u n o f t h e MM 69-3, from

p r e p a r a t i o n of i n p u t d a t a from t h e QA l o g t o a f i n a l burden p r e d i c t i o n . The

r e s u l t s o f t h i s r u n a r e r e p o r t e d i n Reference 8 .

Page 27: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

REFERENCES

The f o l l o w i n g r e f e r e n c e s , which were i s s u e d i n December 1968 and a r e

a v a i l a b l e through t h e NASA STAR, form t h e f i n a l r e p o r t f o r JPL C o n t r a c t

9 52028,

M i c r o b i a l Burden P r e d i c t i o n :

(1) Volume I, - T

(2) Volume 11, User ' s Manual f o r t h e Microbial_Burden P r e d i c t i o n Model

(3 ) Volume 111,

(4) Volume I V ,

(5 ) Volume V,

The f o l l o w i n g r e f e r e n c e , which was i s s u e d i n October 1969 forms t h e r e -

p o r t f o r t h e work performed under t h e o r i g i n a l phase of JPL C o n t r a c t 952532

p r i o r t o t h e work covered by t h i s r e p o r t :

(6) Volume V I ,

f o r t h e Microb ia l Burden Pred-iction Model.

The f o l l o w i n g two r e f e r e n c e s , which a r e i e e u e d c o n c u r r e n t l y w i t h t h i s

document, when combined wi th t h i s document comprise t h e r e p o r t f o r t h e work

performed under t h e e x t e n e i o n t o JPL C o n t r a c t 952532.

( 7 ) Volume V L L I , Addendum t o t h e U s e r ' s Manual f o r t h e Microb ia l Burden

P r e d i c t i o n %deb

(8) Volume I X ,

Page 28: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

A P P E N D I X

PROGFUM SOURCE DECK

LISTINGS

Page 29: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

C C P Q O G Z A H I T P 4 I N P U T T R A N S L A T O R P R G t R A M 1 PREPARES ENPU%S $: F B R THE V S P M L M I C 2 B O I A L BURDEN P R E D I C T I O N M O O E L I P R B G H A H e

COHMON & B ~ G a a s ~ S ~ E N P A P B B Z B B

o &PC c WPS o A R B C I ) B A W E A ( L e l 3 ) o o B L A N K e 9UMP44ellr2Be F&REAtZOeSo41sfA8 B

a I C Q D E l 1 3 ) e PDET(1B) o P E W R O W B j lEX B

0 PFLG 9 I J f r 2 7 9 L N V L B ( I O 1 o I N S T A L $

D IQPt51 r I P A R T i ll~100b b s I P O I E d T ~ 2 O r 5 e h 1 3 0 ? ; P R T t f 3 ~ :: a I RE M Q V e % W R ( 1 3 % o ISTART B IPZONEt131r e ITVPE o I X 4 6 9 r IlJ B I Z E R Q I

0 % Z O N E # P J B B f l t JPRE B K S I

e K T s hi4 c h62 o &S PB

a p.l r n! P N B U M P l Q B c MP 1

0 NPAR15 c N U I R O N P M2 B S I I H E I

B T B M E ( 5 1 e K X 4 2 2 ) @ ZERO B P P E M S I B N A F P R S i l P * l O C l B E 3 U I V h b E n ' C E ( E P A R P ( l c l ) * A P A R T ~ I ~ ~ ' ) B EQUIVBLEtJCE ( X X t 2 l ) r TOTAL ) r ( X X ( 2 2 E r A I I H E B OIPSEAaiPIOhd 3UH4 % 7 8 1 6 1 E O b I V P L E ! G C E 4 & P e r D U M B I ) 1 BlhV& IFi / IHM # D b T I M C b l N B / 0 /

e rsEUq;r\rD 12 R E & B 15rHOl INP

1 C FORHbT t B 6 8 IF t TfjP , M E * G H R E S T A R 1 68 T O 25

C \

leOUNT 3 1 R E V I F I D 2 READ $29

W R I T E ( 6 0 3 5 1 15 F O R W 5 I I 4 2 H l * * * * * E R R D 2 * * * * * NO HIP R E S T A R T DUMP FOUND J

JPRE 3 50 C A L L C R E k O

66 $6 i 7 S r I'iiCs 9Q0t 3BGv 100 8 e EFLG 9 5 eALe FINAL

RET1991d 100 CALL 9 E C U S

P X t f l " N I X f 3 9 = I Z E R O IXdSB = %ZERO P X B 6 1 = P Z E R O 5 0 'TO c 2 C l e 2 0 2 s 2 0 3 ) r JPWE

2 0 1 I X t t l ..-. x IXhQB = 2 JPWE =: 2 ma=. w m .%'r#C o v # ' . J c w a

2 a 2 I X ~ Z B = a - -. ---

I # ( Q j z 1

- -

Page 30: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

' Z L " 1 3 I # f Z 1 ~ 8 P X # 9 " = 3

I JPRE 1 2 0 5 D@ 2 9 8 1 = 5 e 7

X X ( I B = BLWNK 218 C O N T I N U E

L R 2 C Q L t RECWS T O T A L = Z E R O 130 2 3 5 I - l e 5 T O T 4 L = T O T A L * TIHEtIB

I 215 CONTINUE I F F T O T A L . t V e & T I M E 9 0 5

I I 0

Cr) T O SF3 3CG I F O IVVPE a E Q m %Y 1

I F ( Y O U N T ,E8, % Z E R O D c b e L PCPQ CALL DDBQ CRLL K C CALL KOPE

Q D C eQeL O E K C G O T O 53 EP40

, Q 2 * T O T A L & T I M E - - 5 1 Cdhh ERROR 4151

Page 31: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

6" A Q C 8 A P S Q A R ( 9 9 e A REQf4s138r L B L A R K P BbMP(Qe1Pe2)r FWREAt20r5oQ)rlAS B

"d P C O D E i L S ! a l D E T t 1 U B r f E R R B R o f E X D

e I F L t o I J P R ? r X N V I R O O B B r lNSVWh o b) P O P f 5 1 B I P 4 R Y t l L r 1 U O l ) tPPOPMP(4Qr5rGlf r P P R O 4 1 3 L e . e I R E P O V P I R W ( 1 3 ) w ISTIWP r ISZONE Q 13B e- e E%VPE r I X ( 6 8 r f W c I Z W B e I IP891E413) o 1 % r dPWE e- K S e 6m K % B LK r L R 0 L S D

a 1P, r N r NBUHPt4B o NP P

o NPBRTS r NVZRON e 152 STIPHE o e T I H E 4 5 1 r X X 4 2 2 1 v Z E R O

D I M E N S I O N APA9ft 1 1 r 1 0 0 1 1 E e U E V b b E N C E f I P P H T l l r 1 1 r A P A R T ( 1 o % E E EQUPVsbGNCE I XX(22)r A T I M E 1 QPPEYSION BUM4 1 7 8 1 6 ) E Q U E V ~ L E N C E e a n G e ouHrnl 1 D l H E N S l O N IVORD(34) D A T a I / QH / c

eZ I T A S K / YHTASM / r d E E N D / QP(END / c I ITTbt / QHSTdG / 5

ea END / SHENII OF / r

e T B S K P 6H T8SK J DB TCI t;A FIE / b t t I I P /

C 6 0 T O I l ee % ; G o 3009 109 105 10 8r ZFLG

6 PO R E h O f5s2CB # %hCWDBI)e I = l o 19 L U N l V A C 90 PEBD h S r 2 0 ) ( XUOBD[I)r I = I r 8 8 COG

C 20 F O R M n T 8 1 3 8 8 s 6 2 1 UNlVAC ZB F O R M 4 0 8 @ A % O 1 CDC

C D E C O D E ( IWCRD(Z1v 30 1 HCOL U I U I V A C BECOPE ii L l o 3 5 1 I W O R D t 11 1 ICOL CDC

JO FORMAT f A Q 1 IF ( ICOL ,EC, B T A S K ) GO TO SO IF a l C O L ,EG, J B L A N K 1 GO T O 10 I F I C C L .EQ, I S T ~ G B eo ro l o o IF t I C g b , N E e PEND 1 GO TO

&: 1 F L G = 1 00 35 I I: I s 6 I x a I s = I Z E R Q X X e I + L l = 8tCINK

3 5 C O N T I N U E C

X X f E I = ERD X X B 2 B - T A S K b 9 = 2 &W&L Q E C W S DO 3 9 I z 1 9 7 X U 1 1 = ZERO

3 7 CONTINUE c

L R SI caLt . Q E C U S

Page 32: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

END F I L E 12 FNg? F I L E 12 RE Ml*ilB 1 2 R E TURN

g : I I & Q C D E C O D E d $ U C R D B % $ r 2 G 5 ) Nv ( X X t B l r I = 1 9 4 I s B T l N E * U ~ X V A C

C B A Y E N g N V I Q O N e E T Y P E B +i P O Q 4 E B c TIHElIBe 1 = 1 9 5 ) 40 Q c C 0 4 E ( R O o 2 C 5 9 P W O R D t 1 ) 1 I?? C X X B I I B s I = I r 4 I P , A%IIMEs CDC

I a r E 3 1 ; ~ V E R O N W I T V P E o 6 IOPtIIc VLKE(1De I = 1 0 5 UNxVde !

a3 CDC 1 I

S V I M E = S f % E E + A T L M E

i I F L G - 3 RE TURN

50 I F $ I F L G .EL 5 1 GO YO 7 B I 08 6ei J - B e 6

bXfJS 2 E Z E R Q X X h J l = B L A N K

60 c O ~ f l % a d E X X t 7 ) = E L A N # P F & K T ,E3, I Z E R O - 0 2 , LFLG e E Q * 6 8 GO T O &S C R Z X X l J b O = END M X t 2 1 = T A S K @ALL OECIII

e 5 LR - 1 I F t I F L G - N E B 6 ) GO TO 6 7 T X t 1 ) = P F L G e a g k s ~ c w s

6"bEXl) = 3 E X t 2 1 = 3 re r K T , ~ c , n z E R a 1 I X O % I = I

6 8 CALL 2ECM% 70 KSAVE :: biT

-

C OECOgE ( TW824( b l r 8 0 1 HNe K T * ( X X t P I c E = B e % 1 U N E V W C DECOOF f E O Q 8 C o f k O R C ( 1 ) 1 &Nu K T * ( X X ( f b s I 3 D C D C

9 C F 3 R N k T ( B 4 r 1 3 s P X r ? A S 1 L R r la, 1 x 4 1 1 =: K T De: e 5 1 o 2 s 6 T X l f ) $ Z E R O

i?5 CCBk'PINUE r e F q s n v ~ , ~ a , I E E R ~ 1 G O 8 0 9~ I F t S ~ i l p E e k T * l Q 3 9 - 5 , 6 R , STIIdE ,ETe I Y Q C e l % 1 CALL E R R O R ( 9 8

90 g p p y e = Z E R O P F L G - 2 QF mu%

l o e oo 1%: J = 1, 6 I X f J b - I7$f76 X X ( J P f B t A f i K

110 C 4 N T L Y U E I F B Y T ,EL T Z ~ P *PC, I F L C AX F ) 60 '80 135 t P I 2 X Y O t j = E H E k B GF Y X 4 2 3 6 H T A S K -

r b k l 0ECk4.i" -

115 c a = 1 PF t 4 F L E , R E , 6 1 G O TO 1 2 7 I X ( I 3 : I F L G C A C k E E C b . 5

Page 33: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I

PSO CONVXMUE cagL wccws

C 140 DECODE ( I U 4 R D f 1 1 e P S C 1 M M r K S e ( X X l I I r I = 1 9 7 1 UNZVAQ: % 4 C D E C O D E f 52w 15C1 P U O R D ( 1 ) 1 M N e K S * ( X X t l 9 e I = I r f O CDC 150 F O R M B P ( A 5 o T 3 r 1 x 1 3A6 3

hR = 9 % X 6 L 3 - K5 @o 96@ 1: = 2'9 6 1x418 = LPEWO

160 C O N T I N U E EFLG = 5 R E f URN

908 RELO 1 5 r 2 D S ) Y e t X X t l I r 1 = lo 4 1 s ATIHEo A M E N * t d V H R O N o - : T Y P E @ t I C F ( P ) r T I K E t I I e I = I r 5 B 205 F C R Y % T l. T ~ Q 4 A t i r F 6 r B e F2.01 A l e 1 4 x 9 A%* 5 ( H Z * F Q o O 1 B

5 T I M E = S T ~ M E + & T I M E HFLC = 3 RE T U R Y

308 R E h O 1 5 8 3 0 5 ) t iZOYE(i)v ISZORE(I)r IPRT4I)e fCODEII%c I = f r 3 3 3 305 F C 4 t t B P 26 t 121 A l 1 1

PJPrtB = 13 D O 3 l C I I: I t 1 3 I F t I P O N E t I ~ e N E a T Z E R O B 6 0 T O 310 I F f I S Z C N E ( 1 ) . R E , 1 H C e A G D a I S Z O N E t I ) o N E , IH 1 66 T Q 3 P O I F 4 LP2TtI) ,EB, I Z E R Q G O TO 315

3 1 0 C B k T I R U E 66 %3 320

315 P J P R T = 1 - 3. 320 IFLG 4

RE TURN E Kb'D

Page 34: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

1 1 S U B R O U T P N E 8888 A6

I C E D AND DQ C B R D 8 U Z L D I h G SUBROUTINE c

COPMORi & A t pt 4 b S e &HEN o A P A f 2 1 D

0 A PC e APS B % \ R t q l r A R E A t 9 r l 3 7 e br & & ~ R K 8 3 U M P % Y o l % s Z l c F A R E A B Z Q B ~ ~ ~ ) * I ~ B s 5 $ C O B E l & 3 $ r 1 4 E T 4 1 O J r P E R R O R o %EX D

0 lFL.6 s I J P W T s I N V I W C I B I o I N S V A L P)

e I O P 4 5 ) o f P A R T i llv1001) s%PQIOUB~20o5~631 e I P W T 4 B S b e a I R E E O M 9 I R W B l Y D e I S T A R O 8 ISZONE # 139 c e I T Y P E o I C X t G ) r' IU o BZERQ o 0 IZQREt%SO c 13% 9 dPRE ta KS o D # V o hK o hW 9 kS o e M o N r NBUHPIQB a MP o 43 N P B R T 5 9 N V I R O M Q M2 s STIIME e,

0 T I M E t S ) e X X t 2 2 1 B ZERO 9PHEW51'4N APAqf ( l f c 10016) E Q U I V A L E N C E t I P b R T C l c l l ~ APARTtPo3B 8 t)l%EN5ION O E S C B Z e Z ) r DUHdSb E O U I V B L E N C E t D E 5 C f l e l ) r D U E 4 1 1 l c t SURF@ DUMt5D 1 O W T a k L S U H g P I I e 1 l o 5 1 1 FIJ TOPI 614 E X T Se 6t-0 E%(I%Ee

rn 6HRIOR S 1 G H U R F A C E 4

0 8 5PCl 1 = I s HJPRf I F I R ~ ~ I B - N & s P Z E R Q 56 TO 50gl I J % = I P O N E f I ) I J 2 = ISUSZO t %SZO:d&lIl 8 JSBART = I P O B N T ~ I J ? W % J Z P P B I J = Q I F I B P ~ R T ~ ~ G w J P T B ~ T ) s L % e Z E R O B Id = S DO 1E % P e 6 I X t K 8 = % Z E R O

PE! C O R V I N U E I F f I C C ? D E ( % ) ,WE5 % b d I 60 TO ZB P S 7 b R P = dST4RT OCCL = A K P X I a t B 2 E b f 4 s E l - I R E A ( S ~ T D ZERO 1 G O T O 2 5

20 13% Z I P W 1 6 I k + 2 I % % B ? f = I P O I N T 6 E d f * S J P * $ J 3 % Q t C L 4 M b X Z 1 ( B 1 P O R B ( 1 6 e . I $ T 4 R I l - APART(SeI%TARTE j e ZERO 8

25 oc 4ef2 d = a - Id IF f IC30ElIB ,ME, I d b GQ TQ 35 b S U R V A B P E b t d s I ) G O P D 5Q

3 5 & S U R F = &PARTBJ*6rlSVAWTI SQ I F 4 J . E O , 2 , A N D , IJ - E O * 3 1 WSU2F = a s u a F e BCCL

IF t 4 .EQ, 4 8 tZSe"RF P O C C L I F t! A S l i R F a E 9 - Z E R O 1 50 TO U Q Q IF' P I T I P E .ES, X R E P O V 9 ASUWF = ZERO I X $ / P = 16 4 Y * % + 3 Y d = M I N G t d r t $

Page 35: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I I S U B R O U T I N E I f P AS

1 : P R O G R 4 P % T P t I R P U I f R A R S L W T O W P R O G R A M B PREPARES l N P U f S C F C C THE M a P X C ?";%CXOWIBL BURDEN P R E D f C T I O H MODEL 8 PiSh)G8A# C

I COMRON dldG sc AdSS 8 &HEN r BPWOZl e #s &PC r WPS o A R Q Q ) D A W E A @ ~ ~ E S D B

I

I e BLANK 9 S ~ 3 P t r o l P r S ) ~ FAREAfZOa5rCl e l A B e

l s% T 6 0 D E E b 3 P o I D E T i P B ) r k E R R 6 W r J E X tl

I I I FL 6 r ' IJPRT r IMVIWtlOl r I N S T A L o I a f e 9 F t 5 ) o P P A R T ~ P Z s b B ~ l ~ s l P O % N T ~ 2 & i ~ 5 r 6 l ~ ~ I P R T ~ 1 3 3 % r 1 e I R E M e V r IRWOI3) I S P A R T e PSZONEtP38r

I Q I T Y P E r P X ( 5 8 c I U e, P Z E R O .9

I I X Z O N E ~ I S P c 11 s ~ P R E 23 ns Z)

1 O K T r LM r hR r L S ~3

N F PJ c' NBOt4PtQB- r NPA o i e R'PARTS P NVIRODJ r PJ2 o S T I H E o

s?v TIHEt5) r XXC228 e ZERO D I E E N S I O N A P A k T t I B o 1 0 0 B ) EQUIVALENCE I P a R T f l r l ) F bPbR%(lrBB D E O b I V A B E N C E l X X I Z l I r T C T A L . ) r t X X 4 2 t B w A T X M E 1 PIIMEp85IION D U M f 1 7 8 8 6 1 E O U I V b L E N C E ( 8 4 G r B U H ( 1 B 1 B d T & I E / IHM / B B I B K O U R T b C b

C R E W I I N D 12 R E B O Q S r l D 9 HNP

1 0 F O R M a T ( 86 8 I F g I N P ,%E& G H R E S Y A R ) GO 16 2%

G ICBUNP = % REkINEI 2 R E A D C23 N A Y E v I E U H E J B r 4 = 1. 17886 8 l F L 6 = 6 I F t~ N P N E ,EQ, ~ W I T P I GO r s se U R l F E 4 6 r 1 5 1

I S F O R M A T ( Q Z H ~ * + + + * E ~ R O R * * + * * NO ITP R E S T A R T ounP FOUND 1 STOP

C 25 esee P N p u r

JPRE 3 5Ci CALL CREAD

C Q P O 7 5 # 3 3 0 9 233r SOOI 1 0 0 3 r I F E G 75 CALL FIN&Q

RETUBN 3 0 6 C A L L R E C V S

66 8 0 50 2 0 0 IF ( f T V P E ,&Q, IH 8 66 70 50

IXlIB- = M I X ( 3 8 = l Z E R O I X f 5 9 % Z E R O S X 4 E h : P f E R O 69 T O f 7011 % @ Z r 2 0 3 I r JPRE

203. % ) r t P 1 = P Z ; S ( % B D = Z JPRE = 2 60 Pta 205

2E2 I X f 2 ) = P T X f l d D = I J P R E = 1 t o TO 20%

Page 36: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

1 I " d 9 3 E 8 ( 4 2 1 = $ " ? I I X t Q % = f

JPRE 1 2 0 5 no 240 I -. 5 r 3

X X a % I = BLkNK 210 CONTINUE

L R = 2 CALL R E C M S T O T A L Z E R O 00 a 5 4i .- 1" 5 T O T A L = T O T & % + T I M E t I B

215 CONTINUE 1 I F t T O I Q k e G % e ! T I H E 9 -5 o O R e

e

50 T O 50 - 300 IF I PTVPE ,EQ, I M 1

IF k MOUNT - E Q I $ZERO 8 GbLL PDPQ CALL QDDQ C I L L Kg: CALL KOPE

400 CALL CEKC G O 80 5 0 E N D

T O T A L abTe A T C

GO V6 Q00 CALL POlMOb

T H E - &LL E R R O R

Page 37: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

S U B R O U T I N E CREAD e e C ~ P D R E A D I Y G SUPROUT I N E C

COHMBN b k E r Ah'$ r AMEId ,r , BPAO21 8

B A PC t siPS e bFtC40 D A R E B t 9 r 1 3 8 r 0 B L A M K r W U M P f Q r l l s 2 B s F A R E A # Z ~ ~ S ~ ~ D I ~ A B (8

w * A L G D E $ ~ ~ ) r ID$T(13! o I E R R O R 0 (. Z E X 9

0 I F L G B P J P R T r I b V l R ( 1 8 b r INSTAL ZP

a P O P ( 5 ) e I P A R T ~ ~ ~ ~ B ~ O ~ ) ~ ~ P ~ X N Y D ~ ~ O S B ~ P ~ B ~ P W ~ ~ B ~ B B = PWEK3V r IRRlE33 P I S T A R T t 'Ya I t T i i 9 3 6 - v ~ S L W ~ L ~ B ~ C I a l TYPE r I I X t 6 b 6 f % B r P Z E R O 0

O P Z O M E t S 3 ) r 1 1 o JBRE r KS D

c, K T r LK r LR r h S I

Q H r N 9 NBWW&(Q% r NP D

rn N P h R T S c M V I R B N c N 2 r SnIME 9

0 T I H E ( S 1 t X X ( 2 2 ) ZERO D L H E N S I O Y 4PA2Tt 1 1r BOD141 FQUIVBhEPdCE ( I P B R T t l r l l r WPBPTBlolB # E Q U l V L b t M C E t X X ( Z Z 9 r A T I M E B 01HERJSIOK DUN( 118161 E Q U I V R L E N C E B B B C w DUK(11 8 Df P E N 5 I O N I U O R E f I Q 1 OA TB %BLANK / UH / I

0 ' I T g S K / QHTASK P o 0 %END / QHEND / I

0 I S T A G / QHSTI?C i t

0 f NO / SHENB OF / c o T b S K / 6H T A S K I

~ a ~ a N A HE / G H I B P 1 e 1

60 T O I PCle 2 ~ d r J O O v l B e loo l E 1 r I F L C C 10 READ ( 5 9 2 0 1 i P k O R D ( l ) r I = 11 1 9 1

10 R E P 0 ( 5 9 2 0 ) ( I 2 O R 3 ( 1 ) r 1 = 10 8 1 C 2 0 F O R M A T ( 1 3 A 6 r A2 8

2 0 F O R M A T 4 8A10 D e DECODF t I B O R D f L k r 30 I VCOL

DECODE ( 4 c 3Sr Z W O R D f P I 1 LCBL 30 F O R M A T f A Q 1

I F 4 l e o b ,EQ, I T A S K B I F f I C O t ,EQ. ISLANK )

I F f IEOb ,EC, P S T A G B IF ( I c o e . N E W IEND 1

Page 38: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

E N D F I L E 1 2 END F I L E 1% REWINO f 2 R E T U R N

4C B E C U B E I i C W D I P l 9 T C S i N P ( X X I H I e I = I s 9 t o ATPHE* U N I V A C 0 & H E N * N V Z ~ O N B E T Y P E P b IOPfIie T I M E B B D I I = l e 5 B U N I V A C

& O DECGBE f ? C i a 2 & 5 r I W O Q D t 1 ) 1 N B X X ( T $ V I = 1 e 4 B S A % Z # E ~ CDC , q A3ENe N V I 2 O W w I T Y P E * $ Z B P B f ) , T I M E ( & ) * f = 1 , 5 8 C DC

5T1"E = S T S H E + & T I M E l F L G = 3 R E I U P N

5~ I F ( ~ e e c ,EQ, s 3 GO TO 70 00 619 J z l e 6 I X t J k =: P Z E R B X X f J P = B B & M

661 C O N ' l r I f d U E X X t 7 P = BLANK I F I K T .ED, T Z E 2 O 0020 k F k G r E O - 6 B GO 8 8 65 L R E. 2 X X l l 3 P. E N D X X t Z ) = T B S K I

I

CALL RECUS 6 5 bR z P I

TF f PFbC .YE, G ) GO TO 67 P X t 3 B = I % & % I

GBLh PECWS 5 7 % X t P O = 3 I

P X ( 9 1 = 3 I

I F 4 Y T . E C , lZE9Q ) I X t Z I Z B 6 8 CALL TECMS 90 K S d V E I-" K T

DFIqCBOF B Ikdilli3q L l e 8 0 1 M M w K T r 4 X X ( I 1 e P = P o 7 1 DECODE [ 5 U r 6 0 6 I u O R D ( $ B ) RNo K T 9 B X X : ~ ~ T O P I = 1~ I B GDC I

80 F O R Y S T ( h 4 c 1 3 r % X e 1 8 6 O I

L R E. 8 1 I X t 1 ) = KT DO 8 5 1 Z 2 s 6 I X i P D = I Z E R O

85 CONTI N U E I F t Y S a V E ,E3, I Z E R B 8 GO VB 98 I F f $ T I W E a k T e l Q 3 9 o 5 e B R r % T I F I E r C T o l e Q 4 C e . 5 b C&bh E R R O R t9B

9 C STEWE = ZERO TFkG 2 Q E T U R V

1GE! DO l @ l O J z 1 8 &. E X B J ) = I 7 E R O X X t J ) - 5bBP'b"i

110 C O U T I W U E IF i Y T ,EB, I Z E R Q .@R, % F k G , & Q O 6 )

LR = 2 X X Q I ) GHENB C F X X 1 9 3 Z FH T B S M C b L L PELUS

115 IR = f - - I P C I F k G , k E , 6 Z EO TO 1 1 7 P X t l ) = YFLF e b t b P E C W S

%as f x e n r - -r: 2 P X t S ) = 3

Page 39: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

a r X l % ? O = 2 % X % 2 9 1 IXB%B) = B

128 CALL QECKS P f t I F t G * Y E * 1 3 GO 89 IB10 bR 6 I X t B J &

I f X ( 2 1 = S t E R O X X ( 1 1 = 6HRUN DE

I X X ( 2 ) &@SCRIPS X X ( 3 ) = 6WIQN CA X X f ( l 1 &HRE) I DO 130 J 5 e 7 X X g J ! = B L A N K

i I

1 3 Q C O N T I N U E I C I L L RECU%

C 190 DECODE B ZUORD(l3r 150 1 YNv KSr fl XXBP1r P = Ic 7 1 UNPVAC 140 OEtCDE t 5 2 r 1 5 C e I U b R D t 1 1 MNI #Sc t X X ( P ) e I = Ir 7 8 coc 150 F O R M A T ( P 6 r 1 3 8 1 x 1 7 A 6 1

t W 5: 7 L X Q P I .-- KS DO P6Q I 2 i 6 fX(X) = IPERO

1 6 0 CONTINUE Z F L t "' 5 RE TURN

200 READ (SrZbSI Ne ( X X t I $ * I = I v 4 ) Q AYIHEo AHEM* NVIRONo a I P Y P f e 4 18PII)e TIME(I8v P = l o 5 8

205 F O R V A T t I2r 4 8 6 9 F 5 e G e F2.0~ Blr lQXe A l e 5 t 12s FQ.0 8 8 S T IME = SIIWE * & T I M E Z F L C 3 RETURN

300 READ (5c3C51 ( IPONE(f ) r 1SZONEQI)r PPRT(1)r ICOOE(I8r I = 1, P3 8 305 F O R H W T f 26 ( 1 2 1 A l 1 1

I J P R I = 13 DO 310 Z s. 1, 93 IF Q IZ4PjE(I9 ,NE, IZERO 1 G O T Q 318 IF 6 T V C N E t I t mNEm 1H0 .AND, ISZONEtI8 * N E B I H 1 60 3 0 jlO IF C LPRT[II .EQ, IZERO 8 60 TO 315 .

3 1 0 C B K V I N U E G 8 'IF0 32C

3 1 5 l J P R T = 1 - B 320 lFLG 91

RETURN 6 MI3

Page 40: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

1 I SUBROIOT IfNE D B O Q A12

1 C C D D A K D 00 C b R D B U I L O I R G SUBROUTINE C

C O B N O R B A G s A E S t AHEN P &P63#2) D

+a P PC r & P S s & R 4 4 ) r A R E A I U e 1 3 8 r ~5 B l A t 2 6 % e B U H P B 4 e l l r 2 b ~ F & R E W % % O c 5 9 Q ) o I A B B

e I C 0 9 E t 1 3 3 s 1 4 E T t 1 0 8 r P E R W Q R r E E X I

B I F $6 r I JPRT r I N V I R ( 1 0 ) 9 %N%TBL o - T O P Q 5 8 r I P & Q T t l E * P O O X B sIPOEluf 6 Z B o 5 ~ 6 1 1 e%:PRTQfSDo

/ rn I P E M O V a % R R t 1 3 ) o ISTWWP o I S Z O N E t 1 3 ) e Q I I Y P E s fXt6B s %kd 9 $ZERO D

a3 $ Z Q F 1 E B 1 3 9 B $ 1 B dPWE P 1(5 B

e K T s LK r bR o k S e as H B, N s N B U M P i Q ) c NP a r NPAWT5 o N M X R O N c N2 9 SmHE D

e V I H E f S ) r X X f 2 f ) s Z E R O D I M E N S I O N 3 P A 2 T I P P e % B Q a B EQUIVBLEPiCE [ lPBRIalrllc APbRTflolB O eflMER1SI0N DESC( 2 1 2 ) o DUHtSP EQUTVBLEb:CE ( D E S C t l c l l s DUM(1) 9 9 # SURF* BUHtSI B D d T C f D U M l I B o I = I o 5 1 / 6H VOPr SH E X T 5, 6N E X I E e

B 6HFPOR S r 6MURFACE / C

EF ( I d P R T , $ E r n l P E R O I GG T O 608 D O 530 I 2 l o I J P R T I F ( PERtI) ,NE, l Z E R O O GO I(9 5 C O %JP = IZQNEtSB I d 2 = ISUSZO t LSZOREtXB )

JSTaRT = P P O I M T ~ P J I D I J Z ' ~ B B IJ = Q

IF l BPWRffPUsJSTBZT) m k f - ZERQ b %J = 3 80 18 K I r L X f M ) -- I Z E R

EO CQIJIZNUK IF 4' ICODEkIl -NE, IU 1 G O T(9 20 1 S T B 4 T = J S T 4 R T O C C L = A R d X 1 4 f W P E A g Q s I ) - A R E B f 3 r I ) 1 1 LEA0 B G O T O 25

20 1 J 3 = P P R T l I ) + 1 I S T A R T z l P O l N V (PJ%9IJZrIJ3b BCCL = A M a X t t 4 B?1R?~l9cISTARf8 - 4PAQVfSrISTART3 B c ZERO 8

2 5 BQ QP!? J = I r I d l F ! LCOBE(II , H E e P U B A S U R F = A R E W ~ J I X B 60 TO Sf3

35 WSURF = AP4RTB J + 6 e 1 S % A R 7 8 5 0 I F I 3 SEB. 2 .AND- I J s E 0 e 3 1 &SURF = A5mF OCCL

I F t J , E G , 4 1 . & S U R F = O C C L I F t 4SL"WF .E3, Z E R O B G(4 T O UBQ IF O P T Y P E .E9, I P E R O V 1 giSUWF ZERO I X t I ) = 16 + 44 * I * 3 K J = w I N O l J s 2 3 M = % J ? U N P ~ K J ) B X t 2 ) H - 0 0 I O r q K -. l o 2 - X X t K + I 1 B E T C f K e K J B X X t K + Q P = B L B N M

100 C O h V I N U C X X l 1 % E bP&RT6SvXSBBKII BtXt4I Z S U R F ' X X % 7 ) = S L b N K

Page 41: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

C b L L PECUS 00 15La K : I * H X X I K ) = D U M P ( K d s K a f ) X X f K + B 1 1 = B Y Y P k K J ~ g t 2 8 * &SURF -\

~ 158 CONTINUE # J e n ) 3 * 3 I F B H - E B , I P 8 era T O zoo 08 2 8 0 K = K J e 1 9 X X I K ) = ZERO ~ X l K s l l l = ZERO I Z O O C O b T I N U E

340 X X t l l = & S U R F L R Z 17

1 CALL RECLaS

1 Q C C COhTPNUE 500 CBOJTPYUE

I 600 DO 90D d = % r 6

% X t d b = I Z E R O X X ( J 1 = BLANK

700 CONTINUE X X t f 1 = BLARK L R - 16 C R L h RECMS FSEYURIJ END

Page 42: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

- - - - - - - - - - - - - - -

I I 1 S U B R O U T I N E E R R O R t K ) I c

e E P R D ~ V W P I I N C SUBROUTINE C

C O R M O N e B P S B AHEN e A P A t Z i 8 A PC d P s 0 & $ g g @ )

1 5 ELWMK c E U M P ~ ~ P % % ~ ~ B Q F A R E A B 2 0 r S e Q 3 e I A B

I 0 ICOBE(131 o IOEVfI0B B $ E R R O R r X%X B

s3 If kt s kdPFiT o I N V H R t I B B 6 I N S P A L o E P A R Q ( l B e 1BO%l r I P O E N T ~ Z O ~ 5 e 5 1 1 o X P W f ( 1 3 1 ~ o I R R t 1 3 ) e I S T A R T r 1SZONEtl3tr

l ii I Y VPE o I X f G B B I@ I Z C N E t 1 3 1 r 1 1 r JPRE

o NBUhPB4) o NB M ' J P R O N o N% (P STIBME

T&HE(S) o X X ( 2 2 ) B ZERO DIPlENSIOQ & P A 9 7 4 11r 10011 E Q U I V A L E N C E f I P A R T f l r l l c A P E R T Q % P P B D

g: I E R W O R K NP 2 RP B. S P F ( NP e E E e 5 5 9 CALL HEAD G O T O ( 1001 1 r j O o 2900 3Oae 40Po 5001 600r 3 0 C e 8 0 C ~ 9 0 O ~ IDOQo

Q 11469 1 2 0 0 ~ f 3 C C v % 4 C O o 1500 B e H P O 0 VRXTE ( 6 e f l O ) L R 11C F O R M A T 4 5 6 H * * * * * E R R O R + + * * * I T P S Y S T E X E R R O R IN CALL P O RECMSD hR ,

e = c 13 8 P F t K ,EQ, 2 P 9ETUQ"U

% @ C U R l T E t G v 4 P B ) f F A P T t S o Z S V B R T 8 ZPO F S R Y A T ( 21% * * * * * E 2 R O R * * * * * P A T T o I6c 25H UA5 INSVBLLED PREVIOUS&

* v B R E V U 8 V

SOC W R I T E ( 6 ~ 3 1 0 1 I P A R I f S o P S I A R T D 318 F O R Y B T t Z % H * * + - * E 2 2 Q R * * * * * P A R T r 4 6 1 % J H WAS R E M O V E D PREMIBUSLVD

R E T U R N Q80 K R P T E ( G o Q l O P 41C F O K M A T i 39H * * * * * E R G O R * + * * * O Q E R A T l O N TIHE I5 ZERO B .

$ % T U R N 500 K R I T E ( 6 c 5 1 C l E P A R T t S e X S T W R T l 5 1 0 FOcPlr iP t Z % H * * * * + E Z R O R * * * * * P A Q V r t44c 35H38 HAS NO A 2 E A a NB PE CI

,&?CIS U 3 I T T E k d 1 R E T U ~ ~ F I

68C V P I T E 6 6 9 E I B ) P . V E R C N 618 F O ? V & V f 5 3 3 * * * * + E R R O Z * * + * * UNRECOGNalZABhE EYMIRCIMHEWT L E T T E R $ CO

. B E B A l i RET$JW%

7 C O W R I T E f t i s S 1 C ) I S T P I R T 7182 F B R Y B T % 5SH a * c * * E 2 R C R + * * + + U N R E C O G N I Z A B L E P U B Z O N E L E T V E R c C O D E =

b% r B R E T U P V

80C U R I T E 6 6 r 8 1 C 8 S T I K E 9 1 8 F O R M A T I 3ZH + + * * * E 2 R B R * * * * * T A S K T I M E D O T A L * FEd.20 Z I H NOT EQUAL

,TO aSVE B A Y 1 REVUCaY

9DG U R I T E (Gw99SF I P O h E B I S T f i R T ) r P S Z O F : E t $ S V b R T ) r I P R % ( I S T B R T P 910 F O R M A T t 21H r * + * * E R R C 2 * * * * * P A R T @ 131 A l c P Z r 18H NaT 4 M P A R T S LX

.ST 8 R E T U R N

Page 43: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

.ORE PEROVAL ABTEYPf I A19 REPURR

1 / 0 0 W R I T E (6cTB101 l f f O F C k M b T ( 5 a ~ s * o s a % W R O R * * * + * M E N Z O GN I 08 R S U B T A S K $ SET 3'6 3 D

& M E N = I.* REBURN

1200 Y R I T E t & r % t P Q ) I P A R T ( 5 w P S T W R T B 12fQ F O R M A T ( G4@ a * a + * E R k c R * d + * * OCCLUDED ALREADY B E l N G ADDED 7 9 OCCLU

. O E D @ ZONE o 86 1 R E T U R N

1 3 0 0 U R I T E l 6 9 1 3 1 0 8 I P A R T 4 S r P S V A R T 3 1310 F O R M A T ! E3M * * + * * E R R G R * * a * * OCCLUDED ALREWDV BEING BBDEB T O EXPOS

,ED* ZONE e A6 O R E T U R N

1 4 0 0 W R I T E [6r%410) X X t Z 1 B w X X t 2 2 ) 1 4 1 0 FORMAT ( OH *+***ERROR***** T O T A L O P E R A T I O N T I H E = r F 5 c B e

a 29H NCT E3UAL TO S U a T A S K T I N E = r FS-8 1 P E T U R N

1SOC U R I l E ( 6 ~ 1 5 1 0 8 I O P ( I S T A R T ) 1516 FCREhY C 4 8 H + * * * * E R R O R * * * * * O P E R A T I O R NUMBER QUT OF RANGE = r P50

9!-i S E T TO 1 1 P O P ( 1 S T A R T I = I RE TURN END

Page 44: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

C CORMON A A C e WAS s &MEN w &PA821 0

e, APC s BPS o A R t 4 1 v A2EA44823B B I

C B L A K H o BbMPtQtllo2Be FAREA(ZOo5sQ8oHAB s

a fCOBft131 o HBETtlB! o $ E R R O R P I E X a i l

a I F L C r PJPRT o IMV%W(PB9* INSTAL D l

I

cB I O P t 5 ) e I P A R T ~ P L ~ L U O % ? ~ ~ P Q T N T ~ Z I ! ~ ~ ~ ~ P ~ B I P R ~ P . ~ ~ ~ B I CI % R $ R a % s r I R R t 3 3 ) v ESTWRI B I S Z O N E Q 13) 8 I

za I TYPE e I X t l S ) e Ikl c IZERO s a. c JPRE c K 3 1, I Z B N E 4 135 c 1 3 e ~ K T r LK c bR r L S rs s l i p p r N o NBUHPBQ) r NB 0

a AIQhRVS r N V I R O N o MZ o SmHE B 1 I

a TIMEtSB v X X ( 2 2 ) v ZERO D I M E N S I O N & P A R T ( Plr LOB18 EQUIVALENCE l IPARTtlrlBw APARTQ1r1) B

G JFLG l P E R B KFee a: nzE@O DO 500 1 = I r N P I R 7 S i o e l eg K = 7 0 1a I APARPtK*I) = ~ P B R T ~ K I I I * l44a

100 CONTINUE C DECODE t XPARP(Sr1)r 1DO 1 I d l e I J %

DECODE f G e 2000 IPARTtSoZ1 3 TJlr fJ2 200 F O R M A T 4. A Q r I2 b

IF ( Ed2 ,&Q, P Z E R O ) GO T O 500 IF ( lPARTBllrIB r E G * INSTAL GO TO 500 IF ( KFCG ,EQ, I Z E B Q B WRITE €603009

3 0 C FORHAT f 48HlTHE F O t h O M I h G PARTS ARE NOT CURRENTLY INSTbLLEBo P I B Y f L e = I WRITE (60YCI) ( APAPTldoIBo d = Iw 11 8

4 0 0 FORMbT f 1 x 0 5A6w Y f 5x0 Fl0.O I * 5 X e A l B 5 C 6 CONTINUE

C DO lG0O J = lc 5 D Q 9 R O I = lo Z Q ISTART = IPOINT(PoJvl8 IF ( I S T A R T ,EQ, TZERO 1 GO TO 908 IF 4 JFLG , E O w I P E R O 8 URLTE t6~600B JFLe -- 1

600 F O E M b T t Q G H I Z O N E S AND THEIR F I N b L AREASP ChLCULAYEB/%MPUBw P B 1 A P B R T ~ ~ B P I S ~ 897) A P A R T [ lBoISTBPTB + SIGN a R P & R T l 9 e % S T & 2 f 3 e

rn W P b R I i 1 0 s ISTARTP 1 2 R I T E ( 6 s 7 0 3 1 IPARTtSvZSIART l o ( A P A R T ( K + G e Z S T A R T ) o FAREAtIcJo

LV K ) e K = ] b e La 1 1 0 0 F4QYAV t I X o 1 6 r 4 f 5 X c F 1 B . O s $HP I F I C B O D 8

I F ( A P A R T B l C s f S F L R T ) . L T B Z E R O 8 % R I T E tev8QBB 8 0 8 F O R M A T 6 65H *****EWRa2***** C O D E T 0 A D D O C C L U D E D T O OCCLUDED MOT . ENCOUMTEPEB B 900 CONTINUE BOCO CONTIRUE

RETORP.5 - EFdB

Page 45: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished
Page 46: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished
Page 47: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I C C F U N C T I O N T O O B T A I N hUKBEW F R O M S U B Z O N E L E T T E R E:

CBMHBN P A & $ e ANEM t APba(i2l r 1 a & P C c APS r A R B 4 1 c A R E A g Q c l 3 8 a

D B L A R ' K r B b M P ( 4 r l f r Z ) c F A W % A ( ~ ~ ~ ~ ~ ~ ) B % A B 9

es I t Q D E B ? 3 ! 9 IDEV(101 @ I E R R Q R r I E X 8 @

D IF b6 o IdPRT r P N V P R t IbB e INSTAL o L LOP( 5 ) o I P A R T ( 1 1 r l O O l ) r I P Q I [ N T ( f 2 8 1 r Z i o G P B r I P R T B 1 3 I r 0 PREMOV o P R R l f 3 ) s I S I Q R T o fSZONE4P30t e P TYPE 9 %%(C61 I@ o IZERO r

a I Z O N E ( f 3 ) v P I o JPRE r KS e 0 i( T r 1% r LR r h S e -S M r N r NBUHP14 I r NP r o N P A R T S r NVLRON r N2 r SrLME I

e T I H E B S ) 9 X X ( 2 2 ) r ZERO C

D I M E N S I O N I C H A R ( 5 ) D A T A t ICHA41I)r I = 1, 5 1 / EHAI 1 H B o IHCr: 1HDr I H E d

6 I S U B Z O = I Z E R O DO 100 J = f r 5 I F f I C H A R ( J 1 ,Ed, K 8 GO T O 200

1 0 0 CQNVINUE I S T h 9 T = 93 CALL E R R O R ( 8 ) RE I U R I J

200 P S U B Z O = J R E T U R N END

Page 48: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

COHHON 4WG r A A S r &HEN e p\Pgl#Z) B

P) B PC 8 APS D h R f l l 1 e A R E & ( Q r l 3 ! r * BbbtR'H 9 B U M P f 4 r l P c P ) c F A R E A ( Z Q c % c & l c l A B o e3 f C O B E t 1 3 D r E D E T B 1 B F o X E R R O R r LEX a a I F LC I d P P V r I N V I R i 1 0 l e $N$TR$ w 6 I Q P B S ) o I P A R T ~ P 1 w Z @ U l l o I P O I N f t S O e S o 6 1 B eTPRTt%3Br e c I R R Z 1 3 B r I S T A R T B I S Z Q N E (131 a @ %TYPE e X X S % l r 'dig I Z E R B 9

e I Z C N E # 1 3 % r 9 1 e JPRE r KS (li

PI r NBUNPt4'B e NP 8, e NtrEROQt c M t r SVIDSE a r ZERO DIHEAISlrJfd EOUXMPLENCE ( I P b R T t l r l ) r & P A 9 T Q l r f 8 3 DIHEQ5XOY S I G N N ( 2 I D A T A S l G K N t l ) / +I, / r

(li S I G N N f T B / -1- / EOUIVILENCE t P X t l B r K C 3

K C = I Z E R B CdiLL N V P R e

1% t T J P R T ,E3, P Z E R O B GQ T O 1300 I K P R T = EdaS t I J P R T 8 08 12g0 1 = % r L K P R T 131 = Z Z @ N & ( 1 ) IF ( TJI *LI. 1 -02, I d 1 e G P e 20 O 60 PO 25 I J 2 = I S U S P G t I S Z O N E t P ) l XF f I J 2 .EQ, I Z E R O 3 GO T O 1200 PJ3 = X F R T f I I % IF t 133 = L T - 1 ,CKe I d 3 ,GT. 61 'B GO TO 25 ISSBPT 2 I P C I N T ~ I J i r I J Z e I J 3 B 1% I I S T b R ' F oNEe PZE.9C P GO TO 50

2 5 I S T A Q T = I eatt " R c a ( 1 3 1 613 PO I2P13

5 0 J P T a W T = I P O T N T t I J l s b d Z e L I IF I J S T a R T e E G r X Z E R O 1 GO TO 25 D O 103 J = I r 7 E X 4 3 1 = ZERO

108 CONILYUE P X f 2 1 = f I J 2 - X 3 * 29 9 BJI 0 0 150 $ s: 30 6 IXlJB I Z E R O

ESO C O N T I G U E K F L G = 1 FOR Z I M S T B C L - P E ? < O V E Q D E L E T E C b Y D SELC3kB AND ADD COMMENTED C A R D I f T T Y V E I P E M Q V * A N D - ( I C O B E E I ) , E C , %HZ ,OR, I C O D % t % ) IF t I T Y O E e E O e I R E M O V e B M O m 4 % C P f D E I P D e E Q a I E X e O R s s + ICOQElI8

e ,EQ, % b ) ! h F L t t9 T O f 2 9 0 1 390 S c i4FL.C

2 0 0 % F f 9 P A 9 T t % 2 @ J % T b k B B e E G s N V P R O M B n x e G l = NVIROM I P A C T f I 1 a J 5 B W R T ) = R V I R B N

300 I F f I R R t I ) .NE, % Z E R O 1 50 T O 800 G C P C g k r o , s o ~ I S K P L G

&a0 IXtQB 2 f Q C s I

Page 49: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I I & 8 "U" 6609

A 2 1

I 580 I X t Q ) = f Id% - % B * 28 * E J B I % X ( 2 % = 18a * f

6019 3FL.G - 1 IF t & P 4 R T i 3 O o J S T W K T ! o h T e ZERO D JFCG = 2

I -\ I I F 4 T C O D E ~ I I , E Q , IW 8 eo ro sue

88 " P O J f r Q f F f JfLG -EO, 2 . A N D . j ~ E O Q 2 1 tQ fO 618

G O TQ 3 0 0 IF t & P A : T t $ + 6 o S % T A R T ) 0 & 8 e Z E R Q 1 I F l JFLG e E 6 e 2 a B N B 0 d e E O 0 9 B 60 T O 700

610 X X t P l = A P A R T B J * G o I f T A R T 8 -- IF ( d .Eo, 4 i X X E I I I = A N A X 3 O P X X O 1 ) - P P A R T ~ ~ P I S T A R T B 8 %

I e Z E R O b I X t 3 ) = J

! IXfSB =: J 6 6 8 GO TO t 6900 695 ) v d F b G 635 I F t J e N E e 2 G O TO 698

I F t A P R P T ( I D I I S T B R V ~ o E G e Z E R O 1 GO T O 690 O C C e = b R A X I ( 4 A P A R T t l Q e I S T A R T ) - A P A R T ( 9 r I S T A R V I B o ZERQ B X X ( 1 ) = X X E I I 9 B C C L B P A R T ~ I O P J S Y A R T I = A P A R T ( 1 O r J S T A R V ) - O C C b * S I G N N 4 K F L G B

6 9 0 B P A R T C J + S e J S T A R T ) A P A R T t J + 6 r d S T A R T ) -+ X X ( 1 1 * S X G M N t K F L C ) IF B P X ( 6 ) e E Q e L Z E R Q * & % D o X X ( 1 ) a E Q e ZERO b G O TO 7 0 8 I X ~ = K C .+ a CbLL R E C U S P X t 6 3 = I P E R O

900 C O M T P N U E GO T O 1180

80C IF t I X t 6 ) , E Q Q P Z E R O D GO TO 1200 I X B 1 1 1 = K C .h 1 eat% QECWS i GO TO 32Q0 I

900 90 1800 J = l a 4 IF f d F l G WEO- 2 e A N D , J , E Q e 2 1 GO P O 910 IF $ A R E a ( d . I $ , E O - Z E R O ) G O TO 1000 I F t JFLE 2 e A N B 0 d e E Q e 9 ) GO T O 1000

910 K X f 1 9 = A R E A f d e I B I F t J *EQ, 4 1 X X ( P P = A E h X 3 t ( X X 4 l B - A D E A 6 3 r I ) D o Z E R O 8 IXbS) = J I X B 5 1 = 4

960 G O T o i! 9 9 B e 975 9 8 J F C G 975 IF t J e R E o 2 GO 10 990

I F ( B R E A ( 4 e I ) * E Q e ZERO ) G O TO 990 G C C L = B W X 9 t t B R E A I Q v 1 ) - A P E A f 3 r I 9 l c ZERO B X X ( 1 9 = X X ? B ) 4 O C C L B P B R T ~ I C B J S T Q R T I = A P A R T ( 1 C v J S T A R V ) - O C C L S I G N N ( K F L t 1

990 P I P W R T ~ d + 6 t J S l b R T ) = A ? A R T Q i J + 6 c d S T A R T ) X X ( l 1 - * SIGMINCKFLGB I F e mxcs) .&a, r z e p o @ P ~ D * X X I I ) * E Q * ZERO 1 GO T O ~ O O B E X t 1 $ - KC + B &Ah&_ R & C k % IXf6P = T Z E R Q

lnee CONTIRUE L 1 B B I F f KFbG , E 6 , H B GO TO 1200

IF f I F W R T t 1 I e J S T A Q T ) sEG* N V I W O N ! 200 I X f Z b = ( I J 2 - 1 B * 26 + id% P X i 3 9 r 12EWO I X t q ) = P P E R Q P X t S j = P P E R O L X ( 6 t = NVIRON --

X X t 1 " B Z E R O %Ktb l l Z K C ..;- B CBkL PECWS

Page 50: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

1 I

8200 C O N f l N U e 1300 08 1400 J = l o 6

P X t J ) : E t E W B XXtdB P E W 0

%48C CON7 I t J U E X X f 3 b - ZERO CALL RECWS

I WE TURN END

Page 51: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

SUBROUTINE KBPE

C K O AND PE C A R D B U I L D I N G S U B R O U T I N E C

C O M M O N b A G e AAS 9 AHEtJ o A P A t T I e CP A P C c AP% 9 A R ( 4 0 v d R E A t 4 o l J B I c2 BLANK r 3 U Y P f 4 1 1 l e 2 ) c F A 2 E A t 2 8 r S r Q 8 * P A 8 P

, 0 1 G Q D E f 1 3 1 r E D E f i t D I r I E R R O R 5 SEX c 6 f F L G o I J P R T v I N V I R 4 I O ) r %MSTAC o e T O P (5 r I P A R T ( 1 1 ~ 3 0 U 1 ) r I F O I N T ( ? O ~ S r 6 I B ( t I P R T ~ I 3 ) ~ GT IRENOV r I R R ( l 3 l v I S T A R T r I S E O N E l I J B r O z T V P E r H X l G B r nu r P P E R O , v 0 I Z O N E ( l 3 ) o 11 r J P R E r b(S e I) K T v L K r L R r hS o ~1 H r N r NBUMP(U8 r NP o I) NPbRTS c N V I R O N r N 2 r SIIWE r O T I H E ( 5 ) I r X X ( 2 % ) Z E R O

B I M E N S I O R A F A R ? t l l r 1 0 0 1 ) EQULVBLENCE ( I P B 2 T ( l c l B r R P A R T I l r 1 ) 1 D I M E N 5 I O N 3 1 Z O t 1 3 )

I F B &PEN e E 6 e ZERO *kRDe I J P R T e t T e I Z E R O 1 C A L L E R R O R ( 1 2 1 D O 1500 T = 1 % 5 8 0 l iO@ d = l a 6 I X C J I = I Z E R O X X ( J S 4 Z E R B

180 C O N T f Y U E X X ( 7 1 = ZERO I F [ I O P f P ) .EQ. I Z E R Q 1 GO T O 1600 I S T A R T = H I F # I O P ( I 1 ,LT . 1 *OR. IOPtI) r G T e 35 1 C ~ L L E R R O W (162 I X t 1 ) = I O P P E R t I O P ( I ) B I D C O N = P X 1 5 ) X X ( X ) = T P M E f I ) / 6 0 , 0 T F -! TIME(E) ,EQ, Z E R O 1 CALL E R R O R ' ( 5 8 IF l I O C O N ,LTe I Z E R O 8 GO T O 200 I X ( 2 1 = E V L R O N X X ( 2 1 = &KEN

200 L R = Q CALL QECkS L R Z 5 I F ( I D C C N . L T . l Z E R O 1 L R = 20 I F ( I J P R T ,EO. % Z E R O 1 G O T O 1100 I K P R T I l d g S t I J P R T ) 03 380 J = l v % K P R T IZCIJI = S Z E R O

300 CONTLQUE 0 0 Z O P O J = 1 s I K P R T P J P = I Z O N E t J B I F t PJP . L P P 1 ,OR, I J 1 e G T e 20 1 G O TO 325 PJ2 = % % C B Z O C I S I O N E C J I ) I F t ~ 2 2 ,EO, IPEPO I ec ro leoe I J 3 = I p R T t J I + 1 I F 8 I d 3 , 1 T e % , C R , 1 J 3 a G B e 6 1 5 68 P O 325 I F f I J S , E @ , 1 B G O YO UO(J 9 S S B R B r % P Q I N T t I d ~ r P d Z r % J S 8 IF g I X T B R T , R E , I L E R B 1 G O ao so

325 HSTAQT = J C A L L E R R O R d10% SO 7 6 lb?Ce3

350 IF 9 IPA2T(llrISTARB) r N E e IN 406 % C H E C K = ( 1J2 - 1 1 * 20 * I --

-----a" L * % * ~ ~ - - ~ x - , . . . . ., ' , " - a.-.w 9 ---- * --* * - ~ . . . - ~ - , * ~ ~ ~ ~ - ~ - - ~ ~ a r m -- ---,=A -we *~-***-== e - . - -

Page 52: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

5 0 8 C O N T I N U E I P O B J l = I G H E C K % X ( 1 ) = I C H E C K JSTbRT = Z P O Q N T t B J % s E J 2 * 1 1 I F ( J S T A R f , E Q e I Z E W 0 ! 60 7-63 325 80 5 9 0 K 2 B e 8 IF ( ~ P O R T ~ K P J S V A R T I - & T o I e E - 2 1 fQ TO 560

S Y 0 CONTINUE I S T A R T = JSTBRT C A L L ERQOR 463 60 T O lCBO

5 6 0 I F ( P O C O N eET- I Z K R O 8 GO 30 6013 I x e ; r , :: c s X X f % ) = ZERO X X ( 2 ) = L P C X X ( 3 ) = APS

C FOG Z I N S T A L L - R E M C V E * D E L E T E C b R B B E L C V AND R O D COMMENTED C A R D C I F f I C O D E t J ) , K E e IEX * A N D - P C O D E 4 J ) - N E E I d .AND ICQDEtJ) oNEe e @ l t lz 1 G O Y O ~ O D

I F t I C O D E ( J ) ,NEe I E X ,ANDO ICODE(J) aNEs % & B G Q T Q 8 0 0 X X ( 9 1 = A P A R T ( 7 o J S T A R T ) * A P A ( 1 ) X X t S ) = A P A R f ( 8 r J S T A 2 T ) * A P A t 2 3 eo TO eois

6 0 0 P X C 2 1 = k K DO 7 C 0 K = 1 9 rl X X 4 K ) A R f K 8

700 COKY I N U E 8063 C d L L RECWS

B@ 9GO K = Ycs 5 X X ( K 1 ZERO

9 0 C C O N T I N U 1000 C O N I T N U 1 1 0 0 DO azea K = l o 5

I X ( K I = Z Z E R O X X f K l = ZERO

1 2 0 0 CONTIrdUE CALL 2ECWS

1500 C O N T I N U E 1600 DO 17PC J = I e 5

X X t J ) = l Z E R O X X t J ) = 2E20

1 7 0 0 C O N T I N U E LR = 9 C A L L ~ E C U S RE TURN E ND

Page 53: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

S U B W O U f l N f N V l R M5

S U B R C U T I N E 9 3 O B T P I N E N V f A O N M E N l NUMBER F R O M L E T T E R CODE

C O M M O N f l A G o liQS c AHEk P 4PAO%B 0

%a A P C o B P S B &R((3b e AREAt4r138c Q ~ L B N M ri B U H P ( Q o l 1 o t ) c F A R E A ( 2 Q w 5 v 4 B p I A B e

X c O D E ~ 1 3 3 Q T B E T E B O ; v I E R R 0 4 6 9 $Ex 9

o PF LG e I J P R P c I N V P R ( 1 Q S e %MSTBL o

o I C O P t 5 8 P I P A R T ( l l e % O Q % ) ~ I P Q I N T ~ ~ Q ~ ~ v ~ P ) v I P R P ~ P ~ O O 0 I R E H O V r I R R ( l 3 1 9 X S T I R T o ZSZONE E 131 c

m I T VPE e E X f 6 6 w fcJ s IZERO 9

m f Z G N E ( 1 3 ) v 1 1 c dPRg 9 K s - 0

c) K '5 e hV( o bR o L S . - e .

e H v M v N BUMPt4b o NP 0

o N P b R T S e NVIWON v N2 9 S B X H E e

m T I M E ( 5 ) v X X ( 2 2 ) v ZERO D I M E N S I O N A P A R T ( l l o 1 0 0 P ) E C U I V A L E N C E 4 I F 6 R T ( l o l l o A P A R T 4 1018 8

80 100 $ = lo 1 4 I F 'i I N V I 9 ( 1 ) ,EQ, N V I R 3 N ,AND* N V I R O N -NE* % Y 8 GQ T Q 2 0 0

%DO C O N T I N U E C4LL E R S C W ( ' 7 1 N V I R O N = IZERQ R E TURN

200 NVIRON = I RETURN END

Page 54: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

SUBSOUTINE O E K C

5 U P R O U S I N E T C B U I L D CCMPLETE SUBTASK C A R D S E T FOR S U I T C H I N E ZONE OCCLUDED & R E A S F R O M EXPOSED TO OCCLUDE0 LIR & E R s &

CQPIMOf\d AAC e AbS r AMEN D Ala&t2) 61

0 APC r BPS r AR(4) r AREAfQoI3Bo a BLANK P B U M P 1 4 e 1 1 ~ 2 ) ~ F A ~ E A ( ~ Q Q S ~ ~ S cIBB e

0 P C O B E ( P 3 ) v IDETlIOB r IEWRQR w I E X e

P IFhe c IJPWT r INVIR(1a) o IMPThL B

o 10P9851 B IPARTB ~ ~ o ~ G O I ) P I P Q P N Y (2Dv5*61BeIPbSTBl3Be 0 I REMOV e TRR(13) r ISTART c PSPQNEtPSOv 0 IT VPE e I X ( 6 ) o ILI v P Z E R O o 0 LZONE(13) o I1 w JPRE c MS o

a K T e LK r LR v LS 0

o H e N r NBUMP(41 c bJP 0

0 NPARTS 9 NVIRON v PJ2 o STIHE P

0 OIME(5) o X X ( 2 2 ) w ZERO @IPENSION APAGTtllrlOC1) EQUPV;ILEPICE ( IPARTt 1.1) s 'APb~T(lrl1 8 EQUIVALENCE O IX(l)r K C 8 D I M E ? J S I O N TZO4 131 BAT& 10 / 1HG / *

a PE ? 1HE /

K C = PZERB J F e e = TZERO IKPRO = PBBS ( E J P R T 1 DO PCB I = l o %#PRT PZOtI) = IZERO I F ( XCODE(P1 .RE, I C oAKDe ICODE(1) * N e e IE 1 GO T O 100 JFLG = JFLE * 1 P Z O t J F L G ) = X

100 CONTINUE TF f J F t t ,EGO IZERO 1 RETURN H X ( 9 ) N X X l I = EHCHIMGE X X ( 2 ) = GH O E X X ( 3 9 = 5f-4 ZONE X X t U I = GHAREAS DO 2CC P = 59 7 X X I V ) = BLANK

280 COKTPRUE bR = 2 CdiLL P E C U S 00 300 I = B a i ai X X ( E 1 = ELARK

300 C O N f I V U E I X k % ) = I Z E R O kR = lp? c a k e RECUS b R '=: 1 6 CALL Q E C V S 0 8 351% 1 = I * 7 X Z I t $ r l = Z E R O

3 5 8 CONTINUE I X Q 6 1 = % Z E R O

L R = 3 09 lOGO 1 = l s JFLG IJ - B Z O f T B % 4 1 = I % @ N E B I $ I IF # % d l e L T , k .OW, IJB O F T O 20 1

Page 55: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

I P J Z = f S U B % O f P S Z O N E ( % J I B A27 1 1 I F ( f J 2 . E B , I t L W O 1 GO T O

I S T A R T = E P Q I N S ( I J l r l J Z s d ) I F l T S f b P T .NE, 4 Z E R 8 1 G O 3 0 4830

3 9 5 I r r d P r = X J I GALL EPROR t 1 Q ) I I 6 0 "P (90863

1 4 0 0 T X C 2 ) = C I J 7 - f 1 + 20 * IJP X X f 4 ) = IXtZP X X ( P ) = BPS ( A P A R T ( % U r I S S A R T ) 1 IF t X X I P I *LE, 1 , ~ - 2 I x x a a a 1: ZERO K F L t =: li IF # I C O D E ( I J ) e E Q a IE 1 GO TO ( 5 C 0 r ?CO ) r KFLG

500 1 x 4 3 ) = 4

KFLG = 2

I I 3 x 1 5 1 tr 2

i X X ( P 9 = B Y E N 1 ( X X ( l B r A P A R T ( 0 r P S I A R T ) 1 IF O A P A R T ( l G * I S T A R T ) .bT. Z E R O GO T O 600

I C a C t E P R O R ( 1 3 3 60 TO POCO

6 0 0 & D A R T ( 8 e 1 5 T A R T ) = G P . a R T ( 8 r I S T A R T ) - X X ( 2 ) B P A R T ( I D 9 I S T B R T ) = X X t l ) G O TO 900

7 C 0 I X t J l = 2 1 l ( ( S ) .- I F f P P A R T ( 1 t c I S T A R T ) c G E . Z E R O GO TO 800 CBLL E R R O R ( 1 4 ) 60 T O 1 0 0 C

800 A P 4 R Y { S r ~ T T b R T ) A P A R Y ( 8 o I S T B R T ) + X X U l B

900 I X t P ) = K C + f C A L L PECWS

1000 CONTINUE PO llGC 1 = 1 8 5 I X ( 1 ) = I Z E R O

1 1 0 0 CONTINUE X X ( 1 ) = ZERO CALL RECpS L R = "r CALL RECWS RE'IUQW END

Page 56: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

D U B R g U V X N E P B I N f L % K6UNTO A28

e c PD A N D PQ C ~ R O BUILDING S U S R O U T E N E F O R Z O M E S a ~ a e r s i ~o 100 a e

c OHMBY w BG B A S o W H E I J @ BIPA B Z B 0 L

e A Q C w BPS o WRt9D o W R E A t 4 , 1 3 1 9 0 BLANK o B U Y P ( 4 e I f c Z ) e FQREA82Qo5e9B o I W B tc

1 f C O D E E P 3 I v IDEV(1U! F B E R R O W .a (F E E X 0

Q f F L G P I J P R T Q E N V I R ~ I Q I o I N S T A L (9

e IOPf5B o I F Q A l t I ~ P ~ C O ~ ~ ~ P P O % N T ~ ' ~ D O ~ D ~ ~ ~ P ~ P ~ ' C I ~ P ~ ~ ~ I RE MBV o X R R ( 1 3 9 o ISTART o PSZONE(B38o

/ o PYYPE P I X Q S ) e 11.1 9 HZEWQ 'a

o LZONEtl3) o 1 1 B dPRE o O ( $ %I

0 K T o hM 9 b W o b S 0

0 P9 o M o NBUMP(48- o NIB 0

0 NP e M V I R O N o Ni! o SIIHE 0

0 T I M E I S ) o X X t 2 2 8 v ZERO D P R E N S I O N A P A R T (11 olCOS) E Q U I V ~ ~ L E N C E ( I P A X T % ~ W I ) Q BPART(%r&b 3

C K O U N T = f DO 40e J = n o 5 00 308 I = P I 20 P S T d R T = 1 P O I N T f i ~ d c l ) IF ( I S T A R Y - E 00 aoe K = P X t K ) = L Z E R O X X t K ) = APART(Ko1SVARTB

108 C O N T I N U E X X ( 7 ) = B L A N K NZONE = t d - 1 ) * 2Q + f P X t I ) = N Z O N E LR = 1 Y CALL RECWS B'J 280 # = I X t K ) = 9 6 + 4 a N P O N E 3 K X X ( K + Z I = Z E R O

2 0 C C O N T I N U E X X ( 7 ) ZERO P X ( 6 ) = XAB X % ( f ) = giAC X X ( 2 ) = Ah% h R = 15 C A L L PEeWe

300 C O N T I V U E 400 C O R T I N U E

RETURN END

Page 57: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

PD AND B Q CAPa B U I L D I N G S U B R O U T I N E

COMMOC.I & & G o B A S e AMEN e bSqAQfB B

B h P 6 e APS o A R ( 4 1 o A W ~ E A ~ ~ ~ 1 3 1 c 0 f3t4NtS R U M P ( 4 o l l e Z l o FARE&#ZOeSeCO o I B B o

0 l C ( ~ D E f ? , 3 1 * I Q E T t I D B Q IERROR Q I E X B

0 EFbG o I d P R T s I N V I R ( 1 B ) e I N S T A L e o POP(5) c I P R R T t I P ~ ~ ~ ~ ~ ) v I P O I ~ T ~ ~ B ~ ~ ~ ~ ~ ) P I P R T ( ~ ~ ) ~ a IREFSOV e I R R ( l 3 ) e ISTART e ISbOME#d3% o a I T Y P E r 1 x 1 6 1 0 I s W q E Z E R O o o P Z O N E ( 1 3 ) v 1% o dPRE o K% o

0 K T c hH v L R 9 b S 0

a M o N o NBUNP643 9 NB o o N P A R T S c F ! V I R O N v N2 9 S T E H E u a T % N E ( S ) o XX(22 ) e ZERO

DYPENgPON A P A 2 T t l 1 v l O O 1 ) EOUIW4LEtJCE ( I ' r A ! ? T ( l o ll c A P A R T ~ P I ~ ~ 1

D O 1 5 I = P e Z J P R T I R R f I I 2 1

IS CONTLIJUE

I F ( I T V P E QNEa I Y S T A h * A N D * IVYPE ONE, IREHOW 1 I J P R ? = -PJPRV I F f l J P R T mLEe I Z E R O 1 GO TO 11880 00 1lCO 1 = l c I J P R T PJI = IZONElPB I F I Y J I * L T a 1 , C 2 * I J ~ * G f , 20 b 60 TO (20 PJ2 = P S U E Z C O ISZOkEtI) )

IF f Z J 2 ,EG, P Z E R O t GO TO I?OQ J S T A R T = I P O I N T ( I J J o P J Z o % 3 I F ( J S Y A R T ,EQ, PZERO B GO TO 2 8 I J = 4 I F ( A ZE2O 1 P J = 3 FOR 7 I Y S T b L L - P E K O V E v D E L E T E CdRD EELOU AND ADD COMMENTED C A G B HGFFH8 I F I I C O D E ( I 1 ,NE. 1WZ GO TO 500 HOFf HA IF t T C C D E ( I 1 . K E o XEX 1 GO TO SOB I d 3 = I P R T t p ) o 1 I F ( I J 3 .LT, 1 ,OR, I d 3 . G T , 6 1 1 60 TO 20 IF 4 IJ3 ,ED, 1 ) GO TO 1700 I S T A P f = I P O I N T ( I J I v I J Z ~ I J 3 ) ' I F ( I S T A R T ,NE, I Z E R O 8 GO TO 25

20 P S I A R T 2 1 CALL E R R O R (101 GO TO 1700

25 IERPOQ = I Z E R O JF ( ? T Y P E e E Q * I P A R T l l % s I S Y E R T ) eBND* PTYPE mEQo PKSTAL P

a CaLL ERROR ( 3 8 I F O I T Y F E 0 E 3 - I F C R T ( h l t I 5 T A B T ) eARDe I T Y P E SEQr IREHOW B

e GILL E R R O R C V D IF B T T V P E m E Q * IREMOV e E N D m P F A P T ( l l e I S T A R T ) r E G e 1HN 1

as C A L L E R R O R (118 P R R f I ) - T E R R O R I F si T E ? R O ? ,ME, % Z E R O I GO T O 2700 P P 6 4 T B E B o Z S T b R T 8 = % T Y P E 00 S O J = a. rs Pf I A P b R T t J e f ' T A R T f - R E b ZERO I GO TO 7 5

SB C O % B % F ! U E -- -- - -

C h k L E R R O R i E ) I

Page 58: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

LR = 15 QCCL = A P l P X 1 t I C P A R T ( 1 O e I S T A R T ) - A P A R T ( S o I S V A R T 9 8 6 ZERO B 8 0 Joe J = l o T J P X t J ) = 1 6 * 4 * I + J &SURF = fAP4RT( J + 6 r I S I A R T t IF- ( J . ~ n , 2 . ~ r ~ r , I J *E .Q* 3 I ASURF = ASURF * QCCL I F t J ,EQ, Q 1 A S U R F = OCCL I F f bSUPF .EQ. Z E R O 1 I X t J ) = IZERO

300 C O N T I W O E CALL QECWS

DO 7011 K = 1 s 4 A R E A t K o T 9 = ZERO

700 C O N T I N U E C

PO 9CG J = 1, 60 I S T A 9 T = J S T A R T + J

C DECQ!IF ( 49 E G C O I P A ~ T ( E I I S T A R T I 1 I C O B E Z UIVILWf f

O E C O D E t 4 r 6 9 f r I ~ R i ? T ( S r I S T A R T ) ) I C O D E Z GBC I F ( I C O D E 2 ,YE. l C O D E 1 1 GO T O 1000 I E R R O % = 1 ZERO I F t T T V P E .E3. I F A R T ( 1 1 r I S T A R T ) ,BNC, I T Y P E S E Q , I m f A L B

o C l L k E R 9 0 R ( 3 8 I F ( X T Y P E .ES. I F A R T i l l r I S T A 9 T 9 BAhBaa I T Y P E . E O e I R E R Q V 1

o CRLL E Z R O R ( B 1 I F ( P T Y P E , E Q . IFEMOW , A F I D e I P Q R V ( l ~ r 1 S T A R T ) + E G c 1HN t

0 C l l L E R R O R (11) C

I F f I E P R C Q ,NE, I Z E R O ) tQ TO 908 I P A R V t l l s I S T A R T B = % T Y P E 0 6 8OCI F( - 1 s B R E A ~ K I I ) = B R E A ~ Y B I ) + A P A R T ( K + R I I S T A R T I

800 CO?\ITEPdUE 908 C O N T I N U E

C BOOC 0 0 1 l C D K = :t Q

I F ( A W E h ( K @ E ) ZER3 i l E B O C O N T I N U E

G O T O IToe% e

l 2 O B P R A f I ? = I Z E W O 00 1 3 0 e J = 1 9 6 $ X f J b = I P E R O

Page 59: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished
Page 60: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

S U B R O U T I N E PNPUT A32 e C p r a s g f i s . ~ f ~ \ l g p y I K P U T shl~~ohlt%~& e

C B H H O N B A G o PELS w AHEM w A P W P O P B

o d PC e 111PS B A R t a ( B o A R E 8 4 4 e 1 3 b @

.a BLAPIK e BUMP(4vPloZ)c FBWEA(2Do5e9?e%AB o O I C O Q E ( X 3 1 o I D E T E 1 3 f e PERROR s $EX o o PF b e w PJPRT w INVIR(101 o INSTBL c

o IOP( 5 ) P I P A R T ( P 1 : 100iD oIPOXNV(fQ~Sw61B oIPRPQB3le 0 9 R E r " Q V e IRR(13) o ISTBRY o ISPONE t 138 r 0 1 TYPE B P X f 6 P o % U B % Z E R O 9

0 I Z O N E ( 1 3 ) 0 I1 o dPRE r KS 9

0 # f o LK r L W e LS o a )"I N o NBUMBt4) r NP F

0 NPART w NV I R O t J o N2 o STIHE D

0 T I K E 4 5 ) 9 ~ ~ ( 2 2 ) o ZERO 9IHENSIOY APART( 110 10011 EQUIVALENCE ( IPAETt h r l l o APAPT~loSb P

c KS = 1 NP = 68 ZERO = C , IZEQO = 0 b(? = P Z E R 6 N 2 = P Z E R O PFkG = % Z E R O TERROR = I Z E R O SPIEE = Z E R O SLANK = 6H XBLANK = OH INSTAL = 1 H I P R E W O V 2 1HR TEX = 1HX I W = fHW 00 7s I = L * 20 DO 5 0 J = l o 5 08 25 K = P I 61 I P C I N ~ ( I 9 J c K ) = IZERB

25 COlr2TINUE 50 CONTINUE 7 5 CONTINUE

oe loo I = lo 1 0 ~ 1 80 95 J = B r 10 IPARTfJef) = IZERO

9 5 CONTINUE I P A R T f l P e l B = IWM

100 COkPIYUE 80 130 1 = P I 1@0% READ (50105) IPA2T(SrI)r ( IPhRT(JeII9 J = Ir 9 l r

O t A P A R T ( J * I ) r J 7 c 1@ I s I P A R T ( 6 r Z ) 105 F O R H a T f Abr ~ X P 4 A 6 r 1x1 4F990r 4x9 W6 8

PF 4 P P b Q P ( 5 v I ) . E G * PBlbNK 1 GO TO 140 C OECBDF 8 %P2RT(59%)* 1 1 0 1 ICODE1o ICODEZe I C Q D E 3 - I i

O E e O D F t F I % l E t I P A R T ~ ~ v I I 1 X C O D E l s I C 0 D E 2 e H t O D E 3 s: P 1 1 8 F O R V ~ ~ ( 1 3 0 A l o 1 % 1

n = a s u a z a r a c o o E z , IF i # .*dF, I Z E R O 3 G O 10 1 2 5

115 U W P T E f G r % t E , :20 F 3 R H R T : 4 3 H : + * r r o c R R ~ R t + + a 9 P O N E N C T RANGE 1 2 D s r

e % e f 7 X v 3 f W S U B Z C h E R O T P R R A K C E d T O Ec O R B --

a / O 1 7 x 8 2 5 1 i P B R T NOT IN R l i f d G E O T O FjOc // 3

Page 61: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

W R I T E t G t l O S ! I P A W I t S e l l c f I P A R T B J e f D e J = I c 9 B c A33 o Q A P A F P ( d c P 1 v d 7 e 1L' 9 e I P A R T ( 6 ' e X B

I E W R O Q = % E R 9 0 R B eo T O I s r

925 HCODE2 = M \ % P tI PCODPl .LT, 1 .OR* %CODE1 .GTe 2Q 1 G O "b 2115 IF P !CODE3 eLYa IZEWO *Gf?s I C 0 9 E 3 eGTe 60 b 60 1 0 115 $ C O D E S = H C C D E 3 + B % P O I Y T B I C O D E ~ ~ I C ~ D E ~ O I C O D E J # = P

130 CONTINUE U R I T E ( 6 9 1 3 5 )

135 F b R R A T t 5 0 E 9 + a * a = E R R D R * * * * * 748RE THAN 1000 PARTS I N PBRT h l S 3 e 0 l 7 H OR NO TERNINATORo 10 1 7 x 1 17HUNABLE TO PROCEED )

STOP 140 MPARTS = f - S

1% ( EERROR .EO, ZZERO 1 fQ TO 1581 I F L C = PFLG -+ f M R I P E t 6 9 1 4 5 1 IERROR

34% FOPwaP I I / o 41Go 4 2 H ZGNEe SUBZOYEe AND PART I D E N T I F I E R ERRORS* 0 9H CCTECTEQO I 1

f E W 4 O R = P Z E R Q 1 5 8 lr f I F L C . h l E , I Z E R O 1 60 TO 205

0 0 1 6 5 I - do f O DO aEc; J I lo 5 I S T A R T = I P O % N T ( I ~ J O I ) IF O PSTAPY ,EG, I Z E R O ) GO TO 160 I P A R T ( 1 l v I S T A R T ) = I Z E 2 O 8 0 1 5 5 K = do 1(

F b R E A ( P s J o K t = A P A R T ( K * 6 c I S T A R T ) B P A R f ( K * 6 e I S T A R T ) = ZERO

IS5 C O N I I V U E I

b P h R T ( 1 C o I S T A R T ) = - a 7 2 ' 16C C D N I X N U E 1 6 5 C G M Y P N U E 205 90 230 I -

READ ( 5 0 2 1 0 1 NQUMPCI) 210 FORPAP ( I 1 0 1

I F ( N B U E P I I ) , L T , 1 o O R o N 3 U M P ( I ) e G T - 11 ) G O TO 220 IBUWP = M B U K P 4 I ) READ ( 5 ~ 2 1 5 ) 4 B U M P ( % ~ J O ~ ) W J = l r %BUN@ B READ t S r 2 1 5 ) t B U f l P ( I * J e Z ) * d = l r XGUMP B

2 1 5 F O R M A T ( 8 E 1 0 - 3 8 GO T O 236!

2 2 8 W R I T E (Qe225% 225 F C R M I Y ( 5 1 H l * + * + * E R R O R * * + * * NCo OF VALUES NBT XN RANGE 1 TO 11,

0 8 1 3 U R l l E f 6 t 2 1 G I RBUMP f I) fER989 = I E R R O R o Z READ ( 5 ~ 2 1 5 ) - DUMMY READ f 5 v 2 1 S t DUMNV

230 CONTINUE 2 4 0 I F $ E E R R 3 R eEf2, I Z E R O 3 GO TO 25Q

T F t t = I F L t + B V R I T E ( 6 8 2 Q 5 1 I F L G

245 FBREBT ( I G H I E F A O R S E X I S T I N * 1 2 r 2 7 H GROUPS Q f I N P U % r T H E R E F O R E * D b r a x e 22HPROG2AK 15 T E R H I M A I I M G 8

STOP % S O REWD 4 5 ~ 2 6 0 9 I A B Q AAGe AASr LSc-APCr-APSs l B P A 4 K 9 s K = l r 2 Or

o L K : ( A R ! K l o K = 3 9 4 j 268 F B R M h T ( % l O o Z E t B o 3 0 1139 4 E 1 0 - 3 r P w IPBD Q E 1 Q c 3 3

R E A D ( 5 9 % 7 0 1 I I Q a r o E r r s l e r = a * 31 n

Page 62: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

RETURN END

Page 63: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

S O B R B U T P K F RECUS A39 e B: R E C C R O W R I TIkG Sb lBAQkJf E N & @ LFt I S C U R R E N T R E C O R D TYPE C

COHHON lr AG P WAS e AMEN e &F" l?b l%) B

o B P G a drPS o AR4ci) o A R E Q ( Q ~ & S ~ D u BLANK o SUYP(4w P P e 2 8 o F A 2 E A ( 2 a r S c Q ) v I A B v

0 I C b D E ( I 3 1 s I D E T ( 1 O B 9 I E R R O R 9 EEX $3

6% 1FCG r I J P R T INVIR(BO) I N S T A L v 0 IOP(5) v I P A R T t l 1 o 100% ) ~ I P B I N T 6 2 Q w 5 o 6 l b e I P R T Q 1 3 ! v a I R E M O W e I R R ( 1 3 1 o I S T A R T e I S Z O N E f 1 S b e

o I T I I P E e I X ( 6 1 0 XU e PZEWQ $3

r I Z Q N E ( 1 3 ) o 11 r J P R E c 0(S o

e KT r L K q LW e LS 9

o f4 w N 9 NBUMPCQB 9 NP B

0 NPARTS P N V l R O N v N% 9 ST%PIE v O T P M E l S I r X X ( 2 2 ) o ZERO

D IBENSPON A P A R V ( 1 1 r f O O f 8 EQUIVSLENCE f I P E R T f 1 9 % ) A P A R V f l r 1 3 S

e D I M E N S I O N C T ( 2 1 1 OAT& 4 C f ( l 1 e I = I r 2 1 1 / 2HCCw 2HkDc 2 H K C o 2 H K O o 2HPEo 2HR8e

a 2 3 5 0 s 2HTBv ? H E & * 2HEDv 2YEQe 2YOOo 2HOQe ZHPDo %#PQo a ZHDDP ZHDQt 2 H Z D t ZHZC* 2HPEo 2HEW P

D A T a KOUNT / 0 I C

5 0 1 F O R M A T ( I ? r 3 x 8 A 2 r I 4 r 1 H / e X 3 r l H / o I2 1 N2 = N 2 + 1 NP = NP + 1 I F f LR m E Q - 1 7 1 NP = hP 4 2 IF t NP .GE. 5 5 B CBLL HEAD GO T O 4 +CP l D C * ZOCr 30Co 4COo 4 5 0 9 5EQo 6 0 0 0 15000 1 5 0 0 .

o 1 5 0 0 1 1 5 C 0 e 15COe 7 0 0 , s O O t 9 3 C 1 1Q3Zw 1 5 3 0 v I S O Q e 0 I ~ O O I 1200 1 9 L R

I: C C CARD 50 M!? ITE ( 6 ~ 6 0 1 1 Pi29 C T ( L R 1

U R I T E ( 6 r 6 1 3 ) I X 613 FORMAT I 1H+w 2 3 X r 6 1 4 1

$50 TO f 3 O C C KD C A R D

I 0 0 W R I T E ( 6 r 6 0 1 ) Y2w C T ( b 8 ) w K S r K T 6 M %!RITE ( 6 ~ 6 0 2 ) C I X ( J ) r J = I o 3 ) r C X X ( J 3 r J = I r C )

602 FOR%bT ( 1 H i r 2 3 x 0 3 I 4 e 1 7 x 1 Q86 1 eo ro 1 3 0 0

C K C C A R D 200 W R I T E ( S s E C 1 ) N Z r C T t L R l , KSr K T , M

WRITE ( 6 o G G J ) 1 x 1 X X ( J ) e 3 = S F 3 3 603 FCRHA? ( l M + r 2 3 X o h I Q o 3 F 3 6 c 3 1

GO T O IJOC) C K O CARD

300 W R I T E ( 6 ~ 6 8 1 ) NZw C f t L W j o K S r K i r M WRlTE ( & * G O 4 1 4 I X ( J ) r d = IP 2 B o 4 X X t J I e d = 99 2 D

604 F O R M d T 4 2 3 x 1 2149 1 6 x 9 2 F P O - 3 8 GQ T O I 3 0 0

C PE C b R B t CONVANPNATIQN 8 400 @ R I T E f 6 r 6 0 1 F k2e C T ~ L R I P HSe K T o N

V R I T E (696851 t I X ~ J I V J = 1 @ 2 1 s ( XXtJ! , J = I r 5 8 6 0 5 B O R H h l 4 f H + c 23Xc 2 I G e 1 6 X o 5 P 1 C c 3 1

60 TO 1300 F b 81) C A R D

45Q V R I B F 6 6 s 6 Q l B MZo C T t L R B M R X f E i 6 e E l 4 E P X C 1 : c 4 X X C d ! s 3 = 2

Page 64: FOR - NASAFORE WORD This document describes the work performed as Task 2 of Phase VIII of JPL Contract 952532. (This is a follow-on to JPL Contract 952028.) Phase VIII accomplished

61Q F O W M B T D P I # + * 2 3 x 9 E l l s 2 5 X * 7 A E 1 A36 G O T O 1380

C 513 C A R D S O D U R P T E ( 6 a 6 G l ) N2e C T # b R $ r # S

W R I T E ( 6 s F D 6 ) H S v 4 X X t J B o d z I r 7 D 6C6 F O R M B V f l H + e 23Xo I Q o 2 5 X e 7A6 )

68 T O 1300 S: TOi C A R Q

688 W R I T E t G s 6 0 1 P N 2 t C T t b R ? v KSo WV W R I T E (58607) 4 P X ( J ) r J = IV 3 9r 4 X X ( J ) r 3 = B k r % 1

6 8 7 F O R M A T 4 1 H * o 2 3 x 9 3 I 4 c t 9 X r 7 b % 1 G O T O l a n e t

C - PD C A R D 706 W R I T E ( 6 r 6 0 l ) N 2 v C T t L Q ) o K S w K T r N

W R l T E ( 6 9 6 8 8 1 I X t i l f o ( X X ( J ) o J = I w 6 ) 608 F O R M d T [ l H + o 2 3 x 1 E 4 w 25x9 6 A 6

eo T O 1300 C PQ C A R D

8 0 0 W R I T E ( 6 o 6 0 % $ N 2 v G T t L R I v K S r K l c N URITE ( 6 ~ 6 0 9 1 a x v t X X ( J ) W J = 19 a r

6 0 9 F O R M A T # l # + v 2 3 X o 6 1 0 9 2 F 1 0 - 3 1 e o T O 1300

e DD CIIRD 900 W R I T E Q S t 6 B t ) N 2 0 C T t L R I w KSs K T w N

W R I T E 6 6 r 6 1 0 ) 4 I X ( d ) r J = l r Z ) r ( X X ( J 1 w J = *1r 9 1 G I O F O R M A T ( ~ H + W 2 3 x w 2 x 9 0 2 1 ~ ~ 4 4 6 1

GO TO 1300 %: DQ C A R D

rcee u ~ a ~ e ~ ~ ~ 6 0 . 1 ) R 2 r C Y t L R I e K S W K T W N U R I T E (606118 ( X X ( J ) r 3 = 1r M 8

611 F O R M A T ( 8 x 9 f l 0 , 2 c B C F l O - 6 1 PIP = M a 1% W R I T E ( 6 ~ 6 1 2 ) f X X L J ) r J = 1 2 r HP 1

612 F O R M A T 4 8 x 1 1 1 E l O - 2 8 GO TO P Y O O

e PE ~ 4 2 ~ t D E C O N T A H P N B T X Q N 1 1 l O G W R I T E ( 6 r 6 0 1 ) N2v C T t L P ) w K 5 9 K T r N

U R I T E (6tG05) ( I Z ( J 1 v J = l r 2 ) C t X X ( J ) o 3 = bw Y 1 GO T O 1300

1200 CONTINUE 130C W R I T E ( 1 2 ) L R v 1 x 9 t X X ( d ) c 3 = l e 7 3

RE TUPN 1 Q 0 0 W R I T E ( 1 2 ) L R w X X

R E T U R Y 1 5 C C NZ = N f - 1

tJP = NP - 1 K Q U Y T = HCUNP 9 P IF ( KCUNT .EQ. 20 3 C A L L F R 9 6 R 8 9 9 R E TURN E N D

CALL ERROR 42)