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