Comments (8)
In the documentation, the part
Finally you can install ECmean4 directly from pip
> pip install ECmean4
can be misunderstood in the way that installation only from PyPI is possible.
Fair point, I will update the doc!
from ecmean4.
What is the esmpy
package that ECmean4 is looking for? I did not find such a package on PyPI.
from ecmean4.
What is the
esmpy
package that ECmean4 is looking for? I did not find such a package on PyPI.
Answer to myself: I can see that there is an esmpy
package on conda-forge, which is meant here.
So I guess that it would work in a conda environment (using environment.yml
) but not direct installation from PyPI (with pip install ECmean4
).
from ecmean4.
Hi @uwefladrich, exactly. ESMF is required for interpolation, and this is shipped via conda. Although I create the pypi package there is no way to run it unless you set up the environment via conda/mamba.
Installation details are here: https://ecmean4.readthedocs.io/en/latest/installation.html
On the long term I plan to replace ESMF with CDO which is a bit more common in our machines, so that we might be able to set it up also with pip.
from ecmean4.
Okay, installing from conda-forge is fine for me.
In the documentation, the part
Finally you can install ECmean4 directly from pip
> pip install ECmean4
can be misunderstood in the way that installation only from PyPI is possible.
from ecmean4.
Hi Uwe, I updated the documentation
https://ecmean4.readthedocs.io/en/latest/installation.html
This should work without the need of downloading the github code
mamba create -n ecmean "python>=3.8" xesmf
mamba activate ecmean
pip install ECmean4
from ecmean4.
[...]
mamba create -n ecmean "python>=3.8" xesmf mamba activate ecmean pip install ECmean4
Yes, I tested and that works!
Still, maybe you might want to make it even clearer that any installation procedure requires conda/mamba (due to dependencies on conda-forge package). I think there is nothing wrong with requiring conda, it just needs to be stated clearly. Otherwise, people might still misinterpret the "Using PyPi" heading as "Pip installation".
Somewhat related, but not exacly:
- The
environment.yml
file should be minimal, i my opinion.coverage
andpytest
are probably not needed to run ECmean4. - I would put another environment file (e.g.
environment-dev.yml
) besideenvironment.yml
in the root dir. You mentionecmean/utils/dev_environment.yml
in the documentation, but that does not exist.
from ecmean4.
Thanks Uwe, all suggestions considered and - in theory - included! I am closing the issue, please feel free to reopen it if you spot other problems...
from ecmean4.
Related Issues (20)
- ECmean4 not running with python 3.11 HOT 3
- Including sea ice area in global mean HOT 2
- Refactor of global mean HOT 5
- Correct the parsing of the global_mean() and performance_indices()
- Interpolation with CDO to replace xESMF HOT 3
- Non-cmor variables HOT 2
- Revisiting the file-handling functions HOT 1
- Revisiting the `component` and its files in the interface YAML files HOT 1
- Coherence and alignment of `global_mean` and `performance_indices` HOT 1
- global mean with no standard deviation does not show up in the figure HOT 1
- Coverage is not considering the call to `subprocess.run()`
- variables that cannot be processed HOT 1
- oceanic mask HOT 1
- Midlat regions are misleading
- Global Mean for `tas`: CRU data does not include Antarctica
- Evaporation has a flipped sign in EC-Earth4 data
- Coverage is changing results and taking foreever
- Matplotlib 3.8.0 and seaborn 1.12.2 does not plot annotations in heatmap HOT 1
- Slow down of the `performance_indices` due to `xesmf>=0.8` version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecmean4.