nctoolbox in ubuntu 13.10

88 views
Skip to first unread message

Abdoulaye Sy

unread,
Jan 21, 2014, 6:41:26 PM1/21/14
to ncto...@googlegroups.com

how do i configure nctoolbox on matlab r2009a in ubuntu 13.10

Rich Signell

unread,
Jan 22, 2014, 7:03:06 AM1/22/14
to ncto...@googlegroups.com
Abdoulaye,

Just follow the "installation" link on this page:
http://code.google.com/p/nctoolbox/

There is nothing special about ubuntu 13.10. 
That's the nice thing about NCTOOLBOX. 
It's just java + matlab, so it's the same on all systems -- no mex files required!

-Rich

Richard Signell

unread,
Jan 22, 2014, 7:06:01 AM1/22/14
to ncto...@googlegroups.com
Oops. I gave the old Google Code link by mistake.
We have moved to github, so please use this installation link instead:

https://github.com/nctoolbox/nctoolbox/wiki/Installation
> --
> You received this message because you are subscribed to the Google Groups
> "nctoolbox" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to nctoolbox+...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.



--
Rich Signell
81 Queen St
Falmouth, MA

Abdoulaye Sy

unread,
Jan 22, 2014, 1:18:16 PM1/22/14
to ncto...@googlegroups.com
thank you for your response
i wanted to demand how do i configure nctoolbox java path on my r2009a


2014/1/22 Richard Signell <rsig...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "nctoolbox" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nctoolbox/heArDHSHXL0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to nctoolbox+...@googlegroups.com.

Rich Signell

unread,
Jan 22, 2014, 1:44:07 PM1/22/14
to ncto...@googlegroups.com
If you follow the installation instructions the path is configured for
you when you run "setup_nctoolbox"
Falmouth, MA 02540

Abdoulaye Sy

unread,
Jan 23, 2014, 5:06:26 AM1/23/14
to ncto...@googlegroups.com
thank you Richard the installation is OK now

But on the README file it's writing  
 
"" 3. This sets up nctoolbox for the current Matlab session only.
     You will need to add the following lines to your startup.m file if you would like
     nctoolbox automatically when you start Matlab:

        % Edit "/Path/to/nctoolbox" to correct nctoolbox directory
        addpath("/Path/To/nctoolbox")
        setup_nctoolbox ""
the startup.m is unknown in my release of matlab (r2009a)
 


2014/1/22 Rich Signell <ri...@signell.us>

Rich Signell

unread,
Jan 23, 2014, 6:07:01 AM1/23/14
to ncto...@googlegroups.com

Abdoulaye Sy

unread,
Jan 23, 2014, 6:50:12 AM1/23/14
to ncto...@googlegroups.com
ok i have done it and it's ok
i have always problems with the demo files e.g when i run demo6.m i  have this message
"demo6
% Starting DEMO6 ----------------------------------------------------------
% Gratuitis demo showing AUV path
nav = ncdataset('http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/ssds/generated/netcdf/files/ssds.shore.mbari.org/auvbi/missionlogs/2009/2009173/2009.173.03/navigation.nc');
??? Error using ==> ncdataset>ncdataset.ncdataset at 91
Failed to open
http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/ssds/generated/netcdf/files/ssds.shore.mbari.org/auvbi/missionlogs/2009/2009173/2009.173.03/navigation.nc

Error in ==> demo6 at 7
nav =
ncdataset('http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/ssds/generated/netcdf/files/ssds.shore.mbari.org/auvbi/missionlogs/2009/2009173/2009.173.03/navigation.nc');

Caused by:
    Undefined variable "ucar" or class
    "ucar.nc2.dataset.NetcdfDataset.openDataset". "



2014/1/23 Rich Signell <ri...@signell.us>

Abdoulaye Sy

unread,
Jan 23, 2014, 7:00:26 AM1/23/14
to ncto...@googlegroups.com
i had this message because i doesn't run setup_nctoolbox.m and setup_nctoolbox_java.m
So I always have to execute setup_nctoolbox.m and setup_nctoolbox_java.m at startup
Thank you Richard for help



2014/1/23 Abdoulaye Sy <ablay...@gmail.com>

Abdoulaye Sy

unread,
Jan 23, 2014, 7:13:22 AM1/23/14
to ncto...@googlegroups.com
i had this message because i didn't run setup_nctoolbox.m and setup_nctoolbox_java.m

Rich Signell

unread,
Jan 23, 2014, 7:30:42 AM1/23/14
to ncto...@googlegroups.com
You should only have to run "setup_nctoolbox" because that function
calls setup_nctoolbox_java for you.

If you have edited startup.m and have it in a directory that is in
your matlab path, then you will automatically have nctoolbox loaded
each time you start matlab.

Abdoulaye Sy

unread,
Jan 23, 2014, 12:57:29 PM1/23/14
to ncto...@googlegroups.com
I did that and everything works as it should
thank you again


2014/1/23 Rich Signell <ri...@signell.us>
Reply all
Reply to author
Forward
0 new messages