Learn R Programming

MetFns (version 3.2.2)

filter.gc: Selection of visual meteor data by geographical coordinates

Description

Selects data for a given visual meteor dataset and specified geographical coordinates of the observing site or interval of geographical coordinates.

Usage

filter.gc(data,lat.low =-90,lat.up = 90,long.low =-180,long.up = 180)

Arguments

data

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

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.

Value

filter.gc returns data frame with the same number of columns as the argument data, containing observations corresponding to geographical coordinates with latitude between lat.low and lat.up and longitude between long.low and long.up.

Details

If values of arguments lat.low and lat.up, as well as long.low and long.up, are the same, filter.gc selects data for particular observing site.

filter.gc enables one to select data only by latitude or longitude, with geographical coordinates being between given boundaries, less, greater or equal to a boundary.

See Also

filter

Examples

Run this code
# NOT RUN {
## select 2015 rate and magnitude data for observing site with latitude 44.1583N 
## and longitude 19.6869E
filter.gc(rate2015,lat.low=44.1583,lat.up=44.1583,long.low=19.6869,long.up=19.6869)
filter.gc(magn2015,lat.low=44.1583,lat.up=44.1583,long.low=19.6869,long.up=19.6869)

## select 2015 rate and magnitude data corresponding to sites with latitude 60N and above
filter.gc(rate2015,lat.low=60)
filter.gc(magn2015,lat.low=60)
# }

Run the code above in your browser using DataLab