[OctDev] arpack: eigs crash with octave 3.0.5 compiled with --enable-64

2009-06-05 Thread Alexander Barth
Hi all, I have compiled octave with the option enable-64 (and compiled LAPACK, BLAS and SuiteSparse to use 64-bit indexes). I would like to make the octave-forge package arpack to work with this option. As BLAS, I have compiled the Fortran ARPACK library with the option -fdefault-integer-8 (and -f

Re: [OctDev] arpack: eigs crash with octave 3.0.5 compiled with --enable-64

2009-06-05 Thread Alexander Barth
On Fri, Jun 5, 2009 at 12:20 PM, Alexander Barth wrote: > Hi all, > > I have compiled octave with the option enable-64 (and compiled LAPACK, > BLAS and SuiteSparse to use 64-bit indexes). I would like to make the > octave-forge package arpack to work with this option. As BLAS, I

Re: [OctDev] arpack: eigs crash with octave 3.0.5 compiled with --enable-64

2009-06-07 Thread Alexander Barth
On Fri, Jun 5, 2009 at 9:20 PM, David Bateman wrote: > Alexander Barth wrote: >> >> On Fri, Jun 5, 2009 at 12:20 PM, Alexander >> Barth wrote: >> >>> >>> Hi all, >>> >>> I have compiled octave with the option enable-64 (and compiled L

[OctDev] wiki password

2009-06-07 Thread Alexander Barth
Hi all, I would like to write a short page on the wiki how to compile octave's dependencies to use octave with --enable-64. Can somebody send me the wiki password? Thanks Alex -- OpenSolaris 2009.06 is a cutting edge ope

Re: [OctDev] Fwd: Re: wiki password

2009-06-08 Thread Alexander Barth
On Mon, Jun 8, 2009 at 5:58 AM, wrote: > >   Done! > > - Forwarded message from etie...@isr.ist.utl.pt - >     Date: Sun, 07 Jun 2009 20:55:38 -0700 >     From: etie...@isr.ist.utl.pt >  Subject: Re: [OctDev] wiki password >       To: Alexander Barth >      

Re: [OctDev] Fwd: Re: wiki password

2009-06-08 Thread Alexander Barth
at out. I (think I) fixed it, using your definition of > h3. > >  Cheers, > >  Etienne > > Quoting Alexander Barth (Mon, 8 Jun 2009 > 16:20:14 +0200): > >> On Mon, Jun 8, 2009 at 5:58 AM, wrote: >>> >>>  Done! >>> >>> - Forwarde

Re: [OctDev] Fwd: Re: wiki password

2009-06-09 Thread Alexander Barth
On Tue, Jun 9, 2009 at 3:36 AM, wrote: > Quoting Alexander Barth (Mon, 8 Jun 2009 > 18:55:27 +0200): > >> Hi Etienne, >> >> I think there shouldn't be an "a" after "h3" on line 82. The CSS >> selector "h3 a" means that the st

Re: [OctDev] New release system and web page up and running

2010-02-09 Thread Alexander Barth
> >  octcdf >    Version 1.0.13 of the package doesn't build for me. Hi Søren, I just uploaded octcdf 1.0.17 which should compile with the recent version of octave. Cheers, Alex -- The Planet: dedicated and managed hosti

Re: [OctDev] New release system and web page up and running

2010-02-09 Thread Alexander Barth
On Sun, Feb 7, 2010 at 11:10 PM, Søren Hauberg wrote: > Hi All > > I have been working on a fairly large vaporware project, namely the new > release system and the corresponding web page. That is, up till now, as > it is no longer vaporware :-) > > I have not really had the time to work out every

Re: [OctDev] NC_UNLIMITED in Octcdf

2010-03-18 Thread Alexander Barth
Hi Nands, if you set the dimension to zero, it means unlimited, e.g. nc('TIME') = 0 Cheers Alexander On Wed, Feb 24, 2010 at 9:50 AM, wrote: > Hi everyone. > > In Matlab, if the dimension's size is not known the following is used : > mexcdf('DIMDEF',nc,'TIME','NC_UNLIMITED'); > I wanted to k

Re: [OctDev] octcdf: defining attribute

2010-03-18 Thread Alexander Barth
you could do this like this: setfield(cdf{'var'},['NOTE_',int2str(N)],'This is fifth note') setfield allows you to add fields whose names are determined at run-time to a struct. It also works for addition attributes in octcdf. Another way could be the use of eval. But it is a good idea to avoid e

Re: [OctDev] Error installing octcdf-1.0.17 for octave 3.2.3

2010-03-18 Thread Alexander Barth
Hi Nands and Ron, Ron is right. octcdf can work with the netcdf or libnc-dap libraries. First it checks nc-config, then ncdap-config and then it just tries if -lnetcdf and netcdf.h are present and usable. So if you do not need opendap and you have 'plain' netcdf already installed, you can use thi

Re: [OctDev] octcdf: defining attribute

2010-03-18 Thread Alexander Barth
On Thu, Mar 18, 2010 at 3:20 PM, Jaroslav Hajek wrote: > On Thu, Mar 18, 2010 at 3:02 PM, Alexander Barth > wrote: >> you could do this like this: >> >> setfield(cdf{'var'},['NOTE_',int2str(N)],'This is fifth note') >> >> setf

Re: [OctDev] ncenddef problem in octcdf

2010-03-18 Thread Alexander Barth
On Fri, Mar 5, 2010 at 11:15 AM, wrote: > Hi all. > > For "cdf=ncenddef(cdf)", I get the following error: > > error: Error chaning mode: NetCDF: Not a valid data type or _FillValue type > mismatch > > What am I supposed to do? The netcdf library requires that _FillValue has the same type as the

Re: [OctDev] octave-3.3.50+ : invalid assignment to cs-list outside multiple assignment

2010-03-26 Thread Alexander Barth
On Fri, Mar 26, 2010 at 6:47 AM, Jaroslav Hajek wrote: > On Fri, Mar 26, 2010 at 5:23 AM,   wrote: >> Dear Sir. >> >> In that case, what is the next step I should take to get rid of the error? >> >> Thanks. >> >> Nands >> > > You can fix octcdf, or wait for someone else to do it. You may also > co

[OctDev] octcdf-1.1.0

2010-04-27 Thread Alexander Barth
Hi all, I released a new version of octcdf which should fix the cs-list bug (invalid assignment to cs-list outside multiple assignment) in octcdf. I have tested it with a recent checkout of octave (2010-04-24) version 3.3.51+. All tests pass now: >> nctest writing test output to nctest.log > /

Re: [OctDev] octcdf-1.1.0

2010-04-29 Thread Alexander Barth
On Tue, Apr 27, 2010 at 9:51 PM, Carlo de Falco wrote: > > On 27 Apr 2010, at 16:01, Alexander Barth wrote: > >> Hi all, >> I released a new version of octcdf which should fix the cs-list bug >> (invalid assignment to cs-list outside multiple assignment) in octcdf.

Re: [OctDev] octcdf-1.1.0

2010-04-30 Thread Alexander Barth
On Thu, Apr 29, 2010 at 10:12 AM, Carlo de Falco wrote: > > On 29 Apr 2010, at 09:01, Alexander Barth wrote: > >> On Tue, Apr 27, 2010 at 9:51 PM, Carlo de Falco >> wrote: >>> >>> On 27 Apr 2010, at 16:01, Alexander Barth wrote: >>> >>&g

Re: [OctDev] copying attributes in octcdf

2010-05-01 Thread Alexander Barth
On Thu, Apr 22, 2010 at 1:36 PM, wrote: > Hi all. > > Is there any way to copy attributes from one netcdf file to another netcdf > file? > > Thanks, > Nands you can use ncatt to get a cell array of all attributes of a variable/file and then copy the attributes one by one. The code of ncdump.m m

Re: [OctDev] alternative to 'var' in Octcdf

2010-05-01 Thread Alexander Barth
On Wed, Apr 21, 2010 at 8:27 AM, wrote: > Hi all. > > There is a function 'var' in matlab's netcdf such that var(self) returns the > list of variables that contribute  to self, a composite "ncvar" object. > Is there any such function in Octcdf or is there any alternate way from which > I can ge

Re: [OctDev] alternative to 'var' in Octcdf

2010-05-20 Thread Alexander Barth
gree West'; > nc{'latitude'} = ncdouble('latitude'); > nc{'latitude'}(:) = latitude; > nc{'latitude'}.units = 'degree North'; > > > nc{'temp'} = ncdouble('longitude','latitude'); > > nc{&#

Re: [OctDev] copying attributes in octcdf

2010-05-20 Thread Alexander Barth
: > Hi Alex. > > From ncdump.m, I learnt how to get the attributes, but I don't know how to > copy them to another variable. > Could you please show that with an example. > > Thanks, > Nands > > > > - Original Message - > From: Alexander Barth &g

Re: [OctDev] submitting jobs through grid engine

2010-09-29 Thread Alexander Barth
Here is what I use to run octave with sun's grid engine. PATH and LD_LIBRARY_PATH are set in my bash startup scripts. To run: qsub ~/bin/run_octave.sh script_name "script_name" (without .m) is assumed to be in octave's path. hope this helps, Alex $ cat run_octave.sh #!/bin/sh #$ -S /bin/bash #

Re: [OctDev] octcdf bug "error: a cs-list cannot be further indexed"

2010-10-11 Thread Alexander Barth
Hi Andy, Marcelo and Matthias, octcdf does not work with octave version 3.2.x. To make octcdf work in the current version of octave, it would require changes in octave and not in octcdf. Those changes have been made in the developpement version of octave (3.3.x), but not in the current stable vers

[OctDev] octcdf 1.1.1 (was Re: No configure script in octcdf 1.1.0 package in Octave Forge)

2010-11-17 Thread Alexander Barth
Dear José, thank you for pointing this out! I have uploaded a new version 1.1.1 where this problem is corrected. This should also address your previous issue (undefined symbol: nc_put_att_double). I prefer that you write to the mailing list, instead of writing directly to me. As for version 1.1.0

Re: [OctDev] reading longitudes in Octcdf

2010-11-17 Thread Alexander Barth
On Wed, Nov 17, 2010 at 10:41 AM, Eduardo D. da Costa wrote: > Dear Alexander, > > Thanks for your octcdf package that is allowing me to to use octave in my > new job. Before I used mainly matlab. > In the  file example_netcdf.m that comes with your package there is an > example how to read a netc

Re: [OctDev] No configure script in octcdf 1.1.0 package in Octave Forge

2010-11-30 Thread Alexander Barth
Dear Søren and José, I uploaded a new octcdf version (1.1.1) the 17 November on the phpBB forum where this issue is corrected. The strange think is that my post is no longer present on this forum. Actually I see only a single post about dataframe-0.8.2. Shall I resubmit the package on this forum?

Re: [OctDev] reading longitudes

2010-11-30 Thread Alexander Barth
Dear Eduardo, You did seem to recieve my previous email. http://www.mail-archive.com/octave-dev@lists.sourceforge.net/msg04566.html The command to get the longitude value is: LON = nc{'longitude'}(:); (notice the curly brackets) Cheers, Alex On Wed, Nov 17, 2010 at 10:07 AM, wrote: > > Dear

Re: [OctDev] No configure script in octcdf 1.1.0 package in Octave Forge

2010-11-30 Thread Alexander Barth
Dear Søren Here is the uploaded octcdf 1.1.1 version: https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=44 Thank you for your time to maintaint the octave-forge site! Cheers, Alex 2010/11/30 Søren Hauberg : > tir, 30 11 2010 kl. 14:49 +0100, skrev Alexander Barth: >> D

Re: [OctDev] Possible bug in octcdf-1.1.1 package

2010-12-05 Thread Alexander Barth
Hi José, I tested this example address and it works on my computer (netcdf 4.1.1 with opendap enabled). >> nc = netcdf('http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r'); >> nc nc = filename = http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops nvars = 22 natts = 6 ndims = 4 mode = DataMode Yo

Re: [OctDev] Possible bug in octcdf-1.1.1 package

2010-12-06 Thread Alexander Barth
2010/12/5 José Luis García Pallero : > Hello, > > El día 5 de diciembre de 2010 15:33, Alexander Barth > escribió: >> You might also try the following address: >> nc = netcdf('http://test.opendap.org/dap/data/nc/fnoc1.nc','r'); >> >> Doe

Re: [OctDev] Error compiling octcdf-1.1.1 with octave 3.2.4

2010-12-16 Thread Alexander Barth
Dear Orion, Unfortunatelty, octcdf does not work with octave version 3.2.x. To make octcdf work in the current version of octave, it would require changes in octave and not in octcdf. Those changes have been made in the developpement version of octave (3.3.x), but not in the current stable version

[OctDev] new octcdf 1.1.2

2011-02-07 Thread Alexander Barth
Hi all, I updated octcdf to make it work with octave 3.3.91. With the previous version of octcdf, you will see errors like in the latest test release of octave: error: permute: invalid permutation vector Cheers, Alex --

[OctDev] new optiminterp-0.3.3

2011-03-25 Thread Alexander Barth
Hi all, I updated optiminterp. In this release an openmp directive was fixed. https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=9 Cheers, Alex -- Enable your software for Intel(R) Active Management Technology

Re: [OctDev] nctest failed!

2011-06-15 Thread Alexander Barth
Dear Jack octcdf does not work with octave version 3.2.x. To make octcdf work in in octave 3.2, it would require changes in octave and not in octcdf. Those changes have been made in the current stable release octave 3.4 (but not in the previous stable version). It is generally preferable to write

Re: [OctDev] nctest failed!

2011-06-20 Thread Alexander Barth
#x27; just work perfectly well. I > have done this and it seems to be working without any problem. > > Jack. > > > Quoting Alexander Barth : > >> Dear Jack >> >> octcdf does not work with octave version 3.2.x. To make octcdf work in >> in octave 3

Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge

2011-11-11 Thread Alexander Barth
> > hello, octave-forge :) > created main/sparsersb, in order to host files for the "sparsersb" oct-file > package; that is, an Octave function to have an additional Octave type for > using the sparse matrix implementation given by the "librsb" library. > > ---

Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge

2011-11-12 Thread Alexander Barth
On Fri, Nov 11, 2011 at 11:48 PM, Michele Martone wrote: > On 2011@22:29, Alexander Barth wrote: >> > >> > hello, octave-forge :) >> > created main/sparsersb, in order to host files for the "sparsersb" >> > oct-file package; that is, an Octave

Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge

2011-11-12 Thread Alexander Barth
more details on the two packages at www.mld2p4.it and > www.ce.uniroma2.it/psblas > > Thanks > Salvatore > > Il giorno sab, 12/11/2011 alle 11.44 +0100, Alexander Barth ha scritto: >> On Fri, Nov 11, 2011 at 11:48 PM, Michele Martone >> wrote: >> > On

Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge

2011-11-13 Thread Alexander Barth
On Sun, Nov 13, 2011 at 12:41 AM, Michele Martone wrote: > On 2012@18:25, Jordi Gutiérrez Hermoso wrote: >> On 12 November 2011 18:18, Carlo de Falco wrote: >> > On 12 Nov 2011, at 16:04, c. wrote: >> >> On 12 Nov 2011, at 12:17, Alexander Barth wrote: >

Re: [OctDev] "librsb"+"sparsersb" packages proposal for octave-forge

2011-11-13 Thread Alexander Barth
On Sun, Nov 13, 2011 at 10:20 PM, Alexander Barth wrote: > On Sun, Nov 13, 2011 at 12:41 AM, Michele Martone > wrote: >> On 2012@18:25, Jordi Gutiérrez Hermoso wrote: >>> On 12 November 2011 18:18, Carlo de Falco wrote: >>> > On 12 Nov 2011, at 16:04, c. wr

[OctDev] new version of octcdf 1.1.3

2012-02-09 Thread Alexander Barth
Hi all, I have release octcdf 1.1.3. It fixes a bug which makes it crash with octave 3.6.0. Thanks to John W. Eaton for his insight to fix this issue. I've just posted it in the package forum ( https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=4). Please upload it to the server. B

[OctDev] new version of octcdf 1.1.4

2012-02-22 Thread Alexander Barth
Hi all, I have released octcdf 1.1.4 which fixed several issues in the previsous version 1.1.3 when using the function names without the nc prefix. Thanks for uploading it to the server. Best regards, Alexander -- Virtual

[OctDev] reckon function

2008-03-25 Thread Alexander Barth
Hi all, Does somebody works on an implementation of the reckon function? http://www.mathworks.com/access/helpdesk/help/toolbox/map/index.html?/access/helpdesk/help/toolbox/map/reckon.html Otherwise, I will give it a try. Thanks Alex --

Re: [OctDev] reckon function

2008-03-25 Thread Alexander Barth
On Tue, Mar 25, 2008 at 11:18 AM, Alexander Barth <[EMAIL PROTECTED]> wrote: > Hi all, > > Does somebody works on an implementation of the reckon function? > > http://www.mathworks.com/access/helpdesk/help/toolbox/map/index.html?/access/helpdesk/help/toolbox/map/reckon.h

Re: [OctDev] Licensing problems in octave-forge pkgs

2008-06-19 Thread Alexander Barth
Hi Rafael, Sorry for my late reply. I added a copyright statement and license (GPL2 or later) to the files I wrote: octcdf: inst/example_netcdf.m, inst/example_opendap.m (no copyright statement) optiminterp: inst/example_optiminterp.m (no copyright statement) This is fixed thus in

Re: [OctDev] Building the optiminterp package - Fortan libraries not included in link stage?

2008-08-27 Thread Alexander Barth
On Wed, Aug 27, 2008 at 3:55 PM, Benjamin Lindner <[EMAIL PROTECTED]> wrote: > I tried to build the optiminterp-0.3.1 package on octave-3.0.2/mingw32. > > I get a linker error of undefined references to a number > "__gfortran_whatever" functions. > Looking into the makefile, I see that the linking

Re: [OctDev] Proposed octave-forge for FreeBSD

2008-08-27 Thread Alexander Barth
> > The only packages I didn't get to build were database, java and > jhandles. If someone else could do these for me I would appreciate it. > I also did not get octcdf to build, because it requires a newer > version of netcdf than FreeBSD currently has in the ports. Hi Stephen, Thank you for yo

Re: [OctDev] Proposed octave-forge for FreeBSD

2008-08-28 Thread Alexander Barth
On Wed, Aug 27, 2008 at 10:10 PM, Stephen Montgomery-Smith <[EMAIL PROTECTED]> wrote: > Alexander Barth wrote: >>> >>> The only packages I didn't get to build were database, java and >>> jhandles. If someone else could do these for me I would appreciate it

[OctDev] octcdf 1.1.5

2012-07-03 Thread Alexander Barth
Hi all, I have released octcdf 1.1.5 which includes the functions ncread, ncwrite and ncinfo (similar to the matlab equivalent functions). Thanks for uploading it to the server. Best regards, Alexander -- Live Security

Re: [OctDev] octcdf 1.1.5

2012-07-18 Thread Alexander Barth
icolon. > > Rafael > > * Alexander Barth [2012-07-03 15:01]: > >> Hi all, >> >> I have released octcdf 1.1.5 which includes the functions ncread, >> ncwrite and ncinfo (similar to the matlab equivalent functions). >> >> Thanks for upl

[OctDev] new package ncArray 1.0.0

2012-07-18 Thread Alexander Barth
Dear all, I have released a new package called ncArray for manipulating netcdf files. It depends on the functions ncread, ncwrite and ncinfo from octcdf. Maybe someday, these functions will be implemented in octave (as they are in matlab) and ncArray will be independent from octcdf. The package a

Re: [OctDev] new package ncArray 1.0.0

2012-07-18 Thread Alexander Barth
update the server? Best regards, Alex On Wed, Jul 18, 2012 at 1:30 PM, Alexander Barth wrote: > Dear all, > > I have released a new package called ncArray for manipulating netcdf > files. It depends on the functions ncread, ncwrite and ncinfo from > octcdf. Maybe someday, these fu

Re: [OctDev] new package ncArray 1.0.0

2012-07-18 Thread Alexander Barth
On Wed, Jul 18, 2012 at 3:14 PM, Michael Goffioul wrote: > On Wed, Jul 18, 2012 at 12:44 PM, Alexander Barth > wrote: >> >> Sorry for poor spelling in my last email. The email was sent >> inadvertently before I could check it. >> Source packages are here: >

Re: [OctDev] octcdf 1.1.5

2012-07-28 Thread Alexander Barth
On Sat, Jul 28, 2012 at 6:47 PM, Nit Nit wrote: >> I cannot reproduce this problem on my Linux machine. I use netcdf >> 4.1.1. It might be specific to mingw or the netcdf library. >> (there is a small typo in example_opendap: iamgesc should be imagesc, >> but this is unrelated to your problem). >>

Re: [OctDev] octcdf 1.1.5

2012-07-30 Thread Alexander Barth
On Sun, Jul 29, 2012 at 8:30 AM, marco atzeri wrote: > On 7/29/2012 12:50 AM, nitnit wrote: >> >> Alexander Barth-3 wrote >>> >>> According to this page: >>> http://www.unidata.ucar.edu/software/netcdf/faq-lfs.html >>> this error might be relate

Re: [OctDev] octcdf 1.1.5

2012-08-01 Thread Alexander Barth
On Mon, Jul 30, 2012 at 6:05 PM, nitnit wrote: > > marco atzeri-4 wrote >> >> built and packaged the 4.2.1 so now I also see: >> >> $ ncdump -k http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops >> classic >> NetCDF: One or more variable sizes violate format constraints >> Location: file >> /pub/dev

Re: [OctDev] ncread (octcdf) strange

2012-11-20 Thread Alexander Barth
On Tue, Nov 20, 2012 at 1:16 PM, Muhali wrote: > Adapting example_opendap.m as follows > > > pkg load octcdf > nc = netcdf(ncfile='http://hycom.coaps.fsu.edu/thredds/dodsC/atl_ops','r'); > N=size(nc{'ssh'}) > ssh = ncread(ncfile, 'ssh', [1 1 1], [1 1 N(3)]) > > > I get > > N = > > 73