1 / 33

Storing Hydrologic Model Information using the XMDF API

Storing Hydrologic Model Information using the XMDF API. Norm Jones Brigham Young University EMRL. Presented at the CUASHI HIS Symposium. – March 8, 2005. BYU - EMRL. Civil and Environmental Engineering Dept. 9 Research Staff 45 Graduate and Undergrad. Students. E. James Nelson.

catrin
Download Presentation

Storing Hydrologic Model Information using the XMDF API

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. Storing Hydrologic Model Information using the XMDF API Norm Jones Brigham Young University EMRL Presented at the CUASHI HIS Symposium. – March 8, 2005

  2. BYU - EMRL • Civil and Environmental Engineering Dept. • 9 Research Staff • 45 Graduate and Undergrad. Students E. James Nelson Norman L. Jones Alan K. Zundel Storing Hydrologic Model Information

  3. Sponsoring Organizations Storing Hydrologic Model Information

  4. Watershed Modeling System (WMS) Surface Water Modeling System (SMS) Groundwater Modeling System (GMS) Water Modeling Software Storing Hydrologic Model Information

  5. Models Developed/Used by USACE RMA2, RMA4, SED2D, HIVEL2D, FESWMS, ADCIRC, CGWAVE, STWAVE, M2D, BOUSS2D, CH3D, PTM, ADCIRC, BOUSS2D, PTM, MODFLOW, MT3DMS, SEAM3D, RT3D, MODPATH, FEMWATER, WASH123D, SEEP2D, MODAEM, ADH, UTCHEM, T-PROGS, PEST, UCODE, HEC-1, HEC-2, HEC-RAS, HEC-HMS, TR-20, TR-55, HSPF, CE-QUAL-W2, GSSHA, etc. Storing Hydrologic Model Information

  6. XMDF Project Objectives • Develop a standardized file format for storing multi-dimensional modeling data • Promote new format within COE • Make format/tools available to other organizations Storing Hydrologic Model Information

  7. Design Goals • Ease of use/implementation • Efficiency • Platform independence • Multiple languages • Extensible • Data abstraction Storing Hydrologic Model Information

  8. API vs. File Formats • Ease of implementation • Just implement a few function/subroutine calls • Data abstraction • File format and i/o details are hidden Storing Hydrologic Model Information

  9. HDF5 Foundation • API for highly efficient data storage and management • Developed by NCSA – University of Illinois • Key benefits • Flexibility • Efficiency • Platform independent • Strong user base • http://hdf.ncsa.uiuc.edu/HDF5/ Storing Hydrologic Model Information

  10. HDF5 Features • Binary format • C/FORTRAN API • Compression options • User-defined hierarchical structure • NetCDF, XML compatible • Platform independent Storing Hydrologic Model Information

  11. Interface Layering Applications (XMS, Model Codes, etc.) XMDF API HDF5 API Disk Storage Storing Hydrologic Model Information

  12. Phase I - Typical Usage • Geometry generated by XMS/other GUI • Geometry read by model as part of model input • Model generates solution data sets • Data sets read by XMS/XMDF Viewer for post-processing Storing Hydrologic Model Information

  13. Phase I – Data Types • Model Geometry • 2D/3D Unstructured Meshes • 2D/3D Structured Grids • Coordinate System • Data Sets • Scalar/Vector Storing Hydrologic Model Information

  14. Meshes • 1D-2D-3D Elements • Mesh can consist of any combination of elements Storing Hydrologic Model Information

  15. Sample Application Storing Hydrologic Model Information

  16. Structured Grids • Cartesian • Curvilinear • Extruded • Cell-centered • Mesh-centered Storing Hydrologic Model Information

  17. Data Sets • Arrays of data, one scalar or vector value per computation point • Steady state or transient Storing Hydrologic Model Information

  18. Hierarchical Structure Storing Hydrologic Model Information

  19. Viewing/Editing Data • Generic HDF5 browser/editor • Can be used to view or edit any HDF5 file • Free download: http://hdf.ncsa.uiuc.edu/hdf-java-html/hdfview/ Storing Hydrologic Model Information

  20. HDF5 Browser/Editor Storing Hydrologic Model Information

  21. Visualization • Can use any of the XMS systems • Public domain XMDF Viewer under development Storing Hydrologic Model Information

  22. API Linkage • PC • Dynamically linked library • Two files: DLL, LIB • Unix • Compile XMDF source with project Storing Hydrologic Model Information

  23. Phased Implementation • Phase I • Geometry and Data Sets • Phase II • Additional object types • Parallel support • Phase III • Model linkage Storing Hydrologic Model Information

  24. Large MODFLOW Models • GIS and GUI’s make it easy to develop complex transient simulations • Massive models are becoming increasingly common • Problems • File size on disk (>500 MB per file is not uncommon) • File i/0 times (several minutes required to read each file) • RAM (easy to exceed 2 GB limit) Storing Hydrologic Model Information

  25. HDF5 & MODFLOW File I/O • We have developed alternate file format for MODFLOW input files • Applicable to • Arrays (recharge, multipliers, K, etc.) • Stress packages Storing Hydrologic Model Information

  26. MODFLOW Array Reader • Standard utility used to read all array-based input • New option (XMDF) added to format option • Refers to location in external HDF5 file Storing Hydrologic Model Information

  27. MODFLOW Array Results Storing Hydrologic Model Information

  28. Stress Package Files • HDF5 format created for the stress package files • Packages supported: River, Drain, General Head, Well, Time Variant Specified Head (CHD), and Stream Storing Hydrologic Model Information

  29. Stress Package Results Storing Hydrologic Model Information

  30. XMDF – Benefits/Advantages • Greatly reduced file sizes (compressed binary) • Faster file i/o • Can still view/edit file in simple text-like editor • Access XMS/XMDF Viewer for pre- and post-processing Storing Hydrologic Model Information

  31. XMDF Benefits, cont. • Generic visualization tool • Sharing data between models • Model linkage • Easy to implement • Handles large files Storing Hydrologic Model Information

  32. Relevance to CUAHSI • XMDF being promoted as standard format for USACE models • Translators needed for CUASHI data sources • Data standards/HDF5 case study Storing Hydrologic Model Information

  33. XMDF Web Site • Documentation • Source code • Sample files • Test cases http://www.wes.army.mil/ITL/XMDF/ njones@byu.edu Storing Hydrologic Model Information

More Related