-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparam.f90
29 lines (15 loc) · 810 Bytes
/
param.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module param
implicit none
character(len=*),parameter :: file_in = "in.nc"
character(len=*),parameter :: t_NAME = "time"
character(len=*),parameter :: x_NAME = "longitude"
character(len=*),parameter :: y_NAME = "latitude"
character(len=*),parameter :: z_NAME = "depth"
character(len=*),parameter :: rho_NAME = "rhopoto"
integer, parameter :: nx = 1321, ny = 481, nz = 50, nt = 1
integer :: i, j, k
real, parameter :: pi = 3.1415927, gamma = 7.2921e-5, g = 9.81, rho0 = 1026.5
real, parameter :: missing_val = -32767, sf_sla = 1, af_sla = 0
real :: T(nt), X(nx), Y(ny), Z(nz), rho(nx,ny,nz), ugeos(nx,ny,nz), vgeos(nx,ny,nz)
integer :: ncid, retval, tvarid, xvarid, yvarid, zvarid, rhovarid
end module