C----------------------------------------------------------------------- PROGRAM ANOMGB C$$$ MAIN PROGRAM DOCUMENTATION BLOCK C C MAIN PROGRAM: ANOMGB COMPUTE ANOMALIES WITH GRIB FILES C PRGMMR: IREDELL ORG: NP23 DATE: 1998-10-22 C C ABSTRACT: The command anomgb computes anomalies for fields read C from a GRIB file and outputs them to another GRIB file. C Unless otherwise directed (-x option) the GRIB index files C are also used to speed the reading. The fields are interpolated C to an output grid if specified (-g option). The interpolation type C defaults to bilinear but may be specified directly (-i option). C The copying may be limited to specific fields (-k option). C The climatology GRIB file (-C option) must be specified; C its index file (-c option) is optional. C C PROGRAM HISTORY LOG: C 97-01-13 IREDELL C 97-03-18 IREDELL INCREASED VERBOSITY C 98-07-07 IREDELL Y2K COMPATIBILITY C C COMMAND LINE OPTIONS: C -c climindex C Optional index file for the climatology GRIB file. C C -C climgrib C GRIB file used to get the climatology when difftype=5 C or 'anomaly'. At present the climatology must be C expressed in monthly averages. C C -g "grid [kgds]" C Verification grid identification. If grid=-1 C (the default), then the grid is taken from the first C GRIB field in GRIB file 1. If grid=-2, C then the grid is taken from the first GRIB field C in GRIB file 2. IF grid=-3, then the grid is taken C from the first GRIB field in the climatology. C If 0