Description Usage Arguments Details Examples
Makes a station location file for the UW routing model
1 | make_stnloc(r, gage_coords, basename, saveloc)
|
r |
raster with the same dimensions and coordinate system as the flow direction file (could just use flow direction direction file) |
gage_coords |
text file containing lon/lat data for gage coordinaates |
basename |
base name for the save file |
saveloc |
location to save the station location file |
Creates a station location file and saves it to the specified directory. Adapted from an earlier Matlab version with the same name
1 2 3 4 5 | r = raster("/Volumes/HD3/SWOTDA/Calibration/TuoSub/fdir.tif")
gage_coords = "/Volumes/HD3/SWOTDA/Calibration/TuoSub/gage_coords.txt"
saveloc <- "/Volumes/HD3/SWOTDA/Calibration/TuoSub"
basename <- "tuosub"
make_stnloc(r, gage_coords, basename, saveloc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.