UPP (develop)
|
retrieve_index() gets record number of desired variable. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | retrieve_index (index, string, varname_all, nrecs, iret) |
retrieve_index() gets record number of desired variable. | |
retrieve_index() gets record number of desired variable.
By examining previously generated inventory of wrf binary restart file, find record number that contains the header record for variable identified by input character variable "string".
[in] | string | Mnemonic for variable desired. |
[in] | varname_all | List of all mnemonics obtained from inventory of file. |
[in] | nrecs | integer Total number of sequential records counted in wrf binary restart file. |
[out] | index | integer Desired record number. |
[out] | iret | integer Return status, set to 0 if variable was found, non-zero if not. |
Date | Programmer | Comments |
---|---|---|
2004-11-29 | Parrish | Initial |
Definition in file retrieve_index.f.
subroutine retrieve_index | ( | integer, intent(out) | index, |
character(*), intent(in) | string, | ||
character(132), dimension(nrecs), intent(in) | varname_all, | ||
integer, intent(in) | nrecs, | ||
integer, intent(out) | iret | ||
) |
retrieve_index() gets record number of desired variable.
[in] | string | Mnemonic for variable desired. |
[in] | varname_all | List of all mnemonics obtained from inventory of file. |
[in] | nrecs | integer Total number of sequential records counted in wrf binary restart file. |
[out] | index | integer Desired record number. |
[out] | iret | integer Return status, set to 0 if variable was found, non-zero if not. |
Definition at line 29 of file retrieve_index.f.