View source: R/functioncollection_import.R
ReadPmsf | R Documentation |
This is a small convenience function to import a 'partial model setup file' as integer vector into R.
ReadPmsf(filename = "pmsf.txt")
filename |
Path to and file name of the pmsf file to import. Windows users: Note that Paths are separated by '/', not '\'. |
ReadPmsf
imports 'pmsf.txt' files, which contain SUBIDs and are used to run only parts of a HYPE setup's domain
without having to extract a separate model setup. For details on the file format, see the
pmsf.txt online documentation.
Pmsf.txt files imported with ReadPmsf
are stripped from the first value containing the total number of subcatchments
in the file. No additional attribute is added to hold this number since it can be easily obtained using length
.
ReadPmsf
returns an integer vector.
te <- ReadGeoData(filename = system.file("demo_model", "GeoData.txt", package = "HYPEtools"))
te
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.