-
Notifications
You must be signed in to change notification settings - Fork 18
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
Combine g2tmpl and g2 (and maybe g2c as well?) #127
Comments
Hi Edward, |
There's a huge code duplication between g2 and g2c. I think g2 should be implemented as small Fortran wrapper around g2c functions. g2c should stay as a standalone grib2 encoding/decoding library (repo). |
OK, great discussion already! Some points:
We would like to combine packages when we can to reduce overall NCEPLIBS work and costs. |
Hi Edward,
|
@BoiVuong-NOAA what do you think about @DusanJovic-NOAA point about g2c and g2? Should g2 be refactored as fortran wrappers in g2c? We need g2 right? So if we made g2 a set of wrappers around g2c, then we would also need g2c. I will remove grib_util from this discussion and we will discuss that separately... |
So, g2, g2c and g2tmpl will be combined. |
I think we want to start by combining g2tmpl into g2. Does that sound like a good path forward? Can we accomplish that, and then circle back around to the g2c library in a future release? |
I agree with you.
Let see Boi's expert opinion. He is the code manager and developer for
these libs.
…On Tue, Oct 6, 2020 at 10:43 AM Edward Hartnett ***@***.***> wrote:
I think we want to start by combining g2tmpl into g2. Does that sound like
a good path forward?
Can we accomplish that, and then circle back around to the g2c library in
a future release?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKWSMFBFEDTPOWYOYDCMOPDSJMUI7ANCNFSM4R6I2M3A>
.
|
@BoiVuong-NOAA has already agreed that combining g2 and g2tmpl is a good idea, noting that both are Fortran. |
They are FORTRAN. |
You mean F77 code? That's fine. The good news with F77 code is we can rely on F90 compilers, which help a bit. ;-) |
We have decided to do this only after some testing is in place. |
Yes, You are right. The testing will take some times to write some codes. Do you have some one to help ? |
@BoiVuong-NOAA not yet. ;-) |
This can be done after the next NCEPLIBS release. |
OK, here's an update on this discussion.
|
Should g2tmpl, g2, g2c, and grib_util be combined? @BoiVuong-NOAA what do you think?
The text was updated successfully, but these errors were encountered: