tiff2nc_merge: convert tif into nc files and merge

View source: R/nc_convert.R

tiff2nc_mergeR Documentation

convert tif into nc files and merge

Description

convert tif into nc files and merge by gdal_translate and cdo

Usage

tiff2nc_merge(files, outfile = "merged.nc", overwrite = FALSE, cache = TRUE)

tiff2nc(files, overwrite = FALSE)

tiff2nc_process(
  files,
  outfile,
  var.units = NULL,
  var.longname = NULL,
  run = FALSE
)

Arguments

files

tiff file paths

outfile

output nc file

overwrite

If overwrite, temporal nc files and outfile will be overwrited.

cache

If cache = false, temporal nc files will be removed.

var.units

untis of variables in lst

var.longname

longname of variables in lst

verbose

boolean

Note

This function not works for windows system.

Examples

## Not run: 
tiff2nc_process(files, outfile, var.units, var.longname, run = FALSE)

## End(Not run)


rpkgs/nctools documentation built on Sept. 24, 2023, 9:23 p.m.