next up previous
Next: tubulence.F Up: The Proudman Oceanographic Laboratory Previous: tidbndrp2.F

Subsections


tidmeanout.F


subroutine tidemeanout

Description

This routine provides daily means by carrying out a 25 hour average of currents, temperature, salinity, turbulence parameters and depth-mean fluxes

Subroutine Arguments

lu1,lu2,lu3 Logical units for output from routine

Local variables

itimttime in integer seconds
ntimttime in seconds remaining after integer hours
navtmtime in seconds remaining after integer days
itimt4=itimt

Logical units

lu1logical unit for output of average u, v, temperature and salinity
lu2logical unit for output of turbulence parameters
lu3logical unit for output of depth-mean fluxes

Order of Things

  1. On very first call zero the storeage arrays
  2. Set storeage arrays to initial values
  3. Calculate Depth Mean fluxes
  4. For integer hours sum depth mean fluxes into storeage
  5. Sum u,v,s,t and turbulence parameters into storage arrays
  6. At integer days take 25 hour mean and write to output files
  7. Reinitialise storage arrays with present data set which becomes first data set in next 25 hour averaging.

Calls

out3dcompu
out3dcomp
out3d
out2d

Called By

data_out

Options - Logical

Options - Compiler

COMPOUT compressed output

Known Issues

none


next up previous
Next: tubulence.F Up: The Proudman Oceanographic Laboratory Previous: tidbndrp2.F
The AMMP Project 2005-04-20