rtifc error

조회 수: 12 (최근 30일)
mahesh
mahesh 2011년 7월 7일
I am using R2009b and got this error ?? Error using ==> rtifc /tmp/tp435461ed_de42_4349_a21f_41845004f3cc: Not a TIFF file, bad magic number 16188 (0x3f3c).
this error comes by command ... [xbathy,ybathy,zbathy]=read_srtm30plus(lon_range,lat_range,60);
so please tell what i can do so that i get rid off this error
thanks

답변 (1개)

Ashish Uthama
Ashish Uthama 2011년 7월 11일
A magic number is "A constant numerical or text value used to identify a file format or protocol".
The error message indicates that the file was expected to be a valid TIFF file, but the magic number in the file did not match that of the TIFF format.
It appears that you are using a third party function. Your best bet is to debug the code to figure out why a bad tiff is being passed in. You could also consider contacting the author of the code/data source.

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by