event.path | R Documentation |
Returns a list of the following strings: (1) the path to the event, (2) the event name, (3) the event number, (4) the path to the cruise, and (5) the cruise name.
event.path(
event = 1,
cruise = 2009116,
eventName = 1,
esnm = "MS70",
dir.type = "tsd",
up = 0,
...
)
event |
is the identifier of the event, either given as the number of the event, a string contained in the name of the event, or the path of the event directory. |
cruise |
is either the idenfication number of the cruise, given as specified by the IMR (yyyynnn), or the path to the directory containing the event to be read. |
esnm |
is the name of the acoustical instrument, given as a four character string. See sonR_implemented() for the implemented systems. May be given in 'data', and in lower case. |
dir.type |
is the name of the directory holding the data files (usually one of "tsd" and "raw") |
up |
An integer value specifying how many directories the funciton should jump up before finding the event. With up=2 it is possible to change esnm in a full path to an directory ending with 'dir.type', e.g., "tsd" or "raw". |
... |
is used in agrep() for locating events based on approximate string matching. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.