Skip to content

What is the proper syntax for taking the complement of a mask of type "data" using gen_vx_mask? #1219

Locked Answered by JohnHalleyGotway
jvigh asked this question in Configuration
Discussion options

You must be logged in to vote

Hi @jvigh. I see that you already have an existing mask and you'd like to run gen_vx_mask to take its complement. The confusion is caused by a feature that was added a while back to make it easier to run gen_vx_mask iteratively to compute complex masks. Whenever you run gen_vx_mask with INPUT_FIELD = the output of a previous run of the tool, it automatically initializes the value at each grid point to the contents of that input mask. That makes it easier to run iteratively since you no longer need to specify the "-input_field" option each time to specify the name of the NetCDF variable containing the input mask data.

But this logic in turn, makes this seemingly simple task you're trying t…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
5 replies
@JohnHalleyGotway
Comment options

@JohnHalleyGotway
Comment options

@JohnHalleyGotway
Comment options

@jvigh
Comment options

jvigh Oct 28, 2021
Collaborator Author

@JohnHalleyGotway
Comment options

Answer selected by JohnHalleyGotway
Comment options

jvigh
Oct 28, 2021
Collaborator Author

You must be logged in to vote
1 reply
@JohnHalleyGotway
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requestor: NOAA/SWPC NOAA Space Weather Prediction Center MET: Masking
2 participants