Skip to content
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

get_message, new_from_message without memcpy #279

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

plesskem
Copy link

Proposed extension of the fortran grib api:
2 methods which are already included in the C interface and used to directly access the coded message in main memory
these methods are for example practical for sending/receiving coded grib messages with MPI

  • grib_get_message
    returns a fortran pointer to the coded message (character) of a grib_handle
  • grib_new_from_message_no_copy
    creates a new grib_handle with a data buffer pointing to a provided coded message (character or integer)

@FussyDuck
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants