Retrieves and sets the path of the RSL 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
# return current location file
nexrad_station_file()
#> [1] "/private/var/folders/hd/9xhq1cqn6z95c7y1s7g7pwvr0000gn/T/Rtmpxwvd2K/temp_libpathcb06631bd25/vol2birdR/librsl/wsr88d_locations.dat"
# store nexrad station file path
file_path <- nexrad_station_file()
# set station location file
nexrad_station_file(file_path)
#> [1] "/private/var/folders/hd/9xhq1cqn6z95c7y1s7g7pwvr0000gn/T/Rtmpxwvd2K/temp_libpathcb06631bd25/vol2birdR/librsl/wsr88d_locations.dat"