-
Notifications
You must be signed in to change notification settings - Fork 10
auto install latest yodapy in JHub notebook #120
Comments
I don't quite get what you are trying to do here? Install yodapy in a jupyterhub user space, and make sure it stays around when that user space is shutdown? |
yeah; which it won't unless you just re-install it next time you start up :) |
If you have access to the underlying environment yaml for the JHub, you can always install it there if you need this package all the time. |
Sure; I have in mind more the scientist who is a "customer" of the JHub; who does not necessarily want to get caught up in the mechanics of the service but who does want to have access to the latest and greatest yodapy; but without having to "remember to install" every time they log in. This could also be an Issue for the pangeo gang; i.e. don't feel obliged to solve it :) |
I will do a PR on the yodapy documentation to follow up on this :) We have the essential framework for how to install and use yodapy so the narrative has to do a bit more. For example we need to establish what the credential file is, where it lives, why it is not in a repo, and how to tell if it is created properly. In my case I have installed yodapy with no errors on my Windows PC.
The first line of Python code to run is:
This gives a huge error message on the first try; like the one given below. There is no error on the second try. Next I run
This completes with no error but there is no evidence of a Finally we are to run
This produces an error:
|
Did you install from the master build? |
From your command above it appears that you didn't. Echopype got update recently, and I recently updated this dependency but haven't made a release. |
Summary Thanks Don :) This works now "almost" with one Deprecation Warning along the way and a "save to NetCDF" problem at the very end. As a side note: I do not see how to confirm that credentials are stored outside the repo directory. The tail end issue is that the xarray Dataset write to as a local netcdf file konks out. See the note at the bottom for more on this. Details Direct install: Success. First import and set_credentials_file(): No errors!
Note There is one issue with this data. It is a list with one element; so if I try this:
I get a serialization warning and a long error message. Incidentally the type of
|
See the question I placed on "Implications" on the yodapy main README after the "how to install" sections: Is it worth putting an install-latest command in a .cshrc of a Jupyter notebook pod?
The text was updated successfully, but these errors were encountered: