diff --git a/docs/user_guide.md b/docs/user_guide.md index 18044054..010269cd 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -73,18 +73,18 @@ gf_free(). # Extracting GRIB2 Fields from a GRIB2 file -Subroutine getgb2() can be used to extract a specified field from a -file containing many GRIB2 messages. getgb2() searches an index to +Subroutine getgb2i2() can be used to extract a specified field from a +file containing many GRIB2 messages. getgb2i2() searches an index to find the location of the user specified field. The index can be supplied from a seperate GRIB2 index file, or it can be generated internally. -If getgb2() is used, call gf_finalize() to free all +If getgb2i2() is used, call gf_finalize() to free all memory. gf_finalize() only needs to be called once, no matter how many -times getgb2() is called. +times getgb2i2() is called. The GRIB2 file (and the index file, if supplied) must be opened with -a call to subroutine baopen() prior to the call to getgb2(). +a call to subroutine baopen() prior to the call to getgb2i2(). The decoded information for the selected GRIB field is returned in a derived type variable, gfld. Gfld is of type grib_mod::gribfield; @@ -144,6 +144,7 @@ http://www.nws.noaa.gov/tdl/iwt/grib2/frameset_grib2.htm. ## Documentation for Previous Versions of NCEPLIBS-g2 +* [NCEPLIBS-g2 Version 3.4.8](ver-3.4.8/index.html) * [NCEPLIBS-g2 Version 3.4.7](ver-3.4.7/index.html) * [NCEPLIBS-g2 Version 3.4.6](ver-3.4.6/index.html) * [NCEPLIBS-g2 Version 3.4.5](ver-3.4.5/index.html) diff --git a/src/g2getgb2.F90 b/src/g2getgb2.F90 index 2484597d..28340176 100644 --- a/src/g2getgb2.F90 +++ b/src/g2getgb2.F90 @@ -187,7 +187,7 @@ end subroutine getgb2 !> - 99 request not found !> - other gf_getfld grib2 unpacker return code !> -!> @author Ed Hartnett @date 2024-03-19 +!> @author Ed Hartnett, Mark Iredell @date 2024-03-19 subroutine getgb2i2(lugb, lugi, j, jdisc, jids, jpdtn, jpdt, jgdtn, jgdt, & unpack, idxver, k, gfld, iret) use grib_mod