grbindex
1.4.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. More... | |
function | ncbase (C, N) |
Locate basename of a file. More... | |
subroutine | wrgi1h (LUGI, NLEN, NNUM, CGB) |
Write index headers. More... | |
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.
Referenced by wrgi1h().
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().