sandroklippel / cbers4a Goto Github PK
View Code? Open in Web Editor NEWSearch and download CBERS4A imagery from INPE.
License: MIT License
Search and download CBERS4A imagery from INPE.
License: MIT License
Hi, i was helping a friend with QGIS Plugin [CBERS4A DOWNLOADER](
and the link to register is broken:
Link to register
http://www2.dgi.inpe.br/catalogo/explore
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'
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]
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.