wrf-python icon indicating copy to clipboard operation
wrf-python copied to clipboard

Add a function to check if lat/lon points are within the WRF domain

Open bladwig1 opened this issue 8 years ago • 0 comments

Had a user on ncl-talk try to use wrf_user_ll_to_ij to check if observations are within the WRF domain. The current ll_to_xy routines are simple lat/lon to x/y converters that don't care what the domain size is. A new function should be created to add a check to see if the points are outside of the domain bounds. Not sure how the return should be -- either an array of booleans, or sequences of values for in and out of domain. The boolean way seems to be the more common way of doing this in NCL and numpy, and will work with masking.

bladwig1 avatar Nov 21 '17 23:11 bladwig1