/[MITgcm]/MITgcm_contrib/osse/EnKF/ranmean2.F
ViewVC logotype

Contents of /MITgcm_contrib/osse/EnKF/ranmean2.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed May 19 15:43:11 2004 UTC (21 years, 2 months ago) by afe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
o refining osse setup

1 subroutine ranmean2(xens,ave,n,nens)
2
3 implicit none
4
5 real*8, intent(in) :: xens(n,nens)
6 real*8, intent(out) :: ave(n)
7 real*8 rnens
8 integer i, nens, n
9
10 rnens=nens
11 ave(:)=xens(:,1)
12 do i=2,nens
13 ave(:)=ave(:)+xens(:,i)
14 enddo
15 ave=(1./(rnens))*ave
16 end subroutine ranmean2
17

  ViewVC Help
Powered by ViewVC 1.1.22