Displaying 1 result from an estimated 1 matches for "spi_regions_03".
2011 Sep 12
1
Problem in put.var.ncdf
...me.spi <- dim.def.ncdf("time", "days since 1499-01-01 00:00:00",
dim.time)
var.spi.24.03.me <- var.def.ncdf("spi03_24_me", "unitless", dim.time.spi,
0, longname="SPI tr_1500_03 24mt MA", prec="float")
spi <- create.ncdf("spi_regions_03.nc", var.spi.24.03.me)
put.var.ncdf(spi, var.spi.24.03.me, spi24.me)
close.ncdf(spi)
R prints the following error:
#---------------------
Error in put.var.ncdf(spi, var.spi.24.03.me, spi24.me) : NA/NaN/Inf in
foreign function call (arg 5)
I can exclude an error in length (dim.time.spi...