A processing system for Aanderaa current meter data
Transcript of A processing system for Aanderaa current meter data
NOAA Technical Memorandum ERL PMEL-6
A PROCESSING SYSTEM FOR AANDERAA CURRENT METER DATA
R. L. CharnellG.A. Krancus
Pacific Marine Environmental LaboratorySeattle, WashingtonJuly 1976
UNITED STAllSOEPlRllHNI OF CUMMERCEE11101 l ~Ichard;on Semtarl /
NATIONAL OCEANIC ANDATMOSPHERIC ADMINISTRATIONRobert M White. Administrator /
EnVHonmental ResearchLaboratoriesWIlmot N Hess. Ollector
NOTICE
The Environmental Research Laboratories do not approve,recommend, or endorse any proprietary product or proprietarymaterial mentioned in this publication. No reference shallbe made to the Environmental Research Laboratories or to thispUblication furnished by the Environmental Research Laboratories in any advertising or sales promotion which would indicate or imply that the Environmental Research Laboratoriesapprove, recommend, or endorse any proprietary product orproprietary material mentioned herein, or which has as itspurpose an intent to cause directly or indirectly the advertised product to be used or purchased because of this Environmental Research Laboratories publication.
ii
CONTENTS
Abstract . . . . .
1. Introduction
2. Elements of the system
2.1. Translation .....
2.2. Conversion program (AANCMRD)
2.3. Edit Program (EDTDAT)
2.4. Filters ...
2.5. Plot program
3. Input formats . .
3.1. Conversion inputs
3.2. Edit inputs.
3.3. Plot control
4. Output products
4.1. Converted and raw data listing
4.2. Clean data tape and printout
4.3. Summary data printout
4.4. Plotted data summary
5. Acknowledgments
Appendix . . .. ..
iii
2
3
3
5
5
7
7
8
9
11
12
12
12
14
14
18
• 19
----------
A PROCESSING SYSTEM FOR AANDERAA CURRENT METER DATA
R. L. CharnellG. A. Krancus
ABSTRACT. Several projects being conducted by thePacific Marine Environmental Laboratory (PMEL) involvedirect measurement of current using the model RCM-4Aanderaa current meter equipped with conductivity,temperature, and pressure sensors. At present, PMELhas over 100 RCM-4 I s and obtains 200-300 current meterrecords per year. To cope with this volume of data,PMEL has developed a processing system to rapidlyapply corrections and produce several routine productsused in subsequent data analysis. This technicalmemorandum describes this processing system.
1. INTRODUCTION
The strength of the PMEL Aanderaa current meter processing system liesin minimizing the manpower normally required to reduce current meter data.Because of the high current meter use rate it is imperative that data fromrecently returned current meters be examined rapidly to insure proper operation of the meters prior to their recommitment to the field. By reducingthe manpower for data processing, more time can be spent in the scientificanalysis of data.
To process a given meter tape the average time spent by an oceanographic technician is 5 hrs, and processing can be completed in an elapsedtime of a few days. Normally four or more meter tapes are processed atone time, so that all output products described below may be ready withina week from the time the actual tapes enter the laboratory. This is asignificant improvement over the 2 to 4 months currently experienced inother parts of ERL (D. A. Mayer, AOML, personal communication). The processing package was developed for the scientist. However, several of thedisplays and tabulated data rapidly convey a visual summary of a largevolume of current meter data. Thus this package can be used by a programmanager to rapidly assess progress of a project. Such a management toolis the plotted output that succinctly presents processed data and flowcharacteristics on a single figure.
Processing consists of four phases: (1) translation, (2) conversionof coded data to engineering units, (3) editing, and (4) product generation. The translation is done with an electromechanical system whichreads the signal and checks parity of each record. The data are thenwritten on a computer compatible tape for subsequent operations. Thistape is then run through the computer, in our case a CDC-6400, for conversion and cleanup. This results in production of a printout of all data,including error analysis, and of an interim data tape. The third segment
of the system, editing, is currently being done solely by technicians.We are now in the process of automating this portion of the work. Eventually data will be processed with a single computer pass and hence eliminatethis time-consuming interruption. The last phase of processing takes theclean, edited data through several filtering and calculation steps. Outputfrom this phase is a processed data tape for use in future analyses, a summary printout,and a plotted presentation of all data.
The data generated by the RCM-4 I s have few errors. The largest portion is related to the time base. Periodically the electromechanicalsystem will fail to read an existing synchronous (sync) pulse signal onthe data tape and hence generate an extra record, apparently lengtheningthe observation time. However, the extra record produced is either incomplete or zero-filled and results in a parity error. By keying on the syncpulse during translation and continuously checking parity the few timebase errors generated can be identified and eliminated. It is this identifiable signature which should allow comprehensive editing of these data bycomputer and eventually result in single pass processing. Other errorsencountered are values which exceed the normal ranges. These errors areusually caused by the current meter encoding circuits and, although neverresulting in a parity error, they do follow a specific pattern. Again,they are identifiable and easily corrected. The combination of a lownumber of errors and their easy identification is key to the rapid processing of these current meter data.
Our experience has shown a total number of errors less than 1% ofeach record. The low number of errors in the records is not accidental.Each meter is examined in detail before deployment with all contact pointsof the digitizer thoroughly cleaned and electrical circuits checked.Rapid translation of the data tape from the previous deployment gives a6-channel strip chart record, allowing identification of specific malfunctions to be rectified. After the check and spot calibration, a datatape is produced and checked. While not part of the post-operation processing, this stage in the total operation is critical to production ofreliable data.
The PMEL processing system for Aanderaa current meter data relies onthe identification and removal of errors as part of the processing system.It simultaneously generates several products, rather than waiting forsequential checking of the data at the end of each operation. It must berecognized that checking of the data at each stage is as necessary asbefore. However, processing in a simultaneous mode allows an early examination of data to aid in equipment turnaround, future field planning, andrapid data analysis. Since subsequent checking rarely turns up errors inprocessing, this approach is worth the gamble.
2. ELEMENTS OF THE SYSTEM
The data processing procedure starts with the original O.5-mil datatape created by an RCM-4 Aanderaa current meter. This tape is removedfrom the meter with no rewinding and rerecorded onto a stronger 1.5-mil
2
working tape. The delicate 0.5-mil tape is then stored and ordinarily isnot replayed under normal circumstances. The working tape is then processed by the system depicted in figure 1. The elements of this system aredescr"ibed below.
2.1. Translation
The Aanderaa tape translator was designed and built by PMEL. It isused to read the 1.5-mil working data tape and to rewrite this data on amedium-density (556 bpi) computer compatible 7-track raw data tape. Besides the raw data tape, the translator also produces a 6-channel stripchart. This is an invaluable aid in early detection of a current metermalfunction and in verifying the quality of the data.
The RCM-4 current meters use a dual-channel tape recorder with channel A being an exact duplicate of channel B, except that one channel maybe more readable than the other. The meter records six 10-bit words inserial form followed by a sync pulse. Each 10-bit word is read by thetranslator and expanded into two 6-bit characters by inserting flag bitsafter the fifth and tenth input bit. Each character is then packed intoa 400-character output buffer. After each word is read a check is madefor the sync pulse. When it is encountered, a 2-character (12-bit) errorword is transferred to the output buffer. The reader can detect incorrectbit counts within words in addition to incorrect word counts between syncpulses. Any discrepancies are encoded and written in the error word.Hence, for every data frame (six 10-bit words) that is read from theworking tape, seven 2-character words (12-bit words) are written to theoutput buffer. The output buffer is finally dumped to tape, in odd parity,when 25 frames have been processed. The translation phase of processingis complete when the entire working tape has been read. The resulting rawdata tape is then taken to the CDC 6400 for all subsequent phases of processing.
2.2. Conversion Program (AANCMRD)
The first computer function performed on the translated data is doneby the conversion program (AANCMRD). AANCMRD reads the tape, created bythe translator, converts raw data into engineering units, makes a listingof the data in both forms, and creates an intermediate tape used for editing.The program is written in CDC FORTRAN version 2.3 and uses some nonstandardsubroutines that have been implemented on the University of Washington'sCDC 6400. Inputs to this program include the calibration equations, themagnetic deviation at the mooring site, the time interval between records,and the type of speed sensor used.
The actual processing done by AANCMRD is in two steps. First, translated data are read in, unpacked, the sync pulse (which is encoded in thesixth and twelfth bit of the sixth word) located, and the error word ischecked for any problems the translator had with individual records. Unpacking consists of restoring the data to their original form by removingbits 6 and 12, then compressing everything to the right. The data are then
3
Fi gure 1.
----------,IIIIIIIIII
Flow Chart of Aanderaa Current Meter data processing.4
converted, salinity computed, and any bad records are written on OUTPUT(in our case the line printer). Step two involves generating a summaryof bad records, removing negative speed values, and writing all converteddata on both TAPE3 and OUTPUT. The next phase in processing is hand editing. This process identifies bad values, rectifies the time base, andproduces correction cards for improving the data on TAPE3. These cardsplus TAPE3 are the input to the edit program (EDTDAT) where these corrections are applied.
2.3. Edit Program (EDTDAT)
This program uses as input the converted data tape created by AANCMRDand the edit cards generated in the hand editing step; AANCMRD's TAPE3 isnow called TAPE1. Output from EDTDAT includes a clean data tape and listing, plus a Data Summary Report. Like AANCMRD this program also is writtenin CDC FORTRAN version 2.3 but does not use any locally implemented subroutines.
EDTDAT can add, change, or delete records by proper selection of control parameters on the individual edit cards. The time base that was established and verified by hand editing is used to assign a date-time groupto each record. The value for speed, which is taken by rotor counter, isconsidered to be the speed at the time the direction and sensor readingswere recorded. The U and V components of velocity are computed at thistime. Following this correction phase of processing the data are filteredto remove high frequency noise and filtered a second time to remove thetidal portions of the signal.
2.4. Filters
The program which does the filtering also calculates total energyspectra and determines extrema for a Progressive Vector Diagram (PVD) tobe drawn in the plot step. Filtering and spectral analysis are carriedout using a general time series analysis package known as FESTSA. Thispackage of subroutines was developed initially at the University of Hawaii,modified extensively at the University of Miami, and is currently beingmaintained by NOAA at AOML, Miami, and Suitland, Maryland. The copy ofFESTSA used here is written in CDC FORTRAN EXTENDED version 4.
The U and V components of velocity are convolved with two separatetwo-sided Lanczos filters. The first is a low pass filter with a responseof 6 db down at a period of 2.86 hrs and is such that less than 0.1% ofthe amplitude is passed at periods of 2 hrs and more than 99% of the amplitude is passed at periods greater than 5 hrs (see fig. 2). Output fromthis step yields one data point per hr with 4-hr starting and stoppingtransients lopped off each end.
The second filter removes most of the tidal energy with a responseof 6 db down at a period of 35 hrs such that 0.1% of the amplitude ispassed at periods of 25 hrs while 99% is passed at periods of 55 hrs (seefig. 2). The resultant time series from this operation yields one data
5
FILTER RESPONSE
If 2.86 HOUR" FILTER "35 HOUR" FILTER
--t--!l2 amplitude (-6 db)
-t---~ energy
--4--!l2 amplltude(.6 db)
-4--!l2 energy
.2
lU
~ .6oa.ct)
lUIt:
o-....e:tIt:
Figure 2. Response of the low-pass filters.
6
point per 6 hrs with 60-hr starting and stopping transients lopped offeach end. The output from each filter is copied to tape and preserved forfuture reference.
The total energy spectra is calculated from the 2.86-hr filtered t~meseries such that the ensuing numbers represent an ensemble averaged perlodogram. The complete operation is actually performed in two steps. Firstthe time series is broken up into 360-hr segments, the mean value removed,and the 1as t segment zero fi 11 ed. The Fouri er coeffi ci ents are found foreach segment and the ensemble averaged spectral energy is then computed.This yields 36 bins. Next, the series is broken into 120-hr segments andthe same manipulations are performed. This yields an additional 12 binsfor a total of 48 bins for each component. The Uand V components arethen summed. The spectrum represents the distribution of variance amongthe 48 frequencies and generally accounts for about 95% of the total variance. Output from the spectral and PVD computations are written on ascratch file (TAPE4) and passed to the plot program.
2.5. Plot Program
This program makes use of the clean data created by EDTDAT, the filtered U, V time series, and the spectra. Additional information is givento the program via control card input. The program is written in CDC FORTRAN EXTENDED version 4 and utilizes standard CalComp subroutines. Outputsinclude pertinent mooring information and some statistics, a spectral plot,a progressive vector diagram, and plots of various parameters versus time.
The parameters plotted against time include U, V, temperature, pressure, and salinity. Plotting the latter three data sets is optional andmay be turned off. The U and V components are passed over twice: firstfor the PVD and second·for the time series plot. The second is done inlO-day segments such that the origin is reset at the beginning of eachlO-day set. Th is mi ni mi zes the amount of central memory requ i red for datastorage.
Under normal circumstances, the filter program and then the plot program are executed in the same job stream. This is essential if one wantsthe spectral plot as this information is passed, via a temporary file(TAPE4), between the programs. Other information on this file includesthe PVD bounds, the variances, and the mean pressure.
3. INPUT FORMATS
There are various types of input to the processing system. Each hasa distinct format that is described in this section. In addition to thecomputer compatible tape format that results from the translator, the cardformats for controlling operations, functions, and data corrections aredescribed.
7
3.1. Conversion Inputs
AANCMRD (the conversion program) takes two types of input: one is theraw data tape created by the translator and the other is seven punchedcards with the mooring and calibration data. The raw data tape has 25Aanderaa records (seven 12-bit words per record) packed into one physicalrecord or block followed by a 3/4-in tape gap. It is a 7-track, odd parity,556 bpi computer compatible tape. The data fields are written in the order:reference word, temperature, conductivity, pressure, direction, and speed.It may be read most effectively by using a FORTRAN BUFFER IN statement (seesubroutine GETREC of AANCMRD).
The seven punched cards are a major source of errors and must be reviewed upon successful execution. In general, card 1 is a combination ofcorrection factors and program control fields, cards 2 through 5 have thecalibration equations, and cards 6 and 7 have header information for theoutput data tape. Formats for these cards are:
Card Name Format ColumnsXMAG F10.5 1-10NDATA 15 11-15DELTIME F5.2 16-20NSKIP 15 21-25NFSKIP 15 26-30NLlMETR L1 31
2
3
4
AO(l) F10.5 1-10AO(2) F10.5 11-20AO(3) F10.5 21-30AO(4) F10.5 31-40AO(5) F10.5 41-50
Al(l) F10.5 1-10A1(2) F10.5 11-20A1(3) F10.5 21-30A1(4) F10.5 31-40A1(5) F10.5 41-50
A2 (1 ) E14.7 1-14A2(2) E14.7 15-28A2(3) E14.7 29-42A2(4) E14.7 43-56A2(5) E14.7 57-70
CommentsMagnetic declination in degreesApproximate number of Aanderaa records 1
Sample time in minutesNumber of records to skipNumber of files to ski p2
Type of speed sensor 3
Speed constant4
Direction constantTemperature constantConductivity constantPressure constant
Speed first degree coefficientDirection first degree coefficientTemperature first degree coefficientConductivity first degree coefficientPressure first degree coefficient
Speed second degree coefficientDirection second degree coefficientTemperature second degree coefficientConductivity second degree coefficientPressure second degree coefficient
8
(Card format continued)
Card Name Format Columns Comments
5 A3(1) E14.7 1-14 Speed third degree coefficient
A3(2) E14.7 15-28 Direction third degree coefficient
A3(3) E14.7 29-42 Temperature third degree coefficient
A3(4 ) E14.7 43-56 Conductivity third degree coefficient
A3(5) E14.7 57-70 Pressure third degree coefficient
6 PROJ A10 1-10 Project name
MOOR A10 11-20 Mooring identifier
MET A5 21-25 Meter numberMETDP A5 26-30 Meter depth
YLAT A10 31-40 LatitudeXLONG A10 41-50 LongitudeBOTDP F5.2 51-55 Bottom depth
7 ITIMES(l) 15 1-5 Start hour and minuteITIMES(2) 15 6-10 Start dayITIMES(3) 15 11-15 Start monthITIMES (4) 15 16-20 Start year
IThis number is taken from the translator which counts the number of goodrecords plus the number of bad records. It should be verified with a roughcalculation.2NFSKIP is normally set to zero since this is a very inefficient way to skipfiles. It is better to use existing system utilities for file positioning.3NUMETR may be either T or F. T implies that the speed sensor used resetsitself to zero after each reading. F implies that it is the constant accumulation type which is reset to zero when the counter reaches 1023.4It is important that the speed sensor gear ratio be figured into this constant. For a gear ratio of 4 to 1, this number is around 2.76. Similarly,for a gear ratio of 2 to 1, it is about 1.5.
3.2. Edit Inputs
EDTDAT (the edit program) takes two inputs; one is the blocked binarydata tape created by AANCMRD and the other is one or more punched cards.The magnetic tape has two header records on it followed by the actual datarecords. The first header has the following information in the order:project, mooring, meter, meter depth, latitude, longitude, and bottom depth.This header may be changed if the information is poorly formatted orinaccurate. The second header has the start time, day, month, and year.
9
Both of these headers are written on the clean tape but the start timesare modified to reflect the fact that records will have been deleted fromthe beginning of the series. The individual data records from AANCMRD havedata stored on them in the following order: record number, speed, direction,temperature, conductivity, pressure, and salinity.
Only one punched card is necessary to make EDTDAT run. It has allthe information on it to assign date-time groups to the data records andto delete any starting and stopping transients. The rest of the cardsare optional and are used for editing the individual records. It is possible to add, delete, or change records by proper manipulation of the leading entries on each card. The punched cards use the following format:
Format ColumnsF6.2 1-614 7-1015 11-1515 16-2015 21-2515 26-3015 31-3515 36-40L1 41
Card1
2-N
NameDELMINNSKIPNREFITIMEI DAYIMONTHIYEARlMAXCHG
ADDNREC1TEMP( 1}
TEMP(2)TEMP(3)TEMP(4)TEMP(5)TEMP(6)
L115F10.3F10.3F10.3F10.3F10.3F10.3
1
2-67-16
17-2627-3637-4647-5657-66
CommentsTime between records in minutesNumber of records to skip downReference record for the time markHour and minute of reference recordDay of reference recordMonth of reference recordYear of reference recordNumber of last record to be processedChanges header information l
Add a record2
Number of the record to be modified 3
SpeedDirectionTemperatureConductivityDepthSal inity
lThis field is used to indicate that a change is to be made to the information on the first header record. If a T is entered the following cardin line must have the new header information in the same format as card 6of input to AANCMRD. If an F is entered, the first header record on theclean tape will be the same as on the converted data tape.21f new header information is entered it would actually be the second cardand the detailed record corrections would be on cards 3 through N. Toactually add a record or records the record just before the insertion pointmust be flagged as a record to be changed or dropped.3To change a record NREC1 should be positive. Even though only one fieldneed be changed, all fields must be present on the card. To delete a recordNREC1 should be negative and none of the other data fields need be present.
10
3.3. Plot Control
The plot program has four inputs: (1) the clean data tape, (2) thefiltered data tape, (3) one or two punched cards, and (4) statistical andspectral data. The heading information plus temperature, pressure, andsalinity data are taken off of the clean tape which is in blocked binaryform. The 2.86-hr and 35-hr filtered U and V components are on the filtered tape. This tape is also in blocked binary form with the data fromthe separate filters being written on separate files each of which has twoheader records like those on the clean tape. Before execution, these filesare copied onto two separate local files, TAPEl and TAPE2.
The first punch card is essential as it controls what plots will bemade and also provides scaling information. The format of this card isgiven below. The second card is optional and may be used when the PVDinformation normally transmitted via TAPE4 is not present. The statistics(the PVD range, U and V minimums, Uand V variances, and mean pressure)plus the spectral data (the amplitudes of the 48 bins and the confidenceintervals) are transferred directly from the filter program via the localfile TAPE4. Without this file no spectral plot can be made but the statistics for the PVD and labeling will still be made if the second card ispresent. When TAPE4 and this second card are not present no PVD plot willbe made. The punch cards have the following formats:
Card NameTLOWSLOWRANGETPLT
SPLT
PPLT
Format ColumnsF5.0 1-5F5.0 6-10F5.0 11-15Ll 16
2 UMINVMINRANGE2UVARVVARPMEAN
Ll
Ll
F5.2F5.2F5.2F5.2F5.2F5.2
17
18
1-56-10
11-1516-2021-2526-30
CommentsLow value on temperature scaleLow value on salinity scalePVD range l
T for temperature plotF for no temperature plotT for salinity plotF for no salinity plotT for pressure plotF for no pressure plot
Minimum value of U for PVDMinimum value of V for PVDPVD range2
U varianceV varianceMean pressure
lThis number may be found in the output from AANCMRD which is usually runfor all meters on a string at the same time. This way they may all beplotted using a PVD box of the same scale.2The program will set up the PVD box using the larger of RANGE or RANGE2.
11
4. OUTPUT PRODUCTS
Output from the system includes tapes, printout and plotted data.This section describes these products and specifies the various formats.
4.1. Converted and Raw Data Listing
The Converted and Raw Data Listing is generated by AANCMRD and is usedin the hand editing step. Besides a complete listing of the data otherinformation is given which must be verified to assure accuracy of the cleandata.
On the first page of output, all information which was read in frompunched cards is given. The calibration coefficients should be checkedat this point to ensure that the right numbers were used in converting rawdata into engineering units. Also, mooring information should be examinedsince this is what will be written on the header of the clean tape. Ofparticular importance here is the latitude of the station for this valueis used in the plot program to compute the inertial frequency.
On the second page of output, records in which the translator founderrors are listed. After this list is given the total number of datarecords processed and percentage of them found to be in error.
Next is the listing of all converted and raw data. An example of thefirst page is given in figure 3. It is the converted data shown in thispart that has been written on the converted data tape and will be used asinput to the edit program. The first thing to pick out of this listingis the first record recorded after the meter has been positioned in thewater for one complete sampling period and also the last record recordedbefore the anchor was released. The start and stop times should then beassigned and the time base verified. All the converted data must then bescanned for any obvious errors and the correction cards encoded. An interpolation flag value of 1 is used to indicate that a negative speed wasfound and that the speed value given is an interpolation between the preceding and following records. The last thing written on this output isthe PVD information. Since it is possible to go directly from the converted data tape to the plotted data summary, this information is usefulso that all meters on a string will be plotted using the same PVD scale.
4.2. Clean Data Tape and Printout
Of primary importance in this whole system is the clean data tape generated by EDTOAT since this is the permanent record of the investigationand serves as the basis for all future analysis. This tape is 7-trackwritten in blocked binary, odd parity at 800 bpi. While this is a veryefficient configuration, it would be necessary to convert this into anotherform if it were to be sent off to another installation.
The first two records written on this tape are header records (seesection 3.2 for details). The rest of the entries are the data records
12
Q
Z~~~4~~~~~~~~~N ......... O~~...... NN ...... ~~O'04~O~~OOOOO~...~O~O~O...c ••••••••••• O.~~NN~OONN~~NN~~~~~~~~NNOOOO~~NN~~ON~~U~~~~~f"'I~~~f"'I~O~~ONN.~f"'INN~~NN~~••• ~~.~~~~~~.f"'IN~.~~~.N..................................................
~ ~~~"~~~~~~~~~~~~~~~~~~~~~"~~~~~~~~~~~~ ~~~~~~~~~~~~f"'If"'I~f"'I~~~~~~~~~f"'I~~~~.~~~~~~
v~·~~~~~~··~O~~~~~~~O~~'O~'O~~~~~~OO~O~QO'~~Ov~~C~U~U~0tl·W ~
"'0~
... <-
... ac:l"' .....~~~~~NNNNNNN~~~NN~NN~N~~N~~~~~~~~~~~~~~~~~~~~~~~~~
U~~~~~~~~~~~a~~~~~~~~~~~a~~~~~~~~~a~v~~~~a~~~~~~a~aw ......
r~~~~~~.NNNN~~~.~~~.~~~~~~~~~~~~~~~<~~~~~~~~~~~~~~~~W~I~~~~~~~~~~. ~~~~~ONeCr~~~~~«e«~~~~mc~~~e~«r~~~cee
~ . ~~~~~~~~~~~,~~~~~~~~~~~~~~~~~~~~~~~~~
o
CU~~UO.'OOQOO~~~N ••~~~••~~•• ~~~~~~~~~~~~~~~~.e~e~~~.~ ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~-~~~~~~~~~~
C ••••••••••••••••••••••••••••••••••••••U
......~Q~O_~~~~~~O.~~C.~~~NN~eOaa~~.·~~C~~C~~~~~~~a~~~~~~~_
C~~~~~~~~~~~~~ ~:~~:~~~~~~:~~~~~~~~:~~~~~~~~~~~:~~:~:. ........
N ~ f\., c;. ~ 0' CI C C " a IlL C' a "" a .' c: C:'" 0 • .,. ..... C I\J"'''' ~. C 0 C ~ ., 0'" a CL ~ 0 N C • f"'I" "" .. ,...RCOO~~~_~ E~ ~eo~_~aN~~~oC~~~ ....~~<~a~~.,.N.~OC~O~~"~~f\.,~_~~_a~ ,...~ ~~~ON~~~~_~~~N~N~~~.~'.~~•• ~~.K'·~K~~~~~co
C~O~OO~O~O~ON~eN~f"'I~~I~~a~~~~Of"'l~~a~cN~~.N~~ •• O~N~~~ ... N~ ~ N.~~~~~~C1~C~O-~~OCCQOOOClOOOOON"COO~OO~ f"'I f"'If"'I.~~N~.~"~~~~~~~~~~_~~~~~~~"~~~ ~ "~
z ...oV'.........-'Cc ... ~cc~ccc~crecrec~cc~~eo~ceccccccC~OCDOCCCCCccccOccc... -'...........% rcc.,.aaa~~<~a ~.~~.~r~.~~Oc.~~«~~~ca~~a~~~a~~o~~·ra~ .~.~~~~~~~.~c a,....,..~.~~.~~c.o,~.~~~~~~c~~«.ec •• ~~ .... c~~_~_~~~~~~~a~~eo,o_~O'~~,~~~~~~~~~~~N~I\J~~·~~~~~~~~~~~... . ....... ............. . .~ N f"'If"'INN~~N~~~~~~f"'I~~~~~~~~f"'I~f"'I~~~f"'If"'I~~~~~f"'I~
~ f"'I~~~~~~~~f"'I~~~~~~~~f"'I~f"'I~~~~~~~f"'I~~~~~~~~
:J:~NNNNNNN~~~f"'I~~N~~~~Qa~~~~~~~f"'I~~~~~~~~M~~~f"'I~~~~~~~~~
... ~O~O~O.~~~~~~N~~~~~mOOOOOOOOO~OOOOO~OOOOOOOGOUOOOO..., .0111 I II ~ .. g~~~~ .
~Im~e~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.........o co.·~~~~~~~.,~~~~~"~~.~.~~.~~ ..~.~~.N~~~~~~.. ~.~~~.~~.. ~~~~::;:g;~:~g::~=~:::~~~~~~:~:~::~:~~~~::~::~~:~~::=.... . .4 •••••~~~~~•• N •••• # ••••••••••••••••••••••••••••••••~ ~~~~~"~~"~~ I=:>v~~~~~~"~~~O~~~~ •• ~Of"'l~~.v~~~"~~NN~.~O~~~~~N~~~•• N~~~~~~NN~~.~N~~e~~N~N~O'~N"~m~"~~~O~~NO~~~N~~G~.~.~~~~~NNu c ••••••••••••••••••••••••••••••••••••••••••••••••••
:::~~~~~~~~~::~~:;:~:~~::::~~~~:~~~~:=::~:,~::=~::~NNN~ f"'I~~ ~~ "~"~~~""~~~"N~~NNNNNN~
o~ooOOooOOOOO~o~~o~~r •• ~~mN~.~~... ~ ......... ~O ...... N ....... ~ ........~~~~~~~~.~~~~~•• ~N~.,~N~NO~.~NN.~f"'If"'IN.~~NO.,~~~~N~O~~NA. ••••••••••••••••••••••••••••••••••••••••••••••••••~~~~~""""~~~."~.04~ee~~NO~O"NN~"~~OO"OOOOOO~~Q~O.OO
~ ~~e~O~NeNN~NNNNNNNNNNNNNNNNNNNNN~N~NN~~ ~
&:>•e~N~4~~~··:=~::::~=:~:~=~~~~:=~~~:~:~~:::~~::~:~':1
'"..
13
with information recorded in the following order: date, time, U, V,temperature, pressure, conductivity, record number, and salinity.
The clean data printout, shown in figure 4, is generated at the sametime as the clean tape. It is a printed record of what is on the tape andis used as a written confirmation of any strange events future analysismay uncover. In addition to the information recorded on the tape, thelisting also prints the speed and direction.
4.3. Summary Data Printout
The summary data printout presents mean values for each hour, eachday and each week of the record. Figure 5 is an example of the outputfor 7 days of record. Each of the seven major blocks of data on the pagerepresents 1 day. Data for each day are presented in hourly means in fourcolumnar sets of six rows each. Each hourly set is denoted by its Julianday and hour. For each hour, temperature and salinity means are calculated from all values recorded for that hour. Sigma-t, shown in thefourth column, is a mean value calculated from the temperature and salinityvalues from that hour. The fifth and sixth columns show the vectoraveraged values of speed and direction determined from all values recordedin that hour.
For each day, summary daily values for each measured commodity areshown in the line following the hourly summaries. Temperature, salinity,and sigma-t are arithmetic mean values of all data recorded during the day.Net speed is the vector-averaged speed of all recorded values that day inthe true north direction shown. Also shown is the mean of all speed valuesrecorded that day. Depth is the mean of all observed values from the pressure sensor.
Following the seven individual daily summaries is a line indicatingthe mean values for these 7 days. Net speed is the vector-averaged speedof all data observed during the week at the true north direction indicated.As before, the mean speed and depth are simple mean values for all dataobserved in the 7 days.
For the case of the week in which the observation period began orended, the week has fewer hourly values than the maximum 168 possible.The averages for both the day and the week are corrected for the reducednumber of values.
4.4. Plotted Data Summary
The plotted data contains several types of information. Figure 6shows a typical example but reduced in size for this publication. Normallythe figure elements are about 9 in (22.9 cm) high with the plot designedfor use on a 12-in drum plotter. The record depicted here is normallyabout 80 in (203.2 cm) long.
14
-- ------- -------------------
AEC
.N
O.
DA
TET
I"E
lJ-V
El.
V-V
El.
4lll
EEn
CI)"P&~<;
HM
P.
CO
NC
.D
EPTH
SA
LI"
ITY
C"/
SEC
C"/
SfC
r."/<
;I;C
nfG
IlEEC
iD
fG.C
""H
O/C
""E
TEA
S(P
PTI
12
FEll
7620
45-Z
7.5
61
-1.5
32
27.61)~
26'1
.819
4.91
')71
0.M
\42
2.9
08
31.1
131
22
FEB
7621
15-2
11.1
54-5
.21
5''
'.''
~~,1
19.';
119
4.9
"73
0.6
84
22.9
011
31
.83
13
2F
f876
2145
-26
.58
0-5
.74
4'1
.19
'?'
17.1
I05
4.9
,.7
'0.6
A4
22
.90
83
1.8
31
42
FEB
762
2U
-25
.34
8-1
.87
11
5.4
17
26'1
.779
4.0
0('
3".
75
22
2.9
08
31
."8
75
2FE
B76
2245
-23
.82
5-2
.04
9~1.
91
'26
'5.0
864.
991l
:llt
.7"2
22
.90
83
1.8
87
62
FEB
7623
15-2
2.6
83
-.0
24
22
."'"
26
°.9
4n
4.9
9"
3C.b
1l4
23
.C2
73
1.8
09
72
FE8
7623
45-1
9.1
96
-1.6
50
10
.?61
'6'1
.08
64.
00(1
10.1
.184
23
.14
53
1.8
09
83
FEll
7600
15-1
6.3
60
-5.7
116
17
.1'5
'2
"".5
24
4.0
.'1
3~.6(14
23
.26
33
1.8
52
93
FEB
76Q
045
-14
.32
6-5
.76
U1
".4
40
24
".(9
74
.Q4
"30
.fl1
I42
3.3
81
31
.85
210
3FE
B76
0115
-17
.56
9-5
.15
61
".1
1"
2'51
.645
4.0
22
3C
.61
72
3.6
17
31
.79
61
13
FEB
76J1
45
-n.4
29
-6.0
117
?n.~61)
25
'.6
05
4.9(
103
0.6
17
23
.67
73
1.8
18
123
FE8
7602
15-2
0.8
78
-11
.66
C2
!.9
n2
4".
81
74
.92
2:I
f.61
72
3.8
54
31
.79
61
33
FEB
7602
105
-25
.17
3-6
.89
4?f-
.l0
0?5
4.6
85
4.9
"03(l.~17
21
.85
43
1.A
lB10
\3
FEB
761»
315
-29
.56
8-3
.62
8'9
.19
1'
26
1.0
06
4.9
67
30.6
114
23
.85
43
1.8
31
153
FE8
7603
45-2
8.3
34
-6.6
64
'0.1
O~
2'''.
7''5
4.8
77
30
.61
72
3.8
54
31
.S3
916
3FE
B76
;)41
5-Z
7.1
74
-11.
333
211.
42'1
2'1
?95
14.
9('1
13
(.6
17
21.8
510
31
.81
81
73
FEB
761l
4105
-Z7
.95
1-5
.16
121
1.42
12
50
.53
95.
C3'
53(
1.71
122
3.8
54
31.1
143
lB3
FEB
76,1
515
-29
.74
6-6
.61
73
0.4
73
25
7.4
58
'5.1
473C
.8"1
')23
.851
03
1.f
l90
193
FEB
7605
45-3
0.'
05
-6.9
80
!t.Z9~
2n
.11
25.
21'5
"C.9~3
23
.79
53
1.9
02
203
FEB
76u6
15-H
.2l)
2.2
37
'11.
203
'14
.10
04.
7117
10.4
112
23
.67
73
1.7
71
213
FEll
760
64
5-3
1.1
11
3.3
69
11.2
9'1
27
6.1
80
10.6
753
0.I
oB
23.1
0100
31
.eO
l22
3FE
B76
0715
-32
.64
4-1
."2
2;1
2.61
)0i'
M.2
06
1o.5
6?3
0.2
80
23
.32
23
1.7
53
233
FEB
76i)
745
-30.99~
4.3
09
31
.29
1'1
7.9
14
4.~62
3C
.21
32
3.2
63
31
.67
5.....
243
FEB
760
81
5-3
1.9
76
-.2
27
11
.07
7'60.~93
4.6
52
3('.4
10;
23
.20
13
1.S
H(Jl
253
HB
76.)B
45-3
2.2
62
5.0
83
32
.6M
?7'1
.954
4.6
52
30
.34
82
3.2
63
'n.7
1o~
263
FEB
7609
15-2
11.8
396
.90
3?0.65~
''13
.46
110
."97
30.3
411
23
.26
33
1.7
02
273
FEB
7609
45-2
6.7
60
5.5
55
'7.~,n
'A1
.72
74
.7,0
30
.34
82
3.2
63
31
.68
028
3FE
B76
1015
-25
.38
01
.35
71
5.4
17
27
1.C
60
4.7
2ft
30.4
1'1
23
.26
33
1.7
58
293
FEB
7610
105
-23.
1192
3.7
64
24
.18
727
A.9
5410
.742
3e.
41
52
3.2
63
31
.73
63\
13
FEB
7611
15-2
3.8
lI0
3.4
55
'4."
"'7
1l.
26
04.
7117
3C
.48
223
.311
13
1.7
71
313
FEll
U11
45-2
1.0
02
-.7
49
?~.9n
'61l
.20
64.91o~
30
."1
72
3.6
H3
1.7
75
323
FEB
7612
15-2
2.3
95
-2.6
10
22.'5
47?6
3.3
52
4.0
67
'0.6
114
23
.91
33
1.8
31
333
FEB
7612
45-2
5.1
05
9-2
.1A
925
.5'5
3'6
'1.(
,86
4.9
67
'10.
684
24.C
.9\)
31
.63
034
3FE
B76
1315
-28
.66
1-4
.22
3'A
.91(
12
61
.61
94
.99
n3e.~84
24
.26
73
1.8
09
35
3FE
B76
1345
-31.
5I1o
i-5
.83
11
2.1
13
25
0.5
39
4.91
.17
30
.68
421
0.38
631
.E<
3036
3FE
B76
1415
-34
.51
6-7
.23
9"~."7
2511
.15
24
.96
730
.611
1021
0.50
103
1.P
3e
37
3FE
B76
1445
-34
.55
7-1
0.8
26
~6.213
25
2.6
05
4.9
67
30.6
114
210.
504
31
.83
038
3FE
B76
Bl"
-34
.06
2-1
7.4
32
3A
.''''
1'4
?'.1
I97
4.9
90
30."
810
24
.56
33
1.e
0939
3FE
B76
154'
5-3
9.1
42
-18
.56
14~.12(t
14
4.6
30
4.9~~
3C
.61
12
4.5
63
31
.75
340
JFE
B76
1615
-4U
.88
9-2
5.8
53
4A.'
71
'17
.69
64
.96
73
0.6
84
24
.56
33
1.S
3CU
3FE
B76
1645
-45
.35
6-2
3.5
60
51.1
1r\
24
2.5
50
5."
'51
0.7
52
24
.56
331
.810
342
3FE
B76
1715
-51
.36
4-8
.52
351.1)~7
:J6
J.5
79
4.9
67
3c..~"4
24
.56
33
1.8
30
433
FEB
7617
45-51.8~7
-11
.20
153
.1:1
212
'57
.80
54
.90
03
0.6
17
24
.50
431.81~
4"
3H
B76
1815
-52.85~
-4.2
22
'!l·.~2·
2111
1 .4
32
4.0
4'!
30
.61
72
4.3
27
31
.77~
453
FEB
7618
45-5
2.0
39
-9.4
44
';I~.17'!l
'·9
.1I8
54
.06
730
.6£'
42
4.0
90
31.A
3046
3FE
B76
1915
-'1
0.1
97
-5.9
810
1:4
.'5'7
26
3.6
99
4.9
00
30
.61
72
3.7
95
31.1
118
H3
FEB
7619
45-5
3.6
05
-3.3
04
51
.70
7?
M.I
o7
34
.67
53C
l.2A
C2
3.5
58
31
.H5
483
FEB
762G
15-5
1.6
24
-It.~C4
"'.~8?
'·..
.491
14.
1027
1C
.01
92
3.3
22
31.6
108
493
FE8
7620
45-H
.35
65
.56
1"~.~n
11~.1110
4.A
Io~r.41'~
21
.26
331
.710
4;51
3FE
B76
2115
-51
.05
05
.84
1'J
1.3
83
27
6.5
27
4.7
4?
30
.4H
21
.(;8
63
1.7
36
Figu
re4.
Exam
ple
ofcl
ean
data
prin
tout
.
D_v
HH
TE
"t'
SAl
IS
lr,"
ASP
EDO
IHDAY~P
TE~P
S-L
ISl
uMA
SDED
DIR
D_Y
HR
TEM
PSA
LI
s16
"ASP
EDD
IROAY~D
,Eu
PSA
LI
ST~MA
SP
fDD
TR0
.11.0
.00
.00
22'1
019
.53
2.2
210.
90A
.1o
130
22'1
02'l
.b1
2.3
710.
92~.~
39
22
9"1
9.5
32
.32
4.'
16
In.2
5"
2290
109.~
32.1
02
5.0
11
7.5
162
29
0S
9.1
32
.325
.010
Q.b
9~
22'lO
/:>9
.93
2.3
210.
810
'l.b
110
22~07
9.0
32
.32
".0
2~.I
1722
'108
8.b
32
."2
5.1
6Q
.]II
,229~9
8.3
32.1
02
5.2
3~.I
6~
22'1
108
.232
.10
25
.19
7.1
101
2291
18
.032
.10
2S
.25
1.2
116
22
91
28.~
32
.32
5.,
,'"
7.8
1-2~
22
91
19
.73
2.1
210.
90".
12
95
22'1
110
10
.23
2.3
210.
821
3.1
33
822
91S
10
.63
2.2
24
.72
I~.I
15
32
29
16
10.1
13
2.3
210.
851
7.8
35~
22
91
79
.53
2.1
210.
921
4.5
1622
'118
9.R
32
.32..
.90
14
.132
22
91
99.
103
2.2
210.
'11
1,.
910
02
29
20
8.1
37.1
02
5.1
21
1.1
~Il
2292
11
.832
.10
25
.26
"'.J
311
22'1
228
.132
.10
;>~.25
b.1
o31
0722
9;>1
1.3
32.1
02
5.3
21
.2II
fOp
17AU
G71
0TE
MP=
'1.1
0SA
LT
NIT
Y=
32.3
2S
I6"'
U=
25
.02
NfT
SPE
EO
=b.~3
_T37
'"t::A
NSP
I::E
I1=
IO.6
5OEpT~c
26
.03
23
00
09.
1132
.10
25
.10
1'1.3
82
2300
110
.10
32
.321
0.77
'1.2
31
32
30
02
9.8
32
.321
0.92
13
.b31
002
30
01
9.2
32
.32
4.9
91
3.3
I;>
JOO
Io9
.13
7.J
25
.03
110.
720
23
00
58
.73
2.1
25
.11
110.
10101
02
30
06
9.1
32
.3;>
5.01
01~.1
5&2
30
07
9.3
32
.32
s.0
01~.7
71?3
00
89
...
37
.321
0.98
17.1
08
22
30
09
9.0
32.1
02
5.0
81'
1.2
13
32
30
10
8.2
32.1
02
5.2
1II
."1
89
2301
T8
.532
.10
2s.
21
11
.626
02
30
12
8.1
32
."2
5.l
b1
0.7
2b
32
30
13
8.8
32.1
02
5.1
21
1.7
280
2301
109
.73
2.3
2...
93
I",~
30
72
30
1S
9.6
32
.321
0.95
11
.913
'17
30
16
10
.23
2.2
210.
761.
...2
52
30
17
10
.73
2.3
210.
761.
...7
523
1118
9.8
32
.321
0.88
70
."8
2301
'18
.63
2.3
2s.
10
2.2
.,,,2
30
20
8.t
32.1
02
5.1
11.
...6
5123
021
8.8
32
.32
5.0
81
1.8
722
30
22
9.3
32
.32.
..98
17
.08
923
0;>1
8.8
32.1
02
5.1
21
2.8
1010
fOp
18AU
G71
0TE
MP=
'1.2
1S
AL
TN
ITY
=32
.33
SI6
<04
U=
25.0
2N
fTSP
EE
O=
".~9
AT21
0"E
AN
SP
FE
n=il
o.oo
OEP
TH=
75
.90
23
10
08.~
32
.42
5.1
61
1.2
156
2310
18
.83
2.3
25
.07
110.
818
22
31
02
8.8
32
.42
5.1
31
1.9
27
97
31
01
9.4
32
.321
0.97
Ib.5
1110
23
10
49
.b3
7.3
24.9
101
5.2
35
22
31
05
8.9
32
.42
5.0
81
1.1
35
52
31
06
9.0
32
.42
5.0
8I.
...A
I2
31
07
8.8
32
.32
5.0
9.7
132
2310
tl8.~
32
.32
5.0
52
0.4
5l:l
23
10
98
.93
2.3
25
.06
110.
981
02
31
10
8.9
32
.42
5.0
91
1."
'II
;>31
118
.732
.10
25
.15
17
.310
1>2
31
12
8.~
3;>.
102
5.1
217
.10
120
23
11
39
.10
32
.12
5.0
01
5.6
20
723
1110
9.1
12
.42
5.0
51.
...1
2109
7311
59
.03
2.3
2~.04
15
.3"1
0?3
11
69
.63
7.J
24
.91
IQ.O
321
23
11
79
.532
.10
210.
9911
0.9
360
23
11
89
.33
2.2
2...
931
4.1
I2
JI1
Q9
.93
2.3
24
.8'1
13
.627
23
12
09.
&3
7.3
25
.04
15.1
'15
723
121
9.0
32
.32
5.0
51
1.5
682
31
22
8.7
32
.22
5.0
01
2.b
82
73
p1
7.9
32.1
02
5.2
6Ib
.1'3
fOil
19
AU
r.71
0TE
MP=
Q.n
loS
AL
INIT
Y=
32.3
3S
I6"A
T=
25
.05
NET
SPE
EO
=10
...5
_T32
MEA
NS
PE
En
=1
5.2
5O
EuTH
=?5
.7"
23
20
07
.63
2.4
25
.30
111.
797
23
20
18
.33
2.2
25
.09
10.1
016
22
37
02
9.3
32
.371
0.98
1...
818
22
32
n 19
.93
2.2
210.
85fl
.O2
2'
23
70
49.~
37
.J21
0.89
8.4
2l:l2
23
20
59
.83
2.2
210.
7910
.101
39
23
70
b9
.032
.10
25
.08
1.5
I'll
23
20
78
.73
2.4
2".
16
13
.23
56
23
20
89
.J32
.10
25
.02
10
.'"
32
23
20
99
.43
2.3
25
.00
'1.0
59
23
71
0B
.43
2.3
25
.14
10
.068
2321
18
.23
2.4
25
.21
1.1
'02
32
12
"'.c:3
2.10
25
.20
1'1.0
113
23
21
38
.53
2.3
25
.14
'1.1
18
823
7110
9.1
32
.32
5.0
21
0."
21
5?3
21
S9
.53
2.3
210.
951
1.4
2.4
23
21
69
.53
7.3
210.
977
.72
80
23
21
79
.43
2.3
25
.00
1'1.6
35
823
71tl
9.2
J2.4
25
.04
10
.07
2321
'19
.13
2.3
25
.03
...5
182
32
20
8.d
3;>.
102
5.1
09
.2l:l
2322
18
.832
.10
25
.10
10
.6'"
23
72
28
.63
2.4
25.1
101
1.0
9;>
3271
8.7
32
.32
S.1
01
1.3
10.....
.fO
P20
AUG
710
TEM
P'"
A.9
l'>S
-LIN
ITY
=3
20
33
SI6
MA
T=
25.0
5N
tTSP
EE
O=
2.0
6_T
2/\
"fA
NS
PF
En
=1
0.1
6O
E"T
Hc
,>5.
160'
1
23
30
08
.13;
>.4
25
.13
'1.1
122
33
01
9.1
32.1
02
5.0
9s.6
II,
23
10
21
0.1
32
.471
0.89
".1
65
73
3n
19
.43
2.3
210.
97b
.81.
.12
33
04
9.10
37
.32
4.9
'11'1
.117
32
33
p5
9.5
32
.32
4.9
7..
.53
32
23
10
69
.33
2.3
25
.02
7.b
34
92
33
n7
8.9
-3
2.3
25
.0'"
7.8
33
92
33
08
8.1
32
.J2
5.0
9'1
.33
28
23
30
98
.93
2.3
25
.06
'1.6
33t1
23
11
09
.03
2.3
25
.06
10
.83
52
2311
19
.13
2.0
210.
742
.70
23
31
28
.13
2.3
25
.05
1.6
102
33
13
8.8
32
.32
5.0
97
.35
2311
101
0.0
32
.121
0.74
1..
.5
823
31S
9.3
32
.22
4.9
4..
.09
82
33
16
9.4
32
.321
0.95
S.4
129
23
31
79
.23
1.9
24
.69
S.2
180
23
31
89
.23
2.1
21o.
1l4
7.1
26
823
31'1
9.0
32
.32
5.0
3b
.6;I
.a2
31
20
901
32
.J2
5.0
110
.73
52
23
32
19
.032
.10
25
.07
1.2
35
92
33
22
9.1
32
.32
.,.0
010
.93
54
23
37
19
.23
1.9
24
.72
b.1
3510
fOI>
21A
U6
710
TE
"'P=
'1.1
7S
AL
INIT
Y=
32.2
6S
I6"'
AT
=2
4.9
1N~T
SPE
ED
=3
.74
AT5
MEA
NS
PE
Eoa
6.3
9O
EPTH
=,>
5.7
...
2310
009
.13;
>.3
25
.01
5.7
100
23
40
t8
.63
2.2
25
.04
s.3
69
2310
028
.63
2.3
25
.11
....1
09
823
1001
9.3
32
.32
4.9
'1'1
.615
9?3
1004
10.1
13
2.J
210.
8"1
1.9
182
23
40
51
0.0
32
.42
4.9
217
.10
20
52
34
06
9.10
31
.921
0.61
05
.42
73
231o
n79
.33
2.3
2S
.00
10
.53
23
?310
089
•.,
32
.321
0.9"
9.2
34~
23
40
99
.03
2.3
25
.01
....2
223
1010
8.9
32.1
02
5.0
94.
116
;>JI
oII
8.6
32
.32
5.0
97
.710
2310
128
.b3
;>.J
25
.12
1.7
Il:l
23
41
38
.732
.10
25
.13
.914
323
1014
9.0
32
.42
5.1
11
.215
22
34
15
9.1
32
.32
S.0
41
.62
19
73
41
68
.03
2."
25
.10
10.1'
12
78
2310
179
.13
2.3
25
.03
7.0
27
92
34
18
'1.1
01
2.3
210.
97~.Io
311
7310
10
9.6
32
.J2
4.9
1..
.41
23
23
42
09.
&32
.10
25
.09
'1.7
350
2310
219
.13
2.5
25
.14
11
.415
2310
228.
103
2.3
25
.15
13
.151
23
47
18
.53
2.3
2".
13
12
.76
0fO
p22
Aue
;11
0T
E"P
='l.
0l'>
SA
LIN
ITY
=32
.31
SI6<
04A
T=2
5.03
NET
SPE
EO
=1.~8
_T4
"'EA
NSP
EE
D=
1.2
6D
EPT
H:
;>5.
77
23
50
08
.232
.10
25
.19
7.5
612
35
01
8.2
32.1
02
5.2
1...
.511
02
3S
02
8.7
32
.37
5.1
1'1
.118
07
35
01
8.9
32
.42
5.1
01
3.8
ZlS
23
50
48
.032
.10
25
.13
15
.025
102
35
05
8.5
32.1
02
5.1
81~.2
281
23
s06
8.5
32
.32
5.1
31
7.0
301
23
50
78
.13
2.3
25
.20
~.5
1.1
23<;
088
.i3
2.3
25
.17
-9
.93
5J
2350
'18
.03
2.3
25
.20
12
.034
02
3sI
08
.33
2.3
l5.1
117
.;>
1323
511
9.0
32
.32~.02
13
.6za
23
51
28
.13
7.3
25
.09
13
.2Io~
23
51
38
.23
2.4
25
.22
'1.3
7223
51/0
8.10
32
.32
5.1
5R
.i'\
B6
2351
S8
.23
2.4
25.2
115
.89
82
35
16
8.1
32
.32
5.0
99
.710
22
35
17
8.6
32
.32
5.0
81
0.4
12
82
35
18
1'1.
332
.10
25
.18
!I.9
25
9;>
351
Q8
.13
2.3
25
.19
1.9
31
52
35
20
8.1
32
.32
5.1
87
.433
t123
521
8.1
32
.32
5.1
81'
1.6
I2
3S
22
tI.2
32
.42
5.2
01'
1.1
1373
5Z,3
8.3
32
.42
5.2
01
0.2
30fO
p2
3A
UI;
710
TEM
P=A
-.39
SALT
NIT
Y=3
2.3
4S
I6"'
AT
=2
5.1
6N
ETSP
EE
D=
3.~9
_T6
"'EA
NSPfE~aI0.61o
DF:DT"'~
,>5.
85
fOP
1OA
Yc;
TE
"p=
Q.9
9S
AL
INIT
Y=
32.3
2SI
6101
AT
-25.
01o
NET
SPE
EO
a3
.99
AT23
MEA
NS
PE
ED
al0
.62
Ofu
T'"'
=,>
5.83
Fig
ure
5.Ex
ampl
eo
fsu
mm
ary
data
pri
nto
ut.
40~
o!.I
I~I
.!tII~
1.1..
.t.).
.1.C
Tl1
W1l
IlT
!i:
!~~
UJM
cJ\
c/
(1
//I
[r
c-
oJ
J:/
.....<
/:
,-
~!
1I,,=
F"c
c)
c0
_C
_-
_-
:
~I'\c,
-J\o-.CV
-_/'~o
-.f
c.
-C
o.:
I IPI:r-
--.L�L.!!!.L
/:'L!:L/'l~/
:L/:LI/L,/._
_L'L·L.<..
.<~~_~
-
i!J'"
", f
I."..
ICIl
MT
ElS
i'l'
j.1U
ER
-16l
lO
lEP
TH
-IS
.OM
ETER
S_
PRE
SSlI
lE-
16
.54
MET
ERS
RECO
RDLE
NG
TH-
50
.58
DRYS
I£T
OR
lfT-
12.0
5C
It/S
EC
.36
'T
MEA
NSP
£ED
-17
.87
CIt/
SEC
U-V
AR
IME
-8
7.2
V-V
AR
IME
-2
12
.2
STRT
IllN
ol1E
SR-1
C
PIlO
.£C
T-M
ESA
LR
TlT
ta-4
74
2.4
ON
LlM
HT
ta-l
22
26
.75W
lEP
TH
-I9
6.8
0M
ETER
S
!'
,•
T'
,T
1•
',
T••
'T
··~--'----'----'----'------'-~T-~~~---'---'---'-~
2.
2!i
2627
~19
;2
]•
5fE
B-.
;pW
~~
~
.......
""-J
I°0
0v
vv
v\O
J'"='
\:)0
\/0i\PO?v~DUOVoOn\}o0
,/""
'~}=
o,}
=U
=u
40
vaU
OC
Owo
o°v
o0
0V
V0;:1
\/\0
7=
=0
'=0
00
VO
VO
o~oooo1
O\F
0
10,!
\""
=,
C\
MC
Oo
J"
--.c::Y"\~~/\.f\-v'\_~v-i'v"-v£\.AIVvv'\~~AjV'-cJ'~
'''v~~=
~V~J
'~A-
v"-v
'~~_
O~~~
't'\
/\/\
/'0
'-'~'\..-J\v"'~~
fA1
\1
\()
IV\(\/\c
.../\
c!\
(V
I/\/\
1\II
f\f1\
()1\
f\f\
f\II
f\1\
iV\i\
f\()
J\rJ
\ti'A
rV\I
\I\.
!\()
Qf\
~0
0()
{\1\
Qf\
CI\tD
/\0
[\
Qf\
cJ\
[v/\[\I\.
IV\
f\!\
1\1
\/\~
•~~
\I
VV
V~vVVV~v~~
'"Q~VVVVVVVVVVO
0v
V~
QO~'rv
t!I{(U
/I//II/I/'
////
11
///0
''/1
/1//
////
1''
''0'/
////
"flf
fi/~
///!
//mJ
JF/I
Iu//
fl;t
Il!!
io
,,!,
////
//1
11
11
/1//
/lI!
tI((e
nt--
--Jiii
==±=
::=....
.~t
t-d
~I
!,
tit
II
II
II
II
II
II
II
I!
II
"!I"
II
II
II
II
II
II
I!
II
56
7I!
I.9
l:l
1112
1314
1516
17III
Ii20
Zl
2223
242!
i2I
ilZ?
28:N
1O31
12
3•
56
7II
910
1112
1314
15~
~~
~~
"~
~~
~~
~
Figu
re6.
Exam
ple
ofda
tapl
ot.
The first segment of the plot is a written summary of the record.The first two lines identify the station and the project. The next twolines, the position, and the fifth, water depth at that site. The nexttwo lines identify the meter by number and its level in the water column,measured from the surface. Mean pressure is calculated from all valuesover the usable record. Record length denotes the length of usable record.Net Drift is the vector-averaged speed over the entire record at the indicated direction; mean speed is the arithmetic mean of all speed values forthe record. The variances are in the U (East) and V (North) directions.
The second segment of the plot is a spectral energy diagram for thisseries. The vertical dashed lines denote the frequency of the daily (D)and semidai1y (S) tides and the inertial (I) frequency. The vertical lineof small squares indicates a scale chance of the abscissa from 0.2 cyc1es/day/in to 1.2 cycles/day/in. The line in the upper left-hand corner showsthe error band of the 80% confidence level for the left-hand scale. A similar line in the upper right-hand corner shows the error band for the righthand scale.
The third segment of the plot is a PVD for the entire record. Thebeginning of the PVD is denoted by an S; the end by an F.
The.fourth segment which constitutes the bulk of the plot, displaysthe time series of all data types recorded. The upper and lower hatchedlines show the time with a scale of 1 day/in divided into quarters of aday. The upper data line, pressure, presents the instantaneous values ofpressure relative to the mean pressure denoted in the first segment ofthe plot. The ordinate has a scale of 8 db/in. The second and third datalines are the East and North components of the record filtered with the2.86-hr low-pass filter. These data were resamp1ed hourly. The data linemarked CURRENT shows the 35-hr low-pass filtered data resamp1ed at 6 hrs.The data are shown in a vector time series with north depicted by the arrowat the left. If the coordinate system is rotated the arrow at the leftshows the new north axis. For the last two data records, temperature andsalinity, all recorded values are plotted unfiltered.
5. ACKNOWLEDGMENTS
This system was developed in pieces by many different individuals.R. M. Reynolds assembled the tape translator and initially developed theAANCMRD and EDTDAT programs. B. A. Walters was the first to use these partsin production and contributed to the debugging and modifying of the programs.The filters were done by C. A. Pearson whose knowledge of FESTSA has greatlyenhanced the analysis of the data. The critical eye of Richard Si11cox hasled to many major improvements at all levels, especially in the job streamnecessary to process many current meters at one time.
Development of this system was supported in part by the Marine Ecosystems Analysis (MESA) Program and Outer Continental Shelf EnvironmentalAssessment Program (OCSEAP) of NOAA's Environmental Research Laboratories.
18
APPENDIX
PROGRAM LISTINGS
19
PROGkAM AANCMQD(I~PUT,OUTPUT,T4PEl,TAP~~.TAP~3,TAPElC,
ITAP~5-IhPUT,lAPE6-0UTPUT)
CC TAPE (TAPfl,5'b ~PI,STRANGERI GEN~oATEn U~T~~ THE P~EL I-TOAC~
C PROG'AM TO ~~AD AANDERAA eM DATA ~QnM 7-T04r.~
C Tl 7-TRACk CONVERTfQ.C RECtJRD tolll"'~ER,co",puTEr OATA,RAW [lAT6, 6'1f' rUr;Q c;U"MARY,C CC~PUTf!, PQJ~T~ A~n ~RI1~S o~ TAP~ ITAoF~.~~( RPI,8INA~y.~~QoEI
C HoP(jR RECOj;(O$ ARE MARKEO ON LIHINr. WTT4 ~~T~QJSKS A~D SI:fl4~6IlJ7I=1'l
C jT THE END OF EArH FILE.CC DATA CAflne;Cc CARD 1CC XMAG - ANGLF (IN n~GRfESI TO cnIlOFr.T r.nfl4P6~~ llEAOIhG~ FOilC ~AGNETIC DECLl~ATlON (Fl(.~1
C NOHA - MJ/III!lER OJ: SE1~ llF OAU ON TIolF T,pl: (T'51C OfLTJ~E - TIME INTfRVAL (IN ~INuTr~, RfTWS:~N DATA SAMPLES (F~.?I
C NSKIP - NliP" ~ ERn FDA U TA PER ECOil n ~ Tn ~ I( TP I J!i )C ~F5KIP - NUMPfR ~F 7-1RACI< TAPE FTL~~ T~ ~KTP (T51C NUMETR- T FO' NEW ~ETE~ (LI)C F Fn~ OLD MFTERCC CARDS 2-5C AO(II,AllTI.AZ(11,A3(I) - tOEFFICTS:NT~ TO RS: USE~ IN THFC EQl·ATIltNS FuR CONVERTING IlAIII nATA INT" S:NGJNHRJNG ut<>nc;,C THESE FCUATl.1Ne; ARt- OF THE FI'),uqC ZNlll-An(II+AI(II.N+A21T'.N •• '+A'(TI.N•• ~
C CARD 2 HAS Aulll---A(I~1 (~~ln.5'
C CAQ~ 3 HAS A1111---A1(51 1~~1~.~1
r CAkO 4 HAC; Allll---AZI51 1~S:]4.71
C CARD ~ HAS A1(11---A:I~1 (~E'4.7'
c NOHI INCLUOE ~OTOR HH RAn" IJI-lr"l S:Tt.::"Rl"lGC lllll FOR ~PI:~O lOIJATI"NCC CARn t:C McnRJNf. ANO ~E1Ek TNFnWMATIONC lMUST LFFT Ju~TIFY ALL ~IFLOSI
C PPOJ- PROJECT lAlulC ~Ol1R- MulJJlING fIolll'1l\fR lA1C)C ~ET- ~ETEll N~M~E~ (A~I
C M~TDP - ~ETE~ nEPTH lA~1
C YLAT- "uJRl~G LAlIHO[ IAIJ'C WLONG- ~OORl~G lnNGIllOE (Al~1
C aOTOf - RLTTOM DfPTH lF5.21CC CAIlC 1C STAR'l~G TIMt~ A~D OfPTH INFUJIMATT~~
C !Tt fl4 FS - A~~AOY TU STOQt ST6Qlr~G ANn ~T~P TTME~ A~ rnLlCW~1
C FOR I-I START -iOU~ AND "TNUH (T"ilC J-2 START DAY lI~)
C 1-~ ~16QT ~ONT~ 11~1
C 1- 4 ~TA~T YtAJ/ (I~I
C
20
DIMEN~ION N~I~),NZI6),ZNI6),8UFI401
DIMENSION XPOSllb).INEGlZC),YNFGl~O,6),~PO~ZI~),
1~FLGIZl),TE~PI2~,5),llEMPI20)
LIME~StON NNZIZO,6),NCHKllC)OlME~SION ITIMES(4)OTMtNSION A0151,A1151UIMENSION A2(5),A3151LOGICAL NU"'FUCOMM~N/cn~l/NREC
COMMON /ZIP/Il,l,IZZZ0.T6 NX/6,3.4.5,2,1/,~~AL,NRF.CT01/~,l~1
DATA PARI/.TRUE./UP'l IN- U"'A X- USU"'-" .,1~MtN-VMA~-V~UP'l-~.0
PI-3.1415Q26NCAlC- 5Nf(fC-l"'.11 - 100L - r.
READ CONToOL CARDS wIT~ C'LI8~A1InN ~ATA.
CCC
qq7
122~F.AO 1~,l?ZI XMAG.NOA1A,OELTIME,N~KTP.N~~KTD.NUMETR
FnRM,T lFlO.5.1~,F5.2.215,ll)
IF l£aF,~1 qqq,q~8
qq8 WPIT~ 16,ll3)123 FOrolM.T 11Hl,q~,.Ci1NrrcLl. CUDS - .//1
REAOl?,50vOI 1'0111,1-1,51~~AOlj,50001 lA4111,(-1,51
5000 FOQMATI5Fl?51PI'AOI;,5C01l lAZl rltl-lt''i)JlCAOI5,50\i1l lA31IltI-l,51
~Ou1 FGRMATI5E14.7)~PITl 16,125) ~MAG,~OATA,nELTIHf,~~KTD.~F~KTP.NUMETP
l~~ FeRMAT IlO.,Fl~.5,15,F~.2,ZI5,ll)
DO l(. T-1.510 WPITEl~,tD~u) I.Aull),J,Alll).I,A?ITI,T.~~ITl
6000 FORMATI//* ACl •• IZ •• I-.,F10.5.5~,. 11, •• T',.)-.,F,u.5,1. AZl.,IZ •• )-.,~14.7,. A31.,I?,.)-.,F14.71
CAll tP~eIT 1}.PAPllcC ~fAO FPGM CARO~ T~F.N ~RITF ON TAP~ AN" lI~TT~G
C THe ~OORI~G AND ~fT~R TNF~~~ATT'N
C~EAnI5,7001 PROJ.MaOR,M~T,M~TDP,YlIT,Wl~NG.ROTOP
700 rCk~ATI2Al~.2A5,2AJO,~5.2)
.~ITFI6.7'11 PROJ,~OO~,YLAT,xlnNG.~"T~P.~~T.~FTOP
7u1 FC~MATl//~t,.P~OJECT•• ,llc,~~,.~nnoT~r.t.,Al~.//6~,.lATJTun~t••+ Al~,5X,.lONr.ITlOEI.,AlC,~x,.RnTT~~ nF.PT~I.,F6.1
+ //~~,·~tTE~.·,,~,~x,·OFDTHI·.A·)
wf(JT~131 P~OJ,~OUR.MfT,MFTOP,Yl.AT,Yl"Nr..AnTnp
~EAD 1~,7031 ITTME$7~3 Fn~"AT IAl~)
"RITE (1'1,7:14) ITtMFS704 FORMAT 1.~ •• 5x,.STAkT TT~~'.,T~,5y••~AYt •• T~,~~•• ~QNTHt •• T~.
+ 5x.·YEAP •• ,(5)
21
cCC
cccCCCCCC
705
706
336
ql~
33334C
~PJT~ (b,7~'1 OELTLMEFOR~'T I.O.,~K •• ~A~PLE Tl~EI.,Fb.~/.l.1
~PITE 131 IT1~tS,OELTl~~
LECOOF.l,,706,METOPI PPES~
FIJR"ATIF~.lI
~~IP NFSKIP FILES.
NPAR-']IF lNFSKIP.FO.OI GO TO ~34
00 335 I-l,NFSKlPAUFFEk IN 11,11 I~UFlll,R~FI4QII
CALL lCHLIF lUNIT,l) 3Q~.~Q7,3~~,336
NPA'hI\lPAR+lIF lNPA~.Lf.lOI Gn Ta ~Q7
STOPCONTI NUl:
SKIP NSKJP CA~§ETTE Rfco~ns.
IF I~SKIP.~J.~1 GO TO 34COG 910 l-l,~SK(P
CALL GETRfC lN~.NVAL,~RECTOT,~Z,~TYP~,N~HFr.KI
(O~TJNU[
I\I-N8AO-<-51 - 'I.
OATA 1~ STO~En A~ FOLLO~~I
ZNlll·~PHD
lI\lIZI-~lRECTtON
ZN(3)·TEMPERATU~F
ZNI41-CONO~CTIVITY
lNI51-PRI:SStlRfllliltl-SALlNrTY
DO Q~U I-I,NOATA1111 - ICALL GfTREC lNlC,~VAL,NAFCTOT,Nl,~TYPF,N~~F~(1
52 - ~Zlll~c T~ 1~1~,b,v,~3vl,NTYPE
cC (,(IOD OA TA IH1IJTJ 110£:0r
~lu ~D - "'Z121~T .. "'7131SC - N7141Sr.EP - N1151IFINUMETRI ~l-~.~
1~111 .. A1111 + All~l.l~l-Sll/nF.LTT~F
ZNl?! • AU(?I + A1CZ)*:;[) + ll'MAGIFIINlZI.GT.360.1 1~1{I-Z~I~I-360.
1~(31 • AOl31 + Al131.)1 + l21~).f~T ••~1 + A~131.1~T •• 311~1.1 .. A~I~1 + Al141.~C
1~1~1 - AOl~) + All~l.snEP
INf61·~ALINIIPRt~~,lN(3),1~1411
22
51 - liZflltu N-'H]
.~IT~C2II,lN,NZ,Nr.H£CK
Ga Te qOOcC PAD DATA ~OUTINE
C
LIST E~~OR nATA RECO~f)S.
END FILE 2\lIRITt Cl>,loA,1FOkMAT ClHV.GX,2bH ••••••••• • •••••·······.···/10x,1~·,24Y,'H.,
.IOlf,26H. ERROR R~COPI'C; 5l''''I'l'''Y ./1')lt,14.,24lt,lH./·lOlf,Z6H•• ••••••••• • •••• •••••••••• /II
fPEw-NflAO·10(.O/I.RITL Ct,lwQ) r,NijA~,fP[P
FO~~AT Cl~x,.TOTAL NU~R~A OF CAS~FTTF DFca~n~ - .,.T~,//l~),.NU~~E~ ~F E~iOP 'ANDERAA DC~~D"~ - .,15.,. C.,F7.l,. PER~f~TI•• '/)PEWJ~!' 2
820 SO - ~l(2)
51 - "l7C31~c - N7C41SOH - N7C~)
JFCNUMET~I ~l-O.u
7~CLI - A{CII + A1Cl).CSZ-Sll/ntLTI~~
INCZI - ACC?I + AIC~I.'in + XMAGIfCZNCZI.GT.3b~.1 IN(2)-ZNC21-3~~.
ZNC31 - AOC~I + A1C31*5T + AZC31.C~T••?) + A~C31.CST •• 31ZNC41 - A~C41 + AI(4).SC1~(5) - 'LC~I + AIC~).SOEP
ZNCbl-SAlJ"l]CPRESS.1NC31,lN(4)1$1 - 52wpIIECZ)I,ZN,Nl,NC~EC~
WRITEC6,104)I,IN,N7,NC~fCK
101t FOPMATCX,7.H •• ,I4,F8.1,CA.~,2F6.3,~~.?,Cq,l,10X,6(4)n~1,3YTln)~flAO-NBAf)+l
Cu'" TI NUF.
108
CC CO SPEED INHRPOlATIfJN H.O wl1IH iH~"LTC; rN "NTT 3.C ~FlAG - 0 MEANS THAT ~O SPEED I~TFPP~IATT~N WAS DONEC - 1 "fANS AN I~TEQPGl'TIn~ WA~ P~D~~D~FO ON THF SPFFrC
\lI111 n Cto 111111111 FOAMATCIHII
IoRITf C(I,,10311~3 FOkM,TCIP)f.CAlCUlAT~O rAIA.16X,.I~TFQPnLATIn~.,13x,.RAW naTA.?-X,
1.~R~QR TYPtS.'. QF.CO~C SPtfD nTQ T~MO cnNO oFPTH ~Al
2 FlAG.3x,.SpcED DID T~~o ~n~~ DEPTH QEF.,3. • ~ C OEF.I
1 ~fADC21 JOFC,7~,N7,NCH~CK
IFCFCF,ZI 3vl,';O~o IFClNClI.LT.(.1 7L1ut!(1.l
100 JPeSl - IDECDr: Hl I-l,b
23
101 XPO~lIII • ZhlII1C,Z tvFLAG • (l
~RITf(3) JPOSl,XPOSlw~JT~16,15~O) IP'~1,xpaS1,NFL'G,N7,NC~~rK
15uQ FCRMATllX,I4 ,ZFe.Z,2F8.3,F8.Z,~q.3,J~,ly.~14XI41,4Y,J10I
IF INZlll .L~. 11 GO TO 1U·OElTIME.tO.'.lNlll.SJNllNI?I.PI/lP~.1
USUM·USll1+UIf IUSU~ .LT. UMINI U~I~·USUM
IF IUSLM .GT. U"'4XI LJI"U'·lSUMV·OtLTIME.~(.O·lNlll.CO~11~121.PI/'~~,)
\fSLJM.VSLJI'4+VIf IVSU~ .LT. IIMINI V'lN·VSU~
IF IVSL'" .GT. VMlXI V"'Y·VSUM(,0 TO 1
Zuv IFII~eC.NE.ll GO TO 2(1z~nl • <t.[,0 TO 1""
201 JJ • .,J
20Z JJ • JJ + 1llliEGIJJI • IREero z",zv I-l,b
20Z0 ~~lIJJ,II - NZIIIon. 2(,'3 1-1,6NCHKIJJI • NCHEC~
203 x~FGIJJ,11 • ZNIIIR£AOI21 IPEC,lN,NZ,NCHECKIF ItOF,ZI 3~~,Z2?
lZ2 JFIZNI11.LT.L.) GO TO 2~i
! PO')2 • IHt:[)O 204 I-l,f
Z04 XPOSZITI • ZNIIIllJJ • JJ • 1D~L • IXPOS?III-XPO~1111I/XJJ
"FLAG • 1NJ 2,5 J-',JJII J - JXNEGIJ,ll - XPOS1111 + XJ.OEL~PJTEI~,l~~g) IN[GIJ),XNEGIJ,11,X~~f,IJ"I,YN~GIJ,31,XNF~IJ,4),
1 XNE[,IJ,51,l(NlGIJ,6),~Fl'G,NNZIJ,'I,N~~fJ,?),~NZIJ,31,NN7IJ.4),
2NNlI~,~I,~NZIJ,61,hC~~IJI
2u~ ~~ITfl~1 IN~['IJI,llHFGIJ.11,X~f~IJ,,),YN~f,IJ.~I.YNFf,fJ,4),
lX~E~IJ,~I,XNEGIJ,~1
1I'0S1 - JP[J<:200 Zl6 I-lIfl
14Jt: llPOSlIl1 - HO'\llllCO TO HZ
3u" E-N[j FILt 3lMIN·UMIN/I0uOOO.UfIl.X-U,",'X/IOCOOO.t, Ii • NGF. - II '" • X+ A~ $ I IJ "" IN I~MIN-V~IN/l~~OOO.
\fMAX-V~'X/IC~v~0.
~PANGE-VM'X.Aq~IV~JNI
~PITr Ib,~~~ll UMIN,U"A~,~RANGE,~MTN,VMAX.VPANGF
9001 Fuq~AT l.l.,~.,.UMJN-•• F8.1,~~,.UMAV-•• ~8.1,~X,.U;ANr-F-.,~~.1.+ II~x.·VMIN-.,F~.1,~~.·~MAX-.,~~.1,?Y,·VR'Nr.f-.,F~.2)
r;9q ~TUP
p .. 1)
24
SUPROUTINF. GET~EClNX,~VAL,NRtCTOT,N1,NTYPF,N~~fCk)
CC S~RPGUTINE TO REAu RI~ARY OATA FR"~ 7-TOArw TAPElTAPE 1)C ~HICH WAS CREATEO BY AA~OERAA T~AN~ljT"P.
CC EACH l-TRACK RECORO MUST CO~TAI'" AN tNT~c;rQ NO. O~ £lATA ~~r.~.
CC EACH RfCOPO I~ READ l~ Rt nCKS flF NVAI j~n T41: PROGPA'"C FXPECTS A FLA" ANO ERRn~ WOPO P~o ~nD~AT.
CC ~X - RE~HUFFLE AR~AY.
C N~AL - NO. WaRO~JOATA RFCO~O.
C NPECTaT- NO. OATA PEC~/EOP
C NTYPf· I FOQ GnDO DATA,C - Z FeR tR~OQ---A- eIT5/.0In.NF.l~
C ~- PwE,C C- wORDS/~YNr.~E.rnDDECT VALUE,co-Fl A(; PIT ~ "IIT r" I: ~ ~ 0 li FNCF ,C f- SYNC wo~r FN~nUNTfDfO ~~FOPE tT4 w~R~,
C F- Nn SY~C FlA".C - 3 FOR E]~ ENCaU~TE~~O.
CC
1~H:GEIl PIFDI~fNSIO'" 8UFI4~),"'.I~~AL),NZlN~AL)
cnMMON/CO~l/NPEC
COMMuN IlIP/II,L,llllINTEGER ROlNPAR-O , JFl~c~-nJ'tltl
IA-O~04CO~' 18-0aOZ~Jt S IC - OC(l~n~
CC I~ITJAlIIF nATA AqRAYS Ta lERO.C
00 lOu I-l,t.JVAl100 NIlI)-O
NRtC-N~EC+I , NCrlECK-C ~ "'TYPE-]CC RlAO NEW TAPE DECO~D IF NECCESSAPY.C
I r I I I • l E• Ll GOT '1 3 U 2tv3 BUFFER I~ 11,11 (RVFlll,8~FI40)l
Z;' CALL )(RClll)IFlUNIT,l) 20,l04,140,1~O
H,4 II - 0l - L£NGTHll)~CHECK- L , NTYPE - 1
10.. (, NS~FT - r.11-11+1Ilfl - Rl'f.ILJ)en TO 3 .. (
14V ~TYPl-3 , ~WEC-~RECTu1 S ~ETU'N
16~ .krT~16,162) lZ1Z162 Fr~M'Tlluw.5~H••• PARITY EPROR U~ TADF t. rn~TI~Uf wTT~ ~~WT PFrr;n
l •••• l~,. J~ 1~~ PRE~~~l ~ECQqD ~U"'Q~Q $)
f.J"AIl-NPAR+l
25
I~C~PAR.G~.lO)165,103
If~ ~QITf(b.16bl 11111~6 ~ORMATCX.3'~••• PARITY ERROR ON 1APE 1. ~T"P••• ,15 •• I~ T~E PRf~ENT
1 REcrRO ~U"~ER .1HOP
3110 NREC - 0
C U~~ACK 1 AAND~~A. REC~RO.
CCC THE uATA IS PACKED I~ T~E ~o"nWTNr. n~~FRI
C ~fF. W0RD.TE"p.,COND •• PQF~~•• ~TOFrTTON.SPEfn.CC THE OA1A IS ~TaRlO 1~ T~f AR'AY ~l TN T~F OlorRIc SPfED,DIRECTI~N,TEMP •• c"~n.,PQF~~.,QrF. ~ORn.
c302 00 3c q I-l.N~Al
HAL - r118 - ROLCtI P ,12)NS~Fl - N~~~T + 1~Z~ - II~.AND.OC07777
ICK - Ol~C101.'Nn.~z~
I~C!CK.EO.oI31u.3?~
320 IFCI.EO.NVAl)310,JOO310 K - '" lC ( r )
NZl - NZS.AND.0777701~ZZ a NZS.AN[·.O~'Jc\077
Nill - ISHlfT(N71,-71/IIZ21 - NZ2I2NZ1, - l~HI~'CNZ!l,~)
NZIKI - NIIZ.OG.NZZlIFIN~~FT.GE.~I ~q8,3q~
3qa ~S"'F1 - '"II-It+lIF C11 .L E• L I (, aT.) ;l q ~cI~IIVAL.EO.~~'ll GC Tf ~q~
CO 1[1 103,ql:lO II l:l - 8LJF I II I
3lfQ cm:TINUECr ~r. S~NC Fllr, ~
cIflICK.EO.iJl ItlCi,42'"
'10 NCHtCK-NCHtC~+1
GeTO 'l>",cc r.~tCK ER~r~ wn'oC
4ZU 11~ - ROL(lI~,121
NSHFT a Ns ... rT + ~
~z~ alIB.~NO.OOtr777
JCK a U~OLI01.ANn.NZS
l~IN~~FT.Gf.~1 4~~,422
421 ~SHF1 - 0IlalI.!IFIII.LE.LI Gn TO 421l
26
IFIJVAL.EO.~~ALI foO Tr 422(;0 TO 10~
42lij II~ - a~F(lII
422 IFIJCK.EQ.OC~~lClI4~G,44C
440 hCHECK-10u+NCHfCK~5~ NZA - hIS.AND.IA
IFCNIA.NE.OI NCHECK - NCHECK • lC"~r~,o,
NIB - NIS.ANr.J8J~(N18.NF.~1 hC~ECK - ~C~fCK + l~r~O~ft
~lC - N1S.ANO.ICIFIN1C.Nf.O) ~C~EC~ - NCHEC~ + 10r~o
4~O IfINCHECK.NF.O)NTYPE-Z462 ~ETl!PN
CC ~JSPLACfu FLAG ~O~~.
C50~ ~rHlr.K-NC~EC~+l(
IfCIrK.EQ.I) ~Ol.~3q
501 JFINSHFT.GE.51 ~~Zt42C
5U2 ~SHFl - 011 - 11+1IF(II.l~.ll ~o Tn !03(;(0 TO 1113
503 IJR - 8~Fltrl
co TO 4(~
53Q ~QITfI6t~40)
54v FrR~ATcrt.---------~R[GRA~ UNSY~CF~------------------.I
J~INSHFT.r,E.~1 ~41,44L
541 "'~HFT - 0II - II +1IFIIT.lE.LI GO TO ~41
GG TO 1(.354£ JIB • aUFItIl
fG TO 4..0E~O
27
FU~CTION SALJNl lP.T.~1
C COMPUTES ~ALI~rTY FRnM PRESSLRF,TEMP.+~ONourTTVTTY.
CC FU~CTION S~~PROGRAM SALIN P.T.GC RETUkNS SALr~ITY P,OTS PER TH(oUSA~~.
C ARGlME~TS P PRESSURE D£(1~ARS.IC8AP·.ntMN/~O ~.
r. T TEMPERATURE DtGREES C l04R TPT~ lT4~l
C ~.B. T46·1-5.~oE-6.T~~+11.+4.~qF-4ll*T6e WHfR~ T66C IS TE~P~AATlAE ON lq6A TDT~.
C G ELECTRICAL CONOUCTI~ITY Mrllt~Hnlr.~.
C VALIDITY-P O. TO 6UJ~ •• T O. Tn 30 •• ~ALINTTY ~O.TO 4C.rC PRG~RAMMEP-TRfVDA SANKEY. IDS WO~"LEY.
C DATE-4TH OErEM~EP l17~.
C LAhGUAGE-ASA FO'TRAN l~A~IC STANDAA~l
C MAC"INF.-FCR USE (IN ALL lOS FACIlITIF.~.T" ~n"C:F AND F.llTFRNAl.C PURPOSt-DEVELOP~O FRCM t.ARLlE' VERSTnN~ FnR II~~ A~ ros ~TANOADn.
C DESIGN ATM$-AlCHJICF OF M~ST ACCEPTA~l.c Fwr~~T~~NTAL FOQMUL'F.C RIAAAANGEME~T FOR EFFICF~T ~nwDTlATlnN 6~n FXFrUTT~~.
C ClFULLY ~F.LF OOC~MF~TINr,.
C AE:FEQE~CES-%lIRCt~ ~F FOI<MUlAE.C 8AAnSHA .... A. AND SCHLFICI-lEA.I<.E.n9651 TIofF F~FFCT OF PRE ~~IJl:F nNC THE ELf-CTAICAL CONOlJCTU'CF [.1= SEhATFA.I'l~~P ~q ~F~FARCHt1?151-Hi
C a,o\olN.r•• l. ANO ALLEIIITIlFT.R.llQ66l SAlT~"y.r."'''l)urll''1TY ANDC TEMPE'ATURE AF.LATll~SHlP~ OF SEA-~tTFQ."VCP TH~ ~A~Gf OFC 0 1~ 5CP.P.T. ~IS~ETT-A~~MaN COPP.RFPn~T NO.~Jn ?~03.
C COX••A•• ClILKIN.F. ANt) f'IL.EY.J.P.11 0 "71 TIofF ,:lrCTlllrAl CONourTTVTtvc ICHLOAINITY QfLATI~NSYIP IN NATURAL ~El WAT/=A.~~FP ~EA RE~fAor~.
C 14,203-220.C T... O UNPURLIS~E~ POLYN~MIAL fITS .Qf IISFn. Q nT4 TO OAT' CONTATNf"C IN IUOIoN AND HLENTOFTI1Q~61.0Nf,ALTHnur-l.I NnT r.IIIEN IN Tlo4n~
C PAPElhIS 'WE TO THt: AUTHOAS THEpolSUVCC'.T\.I/= nTl-l!Ell "'A~ MAOE: flYC .. A.J.CfrE.SF.C IloIETHOD.C 1.GIVE~ G IS OASENIIE~ l~ ~ITO CONourTTVrTY.C 2.0IVIDE BY PPIP,T,~l-GlP.T.Sl/GlO.T.~1 ~~nllo\ ~+~11065l
C GIVIN(, (,lO.T,SI I.;:.rtE~l"Jvl~G PQE~SttPI= FJ:~FrT.
C 3.(,I\lE~ Gla.I5,35l.~2.9~~ ~"HOIC~ A,,~.r.~N~ rnPF~HAGFN WATf P •C 4.~ULTIPLY QY CPITI.GIG.T.3~l/Gln.I~.1~1 ~An~ ~RFASF.~ ~JT TnC ~+Al1~66l GIlliN" G(a.T.35l.COND.COD~~HAGc~WATfO AT 09~.TF~p.
C 5.TAKE RATIC.C FOP EFfICE~CY ]~ T~IS R~UTI~E ~TEP ? TS T~TF~r~ANGF~ ~ITH ~TC~~ ~-~
C SO T~f RATIO RTS-GIP,T.Sl/r.IO.T.351 I~ c1Q-r n J:IAST ANO THENC DIVIDED ~Y TH[ SALINITY DEPENOENT RP WTTHTN TH~ JTF.A.TTVf lnr o •C 6.YCIJ '"Ow I-IAVl RTlP.T.Sl-GIO.T.Sl/GI".T.351 THI: cnNOll(TIVJTY AATJr.C AT THE 08C'EDVE~ TF"'PEQATUPE.C 7.CO~lH.CT PT USING I\.A"~ llNPIIQLI'iHF.1" I=TT Tr'1 T\.I~l~ lqfl6 IUTA Tro r-rTC ~IAl.Tl.GIO.l~.~I/GIU.l5.351 TH~ rl"JNnurTTVTTY ~ATIO AT Ie ~F".r.
C ~.fON~fRT P TO 'iALINI1Y U~I~G I~TER~~TTnNAl TA~lFS PQlY~O~TAL.
C C.C+~11qo7l.
C ST~PS 7 A~O 6 Tn ~ FOk" A STkONGLY rnNVE~r,I=~T TTF.RATIVF lon pA~I"
C S IS FQU~D FQa~ TH~ T~IAL \I~LUE 3~. TN TW" OA~~FS.
CC *CALCUlAH Tr:~,..c; I~ PQtS~tJRE AND TEMDFQAT"A~ AlrNhC .PA~SS~RE EFFFCTIP+~l
28
C C~NV~QT TO 194R T~~P~~ATU~E SCALETs(-5.POE-6*T+ll+4.BRf-411*Tr('·((-1.Qf-6.T+8.308QE-41·T-4.530?C-~I·T+l.~lQ2
FsI13.3E-l~·P-3.1q13E-61.P+l.v4ZE-~)·o
Hs(-£.4~?E-q.P+~.'17E-~)*P+4.E-4
CJsll-l.o51E-4·T+~.276E-3)*T-v.15~~'·T+',
Cl--7.6E-~.T+~.Q?E-3
~sIF·C('+~·CJ)*.~l
C *RESULT.~T CQE~FS. A+n*S-GIP.T.SI/r.I~.T.S).
D--8*CL.--O*3'5.+R+l.
C *T~MP.V'QIATION ~F COhO.ICREASE FIT).CP-III-.53Z272E-R*T-2.~24138F.-11*T+'.OlQ8~4F-4)*T+.O?n1)~13)*T
.l+.f.7~538
C *CALC.k.TFI GIP.T.C))/(ln.T.H).42.p o 6 TC: A~~II~fO GP1,}'5,35)~TS-G/142.~Qt·CP)
C *H.r<I'l IN T:"'PEI1AT'JRE CORRECTIIJN TI'" r""'1).06TY'1 IR+A)Gs l-6.9E-4*T+8.E-ll*T-l.
C *CALCULATION OF SAlINJTY.C • '1"11) A liTRONf,lY crH..H~GENT JTEIHTTVF Dpnl"FC;S AS THE- PllfC:;C:;I'ofC • COHECTION IS Io/I:At<l y I)EPENOE~1 nN CiA! r~TTY. THF CIlCUlATTrN T~
C • uONF lwlCf.C • fiRST ('SI~G TRIAl ~-3~ GIVING PJTF.Il,",COraTl= S.C * 'fCONn U~ING TNTEA~EuYA'E ~ CTVT~r. CT~6l VALUE.C • fRRn~c; A~F lESS THAN .JG03 f~T nv~o T~F O,NGF OF 8CEANTC fI"'Nnc:.C *FIRST SET T~l'l V'lUf.
SAlI N ls35.C *00 CAlCUlATln~ T~ICE.
DO .1 lsl.2r *C'lC.P~t~SUPE i.O~~. AS ~N.rF c:.
ItP-O*"H I~l+A
C ~ .APPLY PpcSSURf cnRP. TO GIVE ~1."T.~)/~IO,T.3~)
C *GIO".S)/GI/,T.35I s CI P.l,S)/(,IO.T.3'5) / ~IP.T,~)/rl."T,~)
I(T-RT::,/RPC .APPlY Tt~~.CGQR.Tn RATl~ T~ r.CT i,ln.15.~I/r.IO,1;,3r)
Rslll-4.,E-~*Rl~.vZZ)*RT-.ot7~I.n+l.l·oT
C *APPlY I~T.T48LES F8RI'lUlA TO ~ET C:AlT~TTy.
1 SAlI~~sllll-1.J2~11.P+~.~~~Z4'*O-1~.~~A~QI.Q+12.AO~3~)*0.
4 Z8.Z01?1*~-.~(QQ~
C .~iTURt-;
~flURN
f""O
29
~KuG~AM ~u1UATI1N~U1,uUTP~T,TAPEI,lAFt2,TM~t~,TAPE5-INPuT,
1TAPEb-OlJTPlJTlDIMENSI~~ ZNlbl,T~M~lbl,ITIMESI41
LlJ<.J.CAL AUIJ,lHGC THJ.~ PRuGRAM ~OJ.TS u~r lHE REST Of THE BAU uATA, CALeS. T1MES,U AN~ VeC uATA ~AkD~
(; CbD 1C DELM1N • l!ME IN MINuTE~ 8eTwEEN kf~~~US IFo.21e NSKIP • hlJ/'Itlr:.k lJt' ktCORDS TO SIC.IP 1i. Ft<uM bi:<.INNIM. OF FILle HttORE STAKTING PRneESSING 1141C NREF • RlFeRENlE PE~ORD FL~ TIME ~AR~ 11~1
C IllME • TIME IN UT FlJ~ REFERENCE RE~CKO 11~1
C lOAY • DAY UF REFEReNCE KFCOkD 1151C 1MUNTH • M~NTH OF ~i:rtKi:NCE RECORD 1151C IYEAk • LAST TwO DIGITS OF YlA~ Of Ri:Ft~E~C~ KE~URD 1151C IMAX a NlJ. UF LA~T RlCORD T~ Bt PkO~t~5ED lJ.51C CHG a 1 It THE HEADER CARD IS TO ~E CHANbED ILIIC - F It NOT I l!lC CARlJS 2 - t\C AuD a T If DATA t<E~uRO ON THE CARD REA~ 1S 10 ~E INSERTED IN THtC tiLE AT THIS POINT. TN Ok~ER TO PIC~ wHFRE YOU wANT THEC klCUKD IN~r:.RTED, THE RE(;O~D JuST tltrlRE THE INSERTIONC PLINT MuST ~E FLAGGED AS A REC. Tu Bt CHANGED OR DROfPED.Car It uATA Ri:~URD O~ THE ~ARD IS ~~T lu dE INSERTED A~
C A~OTHE~ Re~LRD.
C NkECl a NO. OF THE uATA RE~ORD TO ~r:. CHANGtD I 11' NEGATIVE THEC RE~URD WIlL BE DROPPflJl II~1
C TEMP - NtW VALUE~ ~F SPEEU, DIRECTlwh, TEMP.,CONDUCTIVITY, ANOC Dt~Th WhICH ARE Tu BF PuT !~ RtlURL ~L. NRFCI I~Flv.31
PI - 3ol't15QlbKtAOI~,lO~1 ~El/'lIN,NSKIP,NREF,ITIME,10~Y,1MChTH,IYEAR,IMAX,CHG
IOu FUKMATlrb.2,14,bl~,lll
wkITEI6,lOl!1 Utl"lN,~SkIP,NREF,ITIME,lUAy,!~uNTH,IYEAR,IMAX,C~G
.KITElq,lOlll ,DEl~!~,NSKIP,N~tF,ITIME,lDAY,LMChTH,IYFAR,IMAX,(~GlOLl fu~MATI*1*,4X,* CO~T~OL CARua*,Fb.2,14,~I~,L~llll
KEADlIl PKL~,Muu~,MFT,METOP,YL~T,XLONG,B~TD~
Ir lCHGl RtAOI5,2COl PROJ,MCOR,MET,MrTuP,YLAT,XLDhG,BuTOP20U tL~~AlI2~~t,2A~,2~1~,F5.21
wklTt IZI ~R~J,MO~K,MET,METDP,YLAT,XluNG,~UTUP
WRITElb,20l1 PkCJ,MuUR,1LAT,XLuNG,8LTDP,Mcl,MFTDP\I/~ITEI~"Oll PRuJ,l'luUi(,YLAT,lllI)NG,BrJTD~,MET,ME.TDP
1.01 FLKMATII16~,*PkuJECT:*.AIO,~X,*MUuklt\~:*,Alv,llb~ •• lAIITlJUt:*,+ A1v,~X,.LU~GITUUE:.,AIO,5X,+~OlrUM UtPTHI.,F6.Z,+ IIbX,*,.lTtIU*,A5,5X,*DEt'TH:+,A51
klAIHll 111Mf:~
11lMe~III"lTl"'E
lTIMl:SI2I a lDAYJ.TIME5131aIMO~TH
1 TlME~1 41-1 YEARWkIT~16,i021 ITIMt~,DFLMIN
w~lTf:I~,Z021 JTI"l:~.DELMiN
lREl .. 1ZLZ FU~MAll*O.,~.,+5TAKT TIMF:*,I~,~X,.O~11*,I3,~X,*MO~THz.,13,
+ ~A,.YEA~:*,I31Io~,.~AMPLf TIMtz*,Fb.ll
30
ccc
Wk!lEIZI ITIME),OtLMiN.kITEI~,10VOI
EuI1 A~D w~ITt uATA
IkEC-vI~CO ~UkMATI.!./9H ktC. NO.,4X,4HOATE,4X,4HTIMt,4X,bHU-VEL.,4X,
1bhV-vEl.,4~,~HSP~lO,4X,7HCOM~AS),5X,5HTEMP.,'A,5hCOND.,4X,
ZbhOEPlh ,3x,8HSAlINI1Y/24x,,6HC~/SEC,4X,6NCM/SEC,4X,bHC~/~EC,~X,
37HDEGREES"x,'H~t~.C,4X,7HMMHO/CM,3A,bHM~ltR~,4X,~HIPPTI/I
IFIN~KIP.t~.OI GO TO 104UU 103 1·1,~S~IP
103 kEAUlll lOLM,Tt~P
104 If LAG • 1300 ktAOI',1~11 Auv,~kEC1,TEMP
l~~ tOKMATIL1,15,bfl~.31
IfltOF,,1 3vl,1040301 NKl~l • 0
A~u • .fAlSf.1040 ItlADDI GO TO 3C2
kEAOlll ~kEC,ZN
IfIN~~C.bT.IMAXI GO TO 50~
IFIEGf,!1 'uO,lO~1
1041 IfllAb~l~kt~ll.Nt.NKlCI GC TO 310ItINKECl.lT.OI 30u,3uZ
~~2 Ju 10, I-l,bIv) ZNIII & TEMPll1
IFlAG = 2310 1~t~.I~EC+1
CALL b~TDAIElI0~y,1~UNTH,lYEAR,lTl~E,1,JtLMlh,l~tC,NOAIE,NTIMF,
C JuHRIU • ZN111. SINIZNI,I*Pl/lbO.1~ • ZNI~I* CUSIZ~I'I.Pl/leu.1
.w!Tt ~ll I~FOKMArlO~ ON TAPE9 ~hI~H IS ~OPIEO TO OUTPUT..KlTE(~,lv~ll l~lC,NOATE,NTIME,U,~,ZN
tuRMAT(!A,lo,ZX,Al~,'X,A4,~FI0.31
~WITl THE LA1F.,llME,U,V,TEMPLKAlvKE,PRcSSURl,CONDUCTIVITY,kt~~kU ~LMbt~,A~u SAL1~lTY ON TAPE2, lht CLEAN T4PE.
~k1TE121 ~DArE,NTIMt,U,V,ZNI31,ZNI'I'LNI~),!REC,ZNI61
bENERATt TnE JATA ~UMMAPY PRlhTOUI O~ LvTPUT.~ALL Su~ll IlNI31,lh(6),U,V,Z~151,JUhR,~R~L,lMAX,NDATEl
~U IG (lO~O,~O~) lFLAG?~~ ENG Fll~ 2
E~D
c
laClCC
C
31
~uBKOuT!ht GETDArEIIOAY.l~OhTH,JYEAK,IrIMt,lI~,DEL~IN,NOUT,~OATE,
+ NTIMt,JuHRIOlMENSI~~ MUNIIZI,NOAYIIZIUATA ~Uh 13HJA~,3HFE~,3HMAR,3HAPK,jH~AY,3HJU~,3HJUl,3HAUG,
1 3H~t~,3~CCT,3H~uV,3HDECI
D~TA hOAY 131,Z~,31,30,3l,30,31,3l,3v,3l,jO,311
C ADJUST FOK llAP YEAR~
1~IMODll~Ov+IYtAR,~I.EO.OINOAYl21 • 29C tAL~. l~Tt~VAl IN ~r~.,HQS., DAYS, AND MOS.
hMMluT • IN~UT-IIhl.O~l~!~
NhRTJT • hMMTOl/bONOYTuT • NHKTOJ/2~
hMMlT • ~MMIUT-NHKTOT.60
NHKLT • hH~TQT-NDYTCT.24
C ~ALC. JI~f Uf OtSlKtU DATA PT.i"HI • iT I MlIl.C.UNMZ • ITIMt: - NHl.lOvNM3 • N~2 + ~MMlT
IfINM3.lT.oOI G~ Te ~IC
N/"j ·N"3-f,Or.Hl • NHI + 1
110 NH2 • NHI + NHRLlIHNHZ.LT.Z41 GO Tu ~20
NH2 • NHZ-24NOYTOT • hDYTwT +1
920 NTJMEI • hH2.1U~ + NM3r. 'AlC. OATt OF OcSl~tu DATA PT.
IYl • lYtA~
r..I'lLJI\l· lI'[I\T~
NOI • IuAY + NOYlOT~bO Ifl~Dl.GT.hOAYlhMON!I) Q30,q40~30 NUL • Nul-NDAYI~MUhll
"~GNI - h/'GI\. + 1IrINMONl.bT.121 q~v,460
Q50 !Yl - IYI + I~DAYI" - .l::/jIfIMuDI190~+IY1,~I.EQ.OI hOAyl21 - ~9
. ~"QI~l - 1l~llYl.bE.lOul IVI • 06lJ TU '1(,(,
~40 NTIMtl. • NTIMtl + lO~OO
t:hC~Ufl~,!~~,hTI~l21 hTr~lI
1 u C: f l.K /'.A 1 I i ~ IOLC~ufl~,!(,j,NJIME21 DUM,~TIME
103 ~URMATIA!,A41
tNClJu[llO,llu,NCATt:1 ~Ol,MONINMC~ll,IYl
Ill. F~RMAIIIX,I"lX,A3,1),J21
C tuMPult JULIAh OATFJDAlt-OH INMuNI .<;(,1. 11 (,U TO ~(JI)
IM)tX-I'lMO~l-l
DL :'1,;0 J-l,INDDJUArE-JDAlf+NDAVlll
:)1,;0 CCNT 1'~\Jt:
JuAlt:-JU~Tl+NOl
JUHk-JDATl·!OU+Nh2I(UUf<NE: NO
32
~uB~OUIINE ~UMI1(Tf.M~,SALIN,U,V,DPTH,JDHK,N~tC,IMAX,NDATEI
UIME~SILN lS10RE(2,Z~I,STORE(4.Z51,~ALUEI71,H~IJTS(71,OYTOTSI71,
C .~TLTS(71,TOTAL~141
UAh J.CN1/IJ/VALUE (I l-ar1p~ALuE (2 I -SHINVALUt(31-~iGMATITEMP,5ALINI
IIALut(41-UVALUt(;I-\i\lALUElbl-S~~Tlu·u+V·VI
VALUE 17 I -OHHIt IICNT .<oT. 01 (,U Te ,0
INITIALIZE THE AkRAYS
AUIJ uP THE u~rA VALUFS
LuMtUIE ANU SrCk[ HOURLY AVLRA~E~
It I"uril': .I'<L. JOSAIII G<1 TO BOICNT-ICt-T+luL leo 1-.,7ri~TLTSlil-H~T(jI~(II+VALu~(11
IF INktC .M. IMAXI GO TO 1'19
lCNT-lJIJSAV-JDHRNuSt-V-NOATEIHK-l~AL-ID"Y-O
DO 10 1-1,7H~Tur~III-VALuEIII
UYTCT;dII-lJ.O.-",TLTSIII-v.v
10 CCNTINIJtuL 20 1-1,4DL .::0 J-l",
STW~tll,JI-Ci.O
IF I •• Lt. d I~TORfll,JI-()
~ LI... T I t-.u f-i'ikITElo,2()~OI
Gl. Tu e.,'1e.,
IHUu~-MCl.J(JU~AV.10ul+1
ULJ (vO 1-1,3srG~tll,lHGURI:HkluTS(II/ICNT
UAII(,-HkTLTSI41/1C~T
Ii A·~ G- H~ Tu I S I :> II 1CNTSTu" c I ,-, • H... U~ I - S '" k I I u AVG .0 Avr., +VAVy. II AIf ~ IISTURtll,lrlOURI="DSAVIST(kLIZ,IHLu~l-iutGSIHQTrTS(41,HPTLT~(~11
uL 2:>() l-,i"l0" rOT s I I ) =l) YIlJ 1 .:i I I 1+ 11 RT DT S ( I IH~TUTSlll=VALUEII)
Z,U CLNTl/'.utIH<=lh~+1(.t'-l
CCC
20
CCC
,0
1 uU
CCC
l~lJ
20u
33
CCC
11:NT-1JDSAV-JUhl(if IItiuUI< .LT. 24 .ANO. NI<EC .NE. IP4AX) GO TO If~q
COMPuTE DAllY AVERAuES AND WRITE SUMMA~Y
IliAY-IOAY+lDu juO 1-1,3
300 STUREIl,25)-uyTUTSll)/IHRUAVG-uYIUT~(4)/lHR
VA~G-uYTCT~(5)/IHR
SIO~EI4,2~)-~Q~TIUAVb·UAVG+VAVG.VAv~)
ISTOREl1,251-NOSAVISTU~EI,,2,)-IOtGSIDYTJT~14),DYTnT~15»
~~uAVG-uYT[T~lb)/lH~
O~AVG-uYT~T~(7)/iHR
UO 350 1-1,1.KTuT~(l)-w~TOT~ll)+DYTOT~II)
lJYTCT~II)-O.O
3~O CUI~TINljE
l~ INR~C .NE. i~AX) GU TO 450iND!:. Xl- I HOUR+luLJ 4uv 1-1,4DL 4eL J-l~UEXl,,4
STOPtll,J)-C.OIF II .LE. ~) lSTORElI,JI-O
400 CCNT 1r..uE4~1.l D.J ~OO 1-1,6
IN"l'\!-1·4-3It';uEX2-1·4.R1T!:.lb,200CI ll~TuREIl,K),ISTLKElJ,KI,J-1,4),lSTUREI2,K),
C ~-I",uEAl,I~DEA2)
20~O FL~MAT(41~X,15,,~~.1,Fu.2,F~.1,lX,13»
500 C(.NTlr..l"E• kiT E I u, , [) j, vlIS TOK t. ( 1 , ?- ~ ), 1ST UR F ( oJ, Z~ I , J a J. , 4 ), 1STeRE I Z, 2 j ) ,
C SPlJ~vG,DPAVG
2010 FuWMATI. ~Uk .,Alv,. Tt"P-.,F5.Z,. 5AL1NITY-.,C F~.2,. Sl~~AT-.,F5.Z,. NET ~pet~-.,r~.Z,. AT .,13,C • MtAr.. SPE~O-.,~7.2,. DFPTH-.,rb.Z/1
IVAL-IVAl+IHRNuSAV-NDA HIHf<-Ol~ I1DAY .IT. 7 .AND. N~F.C .Nt. IhAX) GO TO ~~q
cC CUMPUTE ANU wKITE 7 DAY MtANSC
Ulj ~50 1-1,35,u rLTAlS(II-_~TCTSII)/IVAl
UAVG-w~TuT~(41/!VAl
VAVG-.KIUTS(51/iVALTuTAL5l41-suKTluAV~·uAV~+VAVG·VAVGI
lUi~-luEGS(wKTOTSl~l,w~TOTSI5)1
SPOAVG-_KTLT~161/IVAl
uPAVG-w~TLTS(II/1VAl
wkiTtI6,20,OI IJAy,l rOTAlSIll,1-1,4),lD1K,~rDAVG,D~AVG2020 FuI<MATI*O ~UR .,!L,* DAYS TEMPc*,~b.2,. SAl!~ITY-.,
34
ccc
c f).Z,. SI~KAT-.,F5.2,. ~ET S~tEU-.,~'.2,. AT .,13,C • ~tA~ SPttD-.,~5.2,. DEPTh-.,fb.211~ l~kt~ .EU. IMA~) GO Tn qqq
.klTE PAGt HEADIN~ AND ~~T UP FOR ~c~T 7 UAY)
wRITElo"v30120j~ fORMATl.! .,~l. uAYH~ Tt~P SALI SlG~A SrEu uiR .)1
lOAY-lVAL-OOG buD 1-1,7
o~o wKluTSII)-~.O
~~9 ktTvR~
E~O
cC JUBkUuTl~t T~ CL~~~TL JIG~A-T
CCL - lJ-v.030)/l.oO,SuKT • - llTEMP-3.9bl ••7 I 503.)70). llTEM~+lb3.0)/lTEMP+67.~tl)
AT - TtM~ • l~./o67-v.0~bld5.TfMP + o.uO!vo43.TEMP •• 2) • 0.0018T - TE~~ • llo.03v-v.H164.Tt~P + v.wlb67.Tt~P •• Z) • 1.Ol-06Slbv - -v.06~ + 1.410o.~l - O.OOI57L*CL •• , + O.O~O~3qb.CL*.3
SlGMAT - JuMT + lSIG~ + u.1324).ll.v-AT+BT.lSIG~-O.ljZ4»
RlTvRNl~D
FuNCTIJN IDlGSlv,~)
PI-j.141~~Lb
~AuS·ATA~lIV,U)
11 lKAuS .bT. PI/~) PAOS-5 •• PI/2.-kACSIr lkAu5 .Le. O.u) kMOS-ABSlkAuS)+Pl/2.1~ lkAuS .L~. PI/2.) PAnS-Pl/2.-RM~)
l~tbS-l~l Il~ADS.10L./Pt)+.5)
KlTLk~
t~D
35
P~GGIHM LE WOP 73/7) OPT-I
PR OGRA" U: liiOP ( I~PU1, OUTPtlT, TA pr.l,~ APEZ, TAPE 3, 'UH4,• TAPE5- fNPUT, TAPE6-"lJTCl"~, TAD~qq I
cC UPEl - 2 H~ Fll TEII=!) II, V niTAC TlPEZ - ~C HM FILTF'Fn U, V OATAC TAP~3 - CLEAN TfMP,~AlJ~'TV,AND PRESSURE DATAC TAPElt - PVO AND SPErnAI INI="'''Ulmr F'O" FJL TE'C TAPE99 - CAL CPMP PLOT T6DI=C
READ (1.1 DunIf (EOF(lll 920,20
l~ ~EAD (21 ou~y
IF (EOF(211 q~',Z2
22 QfAO()1 PQOJ,MOOR,MET,MFTOP,VlAT,YlONG,~DTOP
IF (EOI=(311 930,2421t READ(ll (ITIMES(1,YI,I-t,4I,n ClT(11,OflAYl,CUTrFI=1
IH·AC(ZI (fTYI'lES(2,lltY-1,41,I) F lT(?I,CElAY2,CIITOFI=?REAO()I (YTIMES(3,II,1-,,41,~FlT('1
WQITF.(6,lC~CI PROJ,MOO~,Vl'T,~Ln~r.,enTnp,M~T,.FTDP
l~CO FOR~AT(.1.,~K,.PQOJECTI.,Al~,~•••MnORINGI.,A10,//I.,.lATITI+ 410,~X,.LONGJTUOFI.,Aln,~Y,.POTTOl'l "EPT~I.,F~.2,
+ //61,·I'lfTERI.,A~,~y,.nI=DTHI·,A~1
WrlITE(;r,,1C:nlIGv5 FORMAT(/////~X,.STARTI.,~y,.TT~r.,~.,.DAy.,~X••MnNT~.,~x,.
+5lf,.OELT.,~Il,·DfLAy.,5),.r.llTnFF.'
00 25 1-1,3.. p n E( '), 1010 I I, ( 1TJ HES( T,I I , J -1 , 41 , [l El l( I I
lGIO FORI'lAT(.~.,~Il,.TAPE.,tl.4(5Y"~1.4y,F6.ZI
IF (1 .to. 11 lrRITEU"lCl?Il' [lr-IAYI,CtlTOFF111= (I .EO. 21 WRITE(6,lC'O' nFl6Y?,CPTOFFZ
1020 Fn~MAT(.+.,5~X,2(5X.F5.?"
25 CO~TINUE
tNCOOf(ln,l(30,H~ADcRI ~nnD
1030 FDR~ATI.STATIONI•• AIOICALL S1MBnL(2.0,8.0"'l,4r'~ED.O.O,le,
cIllCJOE( 1I1,l(.40,HEADFR I PlH1JIv4' FrR~AT(.PQGJ~CTI.,AJ~'
CALL SYM~Ol(2.0,7.~,.21,HF,n~D,e.n.l~1
E~COOE( 1~.lC50,HEAO[R I Vt.A~
1,1,;50 F-('lPIUT(.LATITIJCE'.,ALOI~All 3Y~~Ol(Z.C,7.~,.21.HFA~~Q,~.~,10)
~NCQOEI20,1~bO.HEADERI .L~~~
106v FO~~AT(.LONC,lTUOEI.,llul
CALL SYM~OL(Z.O,6.5,.ZI.HFIDEQ.~.n,201
~~r.ODE(19,1C7u,HEADfRI .~TnD
lv7~ I=OR-AT(.OtPTHI.,Fb.2,. ~F~c'~.1
cC<:C
~I~ENSION ITtMES(3,ltl,Ol=lT(~I,!PI=r.TRA(~21
COMMON IH Zlte I, V(Zlte I, lid 2401 ,ll~rAl ~, VSCAULOGICAL EN~l,ENn2,E~03,~N~4,TIMF"TPLT,SPlT,PPlT
DATA ~N01,EN02,ENn3,END4/.Fll~~.,.FALSE.,.FAL~E.,.I=AL~~./
DATA TTMEI/.TRUE./CAll PLOTSCAll PlaT(~.O,l.a,-31
~EAD T'Pe HtADING TNFO'MATTnN AND~~lTE 'T O~ O~TPUT ANn TAPI=Qq
36
P~OGRA" LEliIOP 73/73 OPT-l ~TN 4.'5+410
l08<l
1090
CCCC
2000
3(1
32lOIC.
34CCC
B020
8030
8040
CALL SVM80LI2.0,6.0,.?l,~~,n~Q,~.a.1Q)
ENCODEIll,1~80,HEADER) ~FT
FORMATI.METER'.,"~
CALL SYMBaLIZ.0,5.0,.Zl,~EAOE~.0.0.11)
E~COOEIl8,lt9Q,HEAOER) "fTnp~aR~ATI.OEPTH'.,A',. MF.TFQ~.)
CALL SYMBOLI2.0,4.',.ZI,~E&nEP,".O.18)
RElD P~D lARELING ANn ~nNTD~L JNFOR~&TI~N
FRaM UP E~ AND INPUT.
REAOI5,l~Ou) TLOW,Slnw,PANr.E,TPlT,~PLT.PPlT
FOPMAT(3F5.0.3l1)IF I~OF(5» 910,30~fAD I~) U~!N,VMIN,~ANGF?UV&P.VVA~.P"EA~
IF IEOF(4» ~~C,34
READ 15,Z010) U~I~,~MJN.DANGF"UVAQ,VVAP,PMFAN
FOil "'AT I f:lF ';.?)IF (fI)FI~» Q6t,34IF IRAN(jf .L T. PANGEZ) QA~GF_oA~GF'
wRITE "'fAN PNESSURF, 'I, A~n V I/UIANCEC\ ON TAPFQQ
f~CODEI21,dtZ~,PRESS) PMFANFORMATI.MEAN PQESSURE,.,F~.',. M~TFRS.)
CALL ~YM~OL(Z.O,4.0,.Zl,PQF~~.~.O"7)
f~CODE (17,~~3u,I/AR) UI/ADFn~MATI·U-WA~('NCE,·,F~.l)
CALL SV~8aL('.0,2.0,.21,IIAQ,0.r..17)
tNCODE Il7.f040,VAR) ~VAO
FORMATI.\I-\/ARIl~CE,·,F6.1)
CALL SVM~OL(2.~,1.~,.Zl,VAQ,O.~.17)
IF (END4) GO TO 5~
CC ~E.b.D SPHUA INFOP"ATTON ANn DLOT nC
RtAD ( 4) (SPECT~A(J),I-l,~')
CALL SPECPLTISPFCTAA,YLAT)r.c MAKE PVO PlaT AND lAqEl VFQTr"AL AllISc
50 CALL PlfOPl TIDEL TIl) ,IUNGF.tJ"'TN,V""N)be.. CALL LAREL(~.C,q.75,TlOW,SLnw)
c:CC
cCC(
STHR-INTIITIMESI3,1)/Ior.)5T~J~-~OO(ITTMESI3,1),1~r)'~,.
STPOS-ISTHR+ST~JN)/24.
W~ITF.(Q,QCQ~) ST~N,ST~IN,~TD~~
90QQ FORMAT(?x,.~THR-.,~~.2,.~T~T~_.,~~.~,. STPOS-.,~~.~)
PO CALL PLOTI}C.O,L.',-3)CALL ORl~'X(ITI~ES)
kEAO FPa~ TAPEl TH~ U a~n II 'O~AYS
T"IiN PllJT lHF.'"
37
'ROGR A" LE "", 13I7J OPT-I
l~ CEND1) GO TO 10'DO 90 l-l,24ijREAD (11 UCI)#VCll1~ ( EOF C1I I 9', 90
90 CONTINUEGO TO 1~"q, E"01-. TltUE.l~ (I .EQ. 1) Gf TO 1~5
100 IitPT~-I-\
W_ITf (6,'0041 N'T~
9~04 FOIMAT C. lED U AND V A'~AY~. NPT!-.,t~)
USCAU-<l.01UV5CAlE-0.OIU.~-5TPO!·CDflAY1-1.)/Z4.
11-.0+1./24.I~ C.N~T. TIME1) GO TO 1npU5AV-U(1)vSAV-YUIrl)-x1 .
lOi CAll 'laTe"CN.TS,6.ti7~.~,~~~,"~6V,V~A~,n.O,lo.Jl,TDlT,~·lt
U~AV-UCNPTS)
VSAY-YC NPn)CCC
RfAD CUR'ENT STICM ~ATA C'OM T'P~l '~D PLnT TT
10' IF CfNOZ) G( TO 115DO ll~ I-l,4\)leAO CZI UCIJ,VCI)t F IE OF C21 lIB, 11U
HO cnNTI .. lJEGO TO lZO
115 EN[)Z-.nUE.J~ CI .EQ. 11 GO TO lZ~
HO NPTS-I-l~QJTe C~.'~L61 ~'TS
9006 FORMAT C. RfD STICM OlT" ~PT~-.,J')
USCALE-O.OZ5Y~CHE-".o25x)-STPO$+OflAvt/24.YO-4.31,rall ~TKPlT(NPTS,x~.Yo,nFlT('11
C( llF.-AO TF"'PEIUTIJIl[, "o~"lJrTT"'TY. ANI) P'ESSUlj=C FROM laPEl STlJfllNG "NL'If Io4n"'l'lf VAlUE S THF~ PLOT THF"'.C
125 IF (EN~l) GO TO 200~SKIP-61/1NT(OElT(!)1
~fAD(3) NOA1E,NTl.E,UL.VV.T~MD,D'C~S,COND,IReC,~jlTh
IF CEOF(]1t 145,130130 DO I~O 1-1.Z~u
lJ C1 ) -TEMP-Tl 011IIVCl)-~'lI"-~lO"W(I)-PltESS-P"'EANDO H" J-l.NSI(IPREAOCl) NC"E,NTIMf,UU#VV.TF~D,D'f~5,C~~r"I'eC.~Alt~
I~ (E~~C3)) 145,140H(, CO.. TI ~Uf:
38
-- - --- --- ------
PROGIlUI LEWDP 73173 ~TN 4.5+410
Gfl TO 150Ilt5 fIf03-.TRUE.
I~ (I .EQ. 1) GO TO ZU{150 NPTS-I-l.
WRITE(6,q~08) ~PTS,~S~IP
9~'8 FOP"AT(. ~tD TEMP AND c~~n, NDT~-.,I~,5W,.N~WID_ •• I~'
lJSCALE-O.IZ5VI;CALE-u.lZ5J(O-STP01-l./ZIt.n- STPO<iIF (.NOT. TJI'4E1' GO TO 15115TSAV-U(l)SIIiAY-Y(l)PI;AI/-"'(1)XI)-)(1
155 CALL PLOTE~(NPTS,2.75,1.~,T~'V,~~AV.PSAY,)(C.)(J.TPlT.~DlT.P
TSAY-U(NPTS)o;~AY-II(NPTS)
PSA v-we NPTS)2vQ IF (ENn1 .AND. F~DZ .Ahr. ~Nn" r,,, Tn ADO
I~ (TIMEI) TII'4~I-.~ALSE.
GO TO RI'
cC AFTE~ ALL DATA HAS ~E~~ °l"TTTF.~
C DRAw FINAL YAXIS, lAqFl TT, A~O o;TOPC
8,,(. Y-l.!!DO A20 I-l,t;00 810 J-l.7CALL Pl~T(q.Q375.y,3)
CAll Pl'lTlll .u6?5,Y,Z)Y-Y+O.125
810 cnNTINlJEY-"+\j.~115
820 CONTINUfX-1"'.0CAll PlnT(X,q.lZ~,3)
CALL PLOT(X,d.875,2)Y-8.~
on 830 I-I,tCAll PVJT(l(,v.'HY-Y-.75CALL I'lr]l(w,y,;nY-Y-.5
f\30 C(lNTINUI:CAll PLaT(J(,~.875,3)
CAll PlOT(W,O.625,Z)OAY-FlOAT(ITIMES(3,Z»CAll NU~~~Q(lu.~,o.315,.'4.nAy.o.n.-l)
CAll lAAEl(10.5,10.1,Tlnw,~lnw,
GJ TO QQQQIC w~ITE (6.Qul0)
901~ ~O~~AT (.~ •• 5X,.INPUT DATA rAPn "T~~ING. T~Y AGAI~ •• )G( TO qqr,
QZv WRIT~ (~,Q~ZJ)
<;IOlO FORMAT (.U.,5)(,.TAPEI I~ INr.O~PlcTc. TQY AGAIN •• )GO TO qqC
39
ItROGI<AM LEwDP 13113 (1PT-1
93C ~~ITE C6,~030)
9030 FOP~AT C.O.,5.,.TAPE~ I~ T~r.n~PLETE. T~Y AGAIN •• 'GO TO 99u
Q.~ W~lT~ Cb,904~)
9040 FOP"_TC.O.,~X,.lAPEZ I~ T~CO~PL~TE. T~Y AGAIN •• )GO TO qqij
950 WDITEC6,q~5r)
9050 F~R"ATC.0.,5X,.~0 ~P~CTR' PLOT. MT~~TNG TAPF4 •• )FHC4-.TRUE.GO TO ::t2
QbJ wDITEC~.QObO)
90bO FO~~ATC.t.,~.,.NO PvO PinT. ~T~~T~r. PVO INFOR~ATTr~ •• )PMEAN-O.OPPL r-.FALSE.
GO Tn bOQQ(J DU~p-u.o
C_LL PLOTC~.w,~.~,9qq)
DlIMP-l/'lU"'PqQQ CALL PLaTczc.O,-1.~,-1)
CALL PLOTCO.O.O.O.QQq)~TO'pm
40
------ ----- ---------
SUBROUTINE DRAWAX 13173
CCC
SUBROUTINE DRA~A.(lTIMF~)
OIMEN~tnN NOAV(lz),MaNTH(I,),TTTM~~(3,4)
OAT' NOAY/3l,2e,31,30,31,30,31,~1.~O,3l,30,3ll
OAT A MO"TH/3HJUh 3HFER,::\H"AR, ~H6PI, 3H"lY, lHJUN, 3HJUI ,S 3HAUG,~HSEP,!H~CT,1~~nV,3HOfCI
IF(lTIMES(3,4) .GT. 1QQO) tTTMF~(3,4t-ITI"E~(3,4)-1010
tF(MOO(tTtMfS(3,4).lQ~O,4) .FO. n) NOAY(Z)-?9
ORA. T~E BOTTOM TINf lt~F
CALL PlaT(O.O •• 75.])x-U.. oCAll PlOT(X,.75,Z)00 20 I-I,IC00 1(, J-l,3X-X-(,.Z5CALL 'laT(X,.~175,1)
CALL PLOT(X,.6R75.2)10 CONTINUE
.-X-li.Z5CAll PLaT(X,o.a75,))CALL PLOT(X,J.6Z5,Z)
20 CO~TINUE
cC lABEL LOWER TIME AYTSC
zot OAY-Fl~Al(lTIMES(3,Z))
'" ON - IT I'" ES ( :\, '] )YEAO-FlOAT(ITI"FS(3,4))CALL HUMBtk(~.C,~.375,.14,nAv,o.".-1)
CAll SYMROL(~.O,~.IZ5,.14,~nNTH("~N),~.O,3)
rAll NUM8ER(~.o,-.1?5,.14,YEA•• n.n.-l)00 3QO 1-1,10X-FLOAT( I)OAY-n'Y+l.~
TF (DAY .LE. NOAY("'ON)) <;n Tn zq"DAY-l.O"'ON-~ON.l
IF (MON .Lf. 12) GQ TO 1~"
MON-1YEA~-YElll·1.u
IYP-I~T(Yf'.)
IF("O~(IYR+lq~~,4) .Fa. ~) NnAY(1)-ZQZ6~ IF (I .EQ. lY) GO TO 300
CALL ~UM~~R(.,-.1~5,.14,V~'.,O.O.-I)
CALL ~Y~BOL(.,O.125,.]4,~~NTH(M"N).O.u,3)
Zfl( IF (1 .Ea. ]0) r,0 TO 301'1CAll ~UMREO(W,~.37),.1.,nAY,O.",-I)
30(\ COp."TfMJEITIMeS(],Z)-lNT(OAY)ITJME~( 3,3)-"'O~
ITJMF.S(3,4)·IN1(YEAO)cC C~AW CON~UCTIVITV .YT~
CCALL PLnl(~.~,Z.Z5,~)
CALL PLOT(O.u.l.5,Z)
41
5U~ROU1INE D'A~AX 73173 FTN 4.l!l+410
CAll PlIlTClO.O,1.5,lJCC DRAW TEMPERATURE Ayre: ANI) ~CAlE
CCAll PlOTC!C.0,Z.75,3)CAll PlOlCO.O,2.75,Z)CAll PlOlCO.O.3.5,lJ
CC DRAW C~RREHT AWlSC
CAll PlOlC 0 .0, It .0, 3)CAll PlOTCO.O,It.75,2)CAll PlOTCO.O,4.315,3)CAll PlOTCIC.0,1t.315,Z)
CC DRAW V THEN U A~IS
CCAll PlOTCI0.0,5.625,!)Call PlOTCO.O,5.6Z5,ZlCAll PlOTCO.O,'.Z5,3)CAll PlIlTCO.O.b.O,Z)CAll PlIJT(\I.o,6.',3)CAll PlOTlO.O,7.Z5,Z)CAll PlOTCO.t,6.875,3)CAll PlOTC1(.U,6.~75,Z)
CC DRAW wllilIn HISc
CAll PlOTClt.o,8.12~,3)
CAll PlQTCO.Q,8.125,Z)CUl PlnTCG.',7.7~,3)
CAll PLIlTCO.fI,fl.',Z)Cr. O~AW Trp Tt~E lIN~
Cx-u .0CAlL PlOTC".O,Q.~,3)
CAll PlOTCX,Q.t,2)0('1 '0 1-1,11'00 40 J-l,3'-"-G.25CALL PlOTcx,i.OtZ',~l
CALL Pl~Tt.,8.9375,2)
ltO CONTI~UE
,-W-0.25CALL PlOTCr,Q.1Z5,3)CAll Pl~TCX,8.875,2)
50 CONTI~UE
(
C PUT TICK MUl(!I ON V~OT trAL AI'SC
Y-1.5DO 70 1-1,6DO eC J-l,7CAll PlOTC-t.~f?'.Y,~)
CAll PlnTCO.Cb2~.Y,Z)
Y-Y+O.IZ't.1J cnNT! NilE
Y-Y+O.371J7" CONTINUE
·ETU....ftliO
42
SUR~OUTl~E LAREl 71173
SURROUT (NE lA"El ClCSyH, llNIJ",q. Tl('lW, SLOW I
FTN 4.5+410
Cr.C
WRITE lA8ElS FOR V~QTT~6l AYT~
lCl-llSY'1llZ-).SYH+.25X3-YSYH+.363EhCODEC31,Z~Cl,LAR)
ZOC1 FOJi~&TC *SALINITY TPIP ~IJQQfNT*1
CAll SY"RalClll,1.45,.lZ6.lAq.Qn.n.~1)
CALL SYH~OLClCZ,4.1Z~,.~,lQ,~.O.-1)
C4lL SYH8~lClC3,4.655,.1~6,1~N.O.O,t)
[~CODEC33,ZOC2,LAR)
ZGOZ FORHATC*SOUTH-NORTH wf~T-f.~T PQE5~UPE*)
CALL SYHROLClCl,5.1~,.!Z~.L,q.Q~.O,~3)
00 lCJU I'l,fGO TO CIO,2C.~O,40,50,60) T
Ie Y-e.5FPII/A·3.'\FPNlhl.OI£'EC'-lGO TO 7u
20 Y-7.Z5FP~A·31J.(
FPN!3-1u."GO TO 70
30 y-~.Ij
r,n TO 7.1't(J Y_4. 75
FPNA-15.0FPNfl· '5.l1GI] TO 1'1
~o Y-3.'FPN A. TLlJw +6. \)FP,,"A·l.()GO TO N
60 Y·2.75FD""-SLOw+6.':·FPNp·l.tJ
7(, I'll) 100 J-I,7lCNUM'FPNA-FPN~·(J-l)
IF II .IT. ~ • At-.I). J .GT. 4' YNIlH_-lCNUliI~'LL NIJHAFIl(lCNl;M8,y,.07,lt'~"",.".:",TI')E~)
y .. Y-c. t25lao CONTTNUf
"''lIlE Cf,.'iur~)
QCt~ Fnp~AT C••~OTE LA~EL~.I
IlfTUIlN~NO
43
SU••OUTINE SPECPlT 13/7] FTN 4.5+410
SU"OUTINt SPECPlTf$PECT,a,YtAT'DI~fNSIOh S'ecTRaf'2),onT~f1)
PI-J.HU9UCAll Pl~Tf9.0,O.0,-3)
ENCODEf12,10l0,lA8El)1010 FOR"A'flZHLDG (c"/sec))
CALL SY"8CLfO.5,4.5,u.14,ta~Fl.OG.O.11'
Cill NU"8ERfO.4,5.915,.~P4,2.0,90.~,-I)
fNCOOEfl0,1CZO,lA8El)lelO FOR"ATf.CYClES/oay.)
CALL SY"laLf4",l.0,~.14,L'~Fl,~.O,lU)
tC ORAW aND lABEL AOXr.
call RecTfl.o,1.5,7.o,s.O,n.n,3)Y-l.431YNU"--!on I\) 1'1,8Cill NU"AfRf.615,V,.11Z,VNUM,O.O,-1)'-Y+.Ub3CAll PlOTf.9,Y,I)caLL 'lOTfl.l,Y,Z)IF fl .EQ. fJ GO TO 10Y·Y•• 'CALL PlOTf.95,Y,))call PlOTf1.05,Y,I)y-y.. ~37YHU"-YNUM+I
I') CONTINUEX-O.oDO 20 I'l,Q1I'- x.t ••)CAll PlOTf.,a.6,))CAll PlOTfx.a.It,2)IF (J .EO. cU GO TO 2500 ZO J·t,5XZ-).+J/6.CAll PlOTfxZ,8.55,])Cill PlOTfX7.d.4;,Z)
Zr. CO'HINUE25 Y·9.(
00 30 1'1,8Y·Y-.5call PLOTf~.9,y,3)
CALL PlOTI9.1,Y,Z)IF fl .EO. ~) GO TO "Y.Y-.~
calL PlOTf8.~',Y,3)
Cill PlOTf9.0S,Y,Z)3~ cnhTIHUE
."U/lll·4.AOlf·t.Z11'1(.. 000 itO I'1,Q)l.x-l.ucall PlOTfl,1.6,3)call PLOTex,1.It,l)
44
SUBROUTI~k SPECPlT 71173
I~ Cl .EQ.QI GO TO 50CAll NUI'1 BE RCX- .15, 1. Z5, • 11". XN "III, n. 0,11I~ Cl .EQ. ~I 0W-.4llNU~-XNU"'-Oll
00 ..0 J-lI~
XZ-X-Jlb.OCAll Pl~TCX;,I.~5,31
CAll PlDlIX2,1.45,ZI40 CO~TI NUE5C CAll ~UMBfAI.8'.1.2~,.1'l.~.r.f.~.11
CC PLOT THE SPECTRAC
llO-1.0+1.1)/1Z.01-SPFCTAAC11+4.5CAll PlOTCXL,y.~1
CAll PlOTCllC.Y,ZI00 lOO 1-l..47X-.0+1I6.0Y-SPECTRACll+... !CAll PlOTCX,Y,11Y-SPtCTRACT+11+4.5CAll Pl~TCll,Y,11
lCO CONTINUECAll PlOTCQ.O,Y,11
CC DRA~ DIURNAL. SEMI"TIIONAl. AN'" lNfOTUl LJNF<iC
cCC
X-l.0+15.0/':.0CAll PlnTCx,1.~,31
CALL DASHP1CX,8.5,.21X-)'-.05CALL SY"~OLCy,8.~~,.!12,~l,n.1,-"
.-l..O+ZQ.OIt.OCALL PLQT(X,~.5,31
CALL OASHPTIY,I.5 •• 2)X-X-.O~
CALL SY"RQLCx.~.6~,.111.6~.n.~.-1)
OFCOOlClo.ltlO,YlATI DEr~.Y~TN~
l~30 FOR""TCFZ.U,lX,FS.2)YMINS-YMINS/~o.n
DfGS-DEGc;+YMINc;I~EA1-INTC3(.·~INCOtGS·DT/tR".)+.~1
~OlT~C~,6~Or) I~EPT
~O~~ ~OR"'ATC5X •• JN~RTIAL FQFO- •• T~l
IF CINF.AT .LT. C .OR. TNEOT .r-T. 48) GO T1 qOnX-l.()+I~EIH/6.0
CALL PL1TCX,l.~,31
CALL DASHPTCll,B.".211I'-X-.05CALL ~Y"R~LCX,A.65,.11Z.~~.n,~,-"
DRA~ l~ CC~FIOfNCE TNTFQUALc; ANn THF 1.4 LT~F
X-l.500 15C t-1.,Io,2Y!-7.~+~PFCTMAC4~+11
45
SUBROUTINE SPECPlT 73173 FT'" 4.1)+410
YZ-7.5+SPECT~'(~9+I)
C'll PlOTCX-.u5,Yl,')C'Ll PlOTlX+.O',Yl,Z)C'Ll PlOTC.,Yl.3)C'LL PlOTCW,7.,.2)C'll SYM~OlCr-.~2,7.4A,.07,74,O.n,-1)
C'll PL~Tcr.7.5,3)
CAll PlOrCX,Y2,2)C'll PL~TCX-.05,Y2,3)
CALL PlOTC.+.u~,Yl,l)
Y-YZ+.05C'll ~U~eE'CX-.l~"Y,.OP4.~~.O.O.ft,-1)
CAll SY~BOLCX+.~75,y,.OP4",.~.n.-1)
X-8.'150 CONTINUE
E~CODf(3C,er20,nOTS)
8~ZG FORM.TC1C10H •••••••••• ),C'll SYM80L(7.05,1.43,.,q,nnT~,qo.ft,30)
GO TO qqQQUO wRITEC6,QQOC)
qOOO FORM'TC5X,.INTE~Ul f:ltfOIJF~eY OllT nF 'lOY •• )C;QQ HTUR'"
END
46
SUA~OUTINE PVDPLT
CCC
SURROUTINE PVDPLTIDEL"JN,~&N~~,U~rN,VMINt
Dl~ENSION ORIFl3tPI-l.1415QZ6STOT-G.OlCNT-O
C&LCULATE PVO SCALF ANn TNr.~EMENT5
CALL PLOTI12.u,t.C,-3tJTE"P-INTIR'~GE/7.0t
00 10 I-I,lOITE ~P - ITE~ P +1I1EST-"OOIITEMP,1~t
IF IIHH .EO. Ot GO Tn 41'10 C(1110 TJ NUE4u DX-FLO&TIITE~Pt
l'VSCHE-l.Ir'l(C( D~A_ arw '~D LABEL TTC
CALL AXISlu.O,1.5,lCHKIL(1MFTFO~.-10,7.0,o.o,o.r,~~t
CALL 'XISIO.~,1.~,lrHKrlnMETF~S,10,7.0,qC.O,O.~.o~t
CALL PLnTlO.o,B.5.3tCALL PLaTI7.Q,8.~,2t
CALL PLUTI7.0,1.5,ltCC SET PEN TO ST'~T po~rTr~N TH~~ PLOT.C
X-I'ASIU~l~t+'.t.UVSCALF
Y-1.~+IIARSIV"1~t+~.~t.UVSCAlFt
CALL Pl~TIX,Y,3t
CAll SY~POlIX,Y,.C9b,4f,~.~.-'tXSTUlT- ..YSf AliT- Y
100 REAOIl» lI,VI~ IEO~IUt 15(;,110
l~C X-X+IU.DEL~IN.~.~OCtt.UV~CAL~
Y-Y+lv.nEL"IN·C.OO~~t·UV~r.&lE
CAll PLOTIX,Y,lt~TOT-STOT+SCRTIU.U+V.Vt
t~NT-IC"'T+1
GO TO 100CC CALCULATE ~ET D~I~T ANn OANr,~ IN O'Y~
Cl~O CALL SYMAOLIX,y,.~qF.,!3,~.~,-lt
llSlOP-XY~TOP-Y
XIIANGE-XSTOP-XSTARTYI1ANGE-YSTOP-YSTARTRADS-ATAN2IYR'NGE,XPANG~1
IF IQAOS .GT. PJ/2t PAD~-5.DT'Z-RAns
I~ I~An, .lE. o.al PAOS-'RSIR,n~t+DI/Z
IF IRAns .IF. PI/?I RACS-Dt,'-OAn~
InEGS-INTI~ADS·180./PIt
wANG~-~~RT')I1ANGE·X~AI\oG~+Y~&Nr,~.YI1'Nr.~t
CNT-Fl'lATIICNTt
47
SU8KOUTINE PVOPLT 73/13 OPT-1
CCC
DAYS-CNTlllt.OSF.CS-CNT*3M;O.C~S-~ANGf*l~O(OC./LVSCAL~
ORII=T-CMS/SfCSSi'1~U.. - STOT Irr04TfNCOOECZ6,8{lO,DAY) DAY~
~OlO FO~"ATC.~eCr.RD LENGTHI.,~7.~,. nAv~.)
CALL SY~BaLC-lq.u.3.~,.'1,~AY.~.O,'-6)
ENcnDEC30,~(ZC,~QI~) ORT~T,tnFr,~
~~20 FnRMATC*NET DRIFTI.,F6.". r.~/~~~, .,l],. T*)CALL SY180LC-l~.v,3.~,.?1,n'T~,~.O.30)
CALL SYM80LC-13.q5,3.1Q••n7,~4,~.~.-1)ENCOOEC21t,~~Z5,~EAN) ~MFA~
8025 FORi'1ATC.~EAN ~P~tOI.,F~.?,. ~~/~cC.)
CALL SYMROLC-lq.O,Z.~,.Z"M~A~,~.~,14)
l:lE\;l~O 1IlEAD (1) DIJ"'YRfAD (1) ou~'t
RE1UlllllFNO
48
SURROUTINE PlOTE~ 73/73
CCC
ccC
rcc
SUBROUTIN~ PLOTE~(NPT~,VT"D,VR~T,ln,VU,wt,wO,Wl,TDlT,~PLT,
CO~~ON U(240),V(Z40),W('4~),U~rAL~.V~CALE
L~GICAL TPLT,SPlT,PPLT
PLOT THE U A~RAV ~RnM lF~T T~ ATGHT
J~ (VTOP .LT. 3.0 .ANO•• ~OT. TPlT) GO TO 60V-VTOP+IJO*USCALECALL PL01(V~,V,3)
V-VTOP+U(l)·U~CALE
CALL PL~T(Xl,Y,Z)
00 H. I-Z,NPTSw-W!+(1'-l )/24.CJV-VTOP+U(l)*USCALEI~ (V .IT. 1.Z5) GO Tp ?~
CALL PLOTeW,V,Z)10 CONTI NilE
1;0 TO 6'"20 )(-n+I/Z4."
V-VTOP+Ull+)·USCALEJ~ (V .Ll. 2.Z') Y-'.7~
rUL 'lOTD,V,])I;n TO In
t-() If CYBnT .LT. 2.0 .ANO ••NnT. ~Pl" GO Tn lOCV-V~OT+~(NPT~)*VSCALE
CALL PL010,V,3)CAU PL'1T(X,V,Z)on 74"' I-Z.NPT')V-kl+(NPTS-I)/Z4.0IV-NPTS-( 1-1)V-~80T+V(IV)·VSCAlE
jF (V .LT. 1.25) GO TO Rr.CALL PLOTO,V,Z)
70 CONTINUEV-VROT+VO*VSCALFCALL PLaTIV~,V,l)
(,U TO 1110~~ )(-Xl+(NPT')-1-1)/24.~
V-ypnT+V(IV-l)*VSCALEIF (Y .LT. 1.25) V-l.5CHL PLOTe)',V,~)
Gr TO 70
PLOT T"'~ If &IlIUY
lv~ IF (VTnp .GT. ~.O .OR•• ~nT. PPlT) GO TO QqqV-~.125+~(*f.1Z~
~ALl PLnl()(~,V,3)
Y·F.IZ~+w(l)*O.125
CALL PLnT(X],V,2)00 lilO r-~,~PTC;
hll1+(I-l)/2".~
Y·8.A?~+.(t)*~.lZ~
IF (V .GT. 6.75 .OP. V .LT.7.~) Gn TO 14C
49
SUB~OUTINE PlnT~M 73171
CALL PLOTCX,Y,Z)lZU CONTI"UE
GO TO qqq140 x-II1+1/24.0
y-~.lZ5+~CI+l)·~.]2~
I~ CY .GT. P.7' .OR. y .LT. 7.~) ~-A.125
CALL PlOTCX,Y,3)GO TO 12~
qqq ~ HUll NEflfO
SU8RUUT!~e STKPlT 73/73 ~TN 4.5+411)
SU8~QUTI~E STKPITCNPTS,xn,vn,nFlT)cnfll"'OH UC1:.(),1t(240)''''('40),lJC:(,AL~,VC:CllF
IIlEN-OElT/144U.00 Iv I-l,NPTSltC-XO+XLENCALL Pl~TCXt,YC,!)
Xl-XO+UCT)·USCALEYI-YC+~Cl)·~SCAlE
CALL PLnTCXl,Yl,2)10 CO~TINIIE
~ FfUR'"e"o
50 lJ!OOII. • FJU.