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

Environmental News
Not acting like themselves: Antidepressants in environment alter crayf...
Expose crayfish to antidepressants, and they become more outgoing -- but that might not be such a positive thing for the...

Baltic herring larvae appear earlier and grow faster due to climate ch...
Conditions during Baltic herring spawning may have cascading effects on the whole Baltic ecosystem.

Small streams in agricultural ecosystems are heavily polluted with pes...
Pesticides safeguard agricultural yields by controlling insects, fungi, and weeds. However, they also enter streams and...
Source: Science Daily
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: 1409 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
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
Mr. Markus Huber

Subject: Re: error reading files   
Posted: 7/26/2020 Viewed: 1379 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"