Learn R Programming

pRecipe (version 3.0.1-3)

saveNC: Save .nc file

Description

Function to save data compatible with pRecipe in .nc file

Usage

saveNC(x, file, name = "tp", longname = "Total precipitation", units = "mm")

Value

No return value, called to save a file

Arguments

x

Raster* object

file

character

name

character

longname

character

units

character

Examples

Run this code
if (FALSE) {
save_nc(dummie_brick, "gpcp_tp_mm_global_197901_202205_025_monthly.nc")
}

Run the code above in your browser using DataLab