1 / 13

Putting GLOBIOM data into a database

Putting GLOBIOM data into a database. Pedro R. Andrade Cambrigde, 2013. Integration between TerraLib and IIASA tools. SciSoft. G4M. GLOBIOM. EPIC. GeoWiki. ???. TerraLib. Integration between TerraLib and GLOBIOM. GLOBIOM. TerraLib. GLOBIOM Integration. data. GeoTiff, CSV. GMS

usoa
Download Presentation

Putting GLOBIOM data into a database

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Putting GLOBIOM data into a database Pedro R. Andrade Cambrigde, 2013

  2. Integration between TerraLib and IIASA tools SciSoft G4M GLOBIOM EPIC GeoWiki ??? TerraLib

  3. Integration between TerraLib and GLOBIOM GLOBIOM TerraLib

  4. GLOBIOM Integration data GeoTiff, CSV GMS files import GLOBIOM export data GDX files Amazonia (TerraLib) TerraView simU shapefiles

  5. GLOBIOM Integration data GeoTiff, CSV GMS files import GLOBIOM export data GDX files Amazonia (TerraLib) TerraView simU shapefiles

  6. Implementation generate- brazil-cr.R brasilcr_pt.shp

  7. Implementation ACR_COMPARE.csv CROP_DATA_COMPARE.csv YLD_COMPARE.csv ... CRbrazil- plotall.R bmp files CRbrazil- basics.R globiom (TerraLib) aRT CRbrazil- database.R

  8. 7_output.gms FILE aux3 /'Land_Compare3.CSV'/; aux3.pc=5; PUT aux3; LOOP ( (COUNTRY('Brazil'),ALLCOLROW,AltiClass,SlpClass,SOILCLASS,AEZCLASS,LC_TYPE, AllMacroScen,AllBioenScen,IEA_SCEN,ALLScenYear) $ Land_Compare3(COUNTRY,ALLCOLROW,AltiClass,SlpClass,SOILCLASS,AEZCLASS, LC_TYPE, AllMacroScen,AllBioenScen,IEA_SCEN,ALLScenYear), PUT COUNTRY.tl,ALLCOLROW.tl,AltiClass.tl,SlpClass.tl,SOILCLASS.tl, AEZCLASS.tl, LC_TYPE.tl,AllMacroScen.tl,AllBioenScen.tl,IEA_SCEN.tl, ALLScenYear.tl, Land_Compare3(COUNTRY,ALLCOLROW,AltiClass,SlpClass, SOILCLASS,AEZCLASS, LC_TYPE,AllMacroScen,AllBioenScen,IEA_SCEN, ALLScenYear) / ); PUTCLOSE; attribute_names = list( ... Land_Compare3 = c("COUNTRY", "ALLCOLROW", "ALTICLASS", "SLPCLASS", "SOILCLASS", "AEZCLASS", "LC_TYPE", "AllMacroScen", "AllBioenScen", "IEA_SCEN”, "ALLScenYear", "Value"), ) CRbrazil-basics.R

  9. CRbrazil-plotall.R/CRbrazil-database.R original_file = "LUCDET_Compare" r = read_output_csv(original_file) print_unique(r) w = uniques(r) w$AEZCLASS = NULL w$COUNTRY = NULL w$ALLScenYear = 2000 w$IEA_SCEN = "BASE" w$AllMacroScen = NULL w$ALTICLASS = NULL w$SLPCLASS = NULL w$SOILCLASS = NULL save_all(w, original_file) tstates = createTheme(lstates, paste("states-", original_file, sep=""), view=original_file) setVisual(tstates, visualPolygons(transp=100, cwidth=2)) Input Selecting attributes Output

  10. 7_output.gms

  11. 7_output.gms

  12. R plot x TerraLib database

  13. Future development • Version 2.0 of the scripts • Review R-Script_Instructions.pdf • Adapt the scripts to work with different geographical areas

More Related