NCEPLIBS-g2 4.0.0
|
Create an index file from a grib file. More...
Go to the source code of this file.
Functions/Subroutines | |
program | grbindex |
Create an index file from a grib file. | |
function | ncbase (c, n) |
Locate basename of a file. | |
subroutine | wrgi1h (lugi, nlen, nnum, cgb) |
Write index headers. | |
program grbindex |
Create an index file from a grib file.
grbindex <GRIB1 file> <index filename>
Definition at line 17 of file grbindex.f.
References wrgi1h().
function ncbase | ( | character, dimension(*) | c, |
n | |||
) |
Locate basename of a file.
This subprogram locates the character number after the last in a character string. For unix filenames, the character number returned marks the beginning of the basename of the file.
[in] | C | CHARACTER STRING TO SEARCH |
[in] | N | INTEGER LENGTH OF STRING |
Definition at line 164 of file grbindex.f.
References ncbase().
subroutine wrgi1h | ( | lugi, | |
nlen, | |||
nnum, | |||
character, dimension(*) | cgb | ||
) |
Write index headers.
This subprogram writes two index headers. Currently, the length of each index record is 152.
Date | Programmer | Comments |
---|---|---|
93-11-22 | Iredell | Initial |
95-10-31 | Iredell | Modularize system calls |
2012-07-31 | Vuong | Changed hostname to hostnam |
[in] | lugi | integer logical unit of output index file |
[in] | nlen | integer length of index records |
[in] | nnum | integer number of index records |
[in] | cgb | character name of grib file |
Definition at line 103 of file grbindex.f.
References ncbase().
Referenced by grbindex().