NCEPLIBS-bufr  12.0.1
pktdd.f File Reference

Store information about a child mnemonic within the internal arrays. More...

Go to the source code of this file.

Functions/Subroutines

subroutine pktdd (ID, LUN, IDN, IRET)
 Store information about a child mnemonic within the internal arrays. More...
 

Detailed Description

Store information about a child mnemonic within the internal arrays.

Author
Woollen
Date
1994-01-06

Definition in file pktdd.f.

Function/Subroutine Documentation

◆ pktdd()

subroutine pktdd (   ID,
  LUN,
  IDN,
  IRET 
)

Store information about a child mnemonic within the internal arrays.

This subroutine stores information about a "child" mnemonic within the internal BUFR table D entry (in module moda_tababd) for a table D sequence ("parent") mnemonic when the "child" mnemonic is contained within the sequence represented by the "parent" mnemonic (as determined within seqsdx()).

Parameters
[in]ID- integer: positional index of parent mnemonic within internal BUFR table D array tabd(*,*).
[in]LUN- integer: File ID.
[in]IDN- integer: WMO bit-wise representation of FXY value corresponding to child mnemonic.
  • 0 = delete all information about all child mnemonics from within tabd(id,lun).
[out]IRET- integer: total number of child mnemonics stored thus far (including idn) for the parent mnemonic given by tabd(id,lun).
  • 0 information was cleared from tabd(id,lun) because input IDN value was 0
  • -1 bad counter value or maximum number of child mnemonics already stored for this parent mnemonic
Author
Woollen
Date
1994-01-06

Definition at line 25 of file pktdd.f.

References errwrt(), ipkm(), iupm(), modv_maxcd::maxcd, and moda_tababd::tabd.

Referenced by dxinit(), bufr_c2f_interface::pktdd_c(), seqsdx(), and stbfdx().