Project

General

Profile

ERROR: DEM file has size, expected number of values:

Added by Peter Friedl over 7 years ago

Hi everybody,

I receive an error, when executing the gc_map command:
ERROR: DEM file has size, expected number of values: 14812695

When displaying the DEM with disdem_par everything looks fine, though. Does anybody know what may cause the error?

Cheers,
Peter


Replies (2)

RE: ERROR: DEM file has size, expected number of values: - Added by Thorsten Seehaus over 7 years ago

Hi, I got the same problem!
here some example data:
https://www.dropbox.com/sh/3rylxjv6ept8qr5/AABLPJacQCuSSEMKxfqN99hFa?dl=0

maybe someone got an idea.

Cheers

Thorsten

RE: ERROR: DEM file has size, expected number of values: - Added by Thorsten Seehaus over 7 years ago

Hi,
Charles told me that the file size of the DEM does not match the number of lines in the dem.par file. By changing the number of the lines (just -1 line) in the dem.par file the problem was solved. It might be a problem caused be gdal_translate.

Cheers

Thorsten

    (1-2/2)