You are here

Preprocessing Problem with Bathymetry

When I run the preprocessor (prew2.exe) on my project, it keeps failing between the segment length and water surface elevation portions of the bth.npt file (see error below). I have double checked that my number of segments and layers in the bth.npt file match what is stated in the control file. I have double checked formatting and other things, but can't seem to correct the problem. I have perused the forum, but no luck. Is there any debugging or lists of possible problems anywhere? Any help/suggestions would be appreciated. Thanks, Lisa pre.err Either illegal value or incorrect card somewhere in the following card 578.70 2355.65 379.82 157.88 869.81 508.24 241.07 452.58 419. 474.73 528.79 97.10 137.39 990.13 323.77 418.60 127.21 971. 199.95 Water Surface Elevation [ELWS] m Last value of card header was 199.95 [addsig]
Forums: 

Lisa, If you have the Compaq Visual FORTRAN compiler, then you can get into the debugger to try and find out what is happening. I strongly suspect that you don't have the starting and ending branches for the waterbody correct. The reason why I say this is that the model is not expecting to see as many segment lengths as you have specified. You can get the total number of segments [IMX] correct in the control file, but if you don't have the correct starting and ending branches correct for the waterbody, then the model will not read in the segment lengths correctly. We probably need to put a check for this in the preprocessor before attempting to read in the bathymetry. Tom [addsig]