[GRASS-dev] libgis: ERROR: Unable to make mapset element cell_misc/...

Markus Neteler neteler at osgeo.org
Fri Mar 6 01:54:41 EST 2009


Hi

I am processing MODIS LST time series and got this problem:

r.in.gdal -o --o aqua_lst1km20090130.QC_Night.tif
out=aqua_lst1km20090130.QC_Night
 100%
ERROR: Unable to make mapset element cell_misc/aqua_lst1km20090130.QC_Night
       (/home/neteler/grassdata/patUTM32/modisLST005filt/cell_misc/aqua_lst1km20090130.QC_Night)

gdalinfo aqua_lst1km20090130.QC_Day.tif
Driver: GTiff/GeoTIFF
Files: aqua_lst1km20090130.QC_Day.tif
Size is 1104, 749
Coordinate System is:
PROJCS["WGS 84 / UTM zone 32N",
    GEOGCS["WGS 84",
...
Origin = (583618.662097668391652,5192469.228377515450120)
Pixel Size = (200.000000000000000,-200.000000000000000)
Metadata:
  AREA_OR_POINT=Point
  TIFFTAG_SOFTWARE=MODIS Reprojection Tool  v4.0 February 2008
...
Band 1 Block=1104x1 Type=Byte, ColorInterp=Gray


The error comes from lib/gis/mapset_msc.c

            if (access(path, 0) != 0)
                G_fatal_error(_("Unable to make mapset element %s (%s)"),
                              p_element, path);

Hacking it, it tells me that the error code of access() is -1.

Too many files/subdirs? Ext3 file system, plenty of space, 64bit CPUs.

number of maps:
find /home/neteler/grassdata/patUTM32/modisLST005filt/cell/ -name '*' |  wc -l
31999

Pointers welcome,
Markus


More information about the grass-dev mailing list