This function removes states (tags) defined by locality ID, sensor name, or tag value, or any combination of these three.

mc_states_delete(data, localities = NULL, sensors = NULL, tags = NULL)

Arguments

data

cleaned myClim object see myClim-package

localities

locality ids where delete states (tags). If NULL then all. (default NULL)

sensors

sensor names where delete states (tags). If NULL then all. (default NULL)

tags

specific tag to be deleted. If NULL then all. (default NULL)

Value

myClim object in the same format as input, with deleted sensor states

Examples

data <- mc_states_delete(mc_data_example_clean, localities="A1E05",
                         sensors=c(mc_const_SENSOR_Dendro_T, mc_const_SENSOR_Dendro_raw))