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

Fmask Error: output argument "clr_pct"... #80

Open
nasavish opened this issue Oct 27, 2015 · 12 comments
Open

Fmask Error: output argument "clr_pct"... #80

nasavish opened this issue Oct 27, 2015 · 12 comments
Labels

Comments

@nasavish
Copy link

Downloaded the standalone Fmask for windows and are having some issue. The package came with the following files:

fmask

After being prompted to install the MCR package, which successfully occurred, we tried running the Fmask. This is the error we received:

fmaskerror

Anyone know what is going on? The reason we are using Fmask is because it masks out cloud shadows, which the cloudmask script on dnppy does not.

@Syntaf
Copy link
Member

Syntaf commented Oct 27, 2015

Are you calling fmask from the command line? or no?

EDIT: If so, how do you call it?

@nasavish
Copy link
Author

No. We have been trying to open the application from the file folder. I did see this thread online...

https://code.google.com/p/fmask/issues/detail?id=10

@Syntaf
Copy link
Member

Syntaf commented Oct 27, 2015

Where is your data? from a quick google search it looks like you'll need to call it from your cline


Say:

  • Your data is in C:/data/
  • Fmask is in C:/tools/

Open your command prompt

> cd C:/data
> C:/tools/Fmask

Try that


In the case of that issue, it was because he needed to change drives as well while calling Fmask (thus the need for \D), I don't believe that is the case for you (unless your data is on an external harddrive)

@nasavish
Copy link
Author

I am going to write what I understand your suggestion to mean.

  1. Change directory of file path to where data is located
  2. Call file path where Fmask is located.

I have attached images of what happened when I tried doing that.

First image is of (1) after pressing 'enter'

cd

This image is of (2) before pressing 'enter'

fmask_image

This image is of (2) after pressing 'enter'

fmask_error

After this step, as you can see from the image, I am receiving an error. Have I done something incorrectly? Also, I'm not sure I completely understand (2) of your instructions. Can you please elaborate?

@Syntaf
Copy link
Member

Syntaf commented Oct 27, 2015

try Fmask.exe , the extension is important if it's included in the name.

@nasavish
Copy link
Author

Receiving the same error.

However, I just realized that this computer doesn't have the hardware required to support Fmask.

Let me give this a go on one of the other computers that is all set up.

@nasavish
Copy link
Author

No go

@nasavish
Copy link
Author

I tried opening the Fmask application again and, while the same error popped up as in the first post, this error followed.

error

@Syntaf
Copy link
Member

Syntaf commented Oct 27, 2015

Is desktop/Fmask Fmask.exe , or the folder containing Fmask.exe? you cannot launch a folder via the command line, you need to launch an executable .

@nasavish
Copy link
Author

It was referring to the folder. I just tried modifying it so it would launch the application but perhaps I did it incorrectly because I am getting the same error.

error

@Syntaf
Copy link
Member

Syntaf commented Oct 27, 2015

That's because your command line is parsing C:\Users\NASA DEVELOP\Desktop\Trial\Fmask\Fmask.exe as two separate commands due to the space . Place this in "" quotes so the cmd knows this is one single path

@Jwely Jwely added the wontfix label Oct 29, 2015
@Jwely
Copy link
Member

Jwely commented Oct 29, 2015

As a note: this issue has nothing to do with dnppy, so i've added the wontfix label.

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

No branches or pull requests

3 participants