NCEPLIBS-bufr  12.0.1
datelen.f File Reference

Specify format of Section 1 date-time when reading BUFR messages. More...

Go to the source code of this file.

Functions/Subroutines

recursive subroutine datelen (LEN)
 This subroutine is used to specify the format of Section 1 date-time values that will be output by future calls to any of the BUFRLIB message-reading subroutines. More...
 

Detailed Description

Specify format of Section 1 date-time when reading BUFR messages.

Author
J. Woollen
Date
1998-07-08

Definition in file datelen.f.

Function/Subroutine Documentation

◆ datelen()

recursive subroutine datelen (   LEN)

This subroutine is used to specify the format of Section 1 date-time values that will be output by future calls to any of the BUFRLIB message-reading subroutines.

This subroutine can be called at any time from within the application program, and the specified value for LEN will remain in effect for all future calls to any of the BUFRLIB subroutines which read BUFR messages, unless a subsequent call is made to this subroutine to reset the value of LEN again. If this subroutine is never called, a default value of 8 is used for LEN, as set within subroutine bfrini().

Parameters
[in]LEN– integer: Length of Section 1 date-time values to be output by all future calls to message-reading subroutines
  • 8 = YYMMDDHH format with 2-digit year (the default)
  • 10 = YYYYMMDDHH format with 4-digit year
Author
J. Woollen
Date
1998-07-08

Definition at line 27 of file datelen.f.

References bort(), modv_im8b::im8b, wrdlen(), and x84().

Referenced by fdebufr_c(), and readbp().