[GRASS-dev] ERROR: no null file for <rasterxxxx>

Markus Metz markus.metz.giswork at gmail.com
Tue May 28 08:09:23 PDT 2013

On Tue, May 28, 2013 at 6:50 AM, Yann Chemin <ychemin at gmail.com> 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
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

More information about the grass-dev mailing list