I have a netcdf file1.nc which I duplicated using

ncks file1.nc file2.nc

Now I do

octave:1> nc1 = netcdf("file1.nc", "r") ;
octave:2> nc2 = netcdf("file2.nc", "r") ;                
octave:3> [nc1{"lsp"}(:)(17,6,30,5,7) nc2{"lsp"}(:)(17,6,30,5,7)]
ans =

       0  -18942


Strange isn't it?

G.


-------------------
octave:4> ver
----------------------------------------------------------------------
GNU Octave Version 3.0.1
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.18-6-amd64 #1 SMP Thu May 8 06:49:39 UTC 2008 x86_64
----------------------------------------------------------------------
octave:5> pkg list
Package Name       | Version | Installation directory
-------------------+---------+-----------------------
           octcdf *|   1.0.9 | /opt/octave/octcdf-1.0.9
octave:6> 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to