<html style="direction: ltr;">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">body p { margin-bottom: 0cm; margin-top: 0pt; } </style>
</head>
<body bidimailui-charset-is-forced="true" style="direction: ltr;"
text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 29/03/2019 16:04, Markus Metz wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAG+h=FEv4Rz8A1Aphf9u6BGaFZRa-daJbnmOpgX4qjCUx1CBfg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr"><br>
<br>
On Fri, Mar 29, 2019 at 11:20 AM Micha Silver <<a
href="mailto:tsvibar@gmail.com" moz-do-not-send="true">tsvibar@gmail.com</a>>
wrote:<br>
><br>
> Hello all:<br>
><br>
<div>> I have some GRASS data that I share between different
computers. The newer machine got updated recently to version
7.6.1, and rasters are by default compressed with zstd. The
older machine (Linux Mint 18.3) was running 7.4 and (I think)
did not support zstd. So those rasters created on the newer
machine will no longer open on the older one. I updated to
GRASS 7.6.1 (a word of thanks to the ubuntugis-unstable
packagers!) and added the libzstd libraries, but still rasters
created on the newer machine will not open on the older one.
The difference between them is the version of libzstd. Is
there a minimum required version of zstd??</div>
<div><br>
</div>
<div>Not really, if anything, version 1.x.<br>
</div>
><br>
><br>
> On the old machine:<br>
><br>
><br>
> micha@RMS ~ $ g.version<br>
> GRASS 7.6.1 (2019)<br>
> micha@RMS ~ $ zstd --version<br>
> *** zstd command line interface 64-bits v1.3.1, by Yann
Collet ***<br>
> micha@RMS ~ $ r.univar slope<br>
> WARNING: ZSTD compression error -2: Unknown frame
descriptor<br>
> ERROR: Error uncompressing raster data for row 2913 of
<slope><br>
> micha@RMS ~ $ ldd /usr/lib/grass76/bin/r.univar | grep zstd<br>
> libzstd.so.0 =>
/usr/lib/x86_64-linux-gnu/libzstd.so.0 (0x00007fadf663c000)<br>
><br>
><br>
> The new machine has zstd version 1.3.8, and everything
works fine. But not on the old machine. Is my problem the
difference in zstd versions?<br>
<div><br>
</div>
<div>I had something similar before, the error was caused by a
corrupted file. If the old machine uses a copy of the mapset
of the new machine, check e.g. with md5sum if the
corresponding cell or fcell files are identical. It could also
be a disk IO problem.</div>
<div><br>
</div>
</div>
</blockquote>
<p>I restored the LOCATION to the old machine, and checked that the
md5sums of fcell/* on both computers were identical.</p>
<p>Still the same problem. </p>
<p><shrugging>Maybe it's time to upgrade</shrugging><br>
</p>
<p><br>
</p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:CAG+h=FEv4Rz8A1Aphf9u6BGaFZRa-daJbnmOpgX4qjCUx1CBfg@mail.gmail.com">
<div dir="ltr">
<div>HTH,</div>
<div><br>
</div>
<div>Markus M<br>
</div>
<br>
</div>
</blockquote>
<pre class="moz-signature" cols="72">--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918</pre>
</body>
</html>