A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

cbers4asat

Python library to search and process images from the CBERS-04A and AMAZONIA-1 satellites, which provide remote sensing data for the observation and monitoring of deforestation, particularly in the Amazon region, and diversified agriculture throughout the national territory, with a high repetition rate, in order to act in synergy with existing environmental programmes.
https://github.com/gabriel-russo/cbers4asat

Category: Sustainable Development
Sub Category: Environmental Satellites

Keywords

amazonia-1 amazonia1 cbers cbers-04a cbers-4a cbers4a geoprocessamento geoprocessing gis inpe python remote-sensing sensoriamento-remoto

Last synced: about 2 hours ago
JSON representation

Repository metadata

📚 Biblioteca Python para realizar a busca e processamento de imagens dos satélites CBERS-04A e AMAZONIA-1 🛰️ 🇧🇷

README.md

🛰️ cbers4asat 🇧🇷

Descrição

Biblioteca Python para realizar a busca e processamento de imagens dos satélites CBERS-04A e AMAZONIA-1.

A biblioteca cbers4asat surgiu da necessidade de automatizar a busca e manipulação de imagens do satélite
sino-brasileiro CBERS-04A utilizando linguagens de programação. Posteriormente foi incluido a automação do satélite AMAZONIA-1.

O design do projeto foi inspirado no sentinelsat, onde é possível de forma
intuitiva realizar diversas ações, como:

  • Pesquisar por imagens.
  • Baixar as imagens pesquisadas.
  • Processar as imagens baixadas.

Veja todos os exemplos de uso na documentação.

"Python library to search and process images from the CBERS-04A and AMAZONIA-1 satellites, which provide remote
sensing data for the observation and monitoring of deforestation, particularly in the Amazon region, and diversified
agriculture throughout the national territory, with a high repetition rate, in order to act in synergy with existing
environmental programmes.
"

Text about cbers4asat from Open Sustainable Technology Repository.


Latest Version
Latest Version
Latest Version
Latest Version
Code style: black
Hatch project
GitHub Workflow Status
GitHub Workflow Status
GitHub Workflow Status
Documentation Status

Read this README in english (old version of docs)
🇺🇸

Download

pip install cbers4asat

Instalação com a caixa de ferramentas

pip install "cbers4asat[tools]"

Busque imagens com poucas linhas de código

from cbers4asat import Cbers4aAPI
from datetime import date

# Inicializando a biblioteca
api = Cbers4aAPI('[email protected]')

# Área de interesse. Pode ser: bouding box, path row ou polygon.
path_row = (229, 124)

# Buscando metadados. Este exemplo utiliza o path row (órbita/ponto). 
# Consulte a órbita/ponto: http://www.obt.inpe.br/OBT/assuntos/catalogo-cbers-amz-1
produtos = api.query(location=path_row,
                     initial_date=date(2021, 6, 1),
                     end_date=date(2021, 7, 1),
                     cloud=100,
                     limit=10,
                     collections=['CBERS4A_WPM_L4_DN'])

# Exibindo os resultados
print(produtos)

Desenvolvimento amigável

Biblioteca com tipagem, documentações e classes de apoio para uma melhor experiência de desenvolvimento.

from cbers4asat import Collections as coll

Utilize a caixa de ferramenta para os trabalhos mais comuns

# Para ver todas as ferramentas disponíveis, verifique a documentação
from cbers4asat.tools import rgbn_composite
from rasterio.plot import show
import rasterio as rio

# Criando a composição cor verdadeira
rgbn_composite(red='./CBERS4A_WPM22812420210704/CBERS_4A_WPM_20210704_228_124_L4_BAND3.tif',
               green='./CBERS4A_WPM22812420210704/CBERS_4A_WPM_20210704_228_124_L4_BAND2.tif',
               blue='./CBERS4A_WPM22812420210704/CBERS_4A_WPM_20210704_228_124_L4_BAND1.tif',
               nir='./CBERS4A_WPM22812420210704/CBERS_4A_WPM_20210704_228_124_L4_BAND4.tif',
               filename='CBERS4A_WPM22812420210704_TRUE_COLOR.tif',
               outdir='./STACK')

# Plotando a imagem
raster = rio.open("./STACK/CBERS4A_WPM22812420210704_TRUE_COLOR.tif")

show(raster)

Documentação

Você pode ler a documentação da biblioteca no link abaixo

https://cbers4asat.readthedocs.io/

TCC

Esse projeto foi meu objeto de estudo do Trabalho de Conclusão de Curso (TCC) no curso de Bacharelado em Ciência da Computação, você
pode visualizar o PDF neste Link:

Repositório Institucional da Universidade Federal de Rondônia

Contribuição

Convido qualquer pessoa a participar contribuindo com código, relatando bugs,
escrevendo documentação, criando tutoriais e discutindo o futuro deste projeto.

Para mais informações de como contribuir ao projeto,
leia ao manual de contribuição

Progresso do projeto

Você pode acompanhar todo o progresso do desenvolvimento
no painel de projetos

Licença

Copyright (c) 2025 Gabriel Russo

Copyright (c) 2020 Sandro Klippel

O uso é fornecido sob a Licença do MIT. Veja
em LICENSE
para mais detalhes.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 97
Total Committers: 3
Avg Commits per committer: 32.333
Development Distribution Score (DDS): 0.021

Commits in past year: 15
Committers in past year: 1
Avg Commits per committer in past year: 15.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Gabriel Russo g****o@p****m 95
henrique bernini h****i@h****m 1
Tiago Porto Flores t****s@s****r 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 18
Total pull requests: 12
Average time to close issues: 22 days
Average time to close pull requests: 1 day
Total issue authors: 3
Total pull request authors: 3
Average comments per issue: 0.83
Average comments per pull request: 0.17
Merged pull request: 12
Bot issues: 0
Bot pull requests: 0

Past year issues: 6
Past year pull requests: 10
Past year average time to close issues: 20 days
Past year average time to close pull requests: 1 day
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 0.17
Past year average comments per pull request: 0.1
Past year merged pull request: 10
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/gabriel-russo/cbers4asat

Top Issue Authors

  • gabriel-russo (16)
  • tflores (1)
  • vivianmarcello (1)

Top Pull Request Authors

  • gabriel-russo (10)
  • BerniniH (1)
  • tflores (1)

Top Issue Labels

  • Novos recursos (7)
  • Documentação (5)
  • Problema (4)
  • Procura-se ajuda (2)
  • Otimização necessária (2)

Top Pull Request Labels

  • Problema (3)
  • Documentação (3)
  • Novos recursos (2)
  • Wontfix (1)

Package metadata

pypi.org: cbers4asat

Biblioteca Python para realizar a busca e processamento de imagens dos satélites CBERS-04A e AMAZONIA-1

  • Homepage: https://cbers4asat.readthedocs.io/pt_BR/latest
  • Documentation: https://cbers4asat.readthedocs.io/
  • Licenses: MIT License Copyright (c) 2025 Gabriel Russo Copyright (c) 2020 Sandro Klippel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 0.9.1 (published 26 days ago)
  • Last Synced: 2025-04-26T14:41:08.113Z (1 day ago)
  • Versions: 20
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 1,140 Last month
  • Rankings:
    • Dependent packages count: 6.633%
    • Downloads: 9.71%
    • Stargazers count: 13.613%
    • Average: 18.212%
    • Forks count: 30.492%
    • Dependent repos count: 30.611%
  • Maintainers (1)

Dependencies

.github/workflows/build-cbers4asat.yml actions
  • actions/checkout v3 composite
  • actions/download-artifact v3 composite
  • actions/upload-artifact v3 composite
  • pypa/gh-action-pypi-publish 27b31702a0e7fc50959f5ad993c78deac1bdfc29 composite
.github/workflows/test-cbers4asat.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
cli/Cargo.lock cargo
  • 157 dependencies
cli/Cargo.toml cargo
docs/requirements.txt pypi
  • mkdocs >=1.4.2
  • mkdocstrings >=0.20.0
  • mkdocstrings-python >=0.8.3
pyproject.toml pypi
.github/workflows/build-cbers4asat-cli.yml actions
  • actions/checkout v3 composite
  • svenstaro/upload-release-action v2 composite

Score: 12.050295643958332