This is a small convenience function to export a 'partial model setup file' from R.
Usage
WritePmsf(x, filename)
Value
No return value, called for export to text files.
Arguments
x
The object to be written, an integer vector containing SUBIDs.
filename
A character string naming a file to write to. Windows users: Note that
Paths are separated by '/', not '\'.
Details
Pmsf files are represented as integer vectors in R. The total number of subcatchments in the file are added as first value on export.
pmsf.txt files need to be ordered as downstream sequence.
See Also
AllUpstreamSubids, which extracts upstream SUBIDs from a GeoData dataframe.