-
Notifications
You must be signed in to change notification settings - Fork 225
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
grdmath SUB operator #916
Comments
👋 Thanks for opening your first issue here! Please make sure you filled out the template with as much detail as possible. You might also want to take a look at our contributing guidelines and code of conduct. |
Hi @arleaman, just need a bit more information on what your 'grids' are. Are they NetCDF files, About calculating residuals (using SUB), I would recommend doing it directly in |
Thanks @weiji14 - I am using NetCDF files for my grids and will look into performing calculations in xarray. |
Initial commit for wrapping the grdmath function for #916 which is a "Raster calculator for grids (element by element)". Original GMT `grdmath` documentation is at https://docs.generic-mapping-tools.org/6.2/grdmath.html. Implementation works by building and storing a computational graph of the grid operations in a GrdMathCalc class object. An output NetCDF grid or xarray.DataArray is produced upon calling `.compute()` or by setting `outgrid=True`.
grdmath SUB operator
I would like to use this feature to calculate residuals by finding the difference between two grid files.
Are you willing to help implement and maintain this feature? Yes, with guidance
The text was updated successfully, but these errors were encountered: