35 real(kind=kind(1.0d0)),
allocatable,
dimension(:) :: xb
37 real(kind=kind(1.0d0)),
allocatable,
dimension(:,:) :: x0
41 real(kind=kind(1.0d0)),
allocatable,
dimension(:,:) :: xt
45 use sizes, only : state_dim
46 use comms, only : cnt,nens,pfrank
48 allocate(xb(state_dim))
49 if(pfrank .ne. 0)
then
50 allocate(x0(state_dim,cnt))
51 allocate(xt(state_dim,cnt))
53 allocate(x0(state_dim,cnt-1))
55 allocate(xt(state_dim,cnt))
63 real(kind=kind(1.0d0)),
dimension(3) :: tempxb
65 print*,
'READ xb from file not implemented'
71 call
bhalf(1,tempxb,xb)
72 print*,
'background guess pert = '
75 xb = xb + (/-3.12346395, -3.12529803, 20.69823159/)
76 print*,
'background guess xb = '
90 use comms, only : cnt,pfrank
92 real(kind=kind(1.0d0)),
allocatable,
dimension(:,:) :: tempx0
94 if(pfrank .ne. 0)
then
96 print*,
'READ FROM FILE NOT IMPLEMENTED'
98 allocate(tempx0(state_dim,cnt))
101 call
bhalf(cnt,tempx0,x0)
108 print*,
'READ FROM FILE NOT IMPLEMENTED'
110 allocate(tempx0(state_dim,cnt-1))
113 call
bhalf(cnt-1,tempx0,x0)
119 print*,
'read_ensemble_perturbation_matrix'
121 print*,
'read_ensemble_perturbation_matrix'
122 print*,
'x0(1,3) = ',x0(1,3)
123 print*,
'x0(3,2) = ',x0(3,2)
subroutine normalrandomnumbers2d(mean, stdev, n, k, phi)
generate two dimensional Normal random numbers
subroutine bhalf(nrhs, x, bx)
subroutine to take a full state vector x and return in state space.
Module containing EMPIRE coupling data.
module holding data specific for 4denvar, not var itself. this is necessary because of the difference...
subroutine read_ensemble_perturbation_matrix
subroutine to read in the ensemble perturbation matrix
Module that stores the dimension of observation and state spaces.
subroutine normalrandomnumbers1d(mean, stdev, n, phi)
generate one dimension of Normal random numbers
subroutine deallocate4denvardata
subroutine allocate4denvardata
subroutine read_background_term()
subroutine to read xb from file