<div>Greetings-</div><div><br></div><div>I&#39;ve been forced in to development by this bug (ie i have a only a vague idea of what I&#39;m doing). Help greatly appreciated (need to work on thesis not bugs).</div><div><br></div>

<div>Summary:</div><div><br></div><div>I&#39;ve generated a location and a mapset, in this mapset I have files named</div><div>input_file.0001, ... , input_file.nnnn, ... , input_file.3313</div><div><br></div><div>I&#39;m running  r.hydro.CASC2 (used to be in GRASS), which i&#39;ve built from gipe add-on package.</div>

<div>When it gets to approximately nnnn=1016, i get (i&#39;ll use the real rast and mapset names, in case they are relevant):</div><div><br></div><div><div>WARNING: Unable to open raster map   &lt;SBB_runoff_lumped_05.1016@lumped_05_9930&gt;</div>

</div><div><br></div><div>The offended block of code in r.hydro.CASC2D is </div><div><br></div><div>            if((radar_fd[nfile]=G_open_cell_old(radar_file[nfile],mapset))&lt;0)</div><div>            {</div><div>              sprintf(buf,&quot;cannot open [%s]\n&quot;, radar_file[nfile]);</div>

<div>              G_fatal_error(buf);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>      exit(1); </div><div>            }</div><div><br></div><div>But the file is right in place, looking all fine and dandy. I&#39;ve also tried copying input_file.1015 to input_file.1016 using both the gui and on command line. I still get no error for 1015, only for 1016. Also, if i comment </div>

<div><br></div><div>I&#39;m at a complete loss. Is there a bug in G_open_cell_old? Something which suggests otherwise: if i comment out the above code, CASC2D apparently runs until that same map is to be read by G_get_map_row(), at which point I dont even get a warning, but a seg fault. )</div>

<div><br></div><div>Thanks in advance. </div><div><br></div><div>James</div><div><br></div><div><br></div><div><br></div><div><br></div><br>-- <br>- <br>******************************************************************************<br>

James McCreight                                  mccreigh @at@ <a href="http://colorado.edu" target="_blank">colorado.edu</a><br>NASA Earth Science Fellow<br>PhD Candidate, Water Resources and Environmental Fluid Mechanics<br>

University of Colorado, Boulder<br>cell: (831) 261-5149<br><div>VoIP (to cell): (720) 897-7546</div><br>