Git Product home page Git Product logo

cbers4a's People

Contributors

elitonfilho avatar phborba avatar sandroklippel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cbers4a's Issues

error on starting the plugin

2021-06-29T15:50:58 WARNING Traceback (most recent call last):
File "/home/sandro/.local/share/QGIS/QGIS3/profiles/default/python/plugins/cbers4a/qgis_cbers4a_downloader.py", line 272, in update_collection
year, month, day = int(mindate[0]), int(mindate[1]), int(mindate[2])
ValueError: invalid literal for int() with base 10: '27T13:55:50'

  • probably when updating collections

ValueError: invalid literal for int()

Boa tarde Sandro

Esta semana ao tentar usar o CBERS04A Donwloader, fica aprecendo a seguinte mensagem

WARNING Traceback (most recent call last):
File "D:\Usuários/gfep/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cbers4a\qgis_cbers4a_downloader.py", line 272, in update_collection
year, month, day = int(mindate[0]), int(mindate[1]), int(mindate[2])
ValueError: invalid literal for int() with base 10: '27T13:55:49'

Aí conversando com alguns colegas verificamos que semana passada houve alguma alteração no serviço das imagens Cbers04A.

E parece que o problema está que na data eles colocaram um "T" antes da hora.

Então foi só abrir o código, ir na linha 272 e alterar int(mindate[2]) por int(mindate[2].split('T')[0])

Mas creio que nem todo mundo tem "know-how" de como fazê-lo.

Então estou te escrevendo para ver se poderia atualizar o código e disponibilizar uma atualização.

Desde já agradeço a atenção.

Um abraço

Atc.

Gerardo Perez [email protected]

QGIS 3.30 - TypeError: QgsRubberBand(): argument 2 has unexpected type 'bool'

Hi, I just updated QGIS to version 3.30 and got the following error:

TypeError: QgsRubberBand(): argument 2 has unexpected type 'bool'

Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 423, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\Users/aperius/AppData/Roaming/QGIS/QGIS3\profiles\APK/python/plugins\cbers4a_init
.py", line 39, in classFactory
return Cbers4aDownloader(iface)
File "C:\Users/aperius/AppData/Roaming/QGIS/QGIS3\profiles\APK/python/plugins\cbers4a\qgis_cbers4a_downloader.py", line 79, in init
self.footprint = QgsRubberBand(iface.mapCanvas(), True)
TypeError: QgsRubberBand(): argument 2 has unexpected type 'bool'

Must be something to do with the new version.

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.