powered by
Convert hypocenters from the IRIS website and prepare for plotting in GEOmap
getIRIS(fn, skip=0) getANSS(fn, skip=2)
character, file path name
numeric, number of lines to skip (e.g. for the header)
list:
vector year
vector, day of month
vector, mo
vector, hour
vector, minute
vector, sec
vector, latitude
vector, longitude
vector, depth
vector, magnitude
Reads in a file dumped out by the website selection box.
getjul
# NOT RUN { fn <- "/home/lees/WORK/SENDAI.EVENT/catsearch.8757" g <- getANSS(fn) g$jd <- getjul(g$yr, g$mo, g$dom) # } # NOT RUN { # }
Run the code above in your browser using DataLab