Welcome to WEAP's Website WEAP
WEAP is an initiative of the Stockholm Environment Institute.

About WEAP

What's New?
Sample Screens
History and Credits

Using WEAP
User Guide
Videos (YouTube)

User Forum
Members List
Edit Profile

Additional Support
University Courses

About Us
SEI-US Water Resources Program
Please Contact Us

Interested in Energy?
Read about LEAP: SEI's software for energy planning.

Link WEAP and LEAP for combined Water-Energy planning.
Watch a video demo!

User Forum

All Topics | Topic "Modflow Link Error "reading discretization error", HDF is not supported"
Log in to post new messages or reply to existing messages.
Author Message
Ms. Leily Amigh

Subject: Modflow Link Error "reading discretization error", HDF is not supported   
Posted: 11/14/2023 Viewed: 1334 times
Dear Members
I intended to link my Modflow model to WEAP via available MODFLOW LINK within the WEAP model However I encountered an Error called "Error in reading modflow discretization"with description of "HDF such as hd4 or hd5 is not supported.
I couldn't find any similar topic for this problem and want your favor to help me to resolve it, if possible.

Mr. Doug Chalmers

Subject: Re: Modflow Link Error "reading discretization error", HDF is not supported   
Posted: 2/15/2024 Viewed: 582 times
Some information from Jack to share-

I think HDF refers to a hierarchical data format binary file, which is similar to NetCDF. The versions of MODFLOW that come with WEAP do not support this file type, but the user could try downloading updated versions of MODFLOW that do support this file type. They would replace the MODFLOW .exe files in the WEAP Program Folder. Here is one website that seems to have such updated versions, although we cannot make any guarantees about the validity of them: http://www.et.byu.edu/~njones/modflow-hdf5/

Here is another reference to these file types: https://meetingorganizer.copernicus.org/EGU2012/EGU2012-8028.pdf

Topic "Modflow Link Error "reading discretization error", HDF is not supported"