search for: 26_using_package_rnetcdf_with_sst

Displaying 1 result from an estimated 1 matches for "26_using_package_rnetcdf_with_sst".

2013 Apr 12
1
Batch open netcdf files and get variables
Hi, I'm new to R. I have some daily soil moisture data for the year 1979 in netcdf format such as these sm19790101.1.nc sm19790102.1.nc . . . sm19791231.1.nc I need to average a variable called "sm" to monthly resolution. I've done these days = formatC(1:31, width=2, flag="0") ncfiles = lapply(days, function(d){ filename = paste("sm197901", d,