The dataset has fillvalue of 1e30. While taking mean of the NetCDF files should i use the codena.rm=TRUE
or na.rm=FALSE
?
u2 <- list.files("/filepath/", pattern = "*.nc", full.names = TRUE)
r <- mean(u2, na.rm=TRUE)
I am getting values : -7.53555e+18, 1.263985e+18 (min, max)
using na.rm=TRUE
and -7.781048e+16, 3.923543e+15 (min, max)
while coding withr <- mean(u2)
.
na.rm=TRUE
is not giving correct result i feel as the data are exaggerated. Before making analysis of the data what should be done?
Data: Data_Test