-
Notifications
You must be signed in to change notification settings - Fork 12
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
[Doc]: Consider updating the listed APIs for horizontal regridding #501
Comments
Any thoughts @xCDAT/core-developers? |
I haven't investigated this enough to weigh in on what is right, but I do find the regridder documentation a little confusing (as mentioned here). It seems like 2 has the correct documentation. One note regarding these references:
I think this is probably the best way to note/refer to options specific to xESMF / regrid2, but if there was a way of putting it within the documentation here that could be helpful. |
These are purely there for documentation, that's the only way to make a link to reference the individual regridder options.
I'd be fine removing
There's not really a good way to place the documentation here. I could try some regex magic and combine the I'll also make another pass on the documentation with the insight from this issue. |
You're right, I forgot you need to list the accessor class to list its methods and attributes.
Yeah, I noticed people mostly using |
After some more thought we could solve the documentation issue by getting rid of |
After the last meeting, the plan is to deprecate the current regridding accessor functions and remove them in a few release cycles.
The The documentation will be moved to these methods so there will no longer be a link from the accessor methods to class I will also do a pass on all the regridding documentation to update anything requiring clarification. |
Closing as we've decided to stick with generic horizontal and vertical methods. PR #535 addresses the documentation changes in this PR. |
Describe your documentation update
After revisiting the horizontal regridding APIs we have listed in the API Reference page, I think listing all of these options can be confusing for the user.
All of these methods achieve the same functions, but go about it in a slightly different way.
This is the callstack with
xesmf
:horizontal(...tool="xesmf")
->horizonal_xesmf()
->XESMFRegridder()
.Solution
I propose we just keep "2. General accessor method" listed in our documentation. I foresee most people using that API since it is the most straightforward to use and most flexible (you can specify
tool="regrid2"
ortool="xesmf"
).The text was updated successfully, but these errors were encountered: