Using SSIS to load data into ODM Sevilleta LTER Example David Tarboton Utah State University with Sevilleta Slides and data from Kristin Vanderbilt, Sevilleta LTER IM Study by: Joe Fargione, Nature Conservancy Scott Collins, UNM Will Pockman, UNM
The Sevilleta study: multiple-factor global change experiment in an arid area at the boundary between shortgrass prairie and desert grassland that is undergoing shrub encroachment multiple-factor global change experiment in an arid area at the boundary between shortgrass prairie and desert grassland that is undergoing shrub encroachment simulates predicted future environmental conditions of increased nighttime temperatures, nitrogen deposition, and El Niño frequency (which increases winter precipitation by 50% at our field site). simulates predicted future environmental conditions of increased nighttime temperatures, nitrogen deposition, and El Niño frequency (which increases winter precipitation by 50% at our field site).
Experimental Design
Measurements Temperature is recorded every fifteen minutes at five locations in each plot: Temperature is recorded every fifteen minutes at five locations in each plot: Above the soil Above the soil Below the soil surface at depths of Below the soil surface at depths of 2 cm under grass 2 cm under grass 7 cm under grass 7 cm under grass 2 cm under bare areas 2 cm under bare areas 7 cm under bare areas 7 cm under bare areas A weather station located within the plot array collections precipitation, wind, and PAR data A weather station located within the plot array collections precipitation, wind, and PAR data Soil Moisture data is also collected Soil Moisture data is also collected
Raw Data
The Challenge Import this data into ODM using SSIS Import this data into ODM using SSIS What the ???? is ODM What the ???? is ODM What the ???? is SSIS What the ???? is SSIS
CUAHSI Observations Data Model
CUAHSI Observations Data Model Work from Out to In At last … And don’t forget …
1. Start with Blank ODM Schema 2. Load small tables by hand ISOMetadata, Sources, Qualifiers, Methods (Done in advance) ISOMetadata, Sources, Qualifiers, Methods (Done in advance) OffsetTypes, Variables (by hand with SQL Management Studio) OffsetTypes, Variables (by hand with SQL Management Studio) 3. Load Sites table using simple SSIS script 4. Load Data Values table using more complex (but still simple) SSIS script 5. Create Series Catalog 6. Inspect using ODM Tools Outline
Sites SSIS Script
Import DataValues using SSIS