You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Original issue reported on code.google.com by
dennis.d...@glel.carleton.ca
on 25 Apr 2012 at 8:21Attachments:
The text was updated successfully, but these errors were encountered: