Skip to content

gen vx mask #2128

Locked Answered by fearon10
fearon10 asked this question in Configuration
Apr 18, 2023 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Hi John,
Specifying the global attribute in a CF-complaint way, i.e., ":Conventions = "CF-1.6" ;" worked. I can generate an independent mask for land, ocean, and ice now with netcdf.
In addition, I resolved my python embedding issue. The input_grid and mask_grid are the same, but input_field and mask_field must be different. For example, the following now works for water.

gen_vx_mask PYTHON_NUMPY PYTHON_NUMPY ocean.nc -type data -input_field 'name="readdata.py -f data.hdf5 -l 10 -lt model_level -v zonal_wind_at_10m";' -mask_field 'name="readdata.py -f data.hdf5 -l 10 -lt model_level -v sea_land_ice_mask";' -thresh eq0

Previously, my logic with embedding was the same except my input_field …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@fearon10
Comment options

@JohnHalleyGotway
Comment options

@fearon10
Comment options

Answer selected by JohnHalleyGotway
@JohnHalleyGotway
Comment options

@fearon10
Comment options

@JohnHalleyGotway
Comment options

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