Home |  | Your Room |  | Login |  | Contact |  | Feedback |  | Site Map |  | Search: |  |
About Us Overview Getting here Committees | Products Forecasts Order Data Order Software | Services Computing Archive PrepIFS | Research Modelling Reanalysis Seasonal | Publications Newsletters Manuals Libraries | News&Events Calendar Employment Open Tenders
Home > Publications > Manuals > Grib API> |
|  | #
GRIB API Manual
Installation
Python
Fortran 90
C
GRIB Conversion
| GRIBEX keys
Keys
Examples
Tools

Software
BUFR
CREX
GRIBEX
GRIB API
Interpolation
Magics
Metview
SMS
Ordering forms
Software licence
Payment rules

Related Manuals
GRIBEX manual
Interpolation manual
Metview Manuals
Magics Manuals

The following GRIBEX Fortan interface is not present any longer in the GRIB API. You will have seen from the GRIB API Fortran 90 interface that the information contained in the grib message can be accessed through alphanumeric keys.

In your Fortran code, you will have to name explicitly the keys that you are using. The tables below will help you to find the key names corresponding to the "old" GRIB header section elements.

These tables include the GRIB API Coded key names and also Recommended GRIB API key names. You should use the latter.

          INTEGER
          INTEGER KSEC0(2)
          INTEGER KSEC1(1024)
          INTEGER KSEC2(1024)
          INTEGER KSEC3(2)
          INTEGER KSEC4(512)
          INTEGER KLENP, KLENG, KWORD, KRET
          INTEGER KGRIB(*)
    C
          REAL PSEC2(512)
          REAL PSEC3(2)
          REAL PSEC4(*)
    C
          CHARACTER*1 HOPER
              :
              :
          CALL GRIBEX(KSEC0,KSEC1,KSEC2,PSEC2,KSEC3,PSEC3,KSEC4,
         X            PSEC4,KLENP,KGRIB,KLENG,KWORD,HOPER,KRET)

| 17.04.2007

|  | © ECMWF |