|
NCEPLIBS-w3emc
2.11.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. More... | |
| 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 http://weather.gov/tg/ftpingest.html)
This routine can generate different flag field separator blocks depending on the value of variable iopt.
Bulletin "Flag Field Separator" block - OPTION 1 (old)
Bulletin "Flag Field Separator" block - OPTION 1a (new)
Bulletin "Flag Field Separator" block - OPTION 2 (limited)
Program history log:
| [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 57 of file mkfldsep.f.