-
Notifications
You must be signed in to change notification settings - Fork 346
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
block* and -G from externals must always return grids #2795
Comments
Yes, need elegant solution for this. E.g.,
where GMT_External_Cleanup is in charge of creating an empty grid or a no-record data set etc and call GMT_Write_Data on that if API->external is true. in blockmean there may be several grids requested so there may need to be a loop there (module specific). Perhaps think about where else we may run into this and take note of how GMT_External_Cleanup needs to work. |
Fixed. closing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When calling from externals with -G we are expecting to always get grids, but if, for example, condition
"No data records found; no output produced
is triggered we return error and no grids. This in itself will trigger calls to the externalerror()
function, which is ... not good. What should happen is the return of empty grids (that is, all NaNs)The text was updated successfully, but these errors were encountered: