I use wrf-python to extract the variable wind u = wrf.getvar(nc,"ua") and vertically interpolate it to pressure levels. I now wish to compute the horizontal gradients of ua. The horizontal grid spacing configured in my namelist is 27 km.
Is it valid to use dx and dy to perform centered differencing for this calculation?
Is it valid to use dx and dy to perform centered differencing for this calculation?