R/fixUWstasLL.R

Defines functions `fixUWstasLL`

`fixUWstasLL` <-
function(STAS, stafile)
{
  if(length(STAS$name)<1) return(NULL) 
  sta =setstas(stafile)
  stmatch = match(STAS$name, sta$name)			
  STAS$lat = sta$lat[stmatch]	
  STAS$lon = sta$lon[stmatch]	
  STAS$z = sta$z[stmatch]	
  
  return(STAS) 
}

Try the RSEIS package in your browser

Any scripts or data that you put into this service are public.

RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.