View source: R/atlantisfmsy_fileselect.R
atlantis_openfile | R Documentation |
It opens a parameters file, removes comment lines and finds the line ID of the parameter looked for.
atlantis_openfile(path, file_names, para_name)
path |
The directory of the parameters file. |
file_names |
The name of the parameters file with its extension (ex: file.txt or file.prm). |
para_name |
The name of the parameter the function will look for. |
a list containing: the open parameters file and the line ID (location of the parameter in the file).
atlantis_openfile("C:/Atlantis/AtlantisEEC/AtlantisMSY/COD", "AEEC35_run.prm", "tstop") atlantis_openfile("/home/Atlantis/AtlantisEEC/AtlantisMSY/COD", "AEEC35_run.prm", "tstop")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.