Learn R Programming

vol2birdR (version 1.0.9)

nexrad_station_file: Retrieve or set the nexrad location file

Description

Retrieves and sets the path of the RSL nexrad location file

Usage

nexrad_station_file(file)

Value

The path of the nexrad location file

Arguments

file

A string containing the path of a location file. Do not specify to retrieve path of current location file.

Details

The RSL library stores the locations and names of NEXRAD stations in a fixed-width text file. This function retrieves the path of the location file, and allows one to set the path to a different location file.

Examples

Run this code
# return current location file
nexrad_station_file()
# store nexrad station file path
file_path <- nexrad_station_file()
# set station location file
nexrad_station_file(file_path)

Run the code above in your browser using DataLab