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

retire ufbin3 and nevn routines from library? #601

Closed
jbathegit opened this issue Jun 7, 2024 · 7 comments · Fixed by #610
Closed

retire ufbin3 and nevn routines from library? #601

jbathegit opened this issue Jun 7, 2024 · 7 comments · Fixed by #610

Comments

@jbathegit
Copy link
Collaborator

@jack-woollen @HuiyaChuang-NOAA @ilianagenkova

There are two routines in the NCEPLIBS-bufr library which, according to their respective docblocks, are/were only ever used for NCEP prepfits files in the gridtobs program. My question is whether prepfits files and the gridtobs program are still even used for verification purposes, and, if not, whether we can plan to go ahead and retire the ufbin3 and nevn routines from the library at some point? Or would we still need to keep them around for use with historical archives?

I'm just putting this question out there to see if there may be an opportunity here to lighten our ongoing code maintenance load a bit :-) Please let me know, and please also feel free to pass this query along to anyone else who may be able to provide relevant input/guidance - thanks!

@jack-woollen
Copy link
Contributor

@jbathegit I agree ufbin3 is similar to ufbevn, with one difference. Ufbin3 returns jret along with iret, which is useful. Maybe make jret an optional output argument from ufbevn, then all functionality is maintained.

@jbathegit
Copy link
Collaborator Author

Thanks for the reply Jack, but my main question is whether prepfits and gridtobs are still even run on WCOSS2 for verification or otherwise used anywhere at NCEP? That's also why I pinged @HuiyaChuang-NOAA and @ilianagenkova for their input.

Bottom line - at least according to the current docblock, the ufbin3 routine is only for use in prepfits. So unless that's not true and the docblock isn't fully correct, then if by some chance prepfits is now obsolete, then maybe(?) we can remove ufbin3 and nevn altogether from the library at some point, and unless maybe they need to be retained for use with historical archives(?)

Again, just wanted to float the question out there... :-)

@jack-woollen
Copy link
Contributor

Sorry Jeff, no idea what the status of prepfits is!

@ilianagenkova
Copy link

I did chat with Shelley about this, she recommended we tag @AliciaBentley-NOAA - Alicia, could you check if the new verification is using ufbin3 and nevn?

I did not find any current calls to ufbin3 and nevn in obsproc, prepobs, bufr-dump, satingest, bufr-tranjb and sfcship (all repos that ObsProc manages). Only a commented out call to ufbin3 in prepobs.

@AliciaBentley-NOAA
Copy link

@ilianagenkova Thanks! I checked our repositiory, and neither ufbin3 or nevn appear in the EVS v1.0. I'll tag @malloryprow too, since I think she might use some of the old verf_precip code in her global archive code. Hopefully it's not the part that uses ufbin3 and nevn!

@malloryprow
Copy link

@AliciaBentley-NOAA Not seeing anything in https://github.com/malloryprow/emc-global_archive/blob/main/sorc/ccpa24hr_accum.f that came from verf_precip.

@jbathegit
Copy link
Collaborator Author

OK, thanks everyone for checking. I'll be releasing the next version 12.1.0 of the library in the next few weeks, so once that's out of the way I'll work on retiring these two routines from the library altogether.

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

Successfully merging a pull request may close this issue.

5 participants