Comments (3)
Hi @bastiencyr!
Thank you for the suggestion! GEE is not a dev dep. But I understand what you are saying, and it makes sense. However, it is then unclear where to draw the line (or how many lines to draw, aka multiple extras). Someone using just rasterio would say that they don't need xarray in the deps.
I will keep it simple for now and leave them in deps, satisfying all possible needs. Nevertheless, if it causes trouble, please feel free to reopen this issue!
Best,
David
from spyndex.
Hey,
You're right, GEE is indeed used in the code and I didn't see this: https://github.com/awesome-spectral-indices/spyndex/blob/main/spyndex/spyndex.py
However, ee and eemont are very heavy (~100Mb). Docker images built with spyndex take space. We can create profile and install spyndex with the right option. For example, pip install spyndex[all]
to install all depedencies or pip install spyndex[ee]
to install spyndex only with ee support. It can be done with the following configuration:
extras_require={
"all": ["spyndex[ee]", "spyndex[rasterio]"},
"ee": ["earthengin-api", "eemont>=0.3.6"],
"rasterio": [...],
},
I didn't test this configuration.
We can renamed this issue in "Create optional dependencies list to lighten the size of spyndex package" , and thus, I don't think this issue has to be closed.
from spyndex.
This is exactly what I wanted to avoid. But I understand you. I will keep this Issue open (and see what others thinks) and will think and work on it later on ;)
from spyndex.
Related Issues (20)
- Add `kwargs` to `computeIndex` and `computeKernel` HOT 1
- Can't load the package in google colab HOT 2
- [Suggestion] Pin requirement versions (specifically python-box)
- QST: Maturity level of spyndex HOT 2
- Something wrong with NDWI HOT 2
- Default values for constants in spectral indices HOT 6
- QST: Compute custom spectral indices HOT 4
- spyndex.plot.heatmap not working HOT 1
- `spyndex` breaks with `earthengine-api==0.1.365` HOT 1
- migrate from setup.py to pyproject.toml HOT 1
- Error while running the toy example HOT 1
- Separate bands and constants in `SpectralIndex` objects HOT 1
- Support index-specific constant defaults HOT 1
- issue in calculating some of the vegetation indices HOT 7
- `globals` to `locals` HOT 1
- Missing gamma parameter for ARVI index. HOT 2
- `online` argument is not working HOT 1
- Add `omega` HOT 1
- Add `SpectralIndex` class 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 spyndex.