mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-04 05:50:31 -05:00 
			
		
		
		
	
		
			
	
	
		
			13 lines
		
	
	
		
			223 B
		
	
	
	
		
			FortranFixed
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			223 B
		
	
	
	
		
			FortranFixed
		
	
	
	
	
	
| 
								 | 
							
								      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
							 |