Displaying 2 results from an estimated 2 matches for "timeobj".
Did you mean:
timeo
2011 Jul 14
1
Error: "non-numeric argument to binary operator"
...code
follows as:
library(survival)
library(RNetCDF)
library(ncdf)
setwd("c:/projects/netcdfcsfiles")
Conn42 = open.ncdf("128.111.220.111.46.15.32.42.nc");
# read the time variable, which measures years, and
# use the length of the vector to estimate the time span
#
timeObj = get.var.ncdf(Conn42,"time");
file42YrRangeDays = trunc(length(timeObj))
# Process each file separately:
# get attributes, read the rhum data cube,
# extract the time series from the cube,
# and rescale the time series vector
#
scaleFact = att.get.ncdf(Conn42,"rhum",&qu...
2005 Mar 03
12
bug in postgresql ''now'' time handling??
line 212 of postgresql_adapter.rb is
return Time.now.to_s if value =~ /^\(''now''::text\)::(date|timestamp)/
i don''t think this will work. in postgresql the field ''now'' is pinned to the
SAME TIME for the duration of a transaction. eg. if you do
begin transaction;
insert into t values(42, ''now'');
# sleep one minute