Learn R Programming

ncdf.tools (version 0.7.1.295)

modifyNcdfSetMissing: Set missing value attribute to a netCDF file

Description

This function sets the missing_value and the _Fill_value of a variable in a netCDF file to a given value (-9999 by default).

Usage

modifyNcdfSetMissing(con, var, value = -9999)

Arguments

con
file connection to modify
var
variable name (or index) of the variable to modify
value
value of the missing value attribute