View source: R/pest2hydroPSO.R
pest2hydroPSO | R Documentation |
This function imports the PEST input files (a master ‘.pst’ and its corresponding ‘.tpl’ and ‘.ins’) into hydroPSO
(‘ParamRanges.txt’ and ‘ParamFiles.txt’)
pest2hydroPSO(pst.fname, drty.pest=NULL, drty.model=NULL, drty.out="PSO.in",
param.files="ParamFiles.txt", param.ranges="ParamRanges.txt",
decimals=5, verbose=TRUE)
pst.fname |
character, with name of the PEST input file (‘.pst’), which contains all the information regarding parameters, observations and template files (‘.tpl’ and ‘.ins’) used by PEST |
drty.pest |
character, path to the executable file of PEST. ALL the files required to run PEST with the model have to be located within this directory (‘.tpl’ and ‘.ins’) |
drty.model |
character, path to the executable file of the model specified in |
drty.out |
character, name of the directory that will store all the output files produced by this function |
param.files |
character, name of the output file that will store the location and names of the model files that have to be modified for each parameter subject to calibration with hydroPSO. |
param.ranges |
character, name of the output file defining the minimum and maximum boundary values for each one of the parameters to be calibrated with hydroPSO. |
decimals |
character, model command line arguments to be entered through a prompted string to execute the user-defined model |
verbose |
logical, indicates if progress messages are to be printed. By default |
Two input files for hydroPSO
:
param.files |
plain text file with the location and names of the model files that have to be modified for each parameter subject to calibration with hydroPSO |
param.ranges |
plain text file defining the minimum and maximum boundary values for each one of the parameters to be calibrated with hydroPSO |
Mauricio Zambrano-Bigiarini, mzb.devel@gmail.com
hydroPSO2pest
, hydroPSO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.