[GRASS-dev] Forestfrag WARNING: ZSTD compression error -14: Unsupported frame parameter

Markus Metz markus.metz.giswork at gmail.com
Wed May 29 00:21:42 PDT 2019


On Tue, May 28, 2019 at 6:26 PM Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:
>
>
>
> On Tue, May 28, 2019 at 5:30 PM Vaclav Petras <wenzeslaus at gmail.com>
wrote:
>>
>>
>>
>> On Mon, May 27, 2019 at 3:25 PM Paulo van Breugel <p.vanbreugel at gmail.com>
wrote:
>>>
>>> Hi Václav / devs
>>>
>>> I am running r.forestfrag in Windows 10, grass 7.6.2 Computation with a
moving window size of 21 (but at another computer same happens at size 9)
gives met the following error:
>>>
>>> C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/r.forestfrag.py
input=groenreclass at landschap output=AAtest7 size=21
>>> Step 1: Computing Pf values...
>>> Step 2: Computing Pff values...
>>
>>
>> Some computations happened, but then something went wrong.
>
>
> It goes wrong when with the moving window computation using r.mapcalc.
But when (e.g., with what moving window size) differs depending on the
computer and the size of the raster.
>
>>
>>>
>>> WARNING: ZSTD compression error -14: Unsupported frame parameter
>>> ERROR: Error uncompressing raster data for row 328 of
<tmpA04_398bad3c_32a8_4220_8566_374c8c9f16a8>
>>
>>
>> Something wrong with the libraries or the files (perhaps not enough
space on disk?).
>
>
> I guess something with the files, as it works with smaller moving windows
and it works in Linux.

This is probably a read error: data are not correctly read from disk. But
this should be reported as a read error.

A ZSTD compression error has been reported previously when a raster map was
compressed with ZSTD 1.3.x and on another system decompressed with ZSTD
1.3.y. Not sure if this applies here as well.

Markus M

>
>>
>>
>>>
>>> WARNING: No data base element files found
>>
>>
>> Probably, g.remove trying to clean something as the the script is
exiting. Likely harmless.
>
>
> Ah, ok
>
>>
>>>
>>> Traceback (most recent call last):
>>>   File "C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/
r.forestfrag.py", line 420, in <module>     sys.exit(main(*gs.parser()))
>>>   File "C:\Users\brp\AppData\Roaming\GRASS7\addons/scripts/
r.forestfrag.py", line 290, in main     ipl=ipl, tmpl4=expr1, tmpl5=expr2,
pff=pff)
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\raster.py", line
111, in mapcalc " with expression: %s") % e)
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 667,
in fatal error(msg)
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 651,
in error    message(msg, flag='e')
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 584,
in message     run_command("g.message", flags=flag, message=msg,
errors='ignore')
>>
>>
>> Here, it is g.message failing, so at this point nothing works.
>>
>>>
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 415,
in run_command ps = start_command(*args, **kwargs)
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 382,
in start_command
>>>     return Popen(args, **popts)
>>>   File
"C:\OSGEO4~1\apps\grass\grass76\etc\python\grass\script\core.py", line 76,
in __init__     subprocess.Popen.__init__(self, args, **kwargs)
>>>   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 390, in
__init__ errread, errwrite)
>>>   File "C:\OSGEO4~1\apps\Python27\lib\subprocess.py", line 640, in
_execute_child startupinfo)
>>> WindowsError: [Error 206] De bestandsnaam of -extensie is te lang
>>
>>
>> Too many open files? Or maybe just the error message happens to be too
long.
>>
>>>
>>> Any idea what may be the problem here?
>>
>>
>> Try smaller region, smaller window. Look into task manager. ...
>
>
> I did try a smaller region, this does seem to make a difference. I will
try if I can do this more systematically.
>
>>
>>
>> Best,
>> Vaclav
>>
>>>
>>>
>>> Greetings,
>>>
>>> Paulo
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20190529/52db2221/attachment.html>


More information about the grass-dev mailing list