Hi:
When creating a new variable using Tools>Python Variables, how can I get the domain bounds from within the Python code?
Thanks, --d.r.
Hi:
When creating a new variable using Tools>Python Variables, how can I get the domain bounds from within the Python code?
Thanks, --d.r.
Hi,
The domain bounds will depend on the variables you’re interested in. You can acquire them by checking the “Include Coordinate Variables” checkbox under the Input Variables selector. You will then have access to the coordinate variables of your input variables.
For example, I’ve selected the 2D variable ACGRDFLX from a WRF output dataset. I can then access its coordinate variable XLATY and acquire min and max values for it.