230 likes | 364 Views
NWCC Spatial Services 2011 December Meeting 12/12/2011. BAGIS-P requirement analysis BAGIS-H beta testing. Database Design Specification BAGIS-P - A Departure from GIS Weasel. No longer use GRID format, instead, ESRI File Geodatabase (GDB) format is used.
E N D
NWCC Spatial Services 2011 December Meeting12/12/2011 • BAGIS-P requirement analysis • BAGIS-H beta testing
Database Design SpecificationBAGIS-P - A Departure from GIS Weasel • No longer use GRID format, instead, ESRI File Geodatabase (GDB) format is used. • Tools for GDB <-> Weasel conversion of BAGIS and BAGIS-H outputs. • BAGIS • BAGIS-VBA works only with Weasel DB spec • BAGIS-Addin works only with GDB spec • BAGIS-H • Final released version works only with GDB spec (cannot use a weasel AOI as input) • Output HRU can be converted to Weasel HRU • BAGIS-P • Works only with GDB spec (cannot use a weasel AOI as input) • Output only spec-ed to work with PRMS-OMS
Weasel Compatible File Structure(required for Weasel and BAGIS-VBA)Rasters are stored in ArcInfo GRID format
New BAGIS and BAGIS-H GDB(required for BAGIS-Addin and BAGIS-X) Rasters are stored in ESRI File Geodatabase format
Weasel and GDB AOI Folders Comparison Weasel AOI GDB AOI
BAGIS-P System Design (Leavesley, 2011) Visible/ModifibleEstimation Methods (conceptual) Map Window Project Browser HRU 15 Selected Click to display method Equation Box – Edit Method Data Table Filters Parameter Table
BAGIS-P Functional Specification • Computes HRU parameters using parameterization methods • Uses user-defined data layers in parameterization • Provides a standard set of parameterization methods • Provides customizable profiles for managing sets of methods • Allows user-defined methods • Provides an integrated GUI for: • Accessing BAGIS GDB AOIs and HRUs • Managing data, profiles, and methods • Editing and designing methods • Managing parameter databases
BAGIS-P Workflow Prepare GIS Data for Parameterization Review/Edit Public Profiles and Methods Create/Add Public Profiles and Methods (PSU, NWCC) Apply a Public Profile to an Existing AOI Add Local Profiles/Methods to Public Profiles/Methods Review/Edit Local Profiles and Methods of the AOI Layer Refine Local Profiles/ Methods Calculate Parameters of HRU Layers Based on Local Profiles Export Parameter Database
BAGIS-P Main Modules Data layer manager • Define data layers to be used in methods (Data-bin) • Clip data layers to HRU (creates a snapshot of data used in parameterization) Parameter profile builder • Public profile and method editor • Local profile and method editor • Profile and method manager Parameter database manager • Parameter generator • AOI/HRU/Parameter database viewer • Delete parameters • Export parameters
Data Specifications • AOI and HRU • Settings (public and local) • FactorClass(e.g., soil) • FactorSource(e.g., s:\GIS\static\soil\statsgo.shp) • Profiles (public and local) • ID (unique) • ProfileName • Method_List (collection of method names & IDs)
Methods (public and local) • Methods • ID (unique) • MethodName • OutputName (unique) • Equation string • Description • Operand(s) (single or multiple) • Alias • OperandName • FactorName • Description • Operators and Functions • Alias • Keyword • Description
BAGIS(-X) Data Structure Diagrams • An AOI can have one or more HRU layers, but one common set of local profiles and methods • An AOI (or HRU?) has one set of data for parameter calculation (Paramdata.gdb) • An HRU layer can have one or more parameter profiles • A parameter profile has at least one parameter method
BAGIS-P Data File Descriptions • Public system settings file (settings.xml) • Parameter factors and date layers definition file • Public parameter profiles (profiles\*.xml) • Parameter methods list file • Public methods (methods\*.xml) • Parameter operands, functions, and operators definition • Local system settings file (([AOI]\param\settings.xml) • Parameter factors and date layers definition file • Local parameter profiles ([AOI]\param\profiles\*.xml) • Parameter methods list file for specific AOI • Local methods ([AOI]\param\methods\*.xml) • Parameter operands and operators definition for specific AOI • Local parameter GIS data layers ([AOI]\param\paramdata.gdb) • Parameter database ([AOI]\[HRU]\Param\[Param]\[Param].gdb & [Param].xml) • Parameter definitions • Parameter values • Parameter records and HRU IDs look-up table
Main Categories of Factor Classes • Generic Functions (GEN) – not associated with data layers • Basic Spatial Characteristics (BSC) • Vegetative Physical Characteristics (VPC) • Landuse/Landcover Physical Characteristics (LPC) • Soil Physical Characteristics (SPC) • Climatic Spatial Characteristics (CSC)
Graphic User Interface (GUI) • Toolbar: BAGIS-P • Main dialog windows • Data layer manager • Parameter profile builder • Method editor • Parameter database manager • Parameter viewer
Data Layer Manager Data Layer Manager Add Factor Edit Factor Delete Factor Close Clip (Selected) Factor(s) To AOI Note: Some data sets are intrinsic to AOI, such as dem, slope, aspect, etc.
Public Parameter profile builder Profiles Methods Current Profile: Profile2 All_Methods.xml Profile1.xml Profile2.xml Profile3.xml Aspect.xml Area.xml Elevation.xml ! VegCov_Density.xml ! Profile4.xml ! Root-depth.xml Soilmoist.xml Number of Methods: 7 Description: NWCC standard profile for PRMS/OMS Current Method: VegCov_Density Output Name: Cov_Den Equation: Veg-cover.value Edit Equation New Delete New Delete Apply Profile To AOI Import/Copy Select Note: Red exclamation marks indicate there are errors in the method definition.
Method Editor (Public Mode) Current Method: VegCov_Density Current Profile: Profile2 Output Name: Cov_Den Description: Vegetation cover density method by John Doe Operators Functions Veg-cover.value / 100 Equation: Save Method
(Local) Parameter Database Manager Set AOI S:\GIS\basins\uco\test_aoi Parameter Viewer HRU Layers Methods Current Profile: My_Profile Make Public HRU1 HRU2 Final_HRU Other_HRUs Number of Methods: 7 Current Method: VegCov_Density Output Name: Cov_Den Equation: Veg-cover.value / 100 Edit Equation (Re)Calculate Parameters New Delete Select New Delete Import/Copy Update Data
Method Editor (Local Mode) Current Method: VegCov_Density Current Profile: Profile2 Output Name: Cov_Den Description: Vegetation cover density method by John Doe Operators Functions Veg-cover.value / 100 Equation: Current AOI: S:\GIS\basins\uco\test_aoi Save Method View Values on Map Make Public Note: Might use other types of equation editor GUI (e.g., MS Access or ArcGISModelBuilder) in the final release.
Parameter Viewer Current AOI: S:\GIS\basins\uco\test_aoi HRU Layers HRU1 HRU2 Final_HRU Other_HRUs Profiles NWCC_Profile.xml USGS_Profile.xml My_Profile.xml Other_Profile.xml Delete Profile View Values on Map Export
Next Meeting • Monday, January 23 • BAGIS-H final release (version 1.0) • BAGIS-P prototype