search for: ncvar_put

Displaying 4 results from an estimated 4 matches for "ncvar_put".

2013 Feb 05
1
ncdf4 installation problem: undefined symbol [SEC=UNCLASSIFIED]
...** preparing package for lazy loading ** help *** installing help indices converting help for package 'ncdf4' finding HTML links ... done ancdf4 html Rd warning: /tmp/RtmpSxjZ1u/R.INSTALL3e7b250a942e/ncdf4/man/ancdf4.Rd:58: missing file link 'ncvar_put' Rd warning: /tmp/RtmpSxjZ1u/R.INSTALL3e7b250a942e/ncdf4/man/ancdf4.Rd:76: missing file link 'ncvar_put' ancvar_put html nc_close html nc_create html nc_enddef...
2017 Aug 14
2
ncdf4: Why are NAs converted to _FillValue when saving?
...mp <- array(0.,dim=c(nx,ny,1)) for( j in 1:ny ) for( i in 1:nx ) data_temp[i,j,1] <- sin(i/10)*sin(j/10) # add some NAs data_temp[1:10, 1:5, 1] <- NA # copy data data_temp2 <- data_temp # show what we have data_temp[1:12, 1:7, 1] data_temp2[1:12, 1:7, 1] # write to netCDF connection ncvar_put( ncid_new, var_temp, data_temp, start=c(1,1,1), count=c(nx,ny,1)) # show what we have now data_temp[1:12, 1:7, 1] data_temp2[1:12, 1:7, 1] # Why are there no more NAs in data_temp? ? ncvar_put changed NAs to _FillValue-value # But why are the NAs in data_temp2 also changed to _FillValue? #-------...
2012 Aug 28
4
[ncdf4] error converting GEIA data to netCDF
summary: I can successfully ncvar_put(...) data to a file, but when I try to ncvar_get(...) the same data, I get > Error in if (nc$var[[li]]$hasAddOffset) addOffset = nc$var[[li]]$addOffset else addOffset = 0 : > argument is of length zero How to fix or debug? details: R code @ https://github.com/TomRoche/GEIA_to_NetCDF...
2017 Aug 14
0
ncdf4: Why are NAs converted to _FillValue when saving?
...) > data_temp[i,j,1] <- sin(i/10)*sin(j/10) > > # add some NAs > data_temp[1:10, 1:5, 1] <- NA > > # copy data > data_temp2 <- data_temp > > # show what we have > data_temp[1:12, 1:7, 1] > data_temp2[1:12, 1:7, 1] > > # write to netCDF connection > ncvar_put( ncid_new, var_temp, data_temp, start=c(1,1,1), count=c(nx,ny,1)) > > # show what we have now > data_temp[1:12, 1:7, 1] > data_temp2[1:12, 1:7, 1] > > # Why are there no more NAs in data_temp? ? ncvar_put changed NAs to > _FillValue-value > # But why are the NAs in data_temp...