ArmandoRodriguez / fmask

Automatically exported from code.google.com/p/fmask
0 stars 0 forks source link

Fmask 3.2.1 windows executable gives error if fmask.exe and landsat files located in different drives #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. locate fmask.exe in drive C:\
2. locate landsat file in drive F:\
3. run command:
cd "F:\LC81500182013289LGN00" & "C:\fmask\Fmask"

Gives error:

Fmask 3.2.1 beta version start ...

No L*MTL.txt header in the current folder!

Error in <a href="matlab:helpUtils.errorDocCallback('autoFmask', 
'C:\Users\...~1\AppData\Local\Temp\...\mcrCache8.1\Fmask_0\Users\zhuzhe\Document
s\FmaskStandAloneWindows\autoFmask.m', 65)" 
style="font-weight:bold">autoFmask</a>

(<a href="matlab: 
opentoline('C:\Users\...~1\AppData\Local\Temp\...\mcrCache8.1\Fmask_0\Users\zhuz
he\Documents\FmaskStandAloneWindows\autoFmask.m',65,0)">line 65</a>)

Output argument "clr_pct" (and maybe others) not assigned during call to 
"C:\Users\...~1\AppData\Local\Temp\...\mcrCache8.1\Fmask_0\Users\zhuzhe\Document
s\FmaskStandAloneWindows\autoFmask.m>autoFmask".

MATLAB:unassignedOutputs

Original issue reported on code.google.com by shtuka...@mail.ru on 13 Feb 2014 at 3:41

GoogleCodeExporter commented 8 years ago
My bad - correct use of cd command is cd /D

That is why it can't find mtl file.

Original comment by shtuka...@mail.ru on 13 Feb 2014 at 8:10

GoogleCodeExporter commented 8 years ago
I am having this exact same issue - I am not a frequent user of the dos command 
window.  So, what should the correct command string look like?  

Original comment by Eriophor...@gmail.com on 1 Mar 2014 at 1:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
If you use command line:
cd /D F:\LC81500182013289LGN00
C:\fmask\Fmask

If you use *.bat file try this:
cd /D "F:\LC81500182013289LGN00" & "C:\fmask\Fmask"

Original comment by shtuka...@mail.ru on 5 Mar 2014 at 3:35

GoogleCodeExporter commented 8 years ago
Thank you so much.

Original comment by nhthon...@gmail.com on 27 Mar 2014 at 7:07