Learn R Programming

MetFns (version 1.0)

filter: Global filter

Description

Various data selections for a given visual meteor data. Wrapper function for filters by shower code, time period, date, IMO observer code, observer's name, geographical coordinates, site, country, limiting magnitude, correction factor for clouds, solar longitude, radiant elevation and maximum correction factor.

Usage

filter(data, year = NULL, month = NULL, day.beg = NULL, day.end = day.beg, 
       shw = NULL, imocode = NULL, long.low = 0, long.up = 180, ew = c("E", "W"), 
       lat.low = 0, lat.up = 90, ns = c("N", "S"), name = NULL, fname = NULL, 
       site = NULL, country = NULL, mag.low = 2, mag.up = 7.5, F.low = 1, F.up = 3, 
       time.low = 0, time.up = 2359, sol.low = 0, sol.up = 359.999, 
       Ralpha = NULL, Delta = NULL, h.low = 10, h.up = 90, r = NULL, C = 5)

Arguments

data
data frame consisting of visual meteor data (rate or magnitude data).
year
numeric vector of length 4 specifying year.
month
numeric vector specifying month of the year.
day.beg
numeric vector specifying the beginning day.
day.end
numeric vector specifying the ending day. By default, day.end is set to be equal to day.beg.
shw
character string consisting of three capital letters which represent meteor shower code.
imocode
character string consisting of five capital letters which represent IMO observer code.
long.low
numeric vector taking a value between 0 (default) and 180, specifying lower boundary of longitude in degrees.
long.up
numeric vector taking a value between 0 and 180 (default), specifying upper boundary of longitude in degrees.
ew
character vector (E,W), specifying east or west position from the prime meridian.
lat.low
numeric vector taking a value between 0 (default) and 90, specifying lower boundary of latitude in degrees.
lat.up
numeric vector taking a value between 0 and 90 (default), specifying upper boundary of latitude in degrees.
ns
character vector (N,S), specifying north or south position from equator.
name
character string representing observer's last name.
fname
character string representing observer's first name.
site
character string specifying name of the observing site.
country
character string specifying name of the country.
mag.low
numeric vector with value between 2.0 (default) and 7.5, specifying lower boundary of limiting magnitude.
mag.up
numeric vector with value between 2.0 and 7.5 (default), specifying upper boundary of limiting magnitude.
F.low
numeric vector with value between 1.0 (default) and 3.0, specifying lower boundary of correction factor for clouds.
F.up
numeric vector with value between 1.0 and 3.0 (default), specifying upper boundary of correction factor for clouds.
time.low
numeric vector (0-2359) specifying lower boundary of time in hours and minutes.
time.up
numeric vector(0-2359) specifying upper boundary of time in hours and minutes.
sol.low
numeric vector with value between 0 (default) and 359.999, specifying lower boundary of solar longitude in degrees.
sol.up
numeric vector with value between 0 and 359.999 (dafault), specifying upper boundary of solar longitude in degrees.
Ralpha
numeric vector with value between 0 and 360, specifying right ascension of the radiant, in degrees.
Delta
numeric vector with value between -90 and +90, specifying declination of the radiant, in degrees.
h.low
numeric vector with value between 10 (default) and 90, specifying lower boundary of radiant elevation in degrees.
h.up
numeric vector with value between 10 and 90 (default), specifying upper boundary of radiant elevation in degrees.
r
numeric vector specifying population index of a meteor shower.
C
numeric vector specifying maximum correction factor. C=5 is set as a default value.

Details

Depending on the given arguments, the function filter calls one or more particular filters for selection of visual meteor data.

References

http://www.imo.net/data/visual Rendtel J. and Arlt R., editors (2008). IMO Handbook For Meteor Observers. IMO, Potsdam.

See Also

filter.shw, filter.date, filter.imocode, filter.obsname, filter.site, filter.country, filter.gc, filter.time, filter.mag, filter.F, filter.sol, filter.h, filter.totcor

Examples

Run this code
## select rate data for observations of Leonids in Serbia, time period 10-20th November 2002
data(rate02)
filter(rate02,shw="LEO", country="Serbia",year=2002, month=11, day.beg=10, day.end=20)

Run the code above in your browser using DataLab