SECOORA / skill_score

Prototypes for the SECOORA skill score
MIT License
7 stars 1 forks source link

Workaround for environment sharing issue in Wakari #37

Closed rsignell-usgs closed 10 years ago

rsignell-usgs commented 10 years ago

@jcothran , @ocefpaf I tried running Filipe's shared bundle https://www.wakari.io/sharing/bundle/filipefernandes/inundation_secoora in Wakari, and it failed several times with "unknown error". I've reported this to Continuum.

However, you CAN get it going in Wakari following this approach.

In Wakari, click the Terminals tab, then select Shell and np18py27-1.9 (or some other environment you have created) and then click + Tab: 7-21-2014 8-12-15 am

Then clone the secoora repo:

git clone https://github.com/ioos/secoora.git

and add the requirements directly to your conda environment from my binstar channel:

conda config --add channels https://conda.binstar.org/rsignell
conda install iris pyoos folium vincent

then navigate to the secoora repo using the file browser on the left, and run the notebook called inundation_secoora.ipynb.

Don't forget to click the little security shield in the Chrome navigation bar that says "allow unsafe scripts" so that the javascript plots can work!

Here's proof that it worked! 7-21-2014 7-59-21 am

ocefpaf commented 10 years ago

Cool. But the more I use wakari the more I am convinced it is not a good option for me. I think that their servers are not robust enough for free accounts in another continent.

rsignell-usgs commented 10 years ago

But it should work okay for @jcothran, if perhaps not the optimal environment. We will be buying an Enterprise Wakari license for the IOOS testbed machine that will allow multi-user login in the next few months. That should be cool.

rsignell-usgs commented 10 years ago

And of course:

conda config --add channels https://conda.binstar.org/rsignell
conda install iris pyoos folium vincent

should work on any Linux 64 or MacOS platform, not just on Wakari.

rsignell-usgs commented 10 years ago

@ocefpaf & @dpsnowden , where do you think we should put tips on running notebooks, running on Wakari, etc?

ocefpaf commented 10 years ago

I am not against wakari! Quite the opposite!! I do think that they are in the right path. I am just a little upset that continuum/wakari does not have the same firepower as netflix.

@jcothran as soon as you can confirm that this works for you we can close this issue.

ocefpaf commented 10 years ago

@ocefpaf https://github.com/ocefpaf & @dpsnowden https://github.com/dpsnowden , where do you think we should put tips on running notebooks, running on Wakari, etc?

For now? Here: https://github.com/ioos/secoora/wiki/Running-on-wakari

dpsnowden commented 10 years ago

This might be fine. I actually haven't read it. But we do have a couple other docs and possibly wiki pages with similar content. I don't care where it lives as long as we don't leave fragments and out of date info sprinkled about other places. Github.com/IOOS/system-test/wakari comes to mind as one place that is probably out of date. There are other docs in peoples ipython-notebooks repos. I think rich Emilio and others each maintain repos with various fragments of info. Altogether we have the makings of a good howto but when they aren't maintained and get out of date they arent helpful.

jcothran commented 10 years ago

@ocefpaf , @rsignell-usgs

I haven't tested this on wakari yet, but I'll take Rich at his word that it worked on the day and hour of the week when wakari was available and fine with closing this issue. Appreciate Rich's earlier mention on using the anaconda distribution local server side, and that will probably be my route going forward assuming that collected documentation uses that or something else relatively common and accessible as a starting point for local reproduction, experimentation or developments towards some operational product.

Generally I've been bookmarking people's wakari usernames and associated shared bundles as a code reference point for the time being. Not sure if wakari documentation availability is subject to the same outages as their other infrastructure, if so guess the ioos github would be the best primary/secondary linkage point.

Thanks Jeremy

ocefpaf commented 10 years ago

Thanks @jcothran. Closing the issue.