filter: Global filter

Description Usage Arguments Details Author(s) References See Also Examples

View source: R/filter.R

Description

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

Usage

1
2
3
4
filter(data,date.start=NULL,date.end=NULL,shw=NULL,lat.low=-90,lat.up=90,
long.low=-180,long.up=180,fname=NULL,lname=NULL,site=NULL,country=NULL,
mag.low=1,mag.up=8,P.low=0,P.up=90,sol.low=NULL,sol.up=NULL,
h.low=0,h.up=90,r=NULL,C=NULL)

Arguments

data

data frame consisting of visual meteor data (rate or magnitude data).

date.start

character vector or factor specifying start date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

date.end

character vector or factor specifying end date, given in "%Y-%m-%d %H:%M:%S" format (UTC timezone).

shw

character string consisting of three capital letters which represent meteor shower code.

lat.low

numeric vector taking a value between -90 (default) and 90, specifying lower boundary of latitude in degrees.

lat.up

numeric vector taking a value between -90 and 90 (default), specifying upper boundary of latitude in degrees.

long.low

numeric vector taking a value between -180(default) and 180, specifying lower boundary of longitude in degrees.

long.up

numeric vector taking a value between -180 and 180(default), specifying upper boundary of longitude in degrees.

fname

character string specifying observer's first name.

lname

character string specifying observer's last name.

site

character string specifying name of the observing site.

country

character string specifying name of the observing country.

mag.low

numeric vector with value between 1(default) and 8, specifying lower boundary of limiting magnitude.

mag.up

numeric vector with value between 1 and 8(default), specifying upper boundary of limiting magnitude.

P.low

numeric vector with value between 0 (default) and 90, specifying lower boundary of percentage of field-of-view obstruction.

P.up

numeric vector with value between 0 and 90(default), specifying upper boundary of percentage of field-of-view obstruction.

sol.low

numeric vector with value between 0 and 360, specifying lower boundary of solar longitude in degrees.

sol.up

numeric vector with value between 0 and 360, specifying upper boundary of solar longitude in degrees.

h.low

numeric vector with value between 0(default) and 90, specifying lower boundary of radiant elevation in degrees.

h.up

numeric vector with value between 0 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 total correction factor.

Details

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

Author(s)

Kristina Veljkovic

References

Rendtel J. and Arlt R., editors (2014). Handbook For Meteor Observers. IMO, Potsdam.

See Also

filter.shw, filter.date, filter.obsname, filter.site, filter.country, filter.gc, filter.mag, filter.P,filter.sol, filter.h, filter.totcor

Examples

1
2
3
## select rate data for Orionids activity from 10th to 25th October, 
## limiting magnitudes above 5, radiant elevation above 20 degrees, percentage of clouds below 20
filter(rate2015,date.start="2015-10-10",date.end="2015-10-25",shw="ORI",P.up=20,mag.low=5,h.low=20)

MetFns documentation built on Nov. 17, 2017, 8 a.m.