amforte / Topographic-Analysis-Kit

Set of matlab based tools for topographic analysis, built on top of TopoToolbox.
GNU General Public License v3.0
43 stars 35 forks source link

Load DEM error #52

Open JTnumber1 opened 5 months ago

JTnumber1 commented 5 months ago

Dear Adam, I have successfully installed the TAK-GUI/Windows, but when I go to "Load DEM File" the lamp is always in red and the message "Processing" is permanent. And matlab command line window prompt:(@amforte ) " 错误使用 GRIDobj GRIDobj cannot read the TIF-file because it does not have a tfw-file.

出错 TAK/LoadDEMFileButtonPushed (第 690 行) DEM=GRIDobj(dem);

出错 appdesigner.internal.service.AppManagementService/executeCallback (第 171 行) callback(appOrUserComponent, event);

出错 matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行) newCallback = @(source, event)executeCallback(ams, ...

错误使用 matlab.ui.control.internal.controller.ComponentController/executeUserCallback 计算 Button PrivateButtonPushedFcn 时出错。

Regards

Tao

amforte commented 5 months ago

Given the error message, does the TIF file you're trying to load have a .tfw associated with it (and is it in the same place as the main .tif file)? Since it also seems like you have access to Matlab (i.e., you're not running the complied version of the app), have you tried running "MakeStreams" from the Matlab prompt? My main focus is on keeping the core codes functioning as I don't have time to debug the app (and updates to Matlab seem to break the app frequently).

Adam M. Forte

@.*** 1-225-578-5306


Assistant Professor

Department of Geology & Geophysics

Louisiana State University

Associate Editor Tektonika


Last name pronounced Fortay

(he/him)

Research Sitehttps://sites.google.com/view/adam-m-forte


From: JTnumber1 @.> Sent: Sunday, April 28, 2024 3:46 AM To: amforte/Topographic-Analysis-Kit @.> Cc: Adam Forte @.>; Mention @.> Subject: [amforte/Topographic-Analysis-Kit] Load DEM error (Issue #52)

Dear Adam, I have successfully installed the TAK-GUI/Windows, but when I go to "Load DEM File" the lamp is always in red and the message "Processing" is permanent. And matlab command line window @.***https://github.com/amforte ) " 错误使用 GRIDobj GRIDobj cannot read the TIF-file because it does not have a tfw-file.

出错 TAK/LoadDEMFileButtonPushed (第 690 行) DEM=GRIDobj(dem);

出错 appdesigner.internal.service.AppManagementService/executeCallback (第 171 行) callback(appOrUserComponent, event);

出错 matlab.apps.AppBase>@(source,event)executeCallback(ams,app,callback,requiresEventData,event) (第 62 行) newCallback = @(source, event)executeCallback(ams, ...

错误使用 matlab.ui.control.internal.controller.ComponentController/executeUserCallback 计算 Button PrivateButtonPushedFcn 时出错。

Regards

Tao

― Reply to this email directly, view it on GitHubhttps://github.com/amforte/Topographic-Analysis-Kit/issues/52, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA2AW7WMCP2MIKZL3QGXGOLY7SZNJAVCNFSM6AAAAABG4Z3O4OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DONBTGMYDOMI. You are receiving this because you were mentioned.Message ID: @.***>