SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
FOSS4G          (GRASS        R    GMT)



                           Takayuki NUIMURA




                              11th Dec. 2011




Takayuki NUIMURA (   )   FOSS4G                       11th Dec. 2011   1 / 15
Outline

 1




 2


         Step 1:     GDAL   DEM
         Step 2:     GRASS    GPS                   DEM
         Step 3:     Octave  RS-DEM
         Step 4:     R   RS-DEMs

 3

         R                              (       )
         GMT                        (       )



Takayuki NUIMURA (         )   FOSS4G                     11th Dec. 2011   2 / 15
FOSS4G                             FLOSS1


                              FLOSS



                              FOSS4G

                           データ処理&図化
                          (GDAL, GRASS, R, Octave)



                           空間データ図化
                                   (GMT)



                                    グラフィック処理
                                      (Inkscape, GIMP)


                                   プレゼンテーション
                                       (LaTeX Beamer)            Beamer


    1
        Free/Libre and Open Source Software
Takayuki NUIMURA (             )      FOSS4G                              11th Dec. 2011   3 / 15
(ex. AX010        )




                                  =⇒




Takayuki NUIMURA (        )   FOSS4G       11th Dec. 2011   4 / 15
N
                                                                                                    Everest
                                                                   28˚00'
                                                      [m]
    30˚                                 China               8000
                                                            7000
                       Ne                                          27˚50'
                         pa         Khumbu Himal            6000
                              l                             5000
                                                            4000
                             Kathmandu                      3000
                                                                   27˚40'
                                                            2000
                                                            1000
   25˚               India                                    0                                         10 km
                                                                   27˚30'
             80˚                                    90˚                         86˚30' 86˚40' 86˚50' 87˚00'
                                  85˚




Takayuki NUIMURA (                  )      FOSS4G                                            11th Dec. 2011     5 / 15
2007                                 (                                      )




                                                                              N



28˚00'
                                                          Everest                                             DEM
                                                                          [ m a.s.l ]                         GPS
                                                                                 6000
                                                                                         (      3800 – 5500 m a.s.l.)
                                                                                  5000

                                                                                  4000
27˚50'         Base station
               Peak                                               China
                                                                                         (Nuimura et al., J. Glaciol., in revise)
                                                         Ne
                                                            p
                                                                                  3000
                                                             al
                  km
           0      5    10                               India


         86˚30'               86˚40'       86˚50'                   87˚00'




  Takayuki NUIMURA (                                )             FOSS4G                                                     11th Dec. 2011   6 / 15
1   GDAL         DEM             HDF=⇒GeoTIFF
    2   GRASS         GPS                       =⇒GeoTIFF
    3   Octave RS-DEMs (1992–2008)         GPS-DEM

    4   R                   RS-DEMs                           (m a−1 :
        1992–2008)




Takayuki NUIMURA (           )   FOSS4G                     11th Dec. 2011   7 / 15
Step 1: GDAL              DEM


 GDAL                HDF2 =⇒GeoTIFF

 gdal_translate                             (sds                          )
 #           EHdr (                                )
 gdal_translate -sds -of “EHdr”         HDF                        Ehdr

 #                                                           GeoTIFF
 gdal_translate -of “Gtiff”   Ehdr                             GeoTIFF

         gdal_translate
         (                              )




    2
        ERSDAC                ASTER                    HDF
Takayuki NUIMURA (        )    FOSS4G                                         11th Dec. 2011   8 / 15
Step 2: GRASS                     GPS                          DEM

 GRASS GIS           v.surf.rst
    1   v.in.ogr                            GRASS
    2   v.surf.rst                                   =⇒
    3   r.out.gdal                           GRASS        GeoTIFF




Takayuki NUIMURA (           )     FOSS4G                            11th Dec. 2011   9 / 15
Step 3: Octave       RS-DEM

                         Octave             RS-DEMs        GPS-DEM




                                  Step 1:




                                  Step 2:




Takayuki NUIMURA (   )   FOSS4G                       11th Dec. 2011   10 / 15
Step 4: R               RS-DEMs



 R       rgdal
 rgdal                                     GIS
        readOGR
        readGDAL
        writeOGR
        writeGDAL

                     readGDAL    GeoTIFF         DEM
                     writeGDAL   GeoTIFF




Takayuki NUIMURA (           )   FOSS4G                11th Dec. 2011   11 / 15
Step 4: R            RS-DEMs




                                     1992–2008                         DEM
                                     (         )




                                     =⇒
                                                   (   or         )




Takayuki NUIMURA (      )   FOSS4G                          11th Dec. 2011   12 / 15
Step 4: R             RS-DEMs


    1   readGDAL          1992–2008    DEM   R
    2   lm           lm                             (m a−1 )
    3   writeGDAL                                GeoTIFF




Takayuki NUIMURA (        )   FOSS4G               11th Dec. 2011   13 / 15
R                                                                              (                          )
 DEM




                                     7000
                                     6500
                                     6000
                     Elevation (m)
                                     5500
                                     5000
                                     4500




                                                                        Debris−free                           Debris−free
                                                     a)                                        b)
                                     4000




                                                                        Debris−covered                        Debris−covered

                                                −3        −2   −1   0      1       2   3   0        5       10       15        20

                                                      Elevation change (m a−1)                          Area (km2)




        50 m                                                                                                         (m a−1 )
        R   plotCI
Takayuki NUIMURA (                          )              FOSS4G                                                                   11th Dec. 2011   14 / 15
GMT                                       (   )




 GDAL                GeoTIFF=⇒NetCDF3             GMT
                                                           4
 grdmath             NoDATA
    3
        GMT
    4

Takayuki NUIMURA (           )   FOSS4G                 11th Dec. 2011   15 / 15

Mais conteúdo relacionado

Mais de Takayuki Nuimura

131107 foss4 g_osaka_grass7_presentation
131107 foss4 g_osaka_grass7_presentation131107 foss4 g_osaka_grass7_presentation
131107 foss4 g_osaka_grass7_presentation
Takayuki Nuimura
 
131101 foss4 g_tokyo_grass_shell_presentation
131101 foss4 g_tokyo_grass_shell_presentation131101 foss4 g_tokyo_grass_shell_presentation
131101 foss4 g_tokyo_grass_shell_presentation
Takayuki Nuimura
 
131101 foss4 g_tokyo_r_presentation
131101 foss4 g_tokyo_r_presentation131101 foss4 g_tokyo_r_presentation
131101 foss4 g_tokyo_r_presentation
Takayuki Nuimura
 
131031 foss4 g_tokyo_grass_handson_presentation
131031 foss4 g_tokyo_grass_handson_presentation131031 foss4 g_tokyo_grass_handson_presentation
131031 foss4 g_tokyo_grass_handson_presentation
Takayuki Nuimura
 
130113 os mworkshop_presentation
130113 os mworkshop_presentation130113 os mworkshop_presentation
130113 os mworkshop_presentation
Takayuki Nuimura
 
120727 gms2012nagoya presentation
120727 gms2012nagoya presentation120727 gms2012nagoya presentation
120727 gms2012nagoya presentation
Takayuki Nuimura
 
120630 os mworkshop_presentation
120630 os mworkshop_presentation120630 os mworkshop_presentation
120630 os mworkshop_presentation
Takayuki Nuimura
 
120619 os mworkshop_presentation
120619 os mworkshop_presentation120619 os mworkshop_presentation
120619 os mworkshop_presentation
Takayuki Nuimura
 

Mais de Takayuki Nuimura (20)

150810 ilts workshop_handson_presentation
150810 ilts workshop_handson_presentation150810 ilts workshop_handson_presentation
150810 ilts workshop_handson_presentation
 
141031 qgisr handson_presentation
141031 qgisr handson_presentation141031 qgisr handson_presentation
141031 qgisr handson_presentation
 
131107 foss4 g_osaka_grass7_presentation
131107 foss4 g_osaka_grass7_presentation131107 foss4 g_osaka_grass7_presentation
131107 foss4 g_osaka_grass7_presentation
 
131101 foss4 g_tokyo_grass_shell_presentation
131101 foss4 g_tokyo_grass_shell_presentation131101 foss4 g_tokyo_grass_shell_presentation
131101 foss4 g_tokyo_grass_shell_presentation
 
131101 foss4 g_tokyo_r_presentation
131101 foss4 g_tokyo_r_presentation131101 foss4 g_tokyo_r_presentation
131101 foss4 g_tokyo_r_presentation
 
131031 foss4 g_tokyo_grass_handson_presentation
131031 foss4 g_tokyo_grass_handson_presentation131031 foss4 g_tokyo_grass_handson_presentation
131031 foss4 g_tokyo_grass_handson_presentation
 
130727 nagoyar presentation
130727 nagoyar presentation130727 nagoyar presentation
130727 nagoyar presentation
 
130622 osc nagoya_presentation
130622 osc nagoya_presentation130622 osc nagoya_presentation
130622 osc nagoya_presentation
 
130612 ocu lecture_presentation
130612 ocu lecture_presentation130612 ocu lecture_presentation
130612 ocu lecture_presentation
 
130521 jp gu2013_handson2_presentation
130521 jp gu2013_handson2_presentation130521 jp gu2013_handson2_presentation
130521 jp gu2013_handson2_presentation
 
130521 jp gu2013_handson1_presentation
130521 jp gu2013_handson1_presentation130521 jp gu2013_handson1_presentation
130521 jp gu2013_handson1_presentation
 
130113 os mworkshop_presentation
130113 os mworkshop_presentation130113 os mworkshop_presentation
130113 os mworkshop_presentation
 
121215 foss4 g_nagoya_qgis_handson
121215 foss4 g_nagoya_qgis_handson121215 foss4 g_nagoya_qgis_handson
121215 foss4 g_nagoya_qgis_handson
 
121105 foss4 g_tokyo_qgis_handson
121105 foss4 g_tokyo_qgis_handson121105 foss4 g_tokyo_qgis_handson
121105 foss4 g_tokyo_qgis_handson
 
121107 foss4 g_osaka_r_handson_presentation
121107 foss4 g_osaka_r_handson_presentation121107 foss4 g_osaka_r_handson_presentation
121107 foss4 g_osaka_r_handson_presentation
 
2012 nov foss4g_presentation
2012 nov foss4g_presentation2012 nov foss4g_presentation
2012 nov foss4g_presentation
 
121012 gisa qgis_handson
121012 gisa qgis_handson121012 gisa qgis_handson
121012 gisa qgis_handson
 
120727 gms2012nagoya presentation
120727 gms2012nagoya presentation120727 gms2012nagoya presentation
120727 gms2012nagoya presentation
 
120630 os mworkshop_presentation
120630 os mworkshop_presentation120630 os mworkshop_presentation
120630 os mworkshop_presentation
 
120619 os mworkshop_presentation
120619 os mworkshop_presentation120619 os mworkshop_presentation
120619 os mworkshop_presentation
 

Último

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 

Último (20)

Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Oauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoftOauth 2.0 Introduction and Flows with MuleSoft
Oauth 2.0 Introduction and Flows with MuleSoft
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024WebRTC and SIP not just audio and video @ OpenSIPS 2024
WebRTC and SIP not just audio and video @ OpenSIPS 2024
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 

111211 foss4g nagoya_presentation2

  • 1. FOSS4G (GRASS R GMT) Takayuki NUIMURA 11th Dec. 2011 Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 1 / 15
  • 2. Outline 1 2 Step 1: GDAL DEM Step 2: GRASS GPS DEM Step 3: Octave RS-DEM Step 4: R RS-DEMs 3 R ( ) GMT ( ) Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 2 / 15
  • 3. FOSS4G FLOSS1 FLOSS FOSS4G データ処理&図化 (GDAL, GRASS, R, Octave) 空間データ図化 (GMT) グラフィック処理 (Inkscape, GIMP) プレゼンテーション (LaTeX Beamer) Beamer 1 Free/Libre and Open Source Software Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 3 / 15
  • 4. (ex. AX010 ) =⇒ Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 4 / 15
  • 5. N Everest 28˚00' [m] 30˚ China 8000 7000 Ne 27˚50' pa Khumbu Himal 6000 l 5000 4000 Kathmandu 3000 27˚40' 2000 1000 25˚ India 0 10 km 27˚30' 80˚ 90˚ 86˚30' 86˚40' 86˚50' 87˚00' 85˚ Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 5 / 15
  • 6. 2007 ( ) N 28˚00' Everest DEM [ m a.s.l ] GPS 6000 ( 3800 – 5500 m a.s.l.) 5000 4000 27˚50' Base station Peak China (Nuimura et al., J. Glaciol., in revise) Ne p 3000 al km 0 5 10 India 86˚30' 86˚40' 86˚50' 87˚00' Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 6 / 15
  • 7. 1 GDAL DEM HDF=⇒GeoTIFF 2 GRASS GPS =⇒GeoTIFF 3 Octave RS-DEMs (1992–2008) GPS-DEM 4 R RS-DEMs (m a−1 : 1992–2008) Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 7 / 15
  • 8. Step 1: GDAL DEM GDAL HDF2 =⇒GeoTIFF gdal_translate (sds ) # EHdr ( ) gdal_translate -sds -of “EHdr” HDF Ehdr # GeoTIFF gdal_translate -of “Gtiff” Ehdr GeoTIFF gdal_translate ( ) 2 ERSDAC ASTER HDF Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 8 / 15
  • 9. Step 2: GRASS GPS DEM GRASS GIS v.surf.rst 1 v.in.ogr GRASS 2 v.surf.rst =⇒ 3 r.out.gdal GRASS GeoTIFF Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 9 / 15
  • 10. Step 3: Octave RS-DEM Octave RS-DEMs GPS-DEM Step 1: Step 2: Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 10 / 15
  • 11. Step 4: R RS-DEMs R rgdal rgdal GIS readOGR readGDAL writeOGR writeGDAL readGDAL GeoTIFF DEM writeGDAL GeoTIFF Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 11 / 15
  • 12. Step 4: R RS-DEMs 1992–2008 DEM ( ) =⇒ ( or ) Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 12 / 15
  • 13. Step 4: R RS-DEMs 1 readGDAL 1992–2008 DEM R 2 lm lm (m a−1 ) 3 writeGDAL GeoTIFF Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 13 / 15
  • 14. R ( ) DEM 7000 6500 6000 Elevation (m) 5500 5000 4500 Debris−free Debris−free a) b) 4000 Debris−covered Debris−covered −3 −2 −1 0 1 2 3 0 5 10 15 20 Elevation change (m a−1) Area (km2) 50 m (m a−1 ) R plotCI Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 14 / 15
  • 15. GMT ( ) GDAL GeoTIFF=⇒NetCDF3 GMT 4 grdmath NoDATA 3 GMT 4 Takayuki NUIMURA ( ) FOSS4G 11th Dec. 2011 15 / 15