This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
start:hype_file_reference:pmsf.txt [2017/02/13 16:12] rcapell |
start:hype_file_reference:pmsf.txt [2024/01/25 11:38] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== pmsf.txt ====== | ====== pmsf.txt ====== | ||
- | This file contains a selection of SUBIDs of a HYPE model domain, and is used to run separately an area of interest of an existing model setup. The name "pmsf" is short for "partial model setup file". | + | The pmsf-file is used to simulate a selection of a larger HYPE model setup, while still keeping the files for the larger model intact. The file defines the selection of subbasins to simulate as a submodel. To run a subset of a model with //pmsf.txt//, use the code ''submodel'' in //info.txt//. The name "pmsf" is short for "partial model setup file". |
- | The file must be placed in the same folder as [[start:hype_file_reference:info.txt|info.txt]]. To run a partial model with the SUBIDs given in //pmsf.txt//, use code ''submodel'' in //info.txt//. | + | The file is placed in the same folder as [[start:hype_file_reference:info.txt|info.txt]]. |
+ | Subbasins provided in the file must represent "complete basins", i.e. include all upstream subbasins and also all basins linked through irrigation sources in [[start:hype_file_reference:mgmtdata.txt|MgmtData.txt]] or through regional aquifers in [[start:hype_file_reference:aquiferdata.txt|AquiferData.txt]]. | ||
- | SUBIDs provided in the file must represent " complete basins", i.e. include all upstream sub-basins and also all basins linked through as irrigation sources in [[start:hype_file_reference:mgmtdata.txt|MgmtData.txt]] or through regional aquifers in [[start:hype_file_reference:aquiferdata.txt|AquiferData.txt]]. | + | //pmsf.txt// are simple text files with the total number of subbasins in the selected submodel written in the first line, and whitespace-separated subids listed from row 2. There is no limit in number of rows with subids (line breaks are treated as whitespace). The given SUBIDs must be listed in downstream order. Subids listed must be a selection of those provided in [[start:hype_file_reference:geodata.txt|GeoData.txt]]). |
- | The file format is In the first row should be given how many subbasins to be calculated (i.e. how many subid to be read from file). | + | Example for a //pmsf.txt// file structure with 8 sub-basins: |
- | In, the second and following rows give the subid for the subbasins to be calculated (a selection of those in [[start:hype_file_reference:geodata.txt|GeoData.txt]]). | + | |
+ | 8 | ||
+ | 345 456 464 579 204 | ||
+ | 496 56 654 | ||