On Tue, May 28, 2013 at 6:50 AM, Yann Chemin <[email protected]> wrote: > Hi, > > I am opening a new raster file of nrows >100 and ncols > 100 > writing a single row with values then closing the file.
I think you can not close the file before you have written all rows. Markus M > > It gives me this error. > > "ERROR: no null file for <rasterxxxx>" > > Any possible way to get through it, > close the file properly and not getting this error? > > I have been trying to create a raster first, filling it with 0.0 and then > closing it. But this does not influence Rast_open_new() since it is not > connecting to the same name raster file existing on disk as long as it does > not actually write the new raster to disk. The failsafe "ERROR: no null file > for <rasterxxxx>" maybe called too early as it does not check for > pre-existing file on disk with same name... > > any help please? > Yann > > > -- > ---- > > _______________________________________________ > grass-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-dev _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
