format_rfggrid: Format Delft3D RFGGRID (.grd) file.

Description Usage Arguments Examples

View source: R/format_rfggrid.R

Description

Format Delft3D RFGGRID (.grd) file.

Usage

1
2
3
format_rfggrid(src_grd, dst_grd,
  na_pattern = "-9.99999000000000024E\\+02",
  na_replacement = " 0.00000000000000000E+00", coord_sys = "Cartesian")

Arguments

src_grd

Character. Full name of the Delft3D RFGGRID (.grd) file to be formatted.

dst_grd

Character. Full name of the formatted Delft3D RFGGRID (.grd) file.

na_pattern

Character. The MISSING VALUE in the src_grd.

na_replacement

Character. A character vector of replacements.

coord_sys

Character. Coordinate system in the grd.

Examples

1
2
3
4
5
## Not run: 
f <- system.file("extdata/poyang_lake.grd", package="efdcr")
format_rfggrid(src_grd = f, dst_grd = tempfile(fileext = ".grd"))

## End(Not run)

hxfan1227/efdcr documentation built on Nov. 15, 2019, 11:31 a.m.