writesebkc: Writing sebkc object to a folder

View source: R/rsebWrite.R

writesebkcR Documentation

Writing sebkc object to a folder

Description

This function writes spatial output of the following functions sebal, sebi,ssebi, wdi,sebs,sseb, tseb and landsat578

Usage

writesebkc(object, folder = NULL, xy = NULL, overwrite = TRUE)

Arguments

object

sebkc object

folder

Folder the files should be written to.If it is set to NULL, it is written to the input folder of sebkc object.

xy

A dataframe of of xy coordinates in in decimal degrees or meters in the order of c(x,y). If it is not set NULL, the corresponding values are extracted and written to the folder

overwrite

logical whether the file should be over written

Value

Writes output to a folder

Examples

## Not run: 
folder=system.file("extdata","stack",package="sebkc")
stack=landsat578(data=folder, welev=362)
writesebkc(stack)
sebaloutput=sebal(folder = folder,welev = 317)
writesebkc(sebaloutput)


## End(Not run)

gowusu/sebkc documentation built on July 28, 2023, 11:44 a.m.