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


About WEAP

Home
Why WEAP?
Features
What's New?
Sample Screens
Demonstration
Publications
History and Credits

Using WEAP
Download
Licensing
User Guide
Tutorial
Videos (YouTube)

User Forum
Discussions
Members List
Edit Profile

Additional Support
Training
University Courses
Collaboration

About Us
SEI-US Water Resources Program
Please Contact Us

LEAP
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 "error reading files"
Log in to post new messages or reply to existing messages.
 
Author Message
Dr. Rym Hadded

Subject: error reading files   
Posted: 7/13/2020 Viewed: 7410 times
Dear all
Im used to run Weap with my PC many years, I need to change the PC. I download Weap, the areas and this message is coming:

Error reading MODFLOW Block centered Flow file
Bad Format --not a valid floating point number:"-888.0"
File C/\Users...........
Line: 1
Position:11
Contents : 40-888.0 01.0 1 0
Do you want to edit now ?
I try to edit the file by deleting the sign -but no result
Please how to do
Thanks
Mr. Markus Huber

Subject: Re: error reading files   
Posted: 7/26/2020 Viewed: 7378 times
Dear Rym,

I can only guess, but I suspect one of the following reasons for that error message:

1. in your PC's language setting, the decimal separator is not set to "."

2. possible, but not as likely: the value of HNOFLO (that's the -888.0) is different in the basic package

You could test this by changing the value to something easier to read (e.g. 888) in both the BAS and the BCF packages. No matter what value you enter, it does not affect the model's results as it is only a flag indicating inactive cells.
Topic "error reading files"