NCEPLIBS-w3emc 2.12.0
|
Makes TOC Flag Field Separator Block. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | mkfldsep (csep, iopt, lenin, lenbull, lenout) |
Generates a TOC Flag Field Separator Block used to separate WMO Bulletins within a transmission file to be ingested in TOC's FTP Input Service, which can be used to disseminate WMO buletins. | |
subroutine mkfldsep | ( | character*(*), intent(out) | csep, |
integer, intent(in) | iopt, | ||
integer, intent(in) | lenin, | ||
integer, intent(in) | lenbull, | ||
integer, intent(out) | lenout | ||
) |
Generates a TOC Flag Field Separator Block used to separate WMO Bulletins within a transmission file to be ingested in TOC's FTP Input Service, which can be used to disseminate WMO buletins.
See [File Transfer Input Service Guide - Input examples and how to FTP files to the Gateway] (https://www.weather.gov/tg/ftpingest).
This routine can generate different flag field separator blocks depending on the value of variable iopt. For details see [GATEWAY File Standards & Content Structures] (https://www.weather.gov/tg/fstandrd).
Bulletin "Flag Field Separator" block - OPTION 1 (old)
Bulletin "Flag Field Separator" block - OPTION 1a (new)
Bulletin "Flag Field Separator" block - OPTION 2 (limited)
[in] | iopt | Flag Field Separator block option: = 1: Separator block for use with alphanumeric bulletins. if lenin <= 18 and lenbull <= 999999, OPTION 1 block will be generated. if lenin > 18 or lenbull > 999999, OPTION 1a block will be generated. = 2: Separator block for use with GRIB/BUFR bulletins. |
[in] | lenin | Desired length of the flag field separator block. ignored, if iopt=2. |
[in] | lenbull | Integer length of the bulletin (in bytes) that will follow this separator block. |
[out] | csep*(*) | Character array containing the flag field separator. |
[out] | lenout | Integer length of the flag field separator block. |
Definition at line 55 of file mkfldsep.f.