opm-common icon indicating copy to clipboard operation
opm-common copied to clipboard

Use Dynamic Timestamp in WELSPECS Report

Open bska opened this issue 9 months ago • 1 comments

This PR replaces the static "RUN AT" timestamp currently used in the WELSPECS report (RPTSCHED keyword) with the current (local) time when the report is emitted.

As an example, following #4526, the NORNE_ATW2013 PRT file contains well specification report headers of the form

Report step  7/247 at day 143/3312, date = 29-Mar-1998
                             **************************************************************************                             
 WELSPECS AT       0.00 DAYS *                                                                        * FLOW                        
 REPORT   0     31 DEC 2007  *                                                                        * RUN AT 12:41 ON 12 SEP 2016 
                             **************************************************************************                             

                                                  WELL SPECIFICATION DATA                                                 
                                                  -----------------------                                                 

With this PR, the header might look something like the following instead

Report step  7/247 at day 143/3312, date = 29-Mar-1998
                             **************************************************************************                             
 WELSPECS AT       0.00 DAYS *                                                                        * FLOW                        
 REPORT   0     31 DEC 2007  *                                                                        * Run at 19-Mar-2025 17:41    
                             **************************************************************************                             

                                                  WELL SPECIFICATION DATA                                                 
                                                  -----------------------                                                 

Note: Fixing the "0.00 DAYS" and "REPORT 0 31 DEC 2007" parts is the subject of follow-up work.

bska avatar Mar 19 '25 16:03 bska

I am creating this PR in draft mode because it depends on, and contains, the earlier PR #4530. I will keep the PR in a draft state until such time as it is ready for review.

bska avatar Mar 19 '25 16:03 bska

I am creating this PR in draft mode because it depends on, and contains, the earlier PR #4530. I will keep the PR in a draft state until such time as it is ready for review.

The earlier PR was merged into the master branch. I'm marking this as "ready for review" and I'm running a build check.

bska avatar Apr 02 '25 16:04 bska

jenkins build this please

bska avatar Apr 02 '25 16:04 bska

PR approved and build check is green. I'll merge into master.

bska avatar Apr 03 '25 07:04 bska