SlideShare ist ein Scribd-Unternehmen logo
1 von 20
GRASS GIS in the sky
GRASS GIS as high-
performance remote
sensing toolbox
Markus Neteler, Markus Metz, Moritz Lennert
https://grass.osgeo.org/
FOSDEM 2018 GRASS GIS in the sky 2/20
GRASS GIS Intro
r3.flow
Skyview factor
from LiDAR
g.gui.tplot
● Geographic Resources Analysis Support System
● Open Source GIS
● developed since 1984, since 1999 GNU GPL
● Portable code (many operating systems, 32/64bit)
● Your GIS backbone – linkable to:
FOSDEM 2018 GRASS GIS in the sky 3/20
GRASS GIS and Python
Using GRASS GIS from “outside” through “grass-session”
pip install git+https://github.com/zarch/grass-session.git
# in future, the stable "grass-session" release
# will be available with:
# pip install grass-session
Finally easy use of GRASS GIS
as a processing backend in Python!
Combine with GDAL, OTB, ...
FOSDEM 2018 GRASS GIS in the sky 4/20
GRASS GIS 7.4 Release
● New: Get demo data at start screen
● GUI: data catalog improved
● Most of ortho-rectification brought back
● r.in.gdal + r.external: provide support for import of
raster maps exceeding 90N or 90S or with an EW
extent larger than 360 degrees
● r.out.gdal: possibility to create overviews which
enhances the compatibility with other GIS software
packages
● v.clip added for easy vector clipping
● … (480 fixes and improvements with respect to
7.2.0)
https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures74
FOSDEM 2018 GRASS GIS in the sky 5/20
GRASS GIS 7.4 Release
● Atmospheric correction updated with new
satellites
● MODIS product processing made easy
FOSDEM 2018 GRASS GIS in the sky 6/20
Remote sensing in GRASS GIS :
a long history
● Imagery submodule already
available for GRASS 1.1 in 1986
● i.* modules fully integrated in
version 3.0 in 1988
● Steady improvement and additions
ever since
● From simple text terminal to X-
monitors to a modern GUI
● Memory efficient modules
FOSDEM 2018 GRASS GIS in the sky 7/20
Preprocessing
i.landsat.toar
i.pansharpen
i.atcorr
i.landsat.acca
i.topo.corr
Classification
i.maxlik
i.smapr.learn.ml
r.kappa
g.gui.iclass
● Pixel-based tools for satellite
and aerial imagery
● Most state-of-the-art methods
implemented
● Complete toolchain from pre-
processing to classification
● Many highly specialized tools
Transformation, edge
detection, index extraction
i.pca
i.fft
i.cca i.oifi.tasscap
i.wavelet
i.zci.edge
i.cva
Remote sensing in GRASS GIS :
pixel-based techniques
Specialized modules
i.evapo.*
i.biomassi.eb.*
i.albedo
i.gravityi.feotio2
i.water
i.lswt
FOSDEM 2018 GRASS GIS in the sky 8/20
● Complete toolchain from segmentation
to classification
● Including
– unsupervised segmentation
parameter optimization
– high performance object statistics
calculation
– module-level parallelization
● Recently created module for SLIC
superpixel creation
source : http://dx.doi.org/10.3390/rs9040358
Remote sensing in GRASS GIS :
object-based image analysis
FOSDEM 2018 GRASS GIS in the sky 9/20
● Suite of LiDAR data tools
● Suite for creation of orthophotos
● Current developments :
– convolutional neural networks
– cutlines for semantically sensitive tiling
– etc, etc
● Constantly growing list of extensions
● Permanent work on performance
improvements
Remote sensing in GRASS GIS :
plus so much more !
FOSDEM 2018 GRASS GIS in the sky 10/20
High-performance computing
Example: NDVI time series
Harmonic
Analysis of
Time Series
(HANTS)
FOSDEM 2018 GRASS GIS in the sky 11/20
High-performance computing
Components
– master with job/queue manager
– compute nodes
disk space per CPU core
RAM per CPU core
ideally one SSD per node
master
(compute node)
General HPC layout
compute
node
compute
node
compute
node Parallelization :
several GRASS commands
running at the same time
FOSDEM 2018 GRASS GIS in the sky 12/20
High-performance computing
Chunks for parallel processing
Temporal processing
● spatial chunks
need to be mosaiked at the end
or
● temporal chunks
need overlap
t
1 2
3 4
2
1
overlap
FOSDEM 2018 GRASS GIS in the sky 13/20
High-performance computing
Spatial chunks
computational region
● North, South, West, East
● rows, columns
pre-defined regions,
one for each chunk (tile)
Alternative
● create X tiles from one raster map (r.tile)
1 2
3 4
FOSDEM 2018 GRASS GIS in the sky 14/20
High-performance computing
Chunks for parallel processing
Spatial processing
● each time step as one chunk
or
● spatial chunks
not recommended
→ spatial discontinuities
t
FOSDEM 2018 GRASS GIS in the sky 15/20
High-performance computing
GRASS installation setup
– environmental variables
– paths
GRASS session setup
– variable GISRC for rc file
● GRASS database
● location
● mapset
script 1
GRASS commands
script 2
1. create unique GISRC, unique mapset
2. run script 1
3. copy results
4. delete GISRC, mapset
script 3
job manager settings
run script 2
always check return codes
FOSDEM 2018 GRASS GIS in the sky 16/20
High-performance computing
temporary GRASS GIS session
GISRC: name of file with GRASS variables
GISRC contents:
GISDBASE: name
LOCATION_NAME: name
MAPSET: name
LOCATION_NAME: sub-directory of GISDBASE
MAPSET: sub-directory of LOCATION_NAME
export GISRC=/path/to/tmpgisrc
Ideally all on a SSD scratch disk
script 2
Arguments : first and last time step
1. create temporary GISRC, mapset
with unique names, using a pre-defined
mapset template
2. run script 1 in temporary mapset
3. copy results, one for each time step, from
temporary mapset to final mapset
4. delete temporary GISRC, mapset
rm -rf $GISRC /path/to/temp_mapset
directories
http://grass.osgeo.org/wiki
FOSDEM 2018 GRASS GIS in the sky 17/20
High-performance computing
job/queue manager
– Select / create a queue
– submit a job to a queue
– start a job when hardware
resources are available
– redirect stdout and stderr to
unique files
job with task(s), here task = script 2
job 1 : running
job 2 : running
job 3 : running
job 4 : running
job 5 : waiting
job 6 : waiting
job 7 : waiting
job 8 : waiting
waiting : no hardware resources
available
FOSDEM 2018 GRASS GIS in the sky 18/20
High-performance computing
Collect results
– Copy results to one common
GRASS mapset
→ this is the I/O bottleneck
try nice / ionice
cluster file systems
job 1
results
job 2 job 3 job 4
job 5
job 6
job 7
job 8job 9job 10job 11
job 12
job 13
job 14
FOSDEM 2018 GRASS GIS in the sky 19/20
High-performance computing
MODIS Land Surface Temperature
temporal + spatial processing
FOSDEM 2018 GRASS GIS in the sky 20/20
High-performance computing
Most important
Have a good admin
that fixes the system
after you broke it
Neteler M, Metz M, 2011 – 2018, pers. com.

Weitere ähnliche Inhalte

Mehr von Markus Neteler

News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, RomaniaNews in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, RomaniaMarkus Neteler
 
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...Markus Neteler
 
GRASS GIS lightening talk at FOSS4G 2006
GRASS GIS lightening talk at FOSS4G 2006GRASS GIS lightening talk at FOSS4G 2006
GRASS GIS lightening talk at FOSS4G 2006Markus Neteler
 
From a niche to a global user community: Open Source GIS and OSGeo
From a niche to a global user community: Open Source GIS and OSGeoFrom a niche to a global user community: Open Source GIS and OSGeo
From a niche to a global user community: Open Source GIS and OSGeoMarkus Neteler
 
GRASS and OSGeo: a framework for archeology
GRASS and OSGeo: a framework for archeologyGRASS and OSGeo: a framework for archeology
GRASS and OSGeo: a framework for archeologyMarkus Neteler
 
The need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsThe need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsMarkus Neteler
 
The GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarThe GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarMarkus Neteler
 
Community based software development: The GRASS GIS project
Community based software development: The GRASS GIS projectCommunity based software development: The GRASS GIS project
Community based software development: The GRASS GIS projectMarkus Neteler
 
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...Markus Neteler
 

Mehr von Markus Neteler (11)

News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, RomaniaNews in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
News in GRASS GIS7. Plenary talk at FOSS4G-CEE 2013, Romania
 
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
Scaling up globally: 30 years of FOSS4G development. Keynote at FOSS4G-CEE 20...
 
GRASS GIS lightening talk at FOSS4G 2006
GRASS GIS lightening talk at FOSS4G 2006GRASS GIS lightening talk at FOSS4G 2006
GRASS GIS lightening talk at FOSS4G 2006
 
GRASS GIS e Sextante
GRASS GIS e SextanteGRASS GIS e Sextante
GRASS GIS e Sextante
 
25 Years of GRASS GIS
25 Years of GRASS GIS25 Years of GRASS GIS
25 Years of GRASS GIS
 
From a niche to a global user community: Open Source GIS and OSGeo
From a niche to a global user community: Open Source GIS and OSGeoFrom a niche to a global user community: Open Source GIS and OSGeo
From a niche to a global user community: Open Source GIS and OSGeo
 
GRASS and OSGeo: a framework for archeology
GRASS and OSGeo: a framework for archeologyGRASS and OSGeo: a framework for archeology
GRASS and OSGeo: a framework for archeology
 
The need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formatsThe need of Interoperability in Office and GIS formats
The need of Interoperability in Office and GIS formats
 
The GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS SeminarThe GRASS GIS software (with QGIS) - GIS Seminar
The GRASS GIS software (with QGIS) - GIS Seminar
 
Community based software development: The GRASS GIS project
Community based software development: The GRASS GIS projectCommunity based software development: The GRASS GIS project
Community based software development: The GRASS GIS project
 
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
Free GIS Software meets zoonotic diseases: From raw data to ecological indica...
 

Kürzlich hochgeladen

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 

Kürzlich hochgeladen (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 

GRASS GIS as high-performance remote sensing toolbox

  • 1. GRASS GIS in the sky GRASS GIS as high- performance remote sensing toolbox Markus Neteler, Markus Metz, Moritz Lennert https://grass.osgeo.org/
  • 2. FOSDEM 2018 GRASS GIS in the sky 2/20 GRASS GIS Intro r3.flow Skyview factor from LiDAR g.gui.tplot ● Geographic Resources Analysis Support System ● Open Source GIS ● developed since 1984, since 1999 GNU GPL ● Portable code (many operating systems, 32/64bit) ● Your GIS backbone – linkable to:
  • 3. FOSDEM 2018 GRASS GIS in the sky 3/20 GRASS GIS and Python Using GRASS GIS from “outside” through “grass-session” pip install git+https://github.com/zarch/grass-session.git # in future, the stable "grass-session" release # will be available with: # pip install grass-session Finally easy use of GRASS GIS as a processing backend in Python! Combine with GDAL, OTB, ...
  • 4. FOSDEM 2018 GRASS GIS in the sky 4/20 GRASS GIS 7.4 Release ● New: Get demo data at start screen ● GUI: data catalog improved ● Most of ortho-rectification brought back ● r.in.gdal + r.external: provide support for import of raster maps exceeding 90N or 90S or with an EW extent larger than 360 degrees ● r.out.gdal: possibility to create overviews which enhances the compatibility with other GIS software packages ● v.clip added for easy vector clipping ● … (480 fixes and improvements with respect to 7.2.0) https://trac.osgeo.org/grass/wiki/Grass7/NewFeatures74
  • 5. FOSDEM 2018 GRASS GIS in the sky 5/20 GRASS GIS 7.4 Release ● Atmospheric correction updated with new satellites ● MODIS product processing made easy
  • 6. FOSDEM 2018 GRASS GIS in the sky 6/20 Remote sensing in GRASS GIS : a long history ● Imagery submodule already available for GRASS 1.1 in 1986 ● i.* modules fully integrated in version 3.0 in 1988 ● Steady improvement and additions ever since ● From simple text terminal to X- monitors to a modern GUI ● Memory efficient modules
  • 7. FOSDEM 2018 GRASS GIS in the sky 7/20 Preprocessing i.landsat.toar i.pansharpen i.atcorr i.landsat.acca i.topo.corr Classification i.maxlik i.smapr.learn.ml r.kappa g.gui.iclass ● Pixel-based tools for satellite and aerial imagery ● Most state-of-the-art methods implemented ● Complete toolchain from pre- processing to classification ● Many highly specialized tools Transformation, edge detection, index extraction i.pca i.fft i.cca i.oifi.tasscap i.wavelet i.zci.edge i.cva Remote sensing in GRASS GIS : pixel-based techniques Specialized modules i.evapo.* i.biomassi.eb.* i.albedo i.gravityi.feotio2 i.water i.lswt
  • 8. FOSDEM 2018 GRASS GIS in the sky 8/20 ● Complete toolchain from segmentation to classification ● Including – unsupervised segmentation parameter optimization – high performance object statistics calculation – module-level parallelization ● Recently created module for SLIC superpixel creation source : http://dx.doi.org/10.3390/rs9040358 Remote sensing in GRASS GIS : object-based image analysis
  • 9. FOSDEM 2018 GRASS GIS in the sky 9/20 ● Suite of LiDAR data tools ● Suite for creation of orthophotos ● Current developments : – convolutional neural networks – cutlines for semantically sensitive tiling – etc, etc ● Constantly growing list of extensions ● Permanent work on performance improvements Remote sensing in GRASS GIS : plus so much more !
  • 10. FOSDEM 2018 GRASS GIS in the sky 10/20 High-performance computing Example: NDVI time series Harmonic Analysis of Time Series (HANTS)
  • 11. FOSDEM 2018 GRASS GIS in the sky 11/20 High-performance computing Components – master with job/queue manager – compute nodes disk space per CPU core RAM per CPU core ideally one SSD per node master (compute node) General HPC layout compute node compute node compute node Parallelization : several GRASS commands running at the same time
  • 12. FOSDEM 2018 GRASS GIS in the sky 12/20 High-performance computing Chunks for parallel processing Temporal processing ● spatial chunks need to be mosaiked at the end or ● temporal chunks need overlap t 1 2 3 4 2 1 overlap
  • 13. FOSDEM 2018 GRASS GIS in the sky 13/20 High-performance computing Spatial chunks computational region ● North, South, West, East ● rows, columns pre-defined regions, one for each chunk (tile) Alternative ● create X tiles from one raster map (r.tile) 1 2 3 4
  • 14. FOSDEM 2018 GRASS GIS in the sky 14/20 High-performance computing Chunks for parallel processing Spatial processing ● each time step as one chunk or ● spatial chunks not recommended → spatial discontinuities t
  • 15. FOSDEM 2018 GRASS GIS in the sky 15/20 High-performance computing GRASS installation setup – environmental variables – paths GRASS session setup – variable GISRC for rc file ● GRASS database ● location ● mapset script 1 GRASS commands script 2 1. create unique GISRC, unique mapset 2. run script 1 3. copy results 4. delete GISRC, mapset script 3 job manager settings run script 2 always check return codes
  • 16. FOSDEM 2018 GRASS GIS in the sky 16/20 High-performance computing temporary GRASS GIS session GISRC: name of file with GRASS variables GISRC contents: GISDBASE: name LOCATION_NAME: name MAPSET: name LOCATION_NAME: sub-directory of GISDBASE MAPSET: sub-directory of LOCATION_NAME export GISRC=/path/to/tmpgisrc Ideally all on a SSD scratch disk script 2 Arguments : first and last time step 1. create temporary GISRC, mapset with unique names, using a pre-defined mapset template 2. run script 1 in temporary mapset 3. copy results, one for each time step, from temporary mapset to final mapset 4. delete temporary GISRC, mapset rm -rf $GISRC /path/to/temp_mapset directories http://grass.osgeo.org/wiki
  • 17. FOSDEM 2018 GRASS GIS in the sky 17/20 High-performance computing job/queue manager – Select / create a queue – submit a job to a queue – start a job when hardware resources are available – redirect stdout and stderr to unique files job with task(s), here task = script 2 job 1 : running job 2 : running job 3 : running job 4 : running job 5 : waiting job 6 : waiting job 7 : waiting job 8 : waiting waiting : no hardware resources available
  • 18. FOSDEM 2018 GRASS GIS in the sky 18/20 High-performance computing Collect results – Copy results to one common GRASS mapset → this is the I/O bottleneck try nice / ionice cluster file systems job 1 results job 2 job 3 job 4 job 5 job 6 job 7 job 8job 9job 10job 11 job 12 job 13 job 14
  • 19. FOSDEM 2018 GRASS GIS in the sky 19/20 High-performance computing MODIS Land Surface Temperature temporal + spatial processing
  • 20. FOSDEM 2018 GRASS GIS in the sky 20/20 High-performance computing Most important Have a good admin that fixes the system after you broke it Neteler M, Metz M, 2011 – 2018, pers. com.