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

Description Usage Arguments Details Value Note Author(s) See Also Examples

View source: R/filter.gc.R

Description

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

Usage

1
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.

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.

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.

Note

Argument data has to consist of the columns named "Latitude" and "Longitude".

Author(s)

Kristina Veljkovic

See Also

filter

Examples

1
2
3
4
5
6
7
8
## 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)

MetFns documentation built on May 1, 2019, 6:28 p.m.