<div dir="ltr">Hello,<div><br></div><div>The WRF data I have is for a polar stereographic projection, with latitudes and longitudes that are not monotonic. Printing out the lat2d(:,0), I receive latitudes from 40N to 62N then decreasing again to 50N; and longitudes (lon2d(0,:)) from 180 to -180. The latitudes and longitudes are also not equally spaced.</div><div><br></div><div>According to the center_finite_diff_n, the latitudes and longitudes must both be monotonic, and according to the grad_latlon_cfd the longitudes must be monotonic. However, using both of these functions to compute the WRF temperature gradients, no errors about not being monotonic are printed to the terminal. There are small differences between the results from both functions (center_finite_diff_n meridional mean is 0.04; grad_latlon_cfd meridional mean is -0.02).</div><div><br></div><div>The question I have is whether this is fair to use these functions for computing the temperature gradient for non-monotonic data. If not, how else could I go about computing the temperature gradient for WRF data on a polar stereographic projection?</div><div><br></div><div>I appreciate any help. Cheers,</div></div><div dir="ltr">-- <br></div><div><div dir="ltr">Brandon J Fisel<div>Iowa State University</div><div>Department of Geological &amp; Atmospheric Sciences</div><div><br></div><div>Doctoral Research Assistant</div><div><a href="mailto:bjfisel@iastate.edu">bjfisel@iastate.edu</a></div><div>Tel:219.242.1466</div><div>Fax:515.294.6049</div><div><br></div><div>&quot;Climate is what we expect; weather is what we get.&quot; -Mark Twain</div></div></div>