Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.6.3 Stand Alone Version fails to run on Matlab 7.12.0 (R2011a) #1

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Hi there,

I'm having some problems running your code. Eager to get this working. 

What steps will reproduce the problem?

-attached MTL file of scene used (downloaded form GLCF)
-ran code as outlined here: 
http://code.google.com/p/fmask/wiki/WikiFmask_1_6_3sav
-appears to fail at the second stage of processing ("From DNs to TOA ref & BT")


What is the expected output? What do you see instead?

Output from Matlab console:

>> autoFmask_1_6sav
Read in header information and TIF images
From DNs to TOA ref & BT
??? Undefined function or method 'deg2rad' for input arguments of type 'double'.

Error in ==> nd2toar at 119
s_zen=deg2rad(zen);

Error in ==> plcloud_1_6sav at 22
[Temp,data,dim,ul,zen,azi,zc,satu_B1,satu_B2,satu_B3,resolu]=nd2toar(image);

Error in ==> Fmask_1_6sav at 7
[zen,azi,ptm,Temp,t_templ,t_temph,Water,Snow,plcloud,shadow,dim,ul,resolu,zc]=pl
cloud_1_6sav(im,cldprob);

Error in ==> autoFmask_1_6sav at 56
Fmask_1_6sav(norMTL.name,cldpix,sdpix,cldprob); % newest version 1.6.3sav

What version of the product are you using? On what operating system?

1.6.3sav

Please provide any additional information below.


Original issue reported on code.google.com by dennis.d...@glel.carleton.ca on 25 Apr 2012 at 8:21

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant