Skip to content

Carga y procesamiento masivo de imágenes, corte, calculo de índices, estadísticas de bandas, despliegue RGB, OIF correlación y covarianza .

Notifications You must be signed in to change notification settings

famartinezal/Sentinel-2-en-R

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel-2-en-R

Cargar Multiples Imágenes Sentinel-2 en R

ESPINAL_RGB1 ESPINAL_RED1 ESPINAL_RGB1 ESPINAL_RED1

Cargar paquetes

if(!require(raster)){install.packages('raster'); library(raster)} else {library(raster)}
if(!require(rgdal)){install.packages('rgdal'); library(rgdal)} else {library(rgdal)}
if(!require(gdalUtils)){install.packages('gdalUtils'); library(gdalUtils)} else {library(gdalUtils)}

Creación de funciones:

1. Función que convierte de jp2 a tiff

convierte = function(dir){
    lista= list.files(dir, full.names = T,pattern = "jp2")# Lista los nombres del directorio
    jp2=as.list(lista)# Convierte en una lista
    tif=lapply( jp2,FUN = batch_gdal_translate, dir, outsuffix = ".tif")}

2. Función que lee tiff

lee_tiff = function(dir){
    listar= list.files(dir, full.names = T,pattern = "tif")# Lista los nombres del directorio
    lista=as.list(listar)# Convierte en una lista
    apila=stack(lista)
    bloque=brick(apila)}

Cargar Multiples Imágenes Sentinel-2 en R

Syntax highlighted code block
  • Bulleted
  • List
  1. Numbered
  2. List

Bold and Italic and Code text

Link and Image


For more details see [GitHub Flavored Markdown](https://guides.github.com/features/mastering-markdown/).

### Jekyll Themes

Your Pages site will use the layout and styles from the Jekyll theme you have selected in your [repository settings](https://github.com/famartinezal/Sentinel-2-en-R/settings). The name of this theme is saved in the Jekyll `_config.yml` configuration file.

### Support or Contact

Having trouble with Pages? Check out our [documentation](https://help.github.com/categories/github-pages-basics/) or [contact support](https://github.com/contact) and we’ll help you sort it out.

About

Carga y procesamiento masivo de imágenes, corte, calculo de índices, estadísticas de bandas, despliegue RGB, OIF correlación y covarianza .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published