[R-sig-Geo] Large NetCDF file problems
kridox at ymail.com
Wed Jun 11 03:49:24 CEST 2014
Do you get the same error if you run your code out of Rstudio?
However, another approach would be to open your NetCDF file with
'brick' function from the raster package.
On Wed, Jun 11, 2014 at 9:10 AM, Pablo Alfaro <palfaro at motionsoft.com.uy> wrote:
> Hi, I'm having trouble opening a large netcdf file (2.45 GB) with the
> following code on R 3.0.3 64 bit
> nc <- open.ncdf('C:/testsMCH/test/wrfout_d02_2014-06-09_00%3A00%3A00')
> get.var.ncdf(nc, 'T2', start=c(1, 1, 1), count=c(-1, -1, -1))
> I get this error:
> Assertion failed!
> Program: C:\Program Files\RStudio\bin\x64\rsession.exe
> File: posixio.c, Line 417
> Expression: offset >= 0
> This application has requested the Runtime to terminate it in an unusual
> Please contact the application's support team for more information.
> In R 32 bit there are no problems.
> It is the same problem as reported here:
> Does anyone have any clue as to why this may be?
> I can upload the file on an FTP server but it'll take me a while.
> Thanks in advance!
> Ing. Pablo Alfaro Piñeyro
> MotionSoft Consulting S.R.L.
> Tel: 095 938 487
> [[alternative HTML version deleted]]
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
More information about the R-sig-Geo