Git Product home page Git Product logo

Comments (11)

LiliGuimaraes avatar LiliGuimaraes commented on August 24, 2024 1

Hello @fitoprincipe I need to talk to you, can you have me your email?

from geebap.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

Hi @cugsunjie, still interested? Sorry, I didn't see the issue before..

from geebap.

krubiano avatar krubiano commented on August 24, 2024

Hi @fitoprincipe, I'm interested. I'm trying to run the code and have the same error.

from geebap.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

Hi @krubiano , what python version are you running?

from geebap.

krubiano avatar krubiano commented on August 24, 2024

@fitoprincipe I'm running python v. 2.7.16.

from geebap.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

Actually I dropped python 2 support, switch to python 3 and see if it works.

from geebap.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

Hi @cugsunjie, @krubiano, how did all go? should I close this issue?

from geebap.

krubiano avatar krubiano commented on August 24, 2024

@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.

krubiano avatar krubiano commented on August 24, 2024

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.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

@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:

  1. create a new environment in anaconda (geebap_dev_py3 could be the name)
  2. install EE API
  3. if you haven't got git for windows, install it
  4. Using git, clone the repo:

git clone https://github.com/fitoprincipe/geebap

  1. Enter Anaconda prompt
  2. Go to geebap folder (repo), for example, if you cloned it into C:/CLONES>

(geebap_dev_py3) C:/>cd CLONES
(geebap_dev_py3) C:/CLONES>cd geebap
(geebap_dev_py3) C:/CLONES/geebap>

  1. switch to develop branch

git checkout develop

  1. install the develop branch

pip install .

  1. May be before step 8 you have to install the dependencies, like geetools, see: gee-community/geetools#26 (comment)

Good luck! =)

from geebap.

fitoprincipe avatar fitoprincipe commented on August 24, 2024

Hi @krubiano and @cugsunjie, I just pushed a new version =) you can try it out

from geebap.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.