Comments (11)
Hello @fitoprincipe I need to talk to you, can you have me your email?
from geebap.
Hi @cugsunjie, still interested? Sorry, I didn't see the issue before..
from geebap.
Hi @fitoprincipe, I'm interested. I'm trying to run the code and have the same error.
from geebap.
Hi @krubiano , what python version are you running?
from geebap.
@fitoprincipe I'm running python v. 2.7.16.
from geebap.
Actually I dropped python 2 support, switch to python 3 and see if it works.
from geebap.
Hi @cugsunjie, @krubiano, how did all go? should I close this issue?
from geebap.
@fitoprincipe I already switched to python 3 and installed the new version, but still having an error. I will try in deep and let you know.
from geebap.
Hi @fitoprincipe I'm trying to run the code using an anaconda environment. I've got the following error:
scores: ['score-doy', 'score-sat', 'score-atm-op', 'score-outlier', 'score-index', 'score-maskper', 'score-cld-dist']
satellites: ['LANDSAT/LE07/C01/T1_SR', 'LANDSAT/LE07/C01/T1_TOA', 'LANDSAT/LT05/C01/T1_TOA', 'LANDSAT/LT05/C01/T1_SR']Satellite: LANDSAT/LE07/C01/T1_SR
ini: 2009-11-15 ,end: 2010-03-15
size after filters: 29
Traceback (most recent call last):
File "geebap_py3.py", line 59, in
indices=("ndvi"))
File "C:\Users\kristian.rubiano\AppData\Local\Continuum\anaconda3\envs\geebap_py3\lib\site-packages\geebap-0.1.8.dev0-py3.7.egg\geebap\bap.py", line 914, in bestpixel
normalize=normalize, bbox=bbox, force=force)
File "C:\Users\kristian.rubiano\AppData\Local\Continuum\anaconda3\envs\geebap_py3\lib\site-packages\geebap-0.1.8.dev0-py3.7.egg\geebap\bap.py", line 651, in collection
f = col.INDICES[i]
KeyError: 'n'
Sorry if it's a simple error, could you help me?
from geebap.
@krubiano , I haven't updated the pypi version yet, because I'm still working on the new version. But you can try installing the develop branch:
- create a new environment in anaconda (
geebap_dev_py3
could be the name) - install EE API
- if you haven't got git for windows, install it
- Using git, clone the repo:
git clone https://github.com/fitoprincipe/geebap
- Enter Anaconda prompt
- Go to
geebap
folder (repo), for example, if you cloned it intoC:/CLONES>
(geebap_dev_py3) C:/>cd CLONES
(geebap_dev_py3) C:/CLONES>cd geebap
(geebap_dev_py3) C:/CLONES/geebap>
- switch to
develop
branch
git checkout develop
- install the develop branch
pip install .
- May be before step 8 you have to install the dependencies, like
geetools
, see: gee-community/geetools#26 (comment)
Good luck! =)
from geebap.
Hi @krubiano and @cugsunjie, I just pushed a new version =) you can try it out
from geebap.
Related Issues (6)
- Example code does not work HOT 2
- overwriting module name in example notebook HOT 1
- Install error HOT 1
- Problem upon import HOT 5
- Updated version available? 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 geebap.