-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add cartopy? #50
Comments
Yes, I was fearing that at some point we really want to have The problem is that one can not "just" install
I personally never got used to |
Well, I use Though using conda will also take some fussing - when I tried to set up a conda environment by just installing Or we could make a container? https://github.com/earth-system-radiation/rte-rrtmgp/blob/main/.github/workflows/containerized-ci.yml#L10, https://github.com/earth-system-radiation/containers |
I am actually not worried too much of getting it to work within CI or binder. There's e.g. hackathon_env which properly sets up a binder environment (or docker image using repo2docker) which includes I am more worried of how to expain and maintain that explanation to someone who follows running locally > via git. |
Maybe we could also do a setup like it is described here on stackoverflow, i.e.: make a conda environment which includes the requirements.txt. That way we could keep a single source of information, but give a choice to users if they want to install via conda or via pip? |
It's great if we have a way for users of conda to run the book. But then how do we support users of pip? |
Well, if you want to run That said, we would still need to explain the installation of |
I made a |
Indeed I'm quite confused, @d70-t . Documentation suggests that the environment I create will be activate in later steps but Otherwise I would be ready to add examples from the P-3... |
Hmm, I probably can look into it tomorrow, but I have to admit, that I never really used conda, so maybe I'll have a hard time on this. |
I will also keep working... but it doesn't seem to be a problem with the conda installation but rather that the virtual environment isn't being invoked |
@d70-t Got it... it helps to follow directions |
For making maps in many cases we will want to add the
cartopy
Python module but simply adding the module torequirements.txt
leads to unresolvable dependencies (https://github.com/RobertPincus/how_to_eurec4a/commit/acac4cc2486c9d152415dfbdb2955ee4322a472b). I can't get my local module stack to work withconda
- can someone (@d70-t ?) show me how to modifyrequirements.txt?
(I love that autocorrect wants to change cartopy to "carroty")
The text was updated successfully, but these errors were encountered: