Replies: 1 comment 3 replies
-
You're correct, that's a typo in the example and should instead say 75km, not 25km. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the MetPy Example Gallery, for the Cressman interpolation example provided at:
https://unidata.github.io/MetPy/latest/examples/gridding/Point_Interpolation.html#sphx-glr-examples-gridding-point-interpolation-py
The hres parameter value shown in the argument list for interpolate_to_grid is 75000. However, the grid resolution given in the example is 25 km. This seems to be incorrect since the units of hres are in meters and the units of the associated grid resolution are in kilometers. For this case the correct grid resolution should be 75 km. Using another example, given on the same web page, the value given for the search_radius parameter is 100000 and the associated value shown is 100 km. This example seems correct since the value of the argument is in meters and the value of the parameter is in kilometers. Please let me know if the above case is just a mistake in the documentation or whether there is something in the code I am not understanding. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions