Frequently Asked Questions (FAQ) About

W2i and AGPM-2D

Operation Troubleshooting

 

I can run W2 on the Degray case, but when I try to use AGPM to plot, I get an error like "irec1 error, iday, i ii 65 1 1", followed by "Runtime error '63' Bad record number"?

This can be caused by international number settings on your PC that AGPM does not expect. AGPM expects "." as the decimal placeholder and "," as the thousands separator. If your regional settings are the opposite, this will cause the problem. The workaround is to go to Control Panel... Regional Settings... and select "English (U.S.) settings", which include the number and date conventions that AGPM expects.

I am using 1 hr plot interval in AGPM.NPT but my .W2P output files are over 10 GB. How can I get smaller output files?

You can increase the plot interval or you can start the plot file at a later date than the start of the run. Both the plot interval and the start date for the plot file are set in AGPM.NPT. You may also want to turn off flux output, if you have any turned on.

In the METFIND routine in W2i, sometimes the same station appears in the ISWO and NCDC lists, but the distances to my reservoir location are different.  Why?

METFIND uses the LAT-LON in the ISWO and NCDC station listings to compute the distances.  If those LAT-LONs are not correct, the distances computed by METFIND will not be correct.  We have found the NCDC LAT-LONs to be somewhat unreliable, so the distances calculated may not be correct.  User caution is advised – use the distances only as a very rough guide to relative position of the stations.  Unfortunately, we have no control over the LAT-LON values reported in the ISWO and NCDC station listings that are used by METFIND to compute distance.

In AGPM, when I use Autoprofile with Express (Separated)…, sometimes a model profile will plot with no field data, or maybe with one field data point overlaid  instead of all of them.  What is happening?

This occurred in earlier versions of AGPM due to certain timing tolerances that were set in AGPM.  The problem has been resolved in AGPM-2D v3.21 and higher.  

When I run AGPM, the buttons are chopped off and I cannot see the Plot button.  What is happening?

You may have too high a video resolution set and your fonts had to be enlarged to be visible at that resolution.  We suggest 1024x768 with AGPM with Windows Standard Appearance scheme (or Standard Windows XP) with Small (or Regular Fonts).  This should make all the buttons and their labels visible. These Windows settings are in Display... Properties...

When I run W2i, I get a smaller than normal window, then if I do View Bathymetry, all the segment boxes are triangles and the orientation is all wrong.  What is happening?

You must have closed W2i previously with one of its processes running.  If you run W2i, then use it to run AGPM or the editor on one of the input files, then close W2i leaving the AGPM or editor window open, then when you restart W2i you will have the problem you describe.  Just close those other windows and then restart W2i and all should work fine.

When I dbl-click AGPM32.EXE in Windows Explorer to run it, I get a message saying it must be run from the Win2D shell.  Why is that?

There are 2 ways to run AGPM.  If you want to run it outside the W2i shell, you must have a valid AGPM.LIC file in the folder with your AGPM32.EXE program.  You can run AGPM from the W2i interface regardless of the presence of an AGPM.LIC file.  W2i requires a valid w2i.key file in the folder with W2I.EXE. 

Using AGPM to capture an AVI, Hypercam aborts with general protection fault (GPF Details… button says problem is MSVIDC32.DLL).  AGPM then aborts.

This is usually caused by a temporary resource problem.  You should reboot your computer and try again.  Also, if you are trying to capture large screens with fast replay rates on a slow computer, you can get this response from Hypercam.

In AGPM I get the error message “Can’t create Auto-Redraw image” when I try to add another portfolio item, then AGPM aborts.

This is usually caused by a temporary resource problem.  You should reboot your computer.

I get the error “Fatal error reading geometry file ____” when I select a certain run (or when it opens a portfolio that uses a certain run) in AGPM.

This is most likely due a W2 simulation that sent no output to the “runname.W2P” file for AGPM.  This might happen, for example, if you have AGPM output specified to start at day 180 in W2_CON.NPT but the W2 simulation stopped prior to day 180.

Many of the functions in Input Tools are not operational yet.  In our version only the Lat Inflows and Initial Conditions tabbed pages have anything in them.  All the other are blank boxes.

Yes, those features are not yet available.  Over time we will add those features.

I can't seem to view the bathymetry file in W2i.   It gives an “Error 13" and then bombs out.  However, I can view the example files with no problem.

In earlier versions of the W2 interface, this may have been due fields in your bathymetry file that are not separated by spaces.  If you have an entire field of 8 characters taken up with numbers from one field to the next, W2i bathymetry viewer will croak.  Try rounding down the numbers by 1 decimal place so each field of 8 can start with a space to separate it from the previous field.  Also, make sure you don't have any tabs in your bathymetry file.  This limitation has been fixed in more recent versions of W2i.

Recently I switched from Win98 to NT. Everything works fine, only the screen output during the W2 execution shows non-readable characters.  I know this has something to with the ANSI character display.  Looking around at the internet I found some recommendations how to make this work (http://www.nthelp.com/40/ansiNT.htm). The main change is in config.nt:
       Device=%systemroot%\system32\ansi.sys
An example batch file that uses those characters (e.g. <Esc>[40 and so on) and the calls command.com works fine. But W2 does not. It seems to ignore the settings I used. Also calling w2.exe from within the batch file does NOT work. Other sources recommend to use DOS 5.0. I did this but without success. Is there any way to see the screen output in a readable form?

You are correct in that ANSI.SYS for NT does not seem to work with W2.  We have not found a way to use the W2 escape sequences in NT.  We think the problem may be compiler dependent and we are pondering a fix.  The only thing you can do for now is to reprogram those W2 screen outputs to avoid use of the finicky escape sequences.  More recent versions of the package for W2 v3.11 avoid this problem altogether by showing alternate status information in the run window.

I had a problem when I changed the vertical and horizontal smoothing options for the animation plots from low to high.  Instead of simply updating the colors on the plot, as was done with the low smoothing option, the entire plot was deleted and then redrawn.  This gave an undesirable flashing off and on appearance to the animation.

That is just the plot resetting itself - it does this once and will do it again if you go back to low res.  You really should not change the resolution of smoothing in the middle of an animation.  If you have high res saved in your portfolio, AGPM will (next time you open the portfolio) display it without a reset.  Remember that high res will slow down the animation speed, so we suggest you only use this res for making nice report ready plots.

The colored distance-depth contours over-lap the reservoir bottom and the plot areas.  What is wrong?

That is an old bug that has been fixed in the latest version of AGPM.

When I try to run AGPM, I get "fatal error" reading geometry file.  What is happening?

This was a early problem with the 16-bit version (now obsolete), but it has long been fixed in the 32-bit version. 

When I run AGPM, I get dithered colors in the animation plots. What should I do?

You need to use a video driver that uses at least 64K colors, and you need to use this setting.

 

Back to Tools

Loginetics, Inc.