Skip to content

Umdp3 checker in python#153

Merged
yaswant merged 85 commits intoMetOffice:mainfrom
r-sharp:umdp3_checker_in_python
Jan 22, 2026
Merged

Umdp3 checker in python#153
yaswant merged 85 commits intoMetOffice:mainfrom
r-sharp:umdp3_checker_in_python

Conversation

@r-sharp
Copy link
Contributor

@r-sharp r-sharp commented Dec 18, 2025

Sci/Tech Reviewer: @jennyhickson
Code Reviewer: @yaswant

Description

Summary

Replacing the old Perl umdp3 compliance checking script with a half baked Python one.

Changes

Remove all old Perl files.
Add Python translations after some heavy refactoring.
This provides a framework, and some very simple tests to run on Fortran code.
It will need some tweaking as we stumble over the defficiencies we see when used in anger.

Impact

Replaces a set of Perl scripts which was hardwired to FCM to a Python version capable of using git_bdiff

Issues addressed

Resolves

One of the last remaining Perl script uses in the toolset
Hardwiring of our style checker to FCM

Checklist

  • I have performed a self-review of my own changes

Roddy Sharp and others added 30 commits July 3, 2025 13:40
investigations as to whether it's worked and how it can be improved.
and is to std out whereas the origianl wrote to std err. It's not clear
if the Python version terminated after the first file with errors, or
genuinely didn't spot the errors in the other files.
Branch used to look for errors is  :
https://code.metoffice.gov.uk/svn/um/main/branches/dev/roddysharp/vn13.9_deliberate_umdp3_failures
…p3_checkas I think Perl did it for both cases..
methodology. Plus making the branch processing of files changes return a list.
hints as at every step it suggests something else...
@yaswant
Copy link
Collaborator

yaswant commented Jan 20, 2026

over to you @r-sharp

r-sharp and others added 20 commits January 20, 2026 15:06
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
r-sharp and others added 5 commits January 20, 2026 16:24
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
Co-authored-by: Yaswant Pradhan <2984440+yaswant@users.noreply.github.com>
@yaswant yaswant merged commit 5f4146c into MetOffice:main Jan 22, 2026
5 checks passed
@jennyhickson jennyhickson added this to the Spring 2026 milestone Jan 29, 2026
@r-sharp r-sharp deleted the umdp3_checker_in_python branch January 29, 2026 16:57
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.

3 participants