-
Notifications
You must be signed in to change notification settings - Fork 447
Add zoom interpolation function #2155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
7f09d50 to
76f9ae9
Compare
|
Looks like we are failing on 3.7 minimum because of the SciPy |
|
Well, looks like |
|
I don't think the option is critically important and have only used the default setting. We can always come back and add it in when and if is determined that it would be useful. |
|
What about |
f29cac7 to
0bcd333
Compare
dcamron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and didn't run into any issues testing it myself. Feel free to address these minor things and then add the references between this and smooth_field to this PR while I go kick #2156 in.
0bcd333 to
f52f8a7
Compare
dcamron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny misses; then good to go by me!
f52f8a7 to
d1c9520
Compare
652907c to
c887732
Compare
dcamron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last request, just making consistencies with the new name.
c887732 to
bcd8eeb
Compare
Description Of Changes
This PR stems out of the issue #2126 to implement a method for generating a finer grid spacing for data contouring purposes when using low resolution gridded output. This PR implements a version of the prototype function developed by @jthielen and also adds an attribute to the declarative syntax, with limited functionality, to make use of this new function.
Open for conversation on the naming conventions used here. I shied away from the GEMPAK language of CONTUR, as I thought that would be very confusing with our already implemented
contoursattributed and opted for a zoom reference, which aligns with the native SciPy function. The attribute is currently namesfield_zoomto imply that you are zooming the particular field through the spline interpolation. As an aside, I also refrained from usingsmooth, or some derivative thereof, in the name as there will be a future PR implementing one of the smoothing functions as a declarative attribute that I intend to use a derivative of that name for that attribute.Checklist