Nothing
X2RSEIS<-function(nh, g)
{
##### BUTTONDOC:X2SAC:'data extraction '
kix = legitpix(g$sel, g$zloc, g$zenclick)
ypick = kix$ypick
ppick = kix$ppick
if(length(ppick)>0)
{
ipick = g$sel[ypick]
ipick = ipick[length(ipick)]
## message(paste(sep=" ", ypick, ipick), sep="\n")
## message(ipick)
##
if(g$zenclick>2)
{
pickwin = range( c(g$zloc$x[(g$zenclick-1)], g$zloc$x[(g$zenclick-2)]))
}
else
{
pickwin = g$WIN
}
GH = WINGH(nh, WIN = pickwin )
pstamp = Zdate(GH$info)
outfile = pstamp[1]
message(paste("Creating RSEIS GH file:", outfile ), sep="\n")
fout3 = paste(g$destir, paste(outfile, "GH.RDATA", sep="."), sep='/')
save(file=fout3, GH)
g$zloc = list(x=NULL, y=NULL)
g$action="donothing"
invisible(list(RETX =NULL , global.vars=g))
}
else
{
warning("X_R WARNING: no window or trace has been selected:", sep="\n")
RETX=NULL
g$zloc = list(x=NULL, y=NULL)
g$action="donothing"
invisible(list(global.vars=g))
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.