blob: f68b1409e74b46cccfc959d3b4ae05cf83ba1487 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
subroutine grid2k(grid,k)
character*6 grid
call grid2deg(grid,xlong,xlat)
nlong=nint(xlong)
nlat=nint(xlat)
k=0
if(nlat.ge.85) k=5*(nlong+179)/2 + nlat-84
return
end subroutine grid2k
|