Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Ok, that looks good. GEOS seems to have installed fine. If you go back into the directory where the install script downloaded basemap we can try to do the install again. It should be something like /path/to/climate/easy-ocw/basemap-1.0.7 Then using the Anaconda Python (be sure to check and make s

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Hrm ya getting all the necessary dependencies can be quite painful sometimes. Especially when something drops or changes underneath you and we haven't run into the problem yet. If you do get a chance to recreate it that would be awesome. And of course patches are always welcome, so fixes to the vag

[jira] [Created] (CLIMATE-565) Update Easy-OCW wiki to reflect recent changes

2015-01-14 Thread Michael Joyce (JIRA)
Michael Joyce created CLIMATE-565: - Summary: Update Easy-OCW wiki to reflect recent changes Key: CLIMATE-565 URL: https://issues.apache.org/jira/browse/CLIMATE-565 Project: Apache Open Climate Workbenc

[jira] [Created] (CLIMATE-566) Output redirects in Easy-OCW clobber install log

2015-01-14 Thread Michael Joyce (JIRA)
Michael Joyce created CLIMATE-566: - Summary: Output redirects in Easy-OCW clobber install log Key: CLIMATE-566 URL: https://issues.apache.org/jira/browse/CLIMATE-566 Project: Apache Open Climate Workbe

[jira] [Commented] (CLIMATE-563) Add ESGF module to documentation

2015-01-14 Thread Michael Joyce (JIRA)
[ https://issues.apache.org/jira/browse/CLIMATE-563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277102#comment-14277102 ] Michael Joyce commented on CLIMATE-563: --- Lewis, what is your PYTHONPATH set to? >

[RESULT][VOTE] Apache Open Climate Workbench 0.5 RC1

2015-01-14 Thread Michael Joyce
Hi all, The vote to release OCW 0.5 has closed after a very long holiday break. The results are as follows: +1s Michael Joyce Lewis John Mcbiggney Paul Ramirez +0s Cameron Goodale -1s None I'll get the release pushed as quickly as possible. -- Joyce

[RELEASE] Apache Open Climate Workbench 0.5

2015-01-14 Thread Michael Joyce
Hi all, Apache OCW 0.5 has been released. It's available at [1] for the moment. I will update the website once the mirrors update. Thanks for all the hard work everyone! [1] https://dist.apache.org/repos/dist/release/climate/ -- Joyce

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
No it shouldn't matter where it's at. Was mostly just guessing where it might be off the top of my head to be honest =) -- Joyce On Wed, Jan 14, 2015 at 8:26 AM, nicpeder...@gmail.com < nicpeder...@gmail.com> wrote: > The basemap folder is in my home directory. Should I move it first? > > Nic >

[jira] [Created] (CLIMATE-567) Update DOAP for 0.5

2015-01-14 Thread Michael Joyce (JIRA)
Michael Joyce created CLIMATE-567: - Summary: Update DOAP for 0.5 Key: CLIMATE-567 URL: https://issues.apache.org/jira/browse/CLIMATE-567 Project: Apache Open Climate Workbench Issue Type: Tas

[jira] [Resolved] (CLIMATE-567) Update DOAP for 0.5

2015-01-14 Thread Michael Joyce (JIRA)
[ https://issues.apache.org/jira/browse/CLIMATE-567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Joyce resolved CLIMATE-567. --- Resolution: Fixed Resolved in #5b25b729 > Update DOAP for 0.5 > --- > >

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Ok the second one leads me to believe that the wrong Python is getting used. Can you check that 'python' really is the anaconda python where numpy would be installed? Namely, what is the output of `which python` and can you manually run python and import numpy without an error? -- Joyce On Wed,

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
And if you run python and import numpy it does or doesn't fail? If it's pointing to the Anaconda python when you ran the other command I'm not really sure why it would fail on a numpy import =/ -- Joyce On Wed, Jan 14, 2015 at 8:57 AM, nicpeder...@gmail.com < nicpeder...@gmail.com> wrote: > Out

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
No problem. So to elaborate a bit for you. The problem that killed the install when you ran it with sudo was "ImportError: No module named numpy" So when it tried to run setup.py something somewhere tried to import the numpy library. Numpy is one of the OCW dependencies and one of the packages in

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Hrm ok. Good sign that we can import numpy. However, it makes no sense that we end up with an import error. Try running the install command again and see what happens. Make sure you don't do it in a new terminal or anything. So do: which python sudo python setup.py install from the basemap folder

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Type exit() and then enter or control+D You're just stuck in the Python REPL. -- Joyce On Wed, Jan 14, 2015 at 10:15 AM, nic pederson wrote: > My command line starts with ">>>" > > How do I get out of that? > On Jan 14, 2015 9:53 AM, "Michael Joyce" wrote: > >> Hrm ok. Good sign that we ca

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Sigh, that is thoroughly confusing. I will try to replicate this when I have some free time then. What version of Ubuntu are you using at the moment? And what version of the code base are you using (0.4 or did you grab the latest from master)? In the mean time, you might consider trying the VM to

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Carl Middleton
Is there a list of required Python dependencies available? I started a VM install and can verify there is at least one broken step: cp /install_Ubuntu_12.04.sh . (paraphrased from my phone) As vagrant ties in nicely with chef provisioning, and I've already written most of the code I'd need, I co

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Actually I lied, I do have an idea. I just spoke with one of my coworkers who pointed out something to me. We're running "python setup.py install" as sudo, which means that we're probably ending up with roots python. Try the following: sudo /home/nic/climate/anaconda/bin/python setup.py install

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Hey Carl, We used Anaconda on the Ubuntu install largely due to lazyness when these were first written I think. For the OS X script in there we just install what we need with conda/pip so you should be able to find all the necessary dependencies in: https://github.com/apache/climate/blob/master/e

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Lots of text is good, or at least better than what we were getting =D Let's check to see if it actually did install with: python from mpl_toolkits.basemap import Basemap If that imports correctly then we're good. If it didn't then I'll have to look out the output from the install command to see

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Yay, it worked. This is what we were looking for 1. (ocw)nic@nic-Lenovo-IdeaPad-Z400-Touch:~/basemap-1.0.7$ python 2. Python 2.7.6 |Anaconda 1.9.2 (64-bit)| (default, Jan 17 2014, 10:13:17) 3. [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2 4. Type "help", "copyright", "credits"

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
Perfect. Looks like it ran well. There should be an image in that examples folder now. Thanks for sticking with it Nic! I'm glad we got it working for you finally. -- Joyce On Wed, Jan 14, 2015 at 12:06 PM, nic pederson wrote: > pastebin.com/aP5LBCEb > On Jan 14, 2015 11:43 AM, "Michael Joyce"

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
It shouldn't really matter. Use whatever you want/whatever works =) Glad to help! Sorry for all the pain. To hopefully debug some of this when I have a bit of time I just want to confirm that you're running Ubuntu 11.14 and OCW 0.4 right? -- Joyce On Wed, Jan 14, 2015 at 12:41 PM, nicpeder...@

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread Michael Joyce
There should be a CHANGES.txt in the top of the climate directory. A few lines down you should seem something similar to Release Notes - Apache Open Climate Workbench - Version 0.5 Just let us know what version is listed there and we can extrapolate from that. Thanks much! -- Joyce On Wed, Ja

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Thanks guys! That sounds about right. The missing module is numpy when owc is activated. (It's filenames when it's deactivated)... Also, I feel like I may have made a bit of a mess of the file structure in trying to move/reinstall Anaconda a couple times. Thanks for all your help. Nic On Jan 12,

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Thanks for looking. That's exactly what I did... What as the best way to wipe/reinstall? Im fairly new to Linux and command line in general. Nic On Jan 12, 2015 1:51 PM, "Michael Joyce" wrote: > Ok after looking around a bit and checking your RC my guess is that you > did something along the lin

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
/home/nic/Learning/climate/anaconda/bin/conda On Jan 12, 2015 12:47 PM, "Michael Joyce" wrote: > Strange. When you run "which conda" what do you see? > > > -- Joyce > > On Mon, Jan 12, 2015 at 12:40 PM, nic pederson > wrote: > >> That did it! Except now I cannot activate OWC. When I activate, I

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
I didn't add the line above because I'm not quite sure how. How do I edit the activate file? On Jan 12, 2015 8:03 PM, "Michael Joyce" wrote: > That is the virtualenv one. The anaconda one should be > /home/nic/climate/anaconda/bin/python. > Note that if you added that line above you will need to

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Which python produces ~/climate/easy/easy-ocw/ocw/bin/python On Jan 12, 2015 7:42 PM, "Michael Joyce" wrote: > Ok not quite as confident now as I thought but try this. I think you might > be running into an annoying little bug and/or a gap in the documentation > here. Try adding this to the end o

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
Hi guys, I was still having trouble, so just did a fresh install of ubuntu. Everything went fine until I tried to activate OCW. I get an error that says "error: no environment provided" Thanks again Nic Sent from my HTC phone. - Reply message - From: "Michael Joyce" To: "nic peders

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
Great! Is GNOME the preferred image viewer? eog command works, just wanted to be sure. Thanks again for everything, guys! Nic Sent from my HTC phone. - Reply message - From: "Michael Joyce" To: "nic pederson" Cc: "dev@climate.apache.org" , "chris.a.mattm...@nasa.gov" Subject: New S

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
That worked.. but now "no module named numpy" On Jan 12, 2015 7:12 PM, "Michael Joyce" wrote: > Trying running source ocw/bin/activate from ~/climate/easy-ocw and see if > that works > > > -- Joyce > > On Mon, Jan 12, 2015 at 7:10 PM, nic pederson > wrote: > >> "source activate" when in ~/climat

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Can we do a team viewer or some other remote control? I am feeling a little deflated. N On Jan 12, 2015 9:07 PM, "nic pederson" wrote: > When I run it from the easy-ocw folder, is says permission denied. When I > run it with sudo, it says the same thing... > On Jan 12, 2015 8:51 PM, "nic pederso

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Ok. Opened it in gedit. Added the line to the end, but it won't let me save. Says it's read only N On Jan 12, 2015 8:14 PM, "Michael Joyce" wrote: > You could use an editor such as nano (not sure if this would be > installed), emacs or vim (both of which would be potentially challenging > for yo

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Here is my bash Pastebin.com/7ULyyng3 On Jan 12, 2015 7:12 PM, "Michael Joyce" wrote: > Trying running source ocw/bin/activate from ~/climate/easy-ocw and see if > that works > > > -- Joyce > > On Mon, Jan 12, 2015 at 7:10 PM, nic pederson > wrote: > >> "source activate" when in ~/climate/easy-

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
.bashrc pastebin.com/P4Ux1XJm "conda info" bash: /home/nic/Learning/climate/anaconda/bin/conda: /home/nic/anaconda/bin/python: bad interpreter: no such file or directory Sent from my HTC phone. - Reply message - From: "Michael Joyce" To: "nic pederson" Cc: "dev@climate.apache.org" ,

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Here's a link to what happens in terminal when I try that command... It doesn't ask for a password pastebin.com/hcMNqWAa Also, when I'm installing ocw originally, am I supposed to use the -e tag at the end of the command that executes the installation? Would that potentially cause these errors?

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
I did use the -e flag. Here's the install log pastebin.com/UXVgJNTb On Jan 13, 2015 12:02 PM, "Michael Joyce" wrote: > Hrm ok. That's even more strange. > > So the -e flag tells the script that you want it to install virtualenv (if > necessary), make a new virtualenv named 'ocw', and install som

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
I'm with you on it being weird. Ok. Here's a link to that output pastebin.com/rA4P7eCh I'm not working on a VM. And the network is my own. Thanks, Nic Sent from my HTC phone. - Reply message - From: "Michael Joyce" To: "nic pederson" Cc: "chris.a.mattm...@nasa.gov" , "dev@climate.

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
"source activate" when in ~/climate/easy-ocw/ocw/bin On Jan 12, 2015 7:05 PM, "Michael Joyce" wrote: > Hey Nic, > > What command are you using to start the environment? > > > -- Joyce > > On Mon, Jan 12, 2015 at 7:00 PM, nicpeder...@gmail.com < > nicpeder...@gmail.com> wrote: > >> Hi guys, >> >>

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
Basemap test - output. pastebin.com/rrAzxHMu Nic - Reply message - From: "Michael Joyce" To: "nic pederson" Cc: "dev@climate.apache.org" , "chris.a.mattm...@nasa.gov" Subject: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW Date: Tue, Jan 13,

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
It returns: bash: ocw/bin/activate: No such file or directory On Jan 12, 2015 8:35 PM, "Michael Joyce" wrote: > Try running the above command instead of using gedit. If it gives you > permission denied try prepending "sudo " to the command and typing your > admin password when prompted. > > > --

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
It didn't seem to like it. I also tried with sudo since it gave permission errors. pastebin.com/LDbpgvWu On Jan 14, 2015 8:29 AM, "Michael Joyce" wrote: > No it shouldn't matter where it's at. Was mostly just guessing where it > might be off the top of my head to be honest =) > > > -- Joyce > >

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
I'm not sure I know what you mean by that. How do I run python and import bumpy? I apologize for my command line naivety. Nic On Jan 14, 2015 9:10 AM, "Michael Joyce" wrote: > And if you run python and import numpy it does or doesn't fail? If it's > pointing to the Anaconda python when you ran t

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
My command line starts with ">>>" How do I get out of that? On Jan 14, 2015 9:53 AM, "Michael Joyce" wrote: > Hrm ok. Good sign that we can import numpy. However, it makes no sense > that we end up with an import error. Try running the install command again > and see what happens. Make sure you

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
:) that's great.. I definitely want it to work too. As to the permissions problem, a friend suggested I try sudo chmod 666 ~/climate/easy-ocw/ocw/bin/activate It seems to have passed through properly. Should I still try what you've suggested above? Here's the link to the terminal result. Paste

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
pastebin.com/kneXbeUJ On Jan 14, 2015 10:17 AM, "Michael Joyce" wrote: > Type > > exit() and then enter > > or control+D > > You're just stuck in the Python REPL. > > > -- Joyce > > On Wed, Jan 14, 2015 at 10:15 AM, nic pederson > wrote: > >> My command line starts with ">>>" >> >> How do I get

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
When I run it from the easy-ocw folder, is says permission denied. When I run it with sudo, it says the same thing... On Jan 12, 2015 8:51 PM, "nic pederson" wrote: > It returns: > > bash: ocw/bin/activate: No such file or directory > On Jan 12, 2015 8:35 PM, "Michael Joyce" wrote: > >> Try runn

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
pastebin.com/dDB1PVCz On Jan 14, 2015 9:31 AM, "Michael Joyce" wrote: > No problem. So to elaborate a bit for you. The problem that killed the > install when you ran it with sudo was > > "ImportError: No module named numpy" > > So when it tried to run setup.py something somewhere tried to import

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nicpeder...@gmail.com
Output of which python is /home/nic/climate/anaconda/bin//python Sent from my HTC phone. - Reply message - From: "Michael Joyce" To: "nic pederson" Cc: "dev@climate.apache.org" , "chris.a.mattm...@nasa.gov" Subject: New Student - Caltech-JPL Summer School on Big Data Analytics - Ne

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
Ubuntu 14.10 and not sure about the ocw. How can I check that? On Jan 14, 2015 12:47 PM, "Michael Joyce" wrote: > It shouldn't really matter. Use whatever you want/whatever works =) > > Glad to help! Sorry for all the pain. > > To hopefully debug some of this when I have a bit of time I just want

Need more climate moderators

2015-01-14 Thread Mattmann, Chris A (3980)
Guys I just moderated through a ton of email. I think we need more moderators. Any volunteers? Cheers, Chris ++ Chris Mattmann, Ph.D. Chief Architect Instrument Software and Science Data Systems Section (398) NASA Jet Propulsion La

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
It did seem to band aid that part, but now it can't find baseman. Here's the terminal. pastebin.com/BSgt7BwW Nic On Jan 13, 2015 12:07 PM, "Michael Joyce" wrote: > One more thing to try (and I suspect it would band-aid the problem): > > Start up the virtualenv, run the following command, and se

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
0.5 Thanks again! Nic On Jan 14, 2015 1:04 PM, "Michael Joyce" wrote: > There should be a CHANGES.txt in the top of the climate directory. A few > lines down you should seem something similar to > > Release Notes - Apache Open Climate Workbench - Version 0.5 > > Just let us know what version is

Re: New Student - Caltech-JPL Summer School on Big Data Analytics - Need Help Setting up OCW

2015-01-14 Thread nic pederson
That seemed to work :) there was a massive dump of copying going on. I didn't see any errors. The last line run was customize UnixCCompiler ..Ok, I guess I should test the samples, but I'll wait for you to advise. On Jan 14, 2015 10:58 AM, "Michael Joyce" wrote: > Actually I lied, I do have an