Displaying 5 results from an estimated 5 matches for "idim".
Did you mean:
dim
2007 Oct 08
7
belongs_to association doesn't work with _id set
Hello there,
I''m developing an application which has models like this:
class Vehicle < ActiveRecord::Base
belongs_to :internal_dim, :class_name => "Dimension"
def before_create()
idim = Dimension.create
self.internal_dim_id = idim.id
#self.create_internal_dim # Doesn''t work
end
end
class Dimension < ActiveRecord::Base
has_one :vehicle
end
That is, creating the vehicle should create a dimension entry (yeah, i
know it''s strange, but a...
2012 Jan 05
1
[ncdf] programmatically copying a netCDF file
How to programmatically (i.e., without no or minimal handcoding) copy
a netCDF file? (Without calling
> system("cp whatever wherever")
:-) Why I ask:
I need to "do surgery" on a large netCDF file (technically an I/O API
file which uses netCDF). My group believes a data-assimilation error
caused a data variable to be corrupted in a certain way, so I'm going
to
2005 Apr 23
0
reading fortran binary file
...t,uunit,vunit,wunit
character*80 filename
real out2d(157,109),out3d(157,109,24)
OPEN (11,FILE=filename,FORM='UNFORMATTED')
10 READ(11) IFLAG
IF ( IFLAG .EQ. 0 ) THEN
READ(11)
goto 10
elseif (iflag.eq.1) then
read(11)
& IDIM ! dimension of the field
& ,IB,JB,KB,LB ! starting indices
& ,IE,JE,KE,LE ! ending indices
& ,XTIME ! the ingegration or forcast time
& ,CRDT,CORDER,CHRDATE
& ,CNAME,CUNIT ! field name and unit description...
2011 Mar 31
1
R packages "Demography installing Error In Ubuntu 10.04"
...bs
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (tseries)
* installing *source* package ‘pcaPP’ ...
** libs
g++ -I/usr/share/R/include -fpic -O3 -pipe -g -c IDim.cpp -o IDim.o
g++ -I/usr/share/R/include -fpic -O3 -pipe -g -c L1Median.HoCr.cpp -o L1Median.HoCr.o
g++ -I/usr/share/R/include -fpic -O3 -pipe -g -c L1Median.VardiZhang.cpp -o L1Median.VardiZhang.o
g++ -I/usr/share/R/include -fpic -O3 -pipe -g -c RFunc.cpp -o RFunc.o
g++ -I/usr...
2010 May 20
0
zfs unmount returns with Invalid Argument
Anyone have any idea on this.
I wanted to separate out my VirtualBox VDIs so that I could activate compression on the rest of the parent directory structure so I created a ZFS filesystem under my user directory.
mv .VirtualBox .VirtualBox_orig
zfs create /export/home/user/.VirtualBox
zfs create /export/home/user/.VirtualBox/VDI
zfs set compression=off /export/home/user/.VirtualBox/VDI
zfs set