Description Usage Arguments Details Value Warning Author(s) See Also Examples
Tools for working with MIKE by DHI PFS files
1 2 3 4 5 6 7 8 | pfs_read(filename=NULL)
pfs_readsec(fid, nline=0)
pfs_dequote(string)
pfs_write_section(pfs, fid, indent=0, hlevel=NULL)
pfs_write_comment(pfs, fid, indent, hlevel)
pfs_write_keyvals(pfs, fid, indent, hlevel)
pfs_indent_str(indent)
pfs_format_val(key, val, hlevel)
|
filename |
A string. The file to write. |
fid |
An internal R file object. |
nline |
An integer. Denotes the line in the original PFS file. |
string |
A string. the string to format. |
pfs |
An R list, possibly of class |
indent |
An integer. The level of indentation. |
helevel |
A string. The names of the higher level in the PFS heriachy. |
key |
A string. A PFS key |
val |
A string, possibly coercible to a numeric. A PFS key. |
TODO: Documentation
TODO: Documentation
Currently pfs_read
should work for most PFS formatted files. This might be useful in the future, but doing anything other than reading is very poorly supported. For example: pfs_format_val
, which is needed to write out data in a MIKE compatible way, is currently very skewed towards specific ECOLab template intricacies, which might break in unpredictable ways in the future.
Daniel Pritchard
1 | # TODO
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.