A V2 Fortran API, fully modern, can be built atop the existing library #339
edwardhartnett
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@jbathegit and I were talking about NCEPLIBS-bufr today and we conceived the idea of a new API, thoroughly modern, using all of Fortran's features including modules. This API would use the existing code, but would provide a new, better user experience.
The V2 API will be a complete replacement for the existing API, but also interoperable. It will do everything the existing API can do, and more, so that users will be able to write any application using NCEPLIBS-bufr without using the V1 API.
All public-facing functions will:
We would like this API to be similar to other data library APIs, with usage something like:
The user application opens the file with the filename, and gets an ID for the file. The user does stuff and then calls close with the file ID, and all resources allocated for this file are released.
Beta Was this translation helpful? Give feedback.
All reactions