Description: Dummy patch due to multiple src tarball bug
Author: Alastair McKinstry <mckinstry@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- grads-2.0.a9.orig/configure
+++ grads-2.0.a9/configure
@@ -1,62 +1,85 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for GrADS 2.0.a9.
+# Generated by GNU Autoconf 2.68 for GrADS 2.0.a9.
 #
 # Report bugs to <jma@iges.org>.
 #
+#
 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
+# Foundation, Inc.
+#
+#
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
 
 # Be more Bourne compatible
 DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
   NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
 esac
-
 fi
 
 
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+    as_echo_n='/usr/ucb/echo -n'
+  else
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+    as_echo_n_body='eval
+      arg=$1;
+      case $arg in #(
+      *"$as_nl"*)
+	expr "X$arg" : "X\\(.*\\)$as_nl";
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+      esac;
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+    '
+    export as_echo_n_body
+    as_echo_n='sh -c $as_echo_n_body as_echo'
   fi
-  rm -f conf$$.sh
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
 fi
 
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+      PATH_SEPARATOR=';'
+  }
 fi
 
 
@@ -65,20 +88,19 @@ fi
 # there to prevent editors from complaining about space-tab.
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 # splitting by setting IFS to empty value.)
-as_nl='
-'
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
-case $0 in
+as_myself=
+case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
 IFS=$as_save_IFS
 
      ;;
@@ -89,354 +111,328 @@ if test "x$as_myself" = x; then
   as_myself=$0
 fi
 if test ! -f "$as_myself"; then
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  { (exit 1); exit 1; }
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  exit 1
 fi
 
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 done
 PS1='$ '
 PS2='> '
 PS4='+ '
 
 # NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-  fi
-done
-
-# Required to use basename.
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
-  as_basename=basename
-else
-  as_basename=false
-fi
-
-
-# Name of the executable.
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
 
 # CDPATH.
-$as_unset CDPATH
-
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 if test "x$CONFIG_SHELL" = x; then
-  if (eval ":") 2>/dev/null; then
-  as_have_required=yes
+  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
+  emulate sh
+  NULLCMD=:
+  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
+  # is contrary to our usage.  Disable this feature.
+  alias -g '\${1+\"\$@\"}'='\"\$@\"'
+  setopt NO_GLOB_SUBST
 else
-  as_have_required=no
+  case \`(set -o) 2>/dev/null\` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
+esac
 fi
-
-  if test $as_have_required = yes && 	 (eval ":
-(as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
+"
+  as_required="as_fn_return () { (exit \$1); }
+as_fn_success () { as_fn_return 0; }
+as_fn_failure () { as_fn_return 1; }
+as_fn_ret_success () { return 0; }
+as_fn_ret_failure () { return 1; }
 
 exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
+as_fn_success || { exitcode=1; echo as_fn_success failed.; }
+as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
+as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
+as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
+if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
+
+else
+  exitcode=1; echo positional parameters were not saved.
+fi
+test x\$exitcode = x0 || exit 1"
+  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
+  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
+  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
+  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
+test \$(( 1 + 1 )) = 2 || exit 1"
+  if (eval "$as_required") 2>/dev/null; then :
+  as_have_required=yes
 else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
+  as_have_required=no
 fi
+  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
-  :
 else
-  exitcode=1
-  echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0) || { (exit 1); exit 1; }
-
-(
-  as_lineno_1=\$LINENO
-  as_lineno_2=\$LINENO
-  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
-  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
-") 2> /dev/null; then
-  :
-else
-  as_candidate_shells=
-    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+as_found=false
 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  case $as_dir in
+  as_found=:
+  case $as_dir in #(
 	 /*)
 	   for as_base in sh bash ksh sh5; do
-	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
+	     # Try only shells that exist, to save several forks.
+	     as_shell=$as_dir/$as_base
+	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
+		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  CONFIG_SHELL=$as_shell as_have_required=yes
+		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
+  break 2
+fi
+fi
 	   done;;
        esac
+  as_found=false
 done
+$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
+	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
+  CONFIG_SHELL=$SHELL as_have_required=yes
+fi; }
 IFS=$as_save_IFS
 
 
-      for as_shell in $as_candidate_shells $SHELL; do
-	 # Try only shells that exist, to save several forks.
-	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
-		{ ("$as_shell") 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-_ASEOF
-}; then
-  CONFIG_SHELL=$as_shell
-	       as_have_required=yes
-	       if { "$as_shell" 2> /dev/null <<\_ASEOF
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+"$@"}'='"$@"'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
-esac
-
-fi
-
-
-:
-(as_func_return () {
-  (exit $1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
-
-exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y && test x = "$1" ); then
-  :
-else
-  exitcode=1
-  echo positional parameters were not saved.
+      if test "x$CONFIG_SHELL" != x; then :
+  # We cannot yet assume a decent shell, so we have to provide a
+	# neutralization value for shells without unset; and this also
+	# works around shells that cannot unset nonexistent variables.
+	# Preserve -v and -x to the replacement shell.
+	BASH_ENV=/dev/null
+	ENV=/dev/null
+	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+	export CONFIG_SHELL
+	case $- in # ((((
+	  *v*x* | *x*v* ) as_opts=-vx ;;
+	  *v* ) as_opts=-v ;;
+	  *x* ) as_opts=-x ;;
+	  * ) as_opts= ;;
+	esac
+	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 fi
 
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
-  break
+    if test x$as_have_required = xno; then :
+  $as_echo "$0: This script requires a shell more modern than all"
+  $as_echo "$0: the shells that I found on your system."
+  if test x${ZSH_VERSION+set} = xset ; then
+    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
+    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
+  else
+    $as_echo "$0: Please tell bug-autoconf@gnu.org and jma@iges.org about
+$0: your system, including any error possibly output before
+$0: this message. Then install a modern shell, or manually
+$0: run the script under such a shell if you do have one."
+  fi
+  exit 1
 fi
-
 fi
-
-      done
-
-      if test "x$CONFIG_SHELL" != x; then
-  for as_var in BASH_ENV ENV
-        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-        done
-        export CONFIG_SHELL
-        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 fi
+SHELL=${CONFIG_SHELL-/bin/sh}
+export SHELL
+# Unset more variables known to interfere with behavior of common tools.
+CLICOLOR_FORCE= GREP_OPTIONS=
+unset CLICOLOR_FORCE GREP_OPTIONS
 
+## --------------------- ##
+## M4sh Shell Functions. ##
+## --------------------- ##
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+  { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+  return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+  set +e
+  as_fn_set_status $1
+  exit $1
+} # as_fn_exit
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
 
-    if test $as_have_required = no; then
-  echo This script requires a shell more modern than all the
-      echo shells that I found on your system.  Please install a
-      echo modern shell, or manually run the script under such a
-      echo shell if you do have one.
-      { (exit 1); exit 1; }
-fi
-
+  case $as_dir in #(
+  -*) as_dir=./$as_dir;;
+  esac
+  test -d "$as_dir" || eval $as_mkdir_p || {
+    as_dirs=
+    while :; do
+      case $as_dir in #(
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+      *) as_qdir=$as_dir;;
+      esac
+      as_dirs="'$as_qdir' $as_dirs"
+      as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
+	 X"$as_dir" : 'X\(//\)$' \| \
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)[^/].*/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+      test -d "$as_dir" && break
+    done
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
-fi
 
-fi
+} # as_fn_mkdir_p
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+  eval 'as_fn_append ()
+  {
+    eval $1+=\$2
+  }'
+else
+  as_fn_append ()
+  {
+    eval $1=\$$1\$2
+  }
+fi # as_fn_append
 
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+  eval 'as_fn_arith ()
+  {
+    as_val=$(( $* ))
+  }'
+else
+  as_fn_arith ()
+  {
+    as_val=`expr "$@" || test $? -eq 1`
+  }
+fi # as_fn_arith
 
 
-(eval "as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  fi
+  $as_echo "$as_me: error: $2" >&2
+  as_fn_exit $as_status
+} # as_fn_error
 
-exitcode=0
-if as_func_success; then
-  :
+if expr a : '\(a\)' >/dev/null 2>&1 &&
+   test "X`expr 00001 : '.*\(...\)'`" = X001; then
+  as_expr=expr
 else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
+  as_expr=false
 fi
 
-if as_func_ret_success; then
-  :
+if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
+  as_basename=basename
 else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
+  as_basename=false
 fi
 
-if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
-  :
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+  as_dirname=dirname
 else
-  exitcode=1
-  echo positional parameters were not saved.
+  as_dirname=false
 fi
 
-test \$exitcode = 0") || {
-  echo No shell found that supports shell functions.
-  echo Please tell autoconf@gnu.org about your system,
-  echo including any error possibly output before this
-  echo message
-}
+as_me=`$as_basename -- "$0" ||
+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
+	 X"$0" : 'X\(//\)$' \| \
+	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X/"$0" |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
 
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line after each line using $LINENO; the second 'sed'
-  # does the real work.  The second script uses 'N' to pair each
-  # line-number line with the line containing $LINENO, and appends
-  # trailing '-' during substitution so that $LINENO is not a special
-  # case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
+  as_lineno_1=$LINENO as_lineno_1a=$LINENO
+  as_lineno_2=$LINENO as_lineno_2a=$LINENO
+  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
+  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
+  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   sed -n '
     p
     /[$]LINENO/=
@@ -453,8 +449,7 @@ test \$exitcode = 0") || {
       s/-\n.*//
     ' >$as_me.lineno &&
   chmod +x "$as_me.lineno" ||
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-   { (exit 1); exit 1; }; }
+    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
@@ -464,49 +459,40 @@ test \$exitcode = 0") || {
   exit
 }
 
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
 ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
+case `echo -n x` in #(((((
 -n*)
-  case `echo 'x\c'` in
+  case `echo 'xy\c'` in
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  *)   ECHO_C='\c';;
+  xy)  ECHO_C='\c';;
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
+       ECHO_T='	';;
   esac;;
 *)
   ECHO_N='-n';;
 esac
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
 rm -f conf$$ conf$$.exe conf$$.file
 if test -d conf$$.dir; then
   rm -f conf$$.dir/conf$$.file
 else
   rm -f conf$$.dir
-  mkdir conf$$.dir
+  mkdir conf$$.dir 2>/dev/null
 fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s='ln -s'
-  # ... but there are two gotchas:
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-  # In both cases, we have to default to `cp -p'.
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+if (echo >conf$$.file) 2>/dev/null; then
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s='ln -s'
+    # ... but there are two gotchas:
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+    # In both cases, we have to default to `cp -p'.
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+      as_ln_s='cp -p'
+  elif ln conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s=ln
+  else
     as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
+  fi
 else
   as_ln_s='cp -p'
 fi
@@ -514,7 +500,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$
 rmdir conf$$.dir 2>/dev/null
 
 if mkdir -p . 2>/dev/null; then
-  as_mkdir_p=:
+  as_mkdir_p='mkdir -p "$as_dir"'
 else
   test -d ./-p && rmdir ./-p
   as_mkdir_p=false
@@ -531,12 +517,12 @@ else
   as_test_x='
     eval sh -c '\''
       if test -d "$1"; then
-        test -d "$1/.";
+	test -d "$1/.";
       else
-	case $1 in
-        -*)set "./$1";;
+	case $1 in #(
+	-*)set "./$1";;
 	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 	???[sx]*):;;*)false;;esac;fi
     '\'' sh
   '
@@ -550,11 +536,11 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P
 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
-
-exec 7<&0 </dev/null 6>&1
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -569,7 +555,6 @@ cross_compiling=no
 subdirs=
 MFLAGS=
 MAKEFLAGS=
-SHELL=${CONFIG_SHELL-/bin/sh}
 
 # Identity of this package.
 PACKAGE_NAME='GrADS'
@@ -577,6 +562,7 @@ PACKAGE_TARNAME='grads'
 PACKAGE_VERSION='2.0.a9'
 PACKAGE_STRING='GrADS 2.0.a9'
 PACKAGE_BUGREPORT='jma@iges.org'
+PACKAGE_URL=''
 
 ac_default_prefix=`pwd`
 # Factoring default headers for most tests.
@@ -615,164 +601,195 @@ ac_includes_default="\
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL
-PATH_SEPARATOR
-PACKAGE_NAME
-PACKAGE_TARNAME
-PACKAGE_VERSION
-PACKAGE_STRING
-PACKAGE_BUGREPORT
-exec_prefix
-prefix
-program_transform_name
-bindir
-sbindir
-libexecdir
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-INSTALL_PROGRAM
-INSTALL_SCRIPT
-INSTALL_DATA
-am__isrc
-CYGPATH_W
-PACKAGE
-VERSION
-ACLOCAL
-AUTOCONF
-AUTOMAKE
-AUTOHEADER
-MAKEINFO
-install_sh
-STRIP
-INSTALL_STRIP_PROGRAM
-mkdir_p
-AWK
-SET_MAKE
-am__leading_dot
-AMTAR
-am__tar
-am__untar
-MAINTAINER_MODE_TRUE
-MAINTAINER_MODE_FALSE
-MAINT
-CC
-CFLAGS
-LDFLAGS
-CPPFLAGS
-ac_ct_CC
-EXEEXT
-OBJEXT
-CXX
-CXXFLAGS
-ac_ct_CXX
-LN_S
-build
-build_cpu
-build_vendor
-build_os
-host
-host_cpu
-host_vendor
-host_os
-host_ldadd
-XMKMF
-CPP
-X_CFLAGS
-X_PRE_LIBS
-X_LIBS
-X_EXTRA_LIBS
-GREP
-EGREP
-SUPPLIBS
-PKG_CONFIG
-XAW7_CFLAGS
-XAW7_LIBS
-XAW_LIBS
-XAW_XLIBS
-XAW_CFLAGS
-GA_LIBSX_LIBS
-grads_xlibs
-gui_inc
-gui_libs
-readline_inc
-readline_libs
-GEOTIFF_LIBS
-GEOTIFF_CFLAGS
-GEOTIFF_LDFLAGS
-geotiff_inc
-geotiff_libs
-shp_inc
-shp_libs
-GD_CFLAGS
-GD_LIBS
-GD_CONFIG
-GD_LDFLAGS
-printim_inc
-printim_libs
-G2_LIBS
-grib2_inc
-grib2_libs
-NC_NETCDF_3_CPPFLAG
-HDF4_LIBS
-HDF4_CFLAGS
-HDF4_LDFLAGS
-UDUNITS_LIBS
-hdf_inc
-hdf_libs
-HDF5_LIBS
-HDF5_CFLAGS
-HDF5_LDFLAGS
-hdf5_inc
-hdf5_libs
-nc_inc
-nc_libs
-NC_LDFLAGS
-NC_LIBS
-NC_CFLAGS
-gadap_inc
-dap_libs
-READLINE_TRUE
-READLINE_FALSE
-USEGUI_TRUE
-USEGUI_FALSE
-GXPNG_TRUE
-GXPNG_FALSE
-GEOTIFF_TRUE
-GEOTIFF_FALSE
-USESHP_TRUE
-USESHP_FALSE
-USEGADAP_TRUE
-USEGADAP_FALSE
-USEDAP_TRUE
-USEDAP_FALSE
-USEHDF_TRUE
-USEHDF_FALSE
-extra_utils
+ac_subst_vars='am__EXEEXT_FALSE
+am__EXEEXT_TRUE
+LTLIBOBJS
 LIBOBJS
-LTLIBOBJS'
+extra_utils
+USEHDF_FALSE
+USEHDF_TRUE
+USEDAP_FALSE
+USEDAP_TRUE
+USEGADAP_FALSE
+USEGADAP_TRUE
+USESHP_FALSE
+USESHP_TRUE
+GEOTIFF_FALSE
+GEOTIFF_TRUE
+GXPNG_FALSE
+GXPNG_TRUE
+USEGUI_FALSE
+USEGUI_TRUE
+READLINE_FALSE
+READLINE_TRUE
+dap_libs
+gadap_inc
+NC_CFLAGS
+NC_LIBS
+NC_LDFLAGS
+nc_libs
+nc_inc
+hdf5_libs
+hdf5_inc
+HDF5_LDFLAGS
+HDF5_CFLAGS
+HDF5_LIBS
+hdf_libs
+hdf_inc
+UDUNITS_LIBS
+HDF4_LDFLAGS
+HDF4_CFLAGS
+HDF4_LIBS
+NC_NETCDF_3_CPPFLAG
+grib2_libs
+grib2_inc
+G2_LIBS
+printim_libs
+printim_inc
+GD_LDFLAGS
+GD_CONFIG
+GD_LIBS
+GD_CFLAGS
+shp_libs
+shp_inc
+geotiff_libs
+geotiff_inc
+GEOTIFF_LDFLAGS
+GEOTIFF_CFLAGS
+GEOTIFF_LIBS
+readline_libs
+readline_inc
+gui_libs
+gui_inc
+grads_xlibs
+GA_LIBSX_LIBS
+XAW_CFLAGS
+XAW_XLIBS
+XAW_LIBS
+XAW7_LIBS
+XAW7_CFLAGS
+PKG_CONFIG
+SUPPLIBS
+EGREP
+GREP
+X_EXTRA_LIBS
+X_LIBS
+X_PRE_LIBS
+X_CFLAGS
+CPP
+XMKMF
+host_ldadd
+host_os
+host_vendor
+host_cpu
+host
+build_os
+build_vendor
+build_cpu
+build
+LN_S
+ac_ct_CXX
+CXXFLAGS
+CXX
+OBJEXT
+EXEEXT
+ac_ct_CC
+CPPFLAGS
+LDFLAGS
+CFLAGS
+CC
+MAINT
+MAINTAINER_MODE_FALSE
+MAINTAINER_MODE_TRUE
+am__untar
+am__tar
+AMTAR
+am__leading_dot
+SET_MAKE
+AWK
+mkdir_p
+MKDIR_P
+INSTALL_STRIP_PROGRAM
+STRIP
+install_sh
+MAKEINFO
+AUTOHEADER
+AUTOMAKE
+AUTOCONF
+ACLOCAL
+VERSION
+PACKAGE
+CYGPATH_W
+am__isrc
+INSTALL_DATA
+INSTALL_SCRIPT
+INSTALL_PROGRAM
+target_alias
+host_alias
+build_alias
+LIBS
+ECHO_T
+ECHO_N
+ECHO_C
+DEFS
+mandir
+localedir
+libdir
+psdir
+pdfdir
+dvidir
+htmldir
+infodir
+docdir
+oldincludedir
+includedir
+localstatedir
+sharedstatedir
+sysconfdir
+datadir
+datarootdir
+libexecdir
+sbindir
+bindir
+program_transform_name
+prefix
+exec_prefix
+PACKAGE_URL
+PACKAGE_BUGREPORT
+PACKAGE_STRING
+PACKAGE_VERSION
+PACKAGE_TARNAME
+PACKAGE_NAME
+PATH_SEPARATOR
+SHELL'
 ac_subst_files=''
+ac_user_opts='
+enable_option_checking
+enable_maintainer_mode
+with_gui
+with_readline
+with_printim
+with_grib2
+with_sdf
+with_gadap
+with_shp
+with_geotiff
+with_x
+enable_largefile
+enable_dyn_supplibs
+with_geotiff_include
+with_geotiff_libdir
+with_hdf4
+with_hdf4_include
+with_hdf4_libdir
+with_hdf5
+with_hdf5_include
+with_hdf5_libdir
+with_netcdf
+with_netcdf_include
+with_netcdf_libdir
+enable_link_as_needed
+'
       ac_precious_vars='build_alias
 host_alias
 target_alias
@@ -797,6 +814,8 @@ GD_LIBS'
 # Initialize some variables set by options.
 ac_init_help=
 ac_init_version=false
+ac_unrecognized_opts=
+ac_unrecognized_sep=
 # The variables have the same names as the options, with
 # dashes changed to underlines.
 cache_file=/dev/null
@@ -852,8 +871,9 @@ do
   fi
 
   case $ac_option in
-  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *)	ac_optarg=yes ;;
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -895,13 +915,20 @@ do
     datarootdir=$ac_optarg ;;
 
   -disable-* | --disable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
-    eval enable_$ac_feature=no ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=no ;;
 
   -docdir | --docdir | --docdi | --doc | --do)
     ac_prev=docdir ;;
@@ -914,13 +941,20 @@ do
     dvidir=$ac_optarg ;;
 
   -enable-* | --enable-*)
-    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
-   { (exit 1); exit 1; }; }
-    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
-    eval enable_$ac_feature=\$ac_optarg ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid feature name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"enable_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval enable_$ac_useropt=\$ac_optarg ;;
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -1111,22 +1145,36 @@ do
     ac_init_version=: ;;
 
   -with-* | --with-*)
-    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
-    eval with_$ac_package=\$ac_optarg ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid package name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"with_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval with_$ac_useropt=\$ac_optarg ;;
 
   -without-* | --without-*)
-    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
+    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid package name: $ac_package" >&2
-   { (exit 1); exit 1; }; }
-    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
-    eval with_$ac_package=no ;;
+    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
+      as_fn_error $? "invalid package name: $ac_useropt"
+    ac_useropt_orig=$ac_useropt
+    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
+    case $ac_user_opts in
+      *"
+"with_$ac_useropt"
+"*) ;;
+      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
+	 ac_unrecognized_sep=', ';;
+    esac
+    eval with_$ac_useropt=no ;;
 
   --x)
     # Obsolete; use --with-x.
@@ -1146,26 +1194,26 @@ do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) { echo "$as_me: error: unrecognized option: $ac_option
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; }
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
     ;;
 
   *=*)
     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     # Reject names that are not valid shell variable names.
-    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
-      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
-   { (exit 1); exit 1; }; }
+    case $ac_envvar in #(
+      '' | [0-9]* | *[!_$as_cr_alnum]* )
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
+    esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
 
   *)
     # FIXME: should be removed in autoconf 3.0.
-    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
+    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
-      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1173,23 +1221,36 @@ done
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  { echo "$as_me: error: missing argument to $ac_option" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "missing argument to $ac_option"
+fi
+
+if test -n "$ac_unrecognized_opts"; then
+  case $enable_option_checking in
+    no) ;;
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
+    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
+  esac
 fi
 
-# Be sure to have absolute directory names.
+# Check all directory arguments for consistency.
 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
 		datadir sysconfdir sharedstatedir localstatedir includedir \
 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 		libdir localedir mandir
 do
   eval ac_val=\$$ac_var
+  # Remove trailing slashes.
+  case $ac_val in
+    */ )
+      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
+      eval $ac_var=\$ac_val;;
+  esac
+  # Be sure to have absolute directory names.
   case $ac_val in
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1203,8 +1264,8 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
+    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
+    If a cross compiler is detected then cross compile mode will be used" >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1219,23 +1280,21 @@ test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  { echo "$as_me: error: Working directory cannot be determined" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  { echo "$as_me: error: pwd does not report name of working directory" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
 if test -z "$srcdir"; then
   ac_srcdir_defaulted=yes
   # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- "$0" ||
-$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$0" : 'X\(//\)[^/]' \| \
-	 X"$0" : 'X\(//\)$' \| \
-	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$0" |
+  ac_confdir=`$as_dirname -- "$as_myself" ||
+$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_myself" : 'X\(//\)[^/]' \| \
+	 X"$as_myself" : 'X\(//\)$' \| \
+	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_myself" |
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 	    s//\1/
 	    q
@@ -1262,13 +1321,11 @@ else
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
-   { (exit 1); exit 1; }; }
+	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 	pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1308,7 +1365,7 @@ Configuration:
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
+  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1316,9 +1373,9 @@ Configuration:
 
 Installation directories:
   --prefix=PREFIX         install architecture-independent files in PREFIX
-			  [$ac_default_prefix]
+                          [$ac_default_prefix]
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
-			  [PREFIX]
+                          [PREFIX]
 
 By default, \`make install' will install all the files in
 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
@@ -1328,25 +1385,25 @@ for instance \`--prefix=\$HOME'.
 For better control, use the options below.
 
 Fine tuning of the installation directories:
-  --bindir=DIR           user executables [EPREFIX/bin]
-  --sbindir=DIR          system admin executables [EPREFIX/sbin]
-  --libexecdir=DIR       program executables [EPREFIX/libexec]
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
-  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
-  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
-  --libdir=DIR           object code libraries [EPREFIX/lib]
-  --includedir=DIR       C header files [PREFIX/include]
-  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/grads]
-  --htmldir=DIR          html documentation [DOCDIR]
-  --dvidir=DIR           dvi documentation [DOCDIR]
-  --pdfdir=DIR           pdf documentation [DOCDIR]
-  --psdir=DIR            ps documentation [DOCDIR]
+  --bindir=DIR            user executables [EPREFIX/bin]
+  --sbindir=DIR           system admin executables [EPREFIX/sbin]
+  --libexecdir=DIR        program executables [EPREFIX/libexec]
+  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
+  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
+  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
+  --libdir=DIR            object code libraries [EPREFIX/lib]
+  --includedir=DIR        C header files [PREFIX/include]
+  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
+  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
+  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
+  --infodir=DIR           info documentation [DATAROOTDIR/info]
+  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
+  --mandir=DIR            man documentation [DATAROOTDIR/man]
+  --docdir=DIR            documentation root [DATAROOTDIR/doc/grads]
+  --htmldir=DIR           html documentation [DOCDIR]
+  --dvidir=DIR            dvi documentation [DOCDIR]
+  --pdfdir=DIR            pdf documentation [DOCDIR]
+  --psdir=DIR             ps documentation [DOCDIR]
 _ACEOF
 
   cat <<\_ACEOF
@@ -1373,6 +1430,7 @@ if test -n "$ac_init_help"; then
   cat <<\_ACEOF
 
 Optional Features:
+  --disable-option-checking  ignore unrecognized --enable/--with options
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-maintainer-mode  enable make rules and dependencies not useful
@@ -1383,6 +1441,8 @@ Optional Features:
   --disable-dyn-supplibs  Do not use system libraries; look only in GrADS "supplibs" directory.
                           Use this option to maximize binary portability.
 
+  --disable-link-as-needed
+                          Turn off linker flag --as-needed
 
 Optional Packages:
   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
@@ -1420,7 +1480,7 @@ Some influential environment variables:
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
   LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
@@ -1436,83 +1496,532 @@ Some influential environment variables:
 Use these variables to override the choices made by `configure' or to help
 it to find libraries and programs with nonstandard names/locations.
 
-Report bugs to <jma@iges.org>.
+Report bugs to <jma@iges.org>.
+_ACEOF
+ac_status=$?
+fi
+
+if test "$ac_init_help" = "recursive"; then
+  # If there are subdirs, report their specific --help.
+  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
+    test -d "$ac_dir" ||
+      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
+      continue
+    ac_builddir=.
+
+case "$ac_dir" in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
+  # A ".." for each directory in $ac_dir_suffix.
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
+  case $ac_top_builddir_sub in
+  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
+  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
+  esac ;;
+esac
+ac_abs_top_builddir=$ac_pwd
+ac_abs_builddir=$ac_pwd$ac_dir_suffix
+# for backward compatibility:
+ac_top_builddir=$ac_top_build_prefix
+
+case $srcdir in
+  .)  # We are building in place.
+    ac_srcdir=.
+    ac_top_srcdir=$ac_top_builddir_sub
+    ac_abs_top_srcdir=$ac_pwd ;;
+  [\\/]* | ?:[\\/]* )  # Absolute name.
+    ac_srcdir=$srcdir$ac_dir_suffix;
+    ac_top_srcdir=$srcdir
+    ac_abs_top_srcdir=$srcdir ;;
+  *) # Relative name.
+    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_build_prefix$srcdir
+    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+    cd "$ac_dir" || { ac_status=$?; continue; }
+    # Check for guested configure.
+    if test -f "$ac_srcdir/configure.gnu"; then
+      echo &&
+      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
+    elif test -f "$ac_srcdir/configure"; then
+      echo &&
+      $SHELL "$ac_srcdir/configure" --help=recursive
+    else
+      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
+    fi || ac_status=$?
+    cd "$ac_pwd" || { ac_status=$?; break; }
+  done
+fi
+
+test -n "$ac_init_help" && exit $ac_status
+if $ac_init_version; then
+  cat <<\_ACEOF
+GrADS configure 2.0.a9
+generated by GNU Autoconf 2.68
+
+Copyright (C) 2010 Free Software Foundation, Inc.
+This configure script is free software; the Free Software Foundation
+gives unlimited permission to copy, distribute and modify it.
+_ACEOF
+  exit
+fi
+
+## ------------------------ ##
+## Autoconf initialization. ##
+## ------------------------ ##
+
+# ac_fn_c_try_compile LINENO
+# --------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_compile
+
+# ac_fn_cxx_try_compile LINENO
+# ----------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_cxx_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_cxx_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_cxx_try_compile
+
+# ac_fn_c_try_link LINENO
+# -----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_link ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext conftest$ac_exeext
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest$ac_exeext && {
+	 test "$cross_compiling" = yes ||
+	 $as_test_x conftest$ac_exeext
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
+  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
+  # interfere with the next link command; also delete a directory that is
+  # left behind by Apple's compiler.  We do this before executing the actions.
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_link
+
+# ac_fn_c_try_cpp LINENO
+# ----------------------
+# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
+ac_fn_c_try_cpp ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_cpp conftest.$ac_ext"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } > conftest.i && {
+	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
+	 test ! -s conftest.err
+       }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+    ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_cpp
+
+# ac_fn_c_check_func LINENO FUNC VAR
+# ----------------------------------
+# Tests whether FUNC exists, setting the cache variable VAR accordingly
+ac_fn_c_check_func ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
+   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
+#define $2 innocuous_$2
+
+/* System header to define __stub macros and hopefully few prototypes,
+    which can conflict with char $2 (); below.
+    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
+    <limits.h> exists even on freestanding compilers.  */
+
+#ifdef __STDC__
+# include <limits.h>
+#else
+# include <assert.h>
+#endif
+
+#undef $2
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $2 ();
+/* The GNU C library defines this for functions which it implements
+    to always fail with ENOSYS.  Some functions are actually named
+    something starting with __ and the normal name is an alias.  */
+#if defined __stub_$2 || defined __stub___$2
+choke me
+#endif
+
+int
+main ()
+{
+return $2 ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  eval "$3=yes"
+else
+  eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_func
+
+# ac_fn_c_try_run LINENO
+# ----------------------
+# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
+# that executables *can* be run.
+ac_fn_c_try_run ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: program exited with status $ac_status" >&5
+       $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+       ac_retval=$ac_status
+fi
+  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_c_try_run
+
+# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists, giving a warning if it cannot be compiled using
+# the include files in INCLUDES and setting the cache variable VAR
+# accordingly.
+ac_fn_c_check_header_mongrel ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  if eval \${$3+:} false; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+else
+  # Is the header compilable?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
+$as_echo_n "checking $2 usability... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
 _ACEOF
-ac_status=$?
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_header_compiler=yes
+else
+  ac_header_compiler=no
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
+$as_echo "$ac_header_compiler" >&6; }
 
-if test "$ac_init_help" = "recursive"; then
-  # If there are subdirs, report their specific --help.
-  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
-    test -d "$ac_dir" || continue
-    ac_builddir=.
+# Is the header present?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
+$as_echo_n "checking $2 presence... " >&6; }
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <$2>
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+  ac_header_preproc=yes
+else
+  ac_header_preproc=no
+fi
+rm -f conftest.err conftest.i conftest.$ac_ext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
+$as_echo "$ac_header_preproc" >&6; }
 
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
-  # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
-  case $ac_top_builddir_sub in
-  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
+# So?  What about this header?
+case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
+  yes:no: )
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
+$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+    ;;
+  no:yes:* )
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
+$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
+$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
+$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
+$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
+$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
+( $as_echo "## --------------------------- ##
+## Report this to jma@iges.org ##
+## --------------------------- ##"
+     ) | sed "s/^/$as_me: WARNING:     /" >&2
+    ;;
 esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  eval "$3=\$ac_header_compiler"
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
-case $srcdir in
-  .)  # We are building in place.
-    ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
-    ac_srcdir=$srcdir$ac_dir_suffix;
-    ac_top_srcdir=$srcdir
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+} # ac_fn_c_check_header_mongrel
 
-    cd "$ac_dir" || { ac_status=$?; continue; }
-    # Check for guested configure.
-    if test -f "$ac_srcdir/configure.gnu"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
-    elif test -f "$ac_srcdir/configure"; then
-      echo &&
-      $SHELL "$ac_srcdir/configure" --help=recursive
-    else
-      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
-    fi || ac_status=$?
-    cd "$ac_pwd" || { ac_status=$?; break; }
-  done
+# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
+# -------------------------------------------------------
+# Tests whether HEADER exists and can be compiled using the include files in
+# INCLUDES, setting the cache variable VAR accordingly.
+ac_fn_c_check_header_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+#include <$2>
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  eval "$3=yes"
+else
+  eval "$3=no"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
-  cat <<\_ACEOF
-GrADS configure 2.0.a9
-generated by GNU Autoconf 2.61
+} # ac_fn_c_check_header_compile
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
+# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
+# -------------------------------------------
+# Tests whether TYPE exists after having included INCLUDES, setting cache
+# variable VAR accordingly.
+ac_fn_c_check_type ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
+$as_echo_n "checking for $2... " >&6; }
+if eval \${$3+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  eval "$3=no"
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+if (sizeof ($2))
+	 return 0;
+  ;
+  return 0;
+}
 _ACEOF
-  exit
+if ac_fn_c_try_compile "$LINENO"; then :
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+$4
+int
+main ()
+{
+if (sizeof (($2)))
+	    return 0;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  eval "$3=yes"
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+eval ac_res=\$$3
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+
+} # ac_fn_c_check_type
 cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by GrADS $as_me 2.0.a9, which was
-generated by GNU Autoconf 2.61.  Invocation command line was
+generated by GNU Autoconf 2.68.  Invocation command line was
 
   $ $0 $@
 
@@ -1548,8 +2057,8 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  echo "PATH: $as_dir"
-done
+    $as_echo "PATH: $as_dir"
+  done
 IFS=$as_save_IFS
 
 } >&5
@@ -1583,12 +2092,12 @@ do
     | -silent | --silent | --silen | --sile | --sil)
       continue ;;
     *\'*)
-      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
+      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     esac
     case $ac_pass in
-    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
+    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     2)
-      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
+      as_fn_append ac_configure_args1 " '$ac_arg'"
       if test $ac_must_keep_next = true; then
 	ac_must_keep_next=false # Got value, back to normal.
       else
@@ -1604,13 +2113,13 @@ do
 	  -* ) ac_must_keep_next=true ;;
 	esac
       fi
-      ac_configure_args="$ac_configure_args '$ac_arg'"
+      as_fn_append ac_configure_args " '$ac_arg'"
       ;;
     esac
   done
 done
-$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
-$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
+{ ac_configure_args0=; unset ac_configure_args0;}
+{ ac_configure_args1=; unset ac_configure_args1;}
 
 # When interrupted or exit'd, cleanup temporary files, and complete
 # config.log.  We remove comments because anyway the quotes in there
@@ -1622,11 +2131,9 @@ trap 'exit_status=$?
   {
     echo
 
-    cat <<\_ASBOX
-## ---------------- ##
+    $as_echo "## ---------------- ##
 ## Cache variables. ##
-## ---------------- ##
-_ASBOX
+## ---------------- ##"
     echo
     # The following way of writing the cache mishandles newlines in values,
 (
@@ -1635,12 +2142,13 @@ _ASBOX
     case $ac_val in #(
     *${as_nl}*)
       case $ac_var in #(
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
       esac
       case $ac_var in #(
       _ | IFS | as_nl) ;; #(
-      *) $as_unset $ac_var ;;
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+      *) { eval $ac_var=; unset $ac_var;} ;;
       esac ;;
     esac
   done
@@ -1659,128 +2167,136 @@ echo "$as_me: WARNING: Cache variable $a
 )
     echo
 
-    cat <<\_ASBOX
-## ----------------- ##
+    $as_echo "## ----------------- ##
 ## Output variables. ##
-## ----------------- ##
-_ASBOX
+## ----------------- ##"
     echo
     for ac_var in $ac_subst_vars
     do
       eval ac_val=\$$ac_var
       case $ac_val in
-      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
       esac
-      echo "$ac_var='\''$ac_val'\''"
+      $as_echo "$ac_var='\''$ac_val'\''"
     done | sort
     echo
 
     if test -n "$ac_subst_files"; then
-      cat <<\_ASBOX
-## ------------------- ##
+      $as_echo "## ------------------- ##
 ## File substitutions. ##
-## ------------------- ##
-_ASBOX
+## ------------------- ##"
       echo
       for ac_var in $ac_subst_files
       do
 	eval ac_val=\$$ac_var
 	case $ac_val in
-	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
+	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 	esac
-	echo "$ac_var='\''$ac_val'\''"
+	$as_echo "$ac_var='\''$ac_val'\''"
       done | sort
       echo
     fi
 
     if test -s confdefs.h; then
-      cat <<\_ASBOX
-## ----------- ##
+      $as_echo "## ----------- ##
 ## confdefs.h. ##
-## ----------- ##
-_ASBOX
+## ----------- ##"
       echo
       cat confdefs.h
       echo
     fi
     test "$ac_signal" != 0 &&
-      echo "$as_me: caught signal $ac_signal"
-    echo "$as_me: exit $exit_status"
+      $as_echo "$as_me: caught signal $ac_signal"
+    $as_echo "$as_me: exit $exit_status"
   } >&5
   rm -f core *.core core.conftest.* &&
     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
     exit $exit_status
 ' 0
 for ac_signal in 1 2 13 15; do
-  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
+  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 done
 ac_signal=0
 
 # confdefs.h avoids OS command line length limits that DEFS can exceed.
 rm -f -r conftest* confdefs.h
 
+$as_echo "/* confdefs.h */" > confdefs.h
+
 # Predefined preprocessor variables.
 
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_NAME "$PACKAGE_NAME"
 _ACEOF
 
-
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 _ACEOF
 
-
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_VERSION "$PACKAGE_VERSION"
 _ACEOF
 
-
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_STRING "$PACKAGE_STRING"
 _ACEOF
 
-
 cat >>confdefs.h <<_ACEOF
 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 _ACEOF
 
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE_URL "$PACKAGE_URL"
+_ACEOF
+
 
 # Let the site file select an alternate cache file if it wants to.
-# Prefer explicitly selected file to automatically selected ones.
+# Prefer an explicitly selected file to automatically selected ones.
+ac_site_file1=NONE
+ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then
-  set x "$CONFIG_SITE"
+  # We do not want a PATH search for config.site.
+  case $CONFIG_SITE in #((
+    -*)  ac_site_file1=./$CONFIG_SITE;;
+    */*) ac_site_file1=$CONFIG_SITE;;
+    *)   ac_site_file1=./$CONFIG_SITE;;
+  esac
 elif test "x$prefix" != xNONE; then
-  set x "$prefix/share/config.site" "$prefix/etc/config.site"
+  ac_site_file1=$prefix/share/config.site
+  ac_site_file2=$prefix/etc/config.site
 else
-  set x "$ac_default_prefix/share/config.site" \
-	"$ac_default_prefix/etc/config.site"
+  ac_site_file1=$ac_default_prefix/share/config.site
+  ac_site_file2=$ac_default_prefix/etc/config.site
 fi
-shift
-for ac_site_file
+for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 do
-  if test -r "$ac_site_file"; then
-    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
-echo "$as_me: loading site script $ac_site_file" >&6;}
+  test "x$ac_site_file" = xNONE && continue
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
+$as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
+    . "$ac_site_file" \
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
 if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special
-  # files actually), so we avoid doing that.
-  if test -f "$cache_file"; then
-    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
-echo "$as_me: loading cache $cache_file" >&6;}
+  # Some versions of bash will fail to source /dev/null (special files
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
+$as_echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in
       [\\/]* | ?:[\\/]* ) . "$cache_file";;
       *)                      . "./$cache_file";;
     esac
   fi
 else
-  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
-echo "$as_me: creating cache $cache_file" >&6;}
+  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
+$as_echo "$as_me: creating cache $cache_file" >&6;}
   >$cache_file
 fi
 
@@ -1794,68 +2310,56 @@ for ac_var in $ac_precious_vars; do
   eval ac_new_val=\$ac_env_${ac_var}_value
   case $ac_old_set,$ac_new_set in
     set,)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
       ac_cache_corrupted=: ;;
     ,set)
-      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
-echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
+$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
       ac_cache_corrupted=: ;;
     ,);;
     *)
       if test "x$ac_old_val" != "x$ac_new_val"; then
-	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
-echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
-	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
-echo "$as_me:   former value:  $ac_old_val" >&2;}
-	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
-echo "$as_me:   current value: $ac_new_val" >&2;}
-	ac_cache_corrupted=:
+	# differences in whitespace do not lead to failure.
+	ac_old_val_w=`echo x $ac_old_val`
+	ac_new_val_w=`echo x $ac_new_val`
+	if test "$ac_old_val_w" != "$ac_new_val_w"; then
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
+$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
+	  ac_cache_corrupted=:
+	else
+	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
+$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
+	  eval $ac_var=\$ac_old_val
+	fi
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
+$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
+	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
+$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
       fi;;
   esac
   # Pass precious variables to config.status.
   if test "$ac_new_set" = set; then
     case $ac_new_val in
-    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
+    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     *) ac_arg=$ac_var=$ac_new_val ;;
     esac
     case " $ac_configure_args " in
       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
-      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
+      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     esac
   fi
 done
 if $ac_cache_corrupted; then
-  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
+$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+fi
+## -------------------- ##
+## Main body of script. ##
+## -------------------- ##
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -1886,9 +2390,7 @@ for ac_dir in etc "$srcdir"/etc; do
   fi
 done
 if test -z "$ac_aux_dir"; then
-  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in etc \"$srcdir\"/etc" >&5
-echo "$as_me: error: cannot find install-sh or install.sh in etc \"$srcdir\"/etc" >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in etc \"$srcdir\"/etc" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -1904,7 +2406,7 @@ ac_configure="$SHELL $ac_aux_dir/configu
 # Require automake 1.6 (comes with Mac OS X 10.2) or newer,
 # don't #define PACKAGE and VERSION,
 # disable dependency checking
-am__api_version='1.10'
+am__api_version='1.11'
 
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -1919,22 +2421,23 @@ am__api_version='1.10'
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # OS/2's system install, which has a completely different semantic
 # ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
+# Reject install programs that cannot install multiple files.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
+$as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+if ${ac_cv_path_install+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
-  ./ | .// | /cC/* | \
+    # Account for people who put trailing slashes in PATH elements.
+case $as_dir/ in #((
+  ./ | .// | /[cC]/* | \
   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
+  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   /usr/ucb/* ) ;;
   *)
     # OSF1 and SCO ODT 3.0 have their own names for install.
@@ -1952,17 +2455,29 @@ case $as_dir/ in
 	    # program-specific install script used by HP pwplus--don't use.
 	    :
 	  else
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
-	    break 3
+	    rm -rf conftest.one conftest.two conftest.dir
+	    echo one > conftest.one
+	    echo two > conftest.two
+	    mkdir conftest.dir
+	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
+	      test -s conftest.one && test -s conftest.two &&
+	      test -s conftest.dir/conftest.one &&
+	      test -s conftest.dir/conftest.two
+	    then
+	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
+	      break 3
+	    fi
 	  fi
 	fi
       done
     done
     ;;
 esac
-done
+
+  done
 IFS=$as_save_IFS
 
+rm -rf conftest.one conftest.two conftest.dir
 
 fi
   if test "${ac_cv_path_install+set}" = set; then
@@ -1975,8 +2490,8 @@ fi
     INSTALL=$ac_install_sh
   fi
 fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
+$as_echo "$INSTALL" >&6; }
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
@@ -1986,21 +2501,34 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR
 
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
-{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
-echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
+$as_echo_n "checking whether build environment is sane... " >&6; }
 # Just in case
 sleep 1
 echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[\\\"\#\$\&\'\`$am_lf]*)
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
+esac
+case $srcdir in
+  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
+    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+esac
+
 # Do `set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a
 # symlink; some systems play weird games with the mod time of symlinks
 # (eg FreeBSD returns the mod time of the symlink's containing
 # directory).
 if (
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    if test "$*" = "X"; then
       # -L didn't work.
-      set X `ls -t $srcdir/configure conftest.file`
+      set X `ls -t "$srcdir/configure" conftest.file`
    fi
    rm -f conftest.file
    if test "$*" != "X $srcdir/configure conftest.file" \
@@ -2010,11 +2538,8 @@ if (
       # if, for instance, CONFIG_SHELL is bash and it inherits a
       # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".
-      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
-alias in your environment" >&5
-echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
-alias in your environment" >&2;}
-   { (exit 1); exit 1; }; }
+      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
+alias in your environment" "$LINENO" 5
    fi
 
    test "$2" = conftest.file
@@ -2023,52 +2548,162 @@ then
    # Ok.
    :
 else
-   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
-Check your system clock" >&5
-echo "$as_me: error: newly created file is older than distributed files!
-Check your system clock" >&2;}
-   { (exit 1); exit 1; }; }
+   as_fn_error $? "newly created file is older than distributed files!
+Check your system clock" "$LINENO" 5
 fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 test "$program_prefix" != NONE &&
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 # Use a double $ so make ignores it.
 test "$program_suffix" != NONE &&
   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.  echo might interpret backslashes.
+# Double any \ or $.
 # By default was `s,x,x', remove it if useless.
-cat <<\_ACEOF >conftest.sed
-s/[\\$]/&&/g;s/;s,x,x,$//
-_ACEOF
-program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
-rm -f conftest.sed
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
 # expand $ac_aux_dir to an absolute path
 am_aux_dir=`cd $ac_aux_dir && pwd`
 
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
 # Use eval to expand $SHELL
 if eval "$MISSING --run true"; then
   am_missing_run="$MISSING --run "
 else
   am_missing_run=
-  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
-echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+fi
+
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
+
+# Installed binaries are usually stripped using `strip' when the user
+# run `make install-strip'.  However `strip' might not be the right
+# tool to use in cross-compilation environments, therefore Automake
+# will honor the `STRIP' environment variable to overrule this program.
+if test "$cross_compiling" != no; then
+  if test -n "$ac_tool_prefix"; then
+  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
+set dummy ${ac_tool_prefix}strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_STRIP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$STRIP"; then
+  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+STRIP=$ac_cv_prog_STRIP
+if test -n "$STRIP"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
+$as_echo "$STRIP" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+fi
+if test -z "$ac_cv_prog_STRIP"; then
+  ac_ct_STRIP=$STRIP
+  # Extract the first word of "strip", so it can be a program name with args.
+set dummy strip; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_STRIP"; then
+  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+    ac_cv_prog_ac_ct_STRIP="strip"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
+if test -n "$ac_ct_STRIP"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
+$as_echo "$ac_ct_STRIP" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+  if test "x$ac_ct_STRIP" = x; then
+    STRIP=":"
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    STRIP=$ac_ct_STRIP
+  fi
+else
+  STRIP="$ac_cv_prog_STRIP"
+fi
+
 fi
+INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
-{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
-echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
+$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then
-  if test "${ac_cv_path_mkdir+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  if ${ac_cv_path_mkdir+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_prog in mkdir gmkdir; do
+    for ac_prog in mkdir gmkdir; do
 	 for ac_exec_ext in '' $ac_executable_extensions; do
 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
@@ -2080,11 +2715,12 @@ do
 	   esac
 	 done
        done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 
+  test -d ./--version && rmdir ./--version
   if test "${ac_cv_path_mkdir+set}" = set; then
     MKDIR_P="$ac_cv_path_mkdir -p"
   else
@@ -2092,12 +2728,11 @@ fi
     # value for MKDIR_P within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
-    test -d ./--version && rmdir ./--version
     MKDIR_P="$ac_install_sh -d"
   fi
 fi
-{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
-echo "${ECHO_T}$MKDIR_P" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
+$as_echo "$MKDIR_P" >&6; }
 
 mkdir_p="$MKDIR_P"
 case $mkdir_p in
@@ -2109,10 +2744,10 @@ for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
@@ -2122,43 +2757,44 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AWK="$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then
-  { echo "$as_me:$LINENO: result: $AWK" >&5
-echo "${ECHO_T}$AWK" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
   test -n "$AWK" && break
 done
 
-{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
-set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
+$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
+set x ${MAKE-make}
+ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   cat >conftest.make <<\_ACEOF
 SHELL = /bin/sh
 all:
 	@echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -2168,12 +2804,12 @@ esac
 rm -f conftest.make
 fi
 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
-  { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
   SET_MAKE=
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
   SET_MAKE="MAKE=${MAKE-make}"
 fi
 
@@ -2192,9 +2828,7 @@ if test "`cd $srcdir && pwd`" != "`pwd`"
   am__isrc=' -I$(srcdir)'
   # test to see if srcdir already configured
   if test -f $srcdir/config.status; then
-    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
-echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
-   { (exit 1); exit 1; }; }
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   fi
 fi
 
@@ -2229,112 +2863,6 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_ru
 
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
-
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'.  However `strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
-  if test -n "$ac_tool_prefix"; then
-  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$STRIP"; then
-  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
-  { echo "$as_me:$LINENO: result: $STRIP" >&5
-echo "${ECHO_T}$STRIP" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
-  ac_ct_STRIP=$STRIP
-  # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  if test -n "$ac_ct_STRIP"; then
-  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
-    ac_cv_prog_ac_ct_STRIP="strip"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
-    break 2
-  fi
-done
-done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
-  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
-echo "${ECHO_T}$ac_ct_STRIP" >&6; }
-else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-fi
-
-  if test "x$ac_ct_STRIP" = x; then
-    STRIP=":"
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
-ac_tool_warned=yes ;;
-esac
-    STRIP=$ac_ct_STRIP
-  fi
-else
-  STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
 # Always define AMTAR for backward compatibility.
@@ -2354,17 +2882,18 @@ ac_config_headers="$ac_config_headers sr
 # The following macro prevents annoying interactions between CVS and
 # automake, which result in make attempting to invoke autotools
 # even when the configure script is up to date
-{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
-echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
+$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then
+if test "${enable_maintainer_mode+set}" = set; then :
   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
 else
   USE_MAINTAINER_MODE=no
 fi
 
-  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
-echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
+$as_echo "$USE_MAINTAINER_MODE" >&6; }
    if test $USE_MAINTAINER_MODE = yes; then
   MAINTAINER_MODE_TRUE=
   MAINTAINER_MODE_FALSE='#'
@@ -2386,49 +2915,49 @@ fi
 
 
 # Check whether --with-gui was given.
-if test "${with_gui+set}" = set; then
+if test "${with_gui+set}" = set; then :
   withval=$with_gui;
 fi
 
 
 # Check whether --with-readline was given.
-if test "${with_readline+set}" = set; then
+if test "${with_readline+set}" = set; then :
   withval=$with_readline;
 fi
 
 
 # Check whether --with-printim was given.
-if test "${with_printim+set}" = set; then
+if test "${with_printim+set}" = set; then :
   withval=$with_printim;
 fi
 
 
 # Check whether --with-grib2 was given.
-if test "${with_grib2+set}" = set; then
+if test "${with_grib2+set}" = set; then :
   withval=$with_grib2;
 fi
 
 
 # Check whether --with-sdf was given.
-if test "${with_sdf+set}" = set; then
+if test "${with_sdf+set}" = set; then :
   withval=$with_sdf;
 fi
 
 
 # Check whether --with-gadap was given.
-if test "${with_gadap+set}" = set; then
+if test "${with_gadap+set}" = set; then :
   withval=$with_gadap;
 fi
 
 
 # Check whether --with-shp was given.
-if test "${with_shp+set}" = set; then
+if test "${with_shp+set}" = set; then :
   withval=$with_shp;
 fi
 
 
 # Check whether --with-geotiff was given.
-if test "${with_geotiff+set}" = set; then
+if test "${with_geotiff+set}" = set; then :
   withval=$with_geotiff;
 fi
 
@@ -2444,10 +2973,10 @@ for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_AWK+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # Let the user override the test.
@@ -2457,25 +2986,25 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_AWK="$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then
-  { echo "$as_me:$LINENO: result: $AWK" >&5
-echo "${ECHO_T}$AWK" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
+$as_echo "$AWK" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -2492,10 +3021,10 @@ if test -n "$ac_tool_prefix"; then
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CC+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
   ac_cv_prog_CC="$CC" # Let the user override the test.
@@ -2505,25 +3034,25 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 CC=$ac_cv_prog_CC
 if test -n "$CC"; then
-  { echo "$as_me:$LINENO: result: $CC" >&5
-echo "${ECHO_T}$CC" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
+$as_echo "$CC" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -2536,10 +3065,10 @@ if test -z "$CC"; then
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
@@ -2549,25 +3078,25 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n "$ac_ct_CC"; then
-  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
-echo "${ECHO_T}$ac_ct_CC" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
+$as_echo "$ac_ct_CC" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -2579,12 +3108,8 @@ done
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     CC=$ac_ct_CC
@@ -2592,51 +3117,37 @@ esac
 fi
 
 
-test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&5
-echo "$as_me: error: no acceptable C compiler found in \$PATH
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler --version >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -v >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
 case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
 esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -V >&5") 2>&5
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
 
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -2648,42 +3159,38 @@ main ()
 }
 _ACEOF
 ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.exe b.out"
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.
-{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
-echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
-ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-#
-# List of possible output files, starting from the most likely.
-# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
-# only as a last resort.  b.out is created by i960 compilers.
-ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
-#
-# The IRIX 6 linker writes into existing files which may not be
-# executable, retaining their permissions.  Remove them first so a
-# subsequent execution test works.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
+ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
+
+# The possible output files:
+ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
+
 ac_rmfiles=
 for ac_file in $ac_files
 do
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   esac
 done
 rm -f $ac_rmfiles
 
-if { (ac_try="$ac_link_default"
+if { { ac_try="$ac_link_default"
 case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
 esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
   (eval "$ac_link_default") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
@@ -2693,14 +3200,14 @@ for ac_file in $ac_files ''
 do
   test -f "$ac_file" || continue
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 	;;
     [ab].out )
 	# We found the default executable, but exeext='' is most
 	# certainly right.
 	break;;
     *.* )
-        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
+	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 	then :; else
 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 	fi
@@ -2719,78 +3226,41 @@ test "$ac_cv_exeext" = no && ac_cv_exeex
 else
   ac_file=''
 fi
-
-{ echo "$as_me:$LINENO: result: $ac_file" >&5
-echo "${ECHO_T}$ac_file" >&6; }
-if test -z "$ac_file"; then
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
-See \`config.log' for more details." >&5
-echo "$as_me: error: C compiler cannot create executables
-See \`config.log' for more details." >&2;}
-   { (exit 77); exit 77; }; }
-fi
-
+if test -z "$ac_file"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
 ac_exeext=$ac_cv_exeext
 
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
-echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
-# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
-  if { ac_try='./$ac_file'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-	cross_compiling=yes
-    else
-	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
-    fi
-  fi
-fi
-{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-
-rm -f a.out a.exe conftest$ac_cv_exeext b.out
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
-echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
-{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
-echo "${ECHO_T}$cross_compiling" >&6; }
-
-{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
-echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
-if { (ac_try="$ac_link"
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
+$as_echo_n "checking for suffix of executables... " >&6; }
+if { { ac_try="$ac_link"
 case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
 esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
   (eval "$ac_link") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
   # If both `conftest.exe' and `conftest' are `present' (well, observable)
 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 # work properly (i.e., refer to `conftest.exe'), while it won't with
@@ -2798,37 +3268,90 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec
 for ac_file in conftest.exe conftest conftest.*; do
   test -f "$ac_file" || continue
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 	  break;;
     * ) break;;
   esac
 done
 else
-  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
-rm -f conftest$ac_cv_exeext
-{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
-echo "${ECHO_T}$ac_cv_exeext" >&6; }
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
+fi
+rm -f conftest conftest$ac_cv_exeext
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
+$as_echo "$ac_cv_exeext" >&6; }
 
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
-{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
-echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
-if test "${ac_cv_objext+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+  ;
+  return 0;
+}
 _ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+  { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+  if { ac_try='./conftest$ac_cv_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+	cross_compiling=yes
+    else
+	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+    fi
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
+$as_echo_n "checking for suffix of object files... " >&6; }
+if ${ac_cv_objext+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -2840,51 +3363,46 @@ main ()
 }
 _ACEOF
 rm -f conftest.o conftest.obj
-if { (ac_try="$ac_compile"
+if { { ac_try="$ac_compile"
 case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
 esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
   (eval "$ac_compile") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then :
   for ac_file in conftest.o conftest.obj conftest.*; do
   test -f "$ac_file" || continue;
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        break;;
   esac
 done
 else
-  echo "$as_me: failed program was:" >&5
+  $as_echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
-{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&5
-echo "$as_me: error: cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
 fi
-
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
-echo "${ECHO_T}$ac_cv_objext" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
+$as_echo "$ac_cv_objext" >&6; }
 OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
+$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
+if ${ac_cv_c_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -2898,54 +3416,34 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_compiler_gnu=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_compiler_gnu=no
+  ac_compiler_gnu=no
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
-GCC=`test $ac_compiler_gnu = yes && echo yes`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
+$as_echo "$ac_cv_c_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+  GCC=yes
+else
+  GCC=
+fi
 ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
-{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
-echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
+$as_echo_n "checking whether $CC accepts -g... " >&6; }
+if ${ac_cv_prog_cc_g+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
    ac_c_werror_flag=yes
    ac_cv_prog_cc_g=no
    CFLAGS="-g"
-   cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -2956,34 +3454,11 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_g=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	CFLAGS=""
-      cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  CFLAGS=""
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -2994,35 +3469,12 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_c_try_compile "$LINENO"; then :
 
-	ac_c_werror_flag=$ac_save_c_werror_flag
+else
+  ac_c_werror_flag=$ac_save_c_werror_flag
 	 CFLAGS="-g"
-	 cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -3033,42 +3485,18 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_g=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    ac_c_werror_flag=$ac_save_c_werror_flag
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
+$as_echo "$ac_cv_prog_cc_g" >&6; }
 if test "$ac_test_CFLAGS" = set; then
   CFLAGS=$ac_save_CFLAGS
 elif test $ac_cv_prog_cc_g = yes; then
@@ -3084,18 +3512,14 @@ else
     CFLAGS=
   fi
 fi
-{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
-echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
+$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
+if ${ac_cv_prog_cc_c89+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
 ac_save_CC=$CC
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
@@ -3152,31 +3576,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlang
 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 do
   CC="$ac_save_CC $ac_arg"
-  rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+  if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_prog_cc_c89=$ac_arg
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext
   test "x$ac_cv_prog_cc_c89" != "xno" && break
 done
@@ -3187,17 +3589,19 @@ fi
 # AC_CACHE_VAL
 case "x$ac_cv_prog_cc_c89" in
   x)
-    { echo "$as_me:$LINENO: result: none needed" >&5
-echo "${ECHO_T}none needed" >&6; } ;;
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
+$as_echo "none needed" >&6; } ;;
   xno)
-    { echo "$as_me:$LINENO: result: unsupported" >&5
-echo "${ECHO_T}unsupported" >&6; } ;;
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
+$as_echo "unsupported" >&6; } ;;
   *)
     CC="$CC $ac_cv_prog_cc_c89"
-    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
-echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
+$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 esac
+if test "x$ac_cv_prog_cc_c89" != xno; then :
 
+fi
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -3219,10 +3623,10 @@ if test -z "$CXX"; then
   do
     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$CXX"; then
   ac_cv_prog_CXX="$CXX" # Let the user override the test.
@@ -3232,25 +3636,25 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 CXX=$ac_cv_prog_CXX
 if test -n "$CXX"; then
-  { echo "$as_me:$LINENO: result: $CXX" >&5
-echo "${ECHO_T}$CXX" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
+$as_echo "$CXX" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -3263,10 +3667,10 @@ if test -z "$CXX"; then
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CXX"; then
   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
@@ -3276,25 +3680,25 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_prog_ac_ct_CXX="$ac_prog"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
 fi
 fi
 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 if test -n "$ac_ct_CXX"; then
-  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
-echo "${ECHO_T}$ac_ct_CXX" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
+$as_echo "$ac_ct_CXX" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -3306,12 +3710,8 @@ done
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     CXX=$ac_ct_CXX
@@ -3319,51 +3719,38 @@ esac
 fi
 
   fi
-fi
-# Provide some information about the compiler.
-echo "$as_me:$LINENO: checking for C++ compiler version" >&5
-ac_compiler=`set X $ac_compile; echo $2`
-{ (ac_try="$ac_compiler --version >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler --version >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -v >&5"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -v >&5") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
-{ (ac_try="$ac_compiler -V >&5"
+fi
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
 case "(($ac_try" in
   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   *) ac_try_echo=$ac_try;;
 esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compiler -V >&5") 2>&5
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
 
-{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
-echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
+$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -3377,54 +3764,34 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_cxx_try_compile "$LINENO"; then :
   ac_compiler_gnu=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_compiler_gnu=no
+  ac_compiler_gnu=no
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
-echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
-GXX=`test $ac_compiler_gnu = yes && echo yes`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
+$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
+if test $ac_compiler_gnu = yes; then
+  GXX=yes
+else
+  GXX=
+fi
 ac_test_CXXFLAGS=${CXXFLAGS+set}
 ac_save_CXXFLAGS=$CXXFLAGS
-{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
-echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
+$as_echo_n "checking whether $CXX accepts -g... " >&6; }
+if ${ac_cv_prog_cxx_g+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    ac_cxx_werror_flag=yes
    ac_cv_prog_cxx_g=no
    CXXFLAGS="-g"
-   cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -3435,34 +3802,11 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_cxx_try_compile "$LINENO"; then :
   ac_cv_prog_cxx_g=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	CXXFLAGS=""
-      cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  CXXFLAGS=""
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -3473,35 +3817,12 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_cxx_try_compile "$LINENO"; then :
 
-	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
+else
+  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 	 CXXFLAGS="-g"
-	 cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -3512,42 +3833,18 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_cxx_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_cxx_try_compile "$LINENO"; then :
   ac_cv_prog_cxx_g=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
-echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
+$as_echo "$ac_cv_prog_cxx_g" >&6; }
 if test "$ac_test_CXXFLAGS" = set; then
   CXXFLAGS=$ac_save_CXXFLAGS
 elif test $ac_cv_prog_cxx_g = yes; then
@@ -3569,95 +3866,16 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS con
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-# Find a good install program.  We prefer a C program (faster),
-# so one script is as good as another.  But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
-echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
-if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
-  IFS=$as_save_IFS
-  test -z "$as_dir" && as_dir=.
-  # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in
-  ./ | .// | /cC/* | \
-  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
-  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
-  /usr/ucb/* ) ;;
-  *)
-    # OSF1 and SCO ODT 3.0 have their own names for install.
-    # Don't use installbsd from OSF since it installs stuff as root
-    # by default.
-    for ac_prog in ginstall scoinst install; do
-      for ac_exec_ext in '' $ac_executable_extensions; do
-	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
-	  if test $ac_prog = install &&
-	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-	    # AIX install.  It has an incompatible calling convention.
-	    :
-	  elif test $ac_prog = install &&
-	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
-	    # program-specific install script used by HP pwplus--don't use.
-	    :
-	  else
-	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
-	    break 3
-	  fi
-	fi
-      done
-    done
-    ;;
-esac
-done
-IFS=$as_save_IFS
-
-
-fi
-  if test "${ac_cv_path_install+set}" = set; then
-    INSTALL=$ac_cv_path_install
-  else
-    # As a last resort, use the slow shell script.  Don't cache a
-    # value for INSTALL within a source directory, because that will
-    # break other packages using the cache if that directory is
-    # removed, or if the value is a relative name.
-    INSTALL=$ac_install_sh
-  fi
-fi
-{ echo "$as_me:$LINENO: result: $INSTALL" >&5
-echo "${ECHO_T}$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
-{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
-echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
+$as_echo_n "checking whether ln -s works... " >&6; }
 LN_S=$as_ln_s
 if test "$LN_S" = "ln -s"; then
-  { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
-echo "${ECHO_T}no, using $LN_S" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
+$as_echo "no, using $LN_S" >&6; }
 fi
 
 echo
@@ -3671,35 +3889,27 @@ echo "-------------------------"
 
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
-echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
-   { (exit 1); exit 1; }; }
-
-{ echo "$as_me:$LINENO: checking build system type" >&5
-echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
-if test "${ac_cv_build+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
+$as_echo_n "checking build system type... " >&6; }
+if ${ac_cv_build+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
 test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&
-  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
-echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
-echo "${ECHO_T}$ac_cv_build" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
+$as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
-echo "$as_me: error: invalid value of canonical build" >&2;}
-   { (exit 1); exit 1; }; };;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -3715,28 +3925,24 @@ IFS=$ac_save_IFS
 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 
-{ echo "$as_me:$LINENO: checking host system type" >&5
-echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
-if test "${ac_cv_host+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
+$as_echo_n "checking host system type... " >&6; }
+if ${ac_cv_host+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
   ac_cv_host=$ac_cv_build
 else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
-echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
-   { (exit 1); exit 1; }; }
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi
 
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
-echo "${ECHO_T}$ac_cv_host" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
+$as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
-echo "$as_me: error: invalid value of canonical host" >&2;}
-   { (exit 1); exit 1; }; };;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -3812,29 +4018,21 @@ esac
 
 if test is_cray!="yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_CRAY 0
-_ACEOF
+$as_echo "#define GRADS_CRAY 0" >>confdefs.h
 
 else
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_CRAY 1
-_ACEOF
+$as_echo "#define GRADS_CRAY 1" >>confdefs.h
 
 fi
 
 if test is_hpux11!="yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_HP64 0
-_ACEOF
+$as_echo "#define GRADS_HP64 0" >>confdefs.h
 
 else
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_HP64 1
-_ACEOF
+$as_echo "#define GRADS_HP64 1" >>confdefs.h
 
 fi
 
@@ -3847,19 +4045,14 @@ echo "Checking system libraries, headers
 echo "-----------------------------------------"
 
 
-
-{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
-echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
-if test "${ac_cv_lib_m_cos+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
+$as_echo_n "checking for cos in -lm... " >&6; }
+if ${ac_cv_lib_m_cos+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -3877,39 +4070,18 @@ return cos ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_m_cos=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_m_cos=no
+  ac_cv_lib_m_cos=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
-echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
-if test $ac_cv_lib_m_cos = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
+$as_echo "$ac_cv_lib_m_cos" >&6; }
+if test "x$ac_cv_lib_m_cos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBM 1
 _ACEOF
@@ -3917,9 +4089,7 @@ _ACEOF
   LIBS="-lm $LIBS"
 
 else
-  { { echo "$as_me:$LINENO: error: Fatal: Math library not found" >&5
-echo "$as_me: error: Fatal: Math library not found" >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "Fatal: Math library not found" "$LINENO" 5
 fi
 
 ac_ext=c
@@ -3927,15 +4097,15 @@ ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
+$as_echo_n "checking how to run the C preprocessor... " >&6; }
 # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  if ${ac_cv_prog_CPP+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
@@ -3949,11 +4119,7 @@ do
   # <limits.h> exists even on freestanding compilers.
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp. "Syntax error" is here to catch this case.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __STDC__
 # include <limits.h>
@@ -3962,76 +4128,34 @@ cat >>conftest.$ac_ext <<_ACEOF
 #endif
 		     Syntax error
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_c_try_cpp "$LINENO"; then :
 
+else
   # Broken: fails on valid input.
 continue
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <ac_nonexistent.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
   # Broken: success on invalid input.
 continue
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
   # Passes both tests.
 ac_preproc_ok=:
 break
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
   break
 fi
 
@@ -4043,8 +4167,8 @@ fi
 else
   ac_cv_prog_CPP=$CPP
 fi
-{ echo "$as_me:$LINENO: result: $CPP" >&5
-echo "${ECHO_T}$CPP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
+$as_echo "$CPP" >&6; }
 ac_preproc_ok=false
 for ac_c_preproc_warn_flag in '' yes
 do
@@ -4054,11 +4178,7 @@ do
   # <limits.h> exists even on freestanding compilers.
   # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp. "Syntax error" is here to catch this case.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #ifdef __STDC__
 # include <limits.h>
@@ -4067,83 +4187,40 @@ cat >>conftest.$ac_ext <<_ACEOF
 #endif
 		     Syntax error
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_c_try_cpp "$LINENO"; then :
 
+else
   # Broken: fails on valid input.
 continue
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <ac_nonexistent.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
   # Broken: success on invalid input.
 continue
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
   # Passes both tests.
 ac_preproc_ok=:
 break
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then
-  :
+rm -f conftest.i conftest.err conftest.$ac_ext
+if $ac_preproc_ok; then :
+
 else
-  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&5
-echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." >&2;}
-   { (exit 1); exit 1; }; }
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -4153,12 +4230,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-{ echo "$as_me:$LINENO: checking for X" >&5
-echo $ECHO_N "checking for X... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
+$as_echo_n "checking for X... " >&6; }
 
 
 # Check whether --with-x was given.
-if test "${with_x+set}" = set; then
+if test "${with_x+set}" = set; then :
   withval=$with_x;
 fi
 
@@ -4168,11 +4245,9 @@ if test "x$with_x" = xno; then
   have_x=disabled
 else
   case $x_includes,$x_libraries in #(
-    *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
-echo "$as_me: error: Cannot use X directory names containing '" >&2;}
-   { (exit 1); exit 1; }; };; #(
-    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
+    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   # One or both of the vars are not set, and there is no cached value.
 ac_x_includes=no ac_x_libraries=no
@@ -4188,12 +4263,12 @@ libdir:
 	@echo libdir='${LIBDIR}'
 _ACEOF
   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
-    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     for ac_var in incroot usrlibdir libdir; do
       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     done
     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
-    for ac_extension in a so sl; do
+    for ac_extension in a so sl dylib la dll; do
       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
 	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
 	ac_im_usrlibdir=$ac_im_libdir; break
@@ -4207,7 +4282,7 @@ _ACEOF
 	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
     esac
     case $ac_im_usrlibdir in
-	/usr/lib | /lib) ;;
+	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
 	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
     esac
   fi
@@ -4219,21 +4294,25 @@ fi
 # Check X11 before X11Rn because it is often a symlink to the current release.
 ac_x_header_dirs='
 /usr/X11/include
+/usr/X11R7/include
 /usr/X11R6/include
 /usr/X11R5/include
 /usr/X11R4/include
 
 /usr/include/X11
+/usr/include/X11R7
 /usr/include/X11R6
 /usr/include/X11R5
 /usr/include/X11R4
 
 /usr/local/X11/include
+/usr/local/X11R7/include
 /usr/local/X11R6/include
 /usr/local/X11R5/include
 /usr/local/X11R4/include
 
 /usr/local/include/X11
+/usr/local/include/X11R7
 /usr/local/include/X11R6
 /usr/local/include/X11R5
 /usr/local/include/X11R4
@@ -4255,36 +4334,14 @@ ac_x_header_dirs='
 if test "$ac_x_includes" = no; then
   # Guess where to find include files, by looking for Xlib.h.
   # First, try using that file with no special directory specified.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <X11/Xlib.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
   # We can compile using X headers with no special include directory.
 ac_x_includes=
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
   for ac_dir in $ac_x_header_dirs; do
   if test -r "$ac_dir/X11/Xlib.h"; then
     ac_x_includes=$ac_dir
@@ -4292,8 +4349,7 @@ sed 's/^/| /' conftest.$ac_ext >&5
   fi
 done
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 fi # $ac_x_includes = no
 
 if test "$ac_x_libraries" = no; then
@@ -4302,11 +4358,7 @@ if test "$ac_x_libraries" = no; then
   # Don't add to $LIBS permanently.
   ac_save_LIBS=$LIBS
   LIBS="-lX11 $LIBS"
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <X11/Xlib.h>
 int
@@ -4317,36 +4369,16 @@ XrmInitialize ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   LIBS=$ac_save_LIBS
 # We can link X programs with no special library path.
 ac_x_libraries=
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	LIBS=$ac_save_LIBS
-for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
+  LIBS=$ac_save_LIBS
+for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
 do
   # Don't even attempt the hair of trying to link an X program!
-  for ac_extension in a so sl; do
+  for ac_extension in a so sl dylib la dll; do
     if test -r "$ac_dir/libX11.$ac_extension"; then
       ac_x_libraries=$ac_dir
       break 2
@@ -4354,9 +4386,8 @@ do
   done
 done
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 fi # $ac_x_libraries = no
 
 case $ac_x_includes,$ac_x_libraries in #(
@@ -4377,8 +4408,8 @@ fi
 fi # $with_x != no
 
 if test "$have_x" != yes; then
-  { echo "$as_me:$LINENO: result: $have_x" >&5
-echo "${ECHO_T}$have_x" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
+$as_echo "$have_x" >&6; }
   no_x=yes
 else
   # If each of the values was on the command line, it overrides each guess.
@@ -4388,16 +4419,14 @@ else
   ac_cv_have_x="have_x=yes\
 	ac_x_includes='$x_includes'\
 	ac_x_libraries='$x_libraries'"
-  { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
-echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
+$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
 fi
 
 if test "$no_x" = yes; then
   # Not all programs may use this symbol, but it does not hurt to define it.
 
-cat >>confdefs.h <<\_ACEOF
-#define X_DISPLAY_MISSING 1
-_ACEOF
+$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
 
   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
 else
@@ -4410,16 +4439,12 @@ else
     X_LIBS="$X_LIBS -L$x_libraries"
     # For Solaris; some versions of Sun CC require a space after -R and
     # others require no space.  Words are not sufficient . . . .
-    { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
-echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
+$as_echo_n "checking whether -R must be followed by a space... " >&6; }
     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
     ac_xsave_c_werror_flag=$ac_c_werror_flag
     ac_c_werror_flag=yes
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -4430,37 +4455,13 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+if ac_fn_c_try_link "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
        X_LIBS="$X_LIBS -R$x_libraries"
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	LIBS="$ac_xsave_LIBS -R $x_libraries"
-       cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  LIBS="$ac_xsave_LIBS -R $x_libraries"
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -4471,41 +4472,19 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+if ac_fn_c_try_link "$LINENO"; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 	  X_LIBS="$X_LIBS -R $x_libraries"
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	{ echo "$as_me:$LINENO: result: neither works" >&5
-echo "${ECHO_T}neither works" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
+$as_echo "neither works" >&6; }
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
     ac_c_werror_flag=$ac_xsave_c_werror_flag
     LIBS=$ac_xsave_LIBS
   fi
@@ -4521,11 +4500,7 @@ rm -f core conftest.err conftest.$ac_obj
     # libraries were built with DECnet support.  And Karl Berry says
     # the Alpha needs dnet_stub (dnet does not exist).
     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -4543,41 +4518,17 @@ return XOpenDisplay ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  :
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_c_try_link "$LINENO"; then :
 
-	{ echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
-echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
+$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
+if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldnet  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -4593,57 +4544,32 @@ main ()
 return dnet_ntoa ();
   ;
   return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_dnet_dnet_ntoa=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_dnet_dnet_ntoa=no
+  ac_cv_lib_dnet_dnet_ntoa=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
-echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
-if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
+$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
+if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
 fi
 
     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
-      { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
-echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
+$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
+if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldnet_stub  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -4661,47 +4587,25 @@ return dnet_ntoa ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_dnet_stub_dnet_ntoa=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_dnet_stub_dnet_ntoa=no
+  ac_cv_lib_dnet_stub_dnet_ntoa=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
-echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
-if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
+$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
+if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
 fi
 
     fi
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
     LIBS="$ac_xsave_LIBS"
 
     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
@@ -4712,101 +4616,20 @@ rm -f core conftest.err conftest.$ac_obj
     # on Irix 5.2, according to T.E. Dickey.
     # The functions gethostbyname, getservbyname, and inet_addr are
     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
-    { echo "$as_me:$LINENO: checking for gethostbyname" >&5
-echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
-if test "${ac_cv_func_gethostbyname+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define gethostbyname innocuous_gethostbyname
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char gethostbyname (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef gethostbyname
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char gethostbyname ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_gethostbyname || defined __stub___gethostbyname
-choke me
-#endif
-
-int
-main ()
-{
-return gethostbyname ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_func_gethostbyname=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_func_gethostbyname=no
-fi
+    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
+if test "x$ac_cv_func_gethostbyname" = xyes; then :
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
-echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
 
     if test $ac_cv_func_gethostbyname = no; then
-      { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
-echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
+$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
+if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnsl  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -4824,55 +4647,30 @@ return gethostbyname ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_nsl_gethostbyname=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_nsl_gethostbyname=no
+  ac_cv_lib_nsl_gethostbyname=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
-echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
-if test $ac_cv_lib_nsl_gethostbyname = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
+$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
+if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
 fi
 
       if test $ac_cv_lib_nsl_gethostbyname = no; then
-	{ echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
-echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
+$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
+if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lbsd  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -4890,39 +4688,18 @@ return gethostbyname ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_bsd_gethostbyname=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_bsd_gethostbyname=no
+  ac_cv_lib_bsd_gethostbyname=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
-echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
-if test $ac_cv_lib_bsd_gethostbyname = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
+$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
+if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
 fi
 
@@ -4936,101 +4713,20 @@ fi
     # variants that don't use the name server (or something).  -lsocket
     # must be given before -lnsl if both are needed.  We assume that
     # if connect needs -lnsl, so does gethostbyname.
-    { echo "$as_me:$LINENO: checking for connect" >&5
-echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
-if test "${ac_cv_func_connect+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define connect to an innocuous variant, in case <limits.h> declares connect.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define connect innocuous_connect
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char connect (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef connect
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char connect ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_connect || defined __stub___connect
-choke me
-#endif
-
-int
-main ()
-{
-return connect ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_func_connect=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_func_connect=no
-fi
+    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
+if test "x$ac_cv_func_connect" = xyes; then :
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
-echo "${ECHO_T}$ac_cv_func_connect" >&6; }
 
     if test $ac_cv_func_connect = no; then
-      { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
-echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
-if test "${ac_cv_lib_socket_connect+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
+$as_echo_n "checking for connect in -lsocket... " >&6; }
+if ${ac_cv_lib_socket_connect+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -5048,291 +4744,87 @@ return connect ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_socket_connect=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_socket_connect=no
+  ac_cv_lib_socket_connect=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
-echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
-if test $ac_cv_lib_socket_connect = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
+$as_echo "$ac_cv_lib_socket_connect" >&6; }
+if test "x$ac_cv_lib_socket_connect" = xyes; then :
   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
 fi
 
     fi
 
     # Guillermo Gomez says -lposix is necessary on A/UX.
-    { echo "$as_me:$LINENO: checking for remove" >&5
-echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
-if test "${ac_cv_func_remove+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define remove to an innocuous variant, in case <limits.h> declares remove.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define remove innocuous_remove
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char remove (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef remove
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char remove ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_remove || defined __stub___remove
-choke me
-#endif
-
-int
-main ()
-{
-return remove ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_func_remove=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
+if test "x$ac_cv_func_remove" = xyes; then :
 
-	ac_cv_func_remove=no
 fi
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
-echo "${ECHO_T}$ac_cv_func_remove" >&6; }
-
     if test $ac_cv_func_remove = no; then
-      { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
-echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
-if test "${ac_cv_lib_posix_remove+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
+$as_echo_n "checking for remove in -lposix... " >&6; }
+if ${ac_cv_lib_posix_remove+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lposix  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char remove ();
-int
-main ()
-{
-return remove ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_posix_remove=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_posix_remove=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
-echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
-if test $ac_cv_lib_posix_remove = yes; then
-  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
-fi
-
-    fi
-
-    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
-    { echo "$as_me:$LINENO: checking for shmat" >&5
-echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
-if test "${ac_cv_func_shmat+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define shmat innocuous_shmat
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char shmat (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef shmat
 
 /* Override any GCC internal prototype to avoid an error.
    Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char shmat ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_shmat || defined __stub___shmat
-choke me
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
 #endif
-
+char remove ();
 int
 main ()
 {
-return shmat ();
+return remove ();
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_func_shmat=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_posix_remove=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_func_shmat=no
+  ac_cv_lib_posix_remove=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
+$as_echo "$ac_cv_lib_posix_remove" >&6; }
+if test "x$ac_cv_lib_posix_remove" = xyes; then :
+  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
 fi
 
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+    fi
+
+    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
+    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
+if test "x$ac_cv_func_shmat" = xyes; then :
+
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
-echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
 
     if test $ac_cv_func_shmat = no; then
-      { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
-echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
-if test "${ac_cv_lib_ipc_shmat+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
+$as_echo_n "checking for shmat in -lipc... " >&6; }
+if ${ac_cv_lib_ipc_shmat+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lipc  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -5350,39 +4842,18 @@ return shmat ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_ipc_shmat=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_ipc_shmat=no
+  ac_cv_lib_ipc_shmat=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
-echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
-if test $ac_cv_lib_ipc_shmat = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
+$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
+if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
 fi
 
@@ -5398,18 +4869,14 @@ fi
   # These have to be linked with before -lX11, unlike the other
   # libraries we check for below, so use a different variable.
   # John Interrante, Karl Berry
-  { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
-echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
+$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
+if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -5427,39 +4894,18 @@ return IceConnectionNumber ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_ICE_IceConnectionNumber=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_ICE_IceConnectionNumber=no
+  ac_cv_lib_ICE_IceConnectionNumber=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
-echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
-if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
+$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
+if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
 fi
 
@@ -5474,45 +4920,40 @@ echo
 # Check for basic header files.
 # ----------------------------------------------------
 
-{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
-echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  # Extract the first word of "grep ggrep" to use in msg output
-if test -z "$GREP"; then
-set dummy grep ggrep; ac_prog_name=$2
-if test "${ac_cv_path_GREP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
+$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
+if ${ac_cv_path_GREP+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
+  if test -z "$GREP"; then
   ac_path_GREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_prog in grep ggrep; do
-  for ac_exec_ext in '' $ac_executable_extensions; do
-    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
-    # Check for GNU ac_path_GREP and select it if it is found.
+    for ac_prog in grep ggrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
+      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+# Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
 *GNU*)
   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 *)
   ac_count=0
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+  $as_echo_n 0123456789 >"conftest.in"
   while :
   do
     cat "conftest.in" "conftest.in" >"conftest.tmp"
     mv "conftest.tmp" "conftest.in"
     cp "conftest.in" "conftest.nl"
-    echo 'GREP' >> "conftest.nl"
+    $as_echo 'GREP' >> "conftest.nl"
     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    ac_count=`expr $ac_count + 1`
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
     if test $ac_count -gt ${ac_path_GREP_max-0}; then
       # Best one so far, save it but keep looking for a better one
       ac_cv_path_GREP="$ac_path_GREP"
@@ -5524,77 +4965,61 @@ case `"$ac_path_GREP" --version 2>&1` in
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 esac
 
-
-    $ac_path_GREP_found && break 3
+      $ac_path_GREP_found && break 3
+    done
+  done
   done
-done
-
-done
 IFS=$as_save_IFS
-
-
-fi
-
-GREP="$ac_cv_path_GREP"
-if test -z "$GREP"; then
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
+  if test -z "$ac_cv_path_GREP"; then
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
 else
   ac_cv_path_GREP=$GREP
 fi
 
-
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
-echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
+$as_echo "$ac_cv_path_GREP" >&6; }
  GREP="$ac_cv_path_GREP"
 
 
-{ echo "$as_me:$LINENO: checking for egrep" >&5
-echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
+$as_echo_n "checking for egrep... " >&6; }
+if ${ac_cv_path_EGREP+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    then ac_cv_path_EGREP="$GREP -E"
    else
-     # Extract the first word of "egrep" to use in msg output
-if test -z "$EGREP"; then
-set dummy egrep; ac_prog_name=$2
-if test "${ac_cv_path_EGREP+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
+     if test -z "$EGREP"; then
   ac_path_EGREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+  # Loop through the user's path and test for each of PROGNAME-LIST
+  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_prog in egrep; do
-  for ac_exec_ext in '' $ac_executable_extensions; do
-    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
-    # Check for GNU ac_path_EGREP and select it if it is found.
+    for ac_prog in egrep; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
+      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
+      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+# Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
 *GNU*)
   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 *)
   ac_count=0
-  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
+  $as_echo_n 0123456789 >"conftest.in"
   while :
   do
     cat "conftest.in" "conftest.in" >"conftest.tmp"
     mv "conftest.tmp" "conftest.in"
     cp "conftest.in" "conftest.nl"
-    echo 'EGREP' >> "conftest.nl"
+    $as_echo 'EGREP' >> "conftest.nl"
     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
-    ac_count=`expr $ac_count + 1`
+    as_fn_arith $ac_count + 1 && ac_count=$as_val
     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
       # Best one so far, save it but keep looking for a better one
       ac_cv_path_EGREP="$ac_path_EGREP"
@@ -5606,46 +5031,31 @@ case `"$ac_path_EGREP" --version 2>&1` i
   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 esac
 
-
-    $ac_path_EGREP_found && break 3
+      $ac_path_EGREP_found && break 3
+    done
+  done
   done
-done
-
-done
 IFS=$as_save_IFS
-
-
-fi
-
-EGREP="$ac_cv_path_EGREP"
-if test -z "$EGREP"; then
-  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
-echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
-   { (exit 1); exit 1; }; }
-fi
-
+  if test -z "$ac_cv_path_EGREP"; then
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+  fi
 else
   ac_cv_path_EGREP=$EGREP
 fi
 
-
    fi
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
-echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
+$as_echo "$ac_cv_path_EGREP" >&6; }
  EGREP="$ac_cv_path_EGREP"
 
 
-{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
-echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
+$as_echo_n "checking for ANSI C header files... " >&6; }
+if ${ac_cv_header_stdc+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
 #include <stdarg.h>
@@ -5660,47 +5070,23 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_header_stdc=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_header_stdc=no
+  ac_cv_header_stdc=no
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <string.h>
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "memchr" >/dev/null 2>&1; then
-  :
+  $EGREP "memchr" >/dev/null 2>&1; then :
+
 else
   ac_cv_header_stdc=no
 fi
@@ -5710,18 +5096,14 @@ fi
 
 if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
 
 _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
-  $EGREP "free" >/dev/null 2>&1; then
-  :
+  $EGREP "free" >/dev/null 2>&1; then :
+
 else
   ac_cv_header_stdc=no
 fi
@@ -5731,14 +5113,10 @@ fi
 
 if test $ac_cv_header_stdc = yes; then
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
-  if test "$cross_compiling" = yes; then
+  if test "$cross_compiling" = yes; then :
   :
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <ctype.h>
 #include <stdlib.h>
@@ -5765,113 +5143,35 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  :
-else
-  echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+if ac_fn_c_try_run "$LINENO"; then :
 
-( exit $ac_status )
-ac_cv_header_stdc=no
+else
+  ac_cv_header_stdc=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
-
 fi
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
-echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
+$as_echo "$ac_cv_header_stdc" >&6; }
 if test $ac_cv_header_stdc = yes; then
 
-cat >>confdefs.h <<\_ACEOF
-#define STDC_HEADERS 1
-_ACEOF
+$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 fi
 
 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
-
-
-
-
-
-
-
-
-
 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 		  inttypes.h stdint.h unistd.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  eval "$as_ac_Header=yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_Header=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -5879,147 +5179,13 @@ fi
 done
 
 
-
-
-
 for ac_header in malloc.h sys/file.h unistd.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -6028,16 +5194,12 @@ done
 
 echo
 
-{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
-echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
-if test "${ac_cv_c_const+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
+$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
+if ${ac_cv_c_const+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 int
@@ -6097,447 +5259,274 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_c_const=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_c_const=no
+  ac_cv_c_const=no
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
-echo "${ECHO_T}$ac_cv_c_const" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
+$as_echo "$ac_cv_c_const" >&6; }
 if test $ac_cv_c_const = no; then
 
-cat >>confdefs.h <<\_ACEOF
-#define const
-_ACEOF
+$as_echo "#define const /**/" >>confdefs.h
 
 fi
 
 
-{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
-echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
-if test "${ac_cv_c_bigendian+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
+$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
+if ${ac_cv_c_bigendian+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  # See if sys/param.h defines the BYTE_ORDER macro.
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  ac_cv_c_bigendian=unknown
+    # See if we're dealing with a universal compiler.
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#ifndef __APPLE_CC__
+	       not a universal capable compiler
+	     #endif
+	     typedef int dummy;
+
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+	# Check for potential -arch flags.  It is not universal unless
+	# there are at least two -arch flags with different values.
+	ac_arch=
+	ac_prev=
+	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
+	 if test -n "$ac_prev"; then
+	   case $ac_word in
+	     i?86 | x86_64 | ppc | ppc64)
+	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
+		 ac_arch=$ac_word
+	       else
+		 ac_cv_c_bigendian=universal
+		 break
+	       fi
+	       ;;
+	   esac
+	   ac_prev=
+	 elif test "x$ac_word" = "x-arch"; then
+	   ac_prev=arch
+	 fi
+       done
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    if test $ac_cv_c_bigendian = unknown; then
+      # See if sys/param.h defines the BYTE_ORDER macro.
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
-#include <sys/param.h>
+	     #include <sys/param.h>
 
 int
 main ()
 {
-#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
-	&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
- bogus endian macros
-#endif
+#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
+		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
+		     && LITTLE_ENDIAN)
+	      bogus endian macros
+	     #endif
 
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   # It does; now see whether it defined to BIG_ENDIAN or not.
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
-#include <sys/param.h>
+		#include <sys/param.h>
 
 int
 main ()
 {
 #if BYTE_ORDER != BIG_ENDIAN
- not big endian
-#endif
+		 not big endian
+		#endif
 
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_c_bigendian=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_c_bigendian=no
+  ac_cv_c_bigendian=no
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    fi
+    if test $ac_cv_c_bigendian = unknown; then
+      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <limits.h>
 
-	# It does not; compile a test program.
-if test "$cross_compiling" = yes; then
-  # try to guess the endianness by grepping values into an object file
-  ac_cv_c_bigendian=unknown
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
+int
+main ()
+{
+#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
+	      bogus endian macros
+	     #endif
+
+  ;
+  return 0;
+}
 _ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  # It does; now see whether it defined to _BIG_ENDIAN or not.
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
-short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
-void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
-short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
-short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
-void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
+#include <limits.h>
+
 int
 main ()
 {
- _ascii (); _ebcdic ();
+#ifndef _BIG_ENDIAN
+		 not big endian
+		#endif
+
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_c_bigendian=yes
+else
+  ac_cv_c_bigendian=no
 fi
-if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
-  if test "$ac_cv_c_bigendian" = unknown; then
-    ac_cv_c_bigendian=no
-  else
-    # finding both strings is unlikely to happen, but who knows?
-    ac_cv_c_bigendian=unknown
-  fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    fi
+    if test $ac_cv_c_bigendian = unknown; then
+      # Compile a test program.
+      if test "$cross_compiling" = yes; then :
+  # Try to guess by grepping values from an object file.
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+short int ascii_mm[] =
+		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
+		short int ascii_ii[] =
+		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
+		int use_ascii (int i) {
+		  return ascii_mm[i] + ascii_ii[i];
+		}
+		short int ebcdic_ii[] =
+		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
+		short int ebcdic_mm[] =
+		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
+		int use_ebcdic (int i) {
+		  return ebcdic_mm[i] + ebcdic_ii[i];
+		}
+		extern int foo;
 
+int
+main ()
+{
+return use_ascii (foo) == use_ebcdic (foo);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
+	      ac_cv_c_bigendian=yes
+	    fi
+	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
+	      if test "$ac_cv_c_bigendian" = unknown; then
+		ac_cv_c_bigendian=no
+	      else
+		# finding both strings is unlikely to happen, but who knows?
+		ac_cv_c_bigendian=unknown
+	      fi
+	    fi
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 $ac_includes_default
 int
 main ()
 {
 
-  /* Are we little or big endian?  From Harbison&Steele.  */
-  union
-  {
-    long int l;
-    char c[sizeof (long int)];
-  } u;
-  u.l = 1;
-  return u.c[sizeof (long int) - 1] == 1;
+	     /* Are we little or big endian?  From Harbison&Steele.  */
+	     union
+	     {
+	       long int l;
+	       char c[sizeof (long int)];
+	     } u;
+	     u.l = 1;
+	     return u.c[sizeof (long int) - 1] == 1;
 
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
+if ac_fn_c_try_run "$LINENO"; then :
   ac_cv_c_bigendian=no
 else
-  echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-ac_cv_c_bigendian=yes
+  ac_cv_c_bigendian=yes
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
 
-
+    fi
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
+$as_echo "$ac_cv_c_bigendian" >&6; }
+ case $ac_cv_c_bigendian in #(
+   yes)
+     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
+;; #(
+   no)
+      ;; #(
+   universal)
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
-echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
-case $ac_cv_c_bigendian in
-  yes)
+$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
-cat >>confdefs.h <<\_ACEOF
-#define WORDS_BIGENDIAN 1
-_ACEOF
- ;;
-  no)
-     ;;
-  *)
-    { { echo "$as_me:$LINENO: error: unknown endianness
-presetting ac_cv_c_bigendian=no (or yes) will help" >&5
-echo "$as_me: error: unknown endianness
-presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
-   { (exit 1); exit 1; }; } ;;
-esac
+     ;; #(
+   *)
+     as_fn_error $? "unknown endianness
+ presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
+ esac
 
 if test $ac_cv_c_bigendian = "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define BYTEORDER 1
-_ACEOF
+$as_echo "#define BYTEORDER 1" >>confdefs.h
 
 else
 
-cat >>confdefs.h <<\_ACEOF
-#define BYTEORDER 0
-_ACEOF
+$as_echo "#define BYTEORDER 0" >>confdefs.h
 
 fi
 
 
 
 
-
 for ac_func in strtod
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$ac_func || defined __stub___$ac_func
-choke me
-#endif
-
-int
-main ()
-{
-return $ac_func ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  eval "$as_ac_var=yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_var=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_var'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_var'}'` = yes; then
+do :
+  ac_fn_c_check_func "$LINENO" "strtod" "ac_cv_func_strtod"
+if test "x$ac_cv_func_strtod" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_STRTOD 1
 _ACEOF
 
 fi
 done
 
 
-{ echo "$as_me:$LINENO: checking for off_t" >&5
-echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
-if test "${ac_cv_type_off_t+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-typedef off_t ac__type_new_;
-int
-main ()
-{
-if ((ac__type_new_ *) 0)
-  return 0;
-if (sizeof (ac__type_new_))
-  return 0;
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_cv_type_off_t=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_type_off_t=no
-fi
+ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
+if test "x$ac_cv_type_off_t" = xyes; then :
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
-echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
-if test $ac_cv_type_off_t = yes; then
-  :
 else
 
 cat >>confdefs.h <<_ACEOF
@@ -6547,16 +5536,16 @@ _ACEOF
 fi
 
 # Check whether --enable-largefile was given.
-if test "${enable_largefile+set}" = set; then
+if test "${enable_largefile+set}" = set; then :
   enableval=$enable_largefile;
 fi
 
 if test "$enable_largefile" != no; then
 
-  { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
-echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_largefile_CC+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
+$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
+if ${ac_cv_sys_largefile_CC+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_cv_sys_largefile_CC=no
      if test "$GCC" != yes; then
@@ -6564,11 +5553,7 @@ else
        while :; do
 	 # IRIX 6.2 and later do not support large files by default,
 	 # so use the C compiler's -n32 option if that helps.
-	 cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
  /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6587,58 +5572,14 @@ main ()
   return 0;
 }
 _ACEOF
-	 rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+	 if ac_fn_c_try_compile "$LINENO"; then :
   break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext
 	 CC="$CC -n32"
-	 rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+	 if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_sys_largefile_CC=' -n32'; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext
 	 break
        done
@@ -6646,23 +5587,19 @@ rm -f core conftest.err conftest.$ac_obj
        rm -f conftest.$ac_ext
     fi
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
-echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
+$as_echo "$ac_cv_sys_largefile_CC" >&6; }
   if test "$ac_cv_sys_largefile_CC" != no; then
     CC=$CC$ac_cv_sys_largefile_CC
   fi
 
-  { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
-echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_file_offset_bits+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
+if ${ac_cv_sys_file_offset_bits+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   while :; do
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
  /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6681,37 +5618,11 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_sys_file_offset_bits=no; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #define _FILE_OFFSET_BITS 64
 #include <sys/types.h>
@@ -6731,38 +5642,16 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_sys_file_offset_bits=64; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cv_sys_file_offset_bits=unknown
   break
 done
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
-echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
+$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
 case $ac_cv_sys_file_offset_bits in #(
   no | unknown) ;;
   *)
@@ -6771,19 +5660,15 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 ;;
 esac
-rm -f conftest*
+rm -rf conftest*
   if test $ac_cv_sys_file_offset_bits = unknown; then
-    { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
-echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_large_files+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
+if ${ac_cv_sys_large_files+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   while :; do
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/types.h>
  /* Check that off_t can represent 2**63 - 1 correctly.
@@ -6802,37 +5687,11 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_sys_large_files=no; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #define _LARGE_FILES 1
 #include <sys/types.h>
@@ -6852,38 +5711,16 @@ main ()
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ac_cv_sys_large_files=1; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   ac_cv_sys_large_files=unknown
   break
 done
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
-echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
+$as_echo "$ac_cv_sys_large_files" >&6; }
 case $ac_cv_sys_large_files in #(
   no | unknown) ;;
   *)
@@ -6892,109 +5729,59 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 ;;
 esac
-rm -f conftest*
+rm -rf conftest*
   fi
 fi
 
-{ echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
-echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
-if test "${ac_cv_sys_largefile_source+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
+$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
+if ${ac_cv_sys_largefile_source+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   while :; do
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdio.h>
+#include <sys/types.h> /* for off_t */
+     #include <stdio.h>
 int
 main ()
 {
-return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
+int (*fp) (FILE *, off_t, int) = fseeko;
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_sys_largefile_source=no; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #define _LARGEFILE_SOURCE 1
-#include <stdio.h>
+#include <sys/types.h> /* for off_t */
+     #include <stdio.h>
 int
 main ()
 {
-return fseeko (stdin, 0, 0) && (fseeko) (stdin, 0, 0);
+int (*fp) (FILE *, off_t, int) = fseeko;
+     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
   ;
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_sys_largefile_source=1; break
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   ac_cv_sys_largefile_source=unknown
   break
 done
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
-echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
+$as_echo "$ac_cv_sys_largefile_source" >&6; }
 case $ac_cv_sys_largefile_source in #(
   no | unknown) ;;
   *)
@@ -7003,16 +5790,14 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 ;;
 esac
-rm -f conftest*
+rm -rf conftest*
 
 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
 # in glibc 2.1.3, but that breaks too many other things.
 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
 if test $ac_cv_sys_largefile_source != unknown; then
 
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_FSEEKO 1
-_ACEOF
+$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
 
 fi
 
@@ -7031,12 +5816,12 @@ echo -----------------------------------
 # ----------------------------------------------------
 
 
-  { echo "$as_me:$LINENO: checking for supplibs directory" >&5
-echo $ECHO_N "checking for supplibs directory... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supplibs directory" >&5
+$as_echo_n "checking for supplibs directory... " >&6; }
   if test -n "${SUPPLIBS}" ; then
     # Use present supplib name unmodified, assume it is absolute path
-    { echo "$as_me:$LINENO: result: ${SUPPLIBS}" >&5
-echo "${ECHO_T}${SUPPLIBS}" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SUPPLIBS}" >&5
+$as_echo "${SUPPLIBS}" >&6; }
     # This is the "official" variable name for use by other macros
     ga_supplib_dir="${SUPPLIBS}"
   else
@@ -7044,14 +5829,14 @@ echo "${ECHO_T}${SUPPLIBS}" >&6; }
     for ga_supplib_prefix in . .. ; do
       SUPPLIBS="${ga_supplib_prefix}/supplibs"
       if test -d "${SUPPLIBS}" ; then
-        { echo "$as_me:$LINENO: result: ${SUPPLIBS}" >&5
-echo "${ECHO_T}${SUPPLIBS}" >&6; }
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${SUPPLIBS}" >&5
+$as_echo "${SUPPLIBS}" >&6; }
         break
       fi
     done
     if test ! -d "${SUPPLIBS}" ; then
-      { echo "$as_me:$LINENO: result: not found" >&5
-echo "${ECHO_T}not found" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
+$as_echo "not found" >&6; }
       SUPPLIBS=""
     fi
     # This is the "official" variable name for use by other macros
@@ -7064,7 +5849,7 @@ echo "${ECHO_T}not found" >&6; }
 
 
 # Check whether --enable-dyn-supplibs was given.
-if test "${enable_dyn_supplibs+set}" = set; then
+if test "${enable_dyn_supplibs+set}" = set; then :
   enableval=$enable_dyn_supplibs;
 else
   enableval=yes
@@ -7080,14 +5865,14 @@ case "${enableval}" in
 esac
 
 
-{ echo "$as_me:$LINENO: checking whether to use dynamic linking" >&5
-echo $ECHO_N "checking whether to use dynamic linking... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use dynamic linking" >&5
+$as_echo_n "checking whether to use dynamic linking... " >&6; }
 if test "$ga_dyn_supplibs" = "yes" ; then
-   { echo "$as_me:$LINENO: result: yes (Warning: binaries may not be suitable for distribution)" >&5
-echo "${ECHO_T}yes (Warning: binaries may not be suitable for distribution)" >&6; }
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (Warning: binaries may not be suitable for distribution)" >&5
+$as_echo "yes (Warning: binaries may not be suitable for distribution)" >&6; }
 else
-   { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -7142,18 +5927,14 @@ if test "$with_gui" != "no" ; then
   LDFLAGS="-L${ga_supplib_dir}/lib $X_LIBS"
   LIBS="$LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
 
-  { echo "$as_me:$LINENO: checking for main in -lXext" >&5
-echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xext_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXext" >&5
+$as_echo_n "checking for main in -lXext... " >&6; }
+if ${ac_cv_lib_Xext_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXext  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7165,54 +5946,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xext_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xext_main=no
+  ac_cv_lib_Xext_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6; }
-if test $ac_cv_lib_Xext_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_main" >&5
+$as_echo "$ac_cv_lib_Xext_main" >&6; }
+if test "x$ac_cv_lib_Xext_main" = xyes; then :
   gui_libs_Xext="-lXext"
 fi
 
-  { echo "$as_me:$LINENO: checking for main in -lXt" >&5
-echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xt_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXt" >&5
+$as_echo_n "checking for main in -lXt... " >&6; }
+if ${ac_cv_lib_Xt_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXt  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7224,51 +5980,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xt_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xt_main=no
+  ac_cv_lib_Xt_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6; }
-if test $ac_cv_lib_Xt_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lXmu" >&5
-echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xmu_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_main" >&5
+$as_echo "$ac_cv_lib_Xt_main" >&6; }
+if test "x$ac_cv_lib_Xt_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXmu" >&5
+$as_echo_n "checking for main in -lXmu... " >&6; }
+if ${ac_cv_lib_Xmu_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXmu  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7280,51 +6011,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xmu_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xmu_main=no
+  ac_cv_lib_Xmu_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6; }
-if test $ac_cv_lib_Xmu_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lXpm" >&5
-echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xpm_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_main" >&5
+$as_echo "$ac_cv_lib_Xmu_main" >&6; }
+if test "x$ac_cv_lib_Xmu_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
+$as_echo_n "checking for main in -lXpm... " >&6; }
+if ${ac_cv_lib_Xpm_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXpm  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7336,51 +6042,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xpm_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xpm_main=no
+  ac_cv_lib_Xpm_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
-if test $ac_cv_lib_Xpm_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lXaw" >&5
-echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xaw_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
+$as_echo "$ac_cv_lib_Xpm_main" >&6; }
+if test "x$ac_cv_lib_Xpm_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXaw" >&5
+$as_echo_n "checking for main in -lXaw... " >&6; }
+if ${ac_cv_lib_Xaw_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXaw  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7392,51 +6073,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xaw_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xaw_main=no
+  ac_cv_lib_Xaw_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6; }
-if test $ac_cv_lib_Xaw_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lsx" >&5
-echo $ECHO_N "checking for main in -lsx... $ECHO_C" >&6; }
-if test "${ac_cv_lib_sx_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_main" >&5
+$as_echo "$ac_cv_lib_Xaw_main" >&6; }
+if test "x$ac_cv_lib_Xaw_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsx" >&5
+$as_echo_n "checking for main in -lsx... " >&6; }
+if ${ac_cv_lib_sx_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsx  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7448,39 +6104,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_sx_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_sx_main=no
+  ac_cv_lib_sx_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_sx_main" >&5
-echo "${ECHO_T}$ac_cv_lib_sx_main" >&6; }
-if test $ac_cv_lib_sx_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sx_main" >&5
+$as_echo "$ac_cv_lib_sx_main" >&6; }
+if test "x$ac_cv_lib_sx_main" = xyes; then :
    ga_check_gui="yes"
 fi
 
@@ -7506,10 +6141,8 @@ fi
 
     use_gui=yes
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in sx ; do
-      gui_libs="$gui_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      gui_libs="$gui_libs -l${ga_lib_name}"
   done
 
     if test z"$gui_libs_Xext" != 'z'; then
@@ -7531,10 +6164,10 @@ if test "x$ac_cv_env_PKG_CONFIG_set" !=
 	if test -n "$ac_tool_prefix"; then
   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_PKG_CONFIG+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   case $PKG_CONFIG in
   [\\/]* | ?:[\\/]*)
@@ -7546,14 +6179,14 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
   ;;
@@ -7561,11 +6194,11 @@ esac
 fi
 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 if test -n "$PKG_CONFIG"; then
-  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
-echo "${ECHO_T}$PKG_CONFIG" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -7574,10 +6207,10 @@ if test -z "$ac_cv_path_PKG_CONFIG"; the
   ac_pt_PKG_CONFIG=$PKG_CONFIG
   # Extract the first word of "pkg-config", so it can be a program name with args.
 set dummy pkg-config; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   case $ac_pt_PKG_CONFIG in
   [\\/]* | ?:[\\/]*)
@@ -7589,14 +6222,14 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
   ;;
@@ -7604,11 +6237,11 @@ esac
 fi
 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 if test -n "$ac_pt_PKG_CONFIG"; then
-  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
+$as_echo "$ac_pt_PKG_CONFIG" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
   if test "x$ac_pt_PKG_CONFIG" = x; then
@@ -7616,12 +6249,8 @@ fi
   else
     case $cross_compiling:$ac_tool_warned in
 yes:)
-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&5
-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 ac_tool_warned=yes ;;
 esac
     PKG_CONFIG=$ac_pt_PKG_CONFIG
@@ -7633,14 +6262,14 @@ fi
 fi
 if test -n "$PKG_CONFIG"; then
 	_pkg_min_version=0.9.0
-	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
+$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
-		{ echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 	else
-		{ echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 		PKG_CONFIG=""
 	fi
 
@@ -7663,19 +6292,19 @@ fi
   ac_pkgconfig_xaw7=yes
 
 pkg_failed=no
-{ echo "$as_me:$LINENO: checking for XAW7" >&5
-echo $ECHO_N "checking for XAW7... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XAW7" >&5
+$as_echo_n "checking for XAW7... " >&6; }
 
 if test -n "$PKG_CONFIG"; then
     if test -n "$XAW7_CFLAGS"; then
         pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xaw7" 2>/dev/null`
 else
   pkg_failed=yes
@@ -7689,11 +6318,11 @@ if test -n "$PKG_CONFIG"; then
         pkg_cv_XAW7_LIBS="$XAW7_LIBS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xaw7\"") >&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7\""; } >&5
   ($PKG_CONFIG --exists --print-errors "xaw7") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xaw7" 2>/dev/null`
 else
   pkg_failed=yes
@@ -7720,16 +6349,16 @@ fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$XAW7_PKG_ERRORS" >&5
 
-	{ echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
                 ac_pkgconfig_xaw7=no
 elif test $pkg_failed = untried; then
 	ac_pkgconfig_xaw7=no
 else
 	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
 	XAW7_LIBS=$pkg_cv_XAW7_LIBS
-        { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 	:
 fi
   ac_save_LDFLAGS=$LDFLAGS
@@ -7740,18 +6369,14 @@ fi
   CFLAGS="$CFLAGS $X_CFLAGS"
   ga_xaw_flag=''
   ga_xaw_libs='-lXmu -lXt'
-  { echo "$as_me:$LINENO: checking for main in -lXt" >&5
-echo $ECHO_N "checking for main in -lXt... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xt_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXt" >&5
+$as_echo_n "checking for main in -lXt... " >&6; }
+if ${ac_cv_lib_Xt_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXt  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7763,52 +6388,27 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xt_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xt_main=no
+  ac_cv_lib_Xt_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xt_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xt_main" >&6; }
-if test $ac_cv_lib_Xt_main = yes; then
-
-    { echo "$as_me:$LINENO: checking for main in -lXmu" >&5
-echo $ECHO_N "checking for main in -lXmu... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xmu_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xt_main" >&5
+$as_echo "$ac_cv_lib_Xt_main" >&6; }
+if test "x$ac_cv_lib_Xt_main" = xyes; then :
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXmu" >&5
+$as_echo_n "checking for main in -lXmu... " >&6; }
+if ${ac_cv_lib_Xmu_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXmu  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7820,53 +6420,28 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xmu_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xmu_main=no
+  ac_cv_lib_Xmu_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xmu_main" >&6; }
-if test $ac_cv_lib_Xmu_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xmu_main" >&5
+$as_echo "$ac_cv_lib_Xmu_main" >&6; }
+if test "x$ac_cv_lib_Xmu_main" = xyes; then :
 
       # we add Xext if found. Not sure which platform needs it
-      { echo "$as_me:$LINENO: checking for main in -lXext" >&5
-echo $ECHO_N "checking for main in -lXext... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xext_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXext" >&5
+$as_echo_n "checking for main in -lXext... " >&6; }
+if ${ac_cv_lib_Xext_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXext  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7878,57 +6453,32 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xext_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xext_main=no
+  ac_cv_lib_Xext_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xext_main" >&6; }
-if test $ac_cv_lib_Xext_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_main" >&5
+$as_echo "$ac_cv_lib_Xext_main" >&6; }
+if test "x$ac_cv_lib_Xext_main" = xyes; then :
 
          ga_xaw_libs="$ga_xaw_libs -lXext"
 
 fi
 
       # we add Xpm if found, and we don't check for neXtaw if no Xpm
-      { echo "$as_me:$LINENO: checking for main in -lXpm" >&5
-echo $ECHO_N "checking for main in -lXpm... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xpm_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXpm" >&5
+$as_echo_n "checking for main in -lXpm... " >&6; }
+if ${ac_cv_lib_Xpm_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXpm  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7940,53 +6490,28 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xpm_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xpm_main=no
+  ac_cv_lib_Xpm_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xpm_main" >&6; }
-if test $ac_cv_lib_Xpm_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xpm_main" >&5
+$as_echo "$ac_cv_lib_Xpm_main" >&6; }
+if test "x$ac_cv_lib_Xpm_main" = xyes; then :
 
         ga_xaw_libs="$ga_xaw_libs -lXpm"
-        { echo "$as_me:$LINENO: checking for main in -lneXtaw" >&5
-echo $ECHO_N "checking for main in -lneXtaw... $ECHO_C" >&6; }
-if test "${ac_cv_lib_neXtaw_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lneXtaw" >&5
+$as_echo_n "checking for main in -lneXtaw... " >&6; }
+if ${ac_cv_lib_neXtaw_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lneXtaw  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -7998,39 +6523,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_neXtaw_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_neXtaw_main=no
+  ac_cv_lib_neXtaw_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_neXtaw_main" >&5
-echo "${ECHO_T}$ac_cv_lib_neXtaw_main" >&6; }
-if test $ac_cv_lib_neXtaw_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_neXtaw_main" >&5
+$as_echo "$ac_cv_lib_neXtaw_main" >&6; }
+if test "x$ac_cv_lib_neXtaw_main" = xyes; then :
    ga_xaw_flag='-lneXtaw'
 fi
 
@@ -8038,18 +6542,14 @@ fi
 fi
 
       if test z"$ga_xaw_flag" = 'z'; then
-        { echo "$as_me:$LINENO: checking for main in -lXaw3d" >&5
-echo $ECHO_N "checking for main in -lXaw3d... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xaw3d_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXaw3d" >&5
+$as_echo_n "checking for main in -lXaw3d... " >&6; }
+if ${ac_cv_lib_Xaw3d_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXaw3d  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -8061,39 +6561,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xaw3d_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xaw3d_main=no
+  ac_cv_lib_Xaw3d_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw3d_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xaw3d_main" >&6; }
-if test $ac_cv_lib_Xaw3d_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw3d_main" >&5
+$as_echo "$ac_cv_lib_Xaw3d_main" >&6; }
+if test "x$ac_cv_lib_Xaw3d_main" = xyes; then :
     ga_xaw_flag='-lXaw3d'
 fi
 
@@ -8106,18 +6585,14 @@ fi
           XAW_CFLAGS=$XAW7_CFLAGS
           XAW_XLIBS=
         else
-          { echo "$as_me:$LINENO: checking for main in -lXaw" >&5
-echo $ECHO_N "checking for main in -lXaw... $ECHO_C" >&6; }
-if test "${ac_cv_lib_Xaw_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lXaw" >&5
+$as_echo_n "checking for main in -lXaw... " >&6; }
+if ${ac_cv_lib_Xaw_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lXaw $ga_xaw_libs $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -8129,39 +6604,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_Xaw_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_Xaw_main=no
+  ac_cv_lib_Xaw_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_Xaw_main" >&5
-echo "${ECHO_T}$ac_cv_lib_Xaw_main" >&6; }
-if test $ac_cv_lib_Xaw_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xaw_main" >&5
+$as_echo "$ac_cv_lib_Xaw_main" >&6; }
+if test "x$ac_cv_lib_Xaw_main" = xyes; then :
     ga_xaw_flag='-lXaw'
 fi
 
@@ -8193,278 +6647,20 @@ fi
 
 
 
-  LDFLAGS="$LDFLAGS -L$ga_supplib_dir/lib $X_LIBS"
-  CFLAGS="$CFLAGS -I$ga_supplib_dir/include/libsx"
-  ga_use_libsx='no'
-  ga_libsx_header='no'
-  ga_libsx_freq_header='no'
-
-  if test "z$ga_xaw_found" = "zyes"; then
-    LIBS="$LIBS $XAW_LIBS $XAW_XLIBS"
-    CFLAGS="$CFLAGS $X_CFLAGS $XAW_CFLAGS"
-
-    if test "${ac_cv_header_libsx_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for libsx.h" >&5
-echo $ECHO_N "checking for libsx.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_libsx_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_libsx_h" >&5
-echo "${ECHO_T}$ac_cv_header_libsx_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking libsx.h usability" >&5
-echo $ECHO_N "checking libsx.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <libsx.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking libsx.h presence" >&5
-echo $ECHO_N "checking libsx.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <libsx.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: libsx.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: libsx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: libsx.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: libsx.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: libsx.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: libsx.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: libsx.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: libsx.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: libsx.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: libsx.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: libsx.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for libsx.h" >&5
-echo $ECHO_N "checking for libsx.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_libsx_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_libsx_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_libsx_h" >&5
-echo "${ECHO_T}$ac_cv_header_libsx_h" >&6; }
-
-fi
-if test $ac_cv_header_libsx_h = yes; then
-   if test "${ac_cv_header_freq_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for freq.h" >&5
-echo $ECHO_N "checking for freq.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_freq_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_freq_h" >&5
-echo "${ECHO_T}$ac_cv_header_freq_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking freq.h usability" >&5
-echo $ECHO_N "checking freq.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <freq.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking freq.h presence" >&5
-echo $ECHO_N "checking freq.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <freq.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: freq.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: freq.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: freq.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: freq.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: freq.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: freq.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: freq.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: freq.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: freq.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: freq.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: freq.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for freq.h" >&5
-echo $ECHO_N "checking for freq.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_freq_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_freq_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_freq_h" >&5
-echo "${ECHO_T}$ac_cv_header_freq_h" >&6; }
+  LDFLAGS="$LDFLAGS -L$ga_supplib_dir/lib $X_LIBS"
+  CFLAGS="$CFLAGS -I$ga_supplib_dir/include/libsx"
+  ga_use_libsx='no'
+  ga_libsx_header='no'
+  ga_libsx_freq_header='no'
 
-fi
-if test $ac_cv_header_freq_h = yes; then
+  if test "z$ga_xaw_found" = "zyes"; then
+    LIBS="$LIBS $XAW_LIBS $XAW_XLIBS"
+    CFLAGS="$CFLAGS $X_CFLAGS $XAW_CFLAGS"
+
+    ac_fn_c_check_header_mongrel "$LINENO" "libsx.h" "ac_cv_header_libsx_h" "$ac_includes_default"
+if test "x$ac_cv_header_libsx_h" = xyes; then :
+   ac_fn_c_check_header_mongrel "$LINENO" "freq.h" "ac_cv_header_freq_h" "$ac_includes_default"
+if test "x$ac_cv_header_freq_h" = xyes; then :
 
          ga_libsx_freq_header='yes'
 
@@ -8479,18 +6675,14 @@ fi
 
     if test "z$ga_libsx_header" = "zyes"; then
       if test "z$ga_libsx_freq_header" = "zyes"; then
-        { echo "$as_me:$LINENO: checking for main in -lfreq" >&5
-echo $ECHO_N "checking for main in -lfreq... $ECHO_C" >&6; }
-if test "${ac_cv_lib_freq_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lfreq" >&5
+$as_echo_n "checking for main in -lfreq... " >&6; }
+if ${ac_cv_lib_freq_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lfreq  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -8502,51 +6694,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_freq_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_freq_main=no
+  ac_cv_lib_freq_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_freq_main" >&5
-echo "${ECHO_T}$ac_cv_lib_freq_main" >&6; }
-if test $ac_cv_lib_freq_main = yes; then
-   { echo "$as_me:$LINENO: checking for GetFile in -lsx" >&5
-echo $ECHO_N "checking for GetFile in -lsx... $ECHO_C" >&6; }
-if test "${ac_cv_lib_sx_GetFile+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_freq_main" >&5
+$as_echo "$ac_cv_lib_freq_main" >&6; }
+if test "x$ac_cv_lib_freq_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GetFile in -lsx" >&5
+$as_echo_n "checking for GetFile in -lsx... " >&6; }
+if ${ac_cv_lib_sx_GetFile+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsx  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -8564,39 +6731,18 @@ return GetFile ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_sx_GetFile=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_sx_GetFile=no
+  ac_cv_lib_sx_GetFile=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_sx_GetFile" >&5
-echo "${ECHO_T}$ac_cv_lib_sx_GetFile" >&6; }
-if test $ac_cv_lib_sx_GetFile = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sx_GetFile" >&5
+$as_echo "$ac_cv_lib_sx_GetFile" >&6; }
+if test "x$ac_cv_lib_sx_GetFile" = xyes; then :
    ga_use_libsx='freq'
             GA_LIBSX_LIBS="-lsx -lfreq $XAW_LIBS"
 
@@ -8607,18 +6753,14 @@ fi
 
       fi
       if test "z$ga_use_libsx" = "zno"; then
-         { echo "$as_me:$LINENO: checking for GetFile in -lsx" >&5
-echo $ECHO_N "checking for GetFile in -lsx... $ECHO_C" >&6; }
-if test "${ac_cv_lib_sx_GetFile+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GetFile in -lsx" >&5
+$as_echo_n "checking for GetFile in -lsx... " >&6; }
+if ${ac_cv_lib_sx_GetFile+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsx  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -8636,39 +6778,18 @@ return GetFile ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_sx_GetFile=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_sx_GetFile=no
+  ac_cv_lib_sx_GetFile=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_sx_GetFile" >&5
-echo "${ECHO_T}$ac_cv_lib_sx_GetFile" >&6; }
-if test $ac_cv_lib_sx_GetFile = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sx_GetFile" >&5
+$as_echo "$ac_cv_lib_sx_GetFile" >&6; }
+if test "x$ac_cv_lib_sx_GetFile" = xyes; then :
     ga_use_libsx='yes'
             GA_LIBSX_LIBS="-lsx $XAW_LIBS"
 
@@ -8676,103 +6797,20 @@ fi
 
       fi
       if test "z$ga_use_libsx" != "zno"; then
-
-for ac_func in SimpleGetFile
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$ac_func || defined __stub___$ac_func
-choke me
-#endif
-
-int
-main ()
-{
-return $ac_func ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  eval "$as_ac_var=yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_var=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_var'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_var'}'` = yes; then
+         for ac_func in SimpleGetFile
+do :
+  ac_fn_c_check_func "$LINENO" "SimpleGetFile" "ac_cv_func_SimpleGetFile"
+if test "x$ac_cv_func_SimpleGetFile" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_SIMPLEGETFILE 1
 _ACEOF
 
 fi
 done
 
          ga_getfile_short_prototype=no
-         { echo "$as_me:$LINENO: checking if GetFile has a short prototype" >&5
-echo $ECHO_N "checking if GetFile has a short prototype... $ECHO_C" >&6; }
+         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GetFile has a short prototype" >&5
+$as_echo_n "checking if GetFile has a short prototype... " >&6; }
          ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -8780,11 +6818,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLA
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
          if test "z$ga_use_libsx" = "zfreq"; then
-            cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <libsx.h>
 #include <freq.h>
@@ -8796,38 +6830,12 @@ GetFile("/path/to/file")
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ga_getfile_short_prototype=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
          else
-            cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <libsx.h>
 int
@@ -8838,44 +6846,20 @@ GetFile("/path/to/file")
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
   ga_getfile_short_prototype=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
          fi
          if test $ga_getfile_short_prototype = 'yes'; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GETFILE_SHORT_PROTOTYPE
-_ACEOF
+$as_echo "#define GETFILE_SHORT_PROTOTYPE /**/" >>confdefs.h
 
-           { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+           { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
          else
-           { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+           { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
          fi
          ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -8914,15 +6898,11 @@ if test $use_gui = "yes" ; then
   fi
   if test $use_freq = 'yes'; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USEFREQ 1
-_ACEOF
+$as_echo "#define USEFREQ 1" >>confdefs.h
 
   else
 
-cat >>confdefs.h <<\_ACEOF
-#define USEFREQ 0
-_ACEOF
+$as_echo "#define USEFREQ 0" >>confdefs.h
 
   fi
 
@@ -8935,16 +6915,12 @@ _ACEOF
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USEGUI 1
-_ACEOF
+$as_echo "#define USEGUI 1" >>confdefs.h
 
   echo "+ GUI enabled"
 else
 
-cat >>confdefs.h <<\_ACEOF
-#define USEGUI 0
-_ACEOF
+$as_echo "#define USEGUI 0" >>confdefs.h
 
   echo  "- GUI disabled"
 fi
@@ -8973,280 +6949,18 @@ if test "$with_readline" != "no" ; then
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-    if test "${ac_cv_header_readline_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for readline.h" >&5
-echo $ECHO_N "checking for readline.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_readline_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
-echo "${ECHO_T}$ac_cv_header_readline_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking readline.h usability" >&5
-echo $ECHO_N "checking readline.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <readline.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking readline.h presence" >&5
-echo $ECHO_N "checking readline.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <readline.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: readline.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: readline.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: readline.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: readline.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: readline.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: readline.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: readline.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: readline.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: readline.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for readline.h" >&5
-echo $ECHO_N "checking for readline.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_readline_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_readline_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_readline_h" >&5
-echo "${ECHO_T}$ac_cv_header_readline_h" >&6; }
-
-fi
-if test $ac_cv_header_readline_h = yes; then
-   if test "${ac_cv_header_history_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for history.h" >&5
-echo $ECHO_N "checking for history.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_history_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_history_h" >&5
-echo "${ECHO_T}$ac_cv_header_history_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking history.h usability" >&5
-echo $ECHO_N "checking history.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <history.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking history.h presence" >&5
-echo $ECHO_N "checking history.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <history.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: history.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: history.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: history.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: history.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: history.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: history.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: history.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: history.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: history.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: history.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for history.h" >&5
-echo $ECHO_N "checking for history.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_history_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_history_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_history_h" >&5
-echo "${ECHO_T}$ac_cv_header_history_h" >&6; }
-
-fi
-if test $ac_cv_header_history_h = yes; then
-   { echo "$as_me:$LINENO: checking for tgetent in -lreadline" >&5
-echo $ECHO_N "checking for tgetent in -lreadline... $ECHO_C" >&6; }
-if test "${ac_cv_lib_readline_tgetent+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    ac_fn_c_check_header_mongrel "$LINENO" "readline.h" "ac_cv_header_readline_h" "$ac_includes_default"
+if test "x$ac_cv_header_readline_h" = xyes; then :
+   ac_fn_c_check_header_mongrel "$LINENO" "history.h" "ac_cv_header_history_h" "$ac_includes_default"
+if test "x$ac_cv_header_history_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lreadline" >&5
+$as_echo_n "checking for tgetent in -lreadline... " >&6; }
+if ${ac_cv_lib_readline_tgetent+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lreadline  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -9264,39 +6978,18 @@ return tgetent ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_readline_tgetent=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_readline_tgetent=no
+  ac_cv_lib_readline_tgetent=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_readline_tgetent" >&5
-echo "${ECHO_T}$ac_cv_lib_readline_tgetent" >&6; }
-if test $ac_cv_lib_readline_tgetent = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_tgetent" >&5
+$as_echo "$ac_cv_lib_readline_tgetent" >&6; }
+if test "x$ac_cv_lib_readline_tgetent" = xyes; then :
    use_readline=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -9306,26 +6999,20 @@ if test $ac_cv_lib_readline_tgetent = ye
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in readline ; do
-      readline_libs="$readline_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      readline_libs="$readline_libs -l${ga_lib_name}"
   done
 
 
 else
-   { echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
-echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6; }
-if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lncurses" >&5
+$as_echo_n "checking for tgetent in -lncurses... " >&6; }
+if ${ac_cv_lib_ncurses_tgetent+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lncurses  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -9343,39 +7030,18 @@ return tgetent ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_ncurses_tgetent=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_ncurses_tgetent=no
+  ac_cv_lib_ncurses_tgetent=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
-echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6; }
-if test $ac_cv_lib_ncurses_tgetent = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetent" >&5
+$as_echo "$ac_cv_lib_ncurses_tgetent" >&6; }
+if test "x$ac_cv_lib_ncurses_tgetent" = xyes; then :
    use_readline=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -9385,26 +7051,20 @@ if test $ac_cv_lib_ncurses_tgetent = yes
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in readline ncurses ; do
-      readline_libs="$readline_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      readline_libs="$readline_libs -l${ga_lib_name}"
   done
 
 
 else
-   { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
-echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
-if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
+$as_echo_n "checking for tgetent in -ltermcap... " >&6; }
+if ${ac_cv_lib_termcap_tgetent+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ltermcap  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -9422,39 +7082,18 @@ return tgetent ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_termcap_tgetent=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_termcap_tgetent=no
+  ac_cv_lib_termcap_tgetent=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
-echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
-if test $ac_cv_lib_termcap_tgetent = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
+$as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
+if test "x$ac_cv_lib_termcap_tgetent" = xyes; then :
    use_readline=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -9464,10 +7103,8 @@ if test $ac_cv_lib_termcap_tgetent = yes
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in readline ; do
-      readline_libs="$readline_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      readline_libs="$readline_libs -l${ga_lib_name}"
   done
 
               readline_libadd=" -ltermcap"
@@ -9502,10 +7139,10 @@ fi
       echo
       echo "Checking in system locations for libraries to support command line editing ..."
 
-  { echo "$as_me:$LINENO: checking for a readline compatible library" >&5
-echo $ECHO_N "checking for a readline compatible library... $ECHO_C" >&6; }
-if test "${vl_cv_lib_readline+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a readline compatible library" >&5
+$as_echo_n "checking for a readline compatible library... " >&6; }
+if ${vl_cv_lib_readline+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
 
     ORIG_LIBS="$LIBS"
@@ -9517,11 +7154,7 @@ else
           TRY_LIB="-l$readline_lib -l$termcap_lib"
         fi
         LIBS="$ORIG_LIBS $TRY_LIB"
-        cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -9539,34 +7172,11 @@ return readline ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   vl_cv_lib_readline="$TRY_LIB"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
         if test -n "$vl_cv_lib_readline"; then
           break
         fi
@@ -9581,173 +7191,34 @@ rm -f core conftest.err conftest.$ac_obj
     fi
 
 fi
-{ echo "$as_me:$LINENO: result: $vl_cv_lib_readline" >&5
-echo "${ECHO_T}$vl_cv_lib_readline" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline" >&5
+$as_echo "$vl_cv_lib_readline" >&6; }
 
   if test "$vl_cv_lib_readline" != "no"; then
 
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_LIBREADLINE 1
-_ACEOF
-
-
-
-for ac_header in readline.h readline/readline.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
+$as_echo "#define HAVE_LIBREADLINE 1" >>confdefs.h
 
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    for ac_header in readline.h readline/readline.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 
 done
 
-    { echo "$as_me:$LINENO: checking whether readline supports history" >&5
-echo $ECHO_N "checking whether readline supports history... $ECHO_C" >&6; }
-if test "${vl_cv_lib_readline_history+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether readline supports history" >&5
+$as_echo_n "checking whether readline supports history... " >&6; }
+if ${vl_cv_lib_readline_history+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
 
       vl_cv_lib_readline_history="no"
-      cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -9765,184 +7236,26 @@ return add_history ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   vl_cv_lib_readline_history="yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 
 fi
-{ echo "$as_me:$LINENO: result: $vl_cv_lib_readline_history" >&5
-echo "${ECHO_T}$vl_cv_lib_readline_history" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $vl_cv_lib_readline_history" >&5
+$as_echo "$vl_cv_lib_readline_history" >&6; }
     if test "$vl_cv_lib_readline_history" = "yes"; then
 
-cat >>confdefs.h <<\_ACEOF
-#define HAVE_READLINE_HISTORY 1
-_ACEOF
-
-
-
-for ac_header in history.h readline/history.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+$as_echo "#define HAVE_READLINE_HISTORY 1" >>confdefs.h
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+      for ac_header in history.h readline/history.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -9962,16 +7275,12 @@ if test $use_readline = "yes" ; then
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define READLINE 1
-_ACEOF
+$as_echo "#define READLINE 1" >>confdefs.h
 
   echo "+ Command line editing enabled"
 else
 
-cat >>confdefs.h <<\_ACEOF
-#define READLINE 0
-_ACEOF
+$as_echo "#define READLINE 0" >>confdefs.h
 
   echo "- Command line editing disabled"
 fi
@@ -9999,159 +7308,22 @@ if test "$with_geotiff" != "no" ; then
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-
-for ac_header in tiff.h tiffio.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    for ac_header in tiff.h tiffio.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for main in -ltiff" >&5
-echo $ECHO_N "checking for main in -ltiff... $ECHO_C" >&6; }
-if test "${ac_cv_lib_tiff_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltiff" >&5
+$as_echo_n "checking for main in -ltiff... " >&6; }
+if ${ac_cv_lib_tiff_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ltiff  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10163,39 +7335,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_tiff_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_tiff_main=no
+  ac_cv_lib_tiff_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_main" >&5
-echo "${ECHO_T}$ac_cv_lib_tiff_main" >&6; }
-if test $ac_cv_lib_tiff_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_main" >&5
+$as_echo "$ac_cv_lib_tiff_main" >&6; }
+if test "x$ac_cv_lib_tiff_main" = xyes; then :
    have_tiff=yes
 
 fi
@@ -10225,153 +7376,20 @@ done
       CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
     done
 
-  CPPFLAGS="$CPPFLAGS "
-  LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-      if test "${ac_cv_header_geotiffio_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for geotiffio.h" >&5
-echo $ECHO_N "checking for geotiffio.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_geotiffio_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_geotiffio_h" >&5
-echo "${ECHO_T}$ac_cv_header_geotiffio_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking geotiffio.h usability" >&5
-echo $ECHO_N "checking geotiffio.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <geotiffio.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking geotiffio.h presence" >&5
-echo $ECHO_N "checking geotiffio.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <geotiffio.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+  CPPFLAGS="$CPPFLAGS "
+  LDFLAGS="-L${ga_supplib_dir}/lib "
+  LIBS="$LIBS "
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: geotiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: geotiffio.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: geotiffio.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: geotiffio.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: geotiffio.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: geotiffio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: geotiffio.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: geotiffio.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: geotiffio.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for geotiffio.h" >&5
-echo $ECHO_N "checking for geotiffio.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_geotiffio_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_geotiffio_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_geotiffio_h" >&5
-echo "${ECHO_T}$ac_cv_header_geotiffio_h" >&6; }
-
-fi
-if test $ac_cv_header_geotiffio_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lgeotiff" >&5
-echo $ECHO_N "checking for main in -lgeotiff... $ECHO_C" >&6; }
-if test "${ac_cv_lib_geotiff_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      ac_fn_c_check_header_mongrel "$LINENO" "geotiffio.h" "ac_cv_header_geotiffio_h" "$ac_includes_default"
+if test "x$ac_cv_header_geotiffio_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgeotiff" >&5
+$as_echo_n "checking for main in -lgeotiff... " >&6; }
+if ${ac_cv_lib_geotiff_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgeotiff  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10383,39 +7401,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_geotiff_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_geotiff_main=no
+  ac_cv_lib_geotiff_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_geotiff_main" >&5
-echo "${ECHO_T}$ac_cv_lib_geotiff_main" >&6; }
-if test $ac_cv_lib_geotiff_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_geotiff_main" >&5
+$as_echo "$ac_cv_lib_geotiff_main" >&6; }
+if test "x$ac_cv_lib_geotiff_main" = xyes; then :
    use_geotiff=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -10425,10 +7422,8 @@ if test $ac_cv_lib_geotiff_main = yes; t
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in tiff geotiff ; do
-      geotiff_libs="$geotiff_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      geotiff_libs="$geotiff_libs -l${ga_lib_name}"
   done
 
 
@@ -10453,7 +7448,7 @@ fi
 
 
 # Check whether --with-geotiff was given.
-if test "${with_geotiff+set}" = set; then
+if test "${with_geotiff+set}" = set; then :
   withval=$with_geotiff; GEOTIFF_PATH=$withval
 else
   GEOTIFF_PATH=""
@@ -10462,7 +7457,7 @@ fi
 
 
 # Check whether --with-geotiff_include was given.
-if test "${with_geotiff_include+set}" = set; then
+if test "${with_geotiff_include+set}" = set; then :
   withval=$with_geotiff_include; GEOTIFF_PATH_INC=$withval
 else
   GEOTIFF_PATH_INC=""
@@ -10471,7 +7466,7 @@ fi
 
 
 # Check whether --with-geotiff_libdir was given.
-if test "${with_geotiff_libdir+set}" = set; then
+if test "${with_geotiff_libdir+set}" = set; then :
   withval=$with_geotiff_libdir; GEOTIFF_PATH_LIBDIR=$withval
 else
   GEOTIFF_PATH_LIBDIR=""
@@ -10479,25 +7474,22 @@ fi
 
 
 
-  if test "z$GEOTIFF_PATH" != "z"; then
+  if test "z$GEOTIFF_PATH" != "z"; then :
 
-    if test "z$GEOTIFF_PATH_LIBDIR" = "z"; then
+    if test "z$GEOTIFF_PATH_LIBDIR" = "z"; then :
   GEOTIFF_PATH_LIBDIR="$GEOTIFF_PATH/lib"
 fi
-
-    if test "z$GEOTIFF_PATH_INC" = "z"; then
+    if test "z$GEOTIFF_PATH_INC" = "z"; then :
   GEOTIFF_PATH_INC="$GEOTIFF_PATH/include"
 fi
 
-
 fi
 
 
-
   ac_geotiff_lib_ok='no'
   ac_geotiff_save_LDFLAGS=$LDFLAGS
   GEOTIFF_LIBS=
-  if test -d "$GEOTIFF_PATH_LIBDIR"; then
+  if test -d "$GEOTIFF_PATH_LIBDIR"; then :
 
       GEOTIFF_LDFLAGS="-L$GEOTIFF_PATH_LIBDIR"
       LDFLAGS="$LDFLAGS $GEOTIFF_LDFLAGS"
@@ -10509,13 +7501,9 @@ fi
   ac_check_lib_nocache_ok_tiff_main='no'
   ac_check_lib_nocache_tiff_main_LIBS=$LIBS
   LIBS="-ltiff  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -ltiff" >&5
-echo $ECHO_N "checking for main in -ltiff... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltiff" >&5
+$as_echo_n "checking for main in -ltiff... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10527,54 +7515,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_tiff_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_tiff_main_LIBS
-  if test $ac_check_lib_nocache_ok_tiff_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_tiff_main = 'yes'; then :
 
   ac_check_lib_nocache_ok_geotiff_main='no'
   ac_check_lib_nocache_geotiff_main_LIBS=$LIBS
   LIBS="-lgeotiff -ltiff $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -lgeotiff" >&5
-echo $ECHO_N "checking for main in -lgeotiff... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgeotiff" >&5
+$as_echo_n "checking for main in -lgeotiff... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10586,43 +7549,22 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_geotiff_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_geotiff_main_LIBS
-  if test $ac_check_lib_nocache_ok_geotiff_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_geotiff_main = 'yes'; then :
    ac_geotiff_lib="yes"
       GEOTIFF_LIBS="-lgeotiff -ltiff $GEOTIFF_LIBS"
 
@@ -10631,22 +7573,19 @@ else
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_geotiff_save_LIBS
 
-  if test "$ac_geotiff_lib" = 'yes'; then
+  if test "$ac_geotiff_lib" = 'yes'; then :
   ac_geotiff_lib_ok='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_geotiff_libdir in "" /usr/geotiff/lib64 /usr/local/lib64/geotiff \
@@ -10659,16 +7598,15 @@ else
        /usr/geotiff/lib /usr/local/lib/geotiff /opt/lib/geotiff \
        /usr/libgeotiff/lib /usr/local/lib/libgeotiff /opt/lib/libgeotiff \
        /usr/lib/geotiff /usr/lib/libgeotiff ; do
-        if test ! -d "$ac_geotiff_libdir"; then
+        if test ! -d "$ac_geotiff_libdir"; then :
   GEOTIFF_LDFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching geotiff libraries in $ac_geotiff_libdir" >&5
-echo "$as_me: searching geotiff libraries in $ac_geotiff_libdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching geotiff libraries in $ac_geotiff_libdir" >&5
+$as_echo "$as_me: searching geotiff libraries in $ac_geotiff_libdir" >&6;}
              GEOTIFF_LDFLAGS="-L$ac_geotiff_libdir"
 
 fi
-
         LDFLAGS="$LDFLAGS $GEOTIFF_LDFLAGS"
 
   GEOTIFF_LIBS=
@@ -10678,13 +7616,9 @@ fi
   ac_check_lib_nocache_ok_tiff_main='no'
   ac_check_lib_nocache_tiff_main_LIBS=$LIBS
   LIBS="-ltiff  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -ltiff" >&5
-echo $ECHO_N "checking for main in -ltiff... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ltiff" >&5
+$as_echo_n "checking for main in -ltiff... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10696,54 +7630,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_tiff_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_tiff_main_LIBS
-  if test $ac_check_lib_nocache_ok_tiff_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_tiff_main = 'yes'; then :
 
   ac_check_lib_nocache_ok_geotiff_main='no'
   ac_check_lib_nocache_geotiff_main_LIBS=$LIBS
   LIBS="-lgeotiff -ltiff $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -lgeotiff" >&5
-echo $ECHO_N "checking for main in -lgeotiff... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgeotiff" >&5
+$as_echo_n "checking for main in -lgeotiff... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -10755,43 +7664,22 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_geotiff_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_geotiff_main_LIBS
-  if test $ac_check_lib_nocache_ok_geotiff_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_geotiff_main = 'yes'; then :
    ac_geotiff_lib="yes"
       GEOTIFF_LIBS="-lgeotiff -ltiff $GEOTIFF_LIBS"
 
@@ -10800,140 +7688,86 @@ else
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_geotiff_save_LIBS
 
-  if test "$ac_geotiff_lib" = 'yes'; then
+  if test "$ac_geotiff_lib" = 'yes'; then :
   ac_geotiff_lib_ok='yes'
 else
   :
 fi
 
-
-        if test $ac_geotiff_lib_ok = 'yes'; then
+        if test $ac_geotiff_lib_ok = 'yes'; then :
   break
 fi
-
         LDFLAGS=$ac_geotiff_save_LDFLAGS
       done
 
 fi
-
   LDFLAGS=$ac_geotiff_save_LDFLAGS
 
   ac_geotiff_h='no'
   GEOTIFF_CFLAGS=
   ac_geotiff_save_CPPFLAGS=$CPPFLAGS
-  if test -d "$GEOTIFF_PATH_INC"; then
+  if test -d "$GEOTIFF_PATH_INC"; then :
 
        GEOTIFF_CFLAGS="-I$GEOTIFF_PATH_INC"
        CPPFLAGS="$CPPFLAGS $GEOTIFF_CFLAGS"
 
   ac_check_header_nocache_compile_geotiffio_h='no'
   ac_check_header_nocache_preproc_geotiffio_h='no'
-  { echo "$as_me:$LINENO: checking for geotiffio.h with compiler" >&5
-echo $ECHO_N "checking for geotiffio.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geotiffio.h with compiler" >&5
+$as_echo_n "checking for geotiffio.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <geotiffio.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_geotiffio_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  { echo "$as_me:$LINENO: checking for geotiffio.h with preprocessor" >&5
-echo $ECHO_N "checking for geotiffio.h with preprocessor... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geotiffio.h with preprocessor" >&5
+$as_echo_n "checking for geotiffio.h with preprocessor... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <geotiffio.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_preproc_geotiffio_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-      if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then
-  { echo "$as_me:$LINENO: WARNING: trusting compiler result, ignoring preprocessor error" >&5
-echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+      if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trusting compiler result, ignoring preprocessor error" >&5
+$as_echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
 fi
 
-
 fi
-
-rm -f conftest.err conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then
+rm -f conftest.err conftest.i conftest.$ac_ext
+  if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then :
   ac_geotiff_h='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_geotiff_incdir in /usr/include \
@@ -10942,129 +7776,77 @@ else
        /opt/include/geotiff /usr/include/geotiff /usr/local/libgeotiff/include \
        /opt/libgeotiff/include /usr/libgeotiff/include /usr/local/include/libgeotiff \
        /opt/include/libgeotiff /usr/include/libgeotiff ; do
-        if test ! -d "$ac_geotiff_incdir"; then
+        if test ! -d "$ac_geotiff_incdir"; then :
   GEOTIFF_CFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching geotiff includes in $ac_geotiff_incdir" >&5
-echo "$as_me: searching geotiff includes in $ac_geotiff_incdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching geotiff includes in $ac_geotiff_incdir" >&5
+$as_echo "$as_me: searching geotiff includes in $ac_geotiff_incdir" >&6;}
              GEOTIFF_CFLAGS="-I$ac_geotiff_incdir"
              CPPFLAGS="$CPPFLAGS $GEOTIFF_CFLAGS"
 
   ac_check_header_nocache_compile_geotiffio_h='no'
   ac_check_header_nocache_preproc_geotiffio_h='no'
-  { echo "$as_me:$LINENO: checking for geotiffio.h with compiler" >&5
-echo $ECHO_N "checking for geotiffio.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geotiffio.h with compiler" >&5
+$as_echo_n "checking for geotiffio.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <geotiffio.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_geotiffio_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  { echo "$as_me:$LINENO: checking for geotiffio.h with preprocessor" >&5
-echo $ECHO_N "checking for geotiffio.h with preprocessor... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for geotiffio.h with preprocessor" >&5
+$as_echo_n "checking for geotiffio.h with preprocessor... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <geotiffio.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_preproc_geotiffio_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-      if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then
-  { echo "$as_me:$LINENO: WARNING: trusting compiler result, ignoring preprocessor error" >&5
-echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+      if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trusting compiler result, ignoring preprocessor error" >&5
+$as_echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
 fi
 
-
 fi
-
-rm -f conftest.err conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then
+rm -f conftest.err conftest.i conftest.$ac_ext
+  if test "$ac_check_header_nocache_compile_geotiffio_h" = 'yes'; then :
   ac_geotiff_h='yes'
 else
   :
 fi
 
-
-             if test $ac_geotiff_h = 'yes'; then
+             if test $ac_geotiff_h = 'yes'; then :
   break
 fi
-
              CPPFLAGS=$ac_geotiff_save_CPPFLAGS
 
 fi
-
       done
 
 fi
-
   CPPFLAGS=$ac_geotiff_save_CPPFLAGS
 
-  if test "$ac_geotiff_h" = 'yes' -a "$ac_geotiff_lib_ok" = 'yes'; then
+  if test "$ac_geotiff_h" = 'yes' -a "$ac_geotiff_lib_ok" = 'yes'; then :
 
       LDFLAGS="$LDFLAGS $GEOTIFF_LDFLAGS"
       geotiff_libs="$GEOTIFF_LIBS"
@@ -11079,23 +7861,18 @@ fi
 
 
 
-
   fi
 fi
 if test "$use_geotiff" != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GEOTIFF 0
-_ACEOF
+$as_echo "#define GEOTIFF 0" >>confdefs.h
 
   echo "- geotiff disabled"
 else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define GEOTIFF 1
-_ACEOF
+$as_echo "#define GEOTIFF 1" >>confdefs.h
 
   echo "+ geotiff enabled"
 fi
@@ -11123,158 +7900,21 @@ if test "$with_shp" != "no" ; then
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-for ac_header in shapefil.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    for ac_header in shapefil.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "shapefil.h" "ac_cv_header_shapefil_h" "$ac_includes_default"
+if test "x$ac_cv_header_shapefil_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_SHAPEFIL_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for main in -lshp" >&5
-echo $ECHO_N "checking for main in -lshp... $ECHO_C" >&6; }
-if test "${ac_cv_lib_shp_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lshp" >&5
+$as_echo_n "checking for main in -lshp... " >&6; }
+if ${ac_cv_lib_shp_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lshp  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -11286,39 +7926,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_shp_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_shp_main=no
+  ac_cv_lib_shp_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_shp_main" >&5
-echo "${ECHO_T}$ac_cv_lib_shp_main" >&6; }
-if test $ac_cv_lib_shp_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shp_main" >&5
+$as_echo "$ac_cv_lib_shp_main" >&6; }
+if test "x$ac_cv_lib_shp_main" = xyes; then :
    use_shp=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -11328,10 +7947,8 @@ if test $ac_cv_lib_shp_main = yes; then
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in shp ; do
-      shp_libs="$shp_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      shp_libs="$shp_libs -l${ga_lib_name}"
   done
 
 
@@ -11353,18 +7970,14 @@ done
 fi
 if test "$use_shp" != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USESHP 0
-_ACEOF
+$as_echo "#define USESHP 0" >>confdefs.h
 
   echo "- shapefile disabled"
 else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USESHP 1
-_ACEOF
+$as_echo "#define USESHP 1" >>confdefs.h
 
   echo "+ shapefile enabled"
 fi
@@ -11391,160 +8004,23 @@ if test "$with_printim" != "no" ; then
 
   CPPFLAGS="$CPPFLAGS "
   LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-
-for ac_header in zlib.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
+  LIBS="$LIBS "
 
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    for ac_header in zlib.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_zlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_ZLIB_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+if ${ac_cv_lib_z_compress+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -11562,39 +8038,18 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_compress=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_compress=no
+  ac_cv_lib_z_compress=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
-echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
-if test $ac_cv_lib_z_compress = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+$as_echo "$ac_cv_lib_z_compress" >&6; }
+if test "x$ac_cv_lib_z_compress" = xyes; then :
    have_zlib=yes
 
 fi
@@ -11627,18 +8082,14 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-    { echo "$as_me:$LINENO: checking for main in -lpng12" >&5
-echo $ECHO_N "checking for main in -lpng12... $ECHO_C" >&6; }
-if test "${ac_cv_lib_png12_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng12" >&5
+$as_echo_n "checking for main in -lpng12... " >&6; }
+if ${ac_cv_lib_png12_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lpng12  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -11650,39 +8101,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_png12_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_png12_main=no
+  ac_cv_lib_png12_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png12_main" >&5
-echo "${ECHO_T}$ac_cv_lib_png12_main" >&6; }
-if test $ac_cv_lib_png12_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png12_main" >&5
+$as_echo "$ac_cv_lib_png12_main" >&6; }
+if test "x$ac_cv_lib_png12_main" = xyes; then :
    have_libpng=yes
 
 fi
@@ -11706,18 +8136,14 @@ fi
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-    { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
-echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
-if test "${ac_cv_lib_jpeg_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
+$as_echo_n "checking for main in -ljpeg... " >&6; }
+if ${ac_cv_lib_jpeg_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ljpeg  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -11729,39 +8155,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_jpeg_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_jpeg_main=no
+  ac_cv_lib_jpeg_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
-echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6; }
-if test $ac_cv_lib_jpeg_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
+$as_echo "$ac_cv_lib_jpeg_main" >&6; }
+if test "x$ac_cv_lib_jpeg_main" = xyes; then :
    have_jpeg=yes
 
 fi
@@ -11790,149 +8195,16 @@ fi
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      if test "${ac_cv_header_gd_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking gd.h usability" >&5
-echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <gd.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking gd.h presence" >&5
-echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <gd.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: gd.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_gd_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-
-fi
-if test $ac_cv_header_gd_h = yes; then
-   { echo "$as_me:$LINENO: checking for gdImageCreate in -lgd" >&5
-echo $ECHO_N "checking for gdImageCreate in -lgd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gd_gdImageCreate+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
+if test "x$ac_cv_header_gd_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreate in -lgd" >&5
+$as_echo_n "checking for gdImageCreate in -lgd... " >&6; }
+if ${ac_cv_lib_gd_gdImageCreate+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgd  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -11950,39 +8222,18 @@ return gdImageCreate ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_gd_gdImageCreate=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_gd_gdImageCreate=no
+  ac_cv_lib_gd_gdImageCreate=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreate" >&5
-echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreate" >&6; }
-if test $ac_cv_lib_gd_gdImageCreate = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreate" >&5
+$as_echo "$ac_cv_lib_gd_gdImageCreate" >&6; }
+if test "x$ac_cv_lib_gd_gdImageCreate" = xyes; then :
    use_printim=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -11993,18 +8244,14 @@ if test $ac_cv_lib_gd_gdImageCreate = ye
 
 	  if test "$have_jpeg" = "yes" ; then
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in gd png12 z jpeg ; do
-      printim_libs="$printim_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      printim_libs="$printim_libs -l${ga_lib_name}"
   done
 
 	  else
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in gd png12 z ; do
-      printim_libs="$printim_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      printim_libs="$printim_libs -l${ga_lib_name}"
   done
 
           fi
@@ -12036,19 +8283,19 @@ fi
   ga_pkgconfig_gd=yes
 
 pkg_failed=no
-{ echo "$as_me:$LINENO: checking for GD" >&5
-echo $ECHO_N "checking for GD... $ECHO_C" >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GD" >&5
+$as_echo_n "checking for GD... " >&6; }
 
 if test -n "$PKG_CONFIG"; then
     if test -n "$GD_CFLAGS"; then
         pkg_cv_GD_CFLAGS="$GD_CFLAGS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdlib\"") >&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdlib\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gdlib") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
   pkg_cv_GD_CFLAGS=`$PKG_CONFIG --cflags "gdlib" 2>/dev/null`
 else
   pkg_failed=yes
@@ -12062,11 +8309,11 @@ if test -n "$PKG_CONFIG"; then
         pkg_cv_GD_LIBS="$GD_LIBS"
     else
         if test -n "$PKG_CONFIG" && \
-    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdlib\"") >&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gdlib\""; } >&5
   ($PKG_CONFIG --exists --print-errors "gdlib") 2>&5
   ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; then
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; then
   pkg_cv_GD_LIBS=`$PKG_CONFIG --libs "gdlib" 2>/dev/null`
 else
   pkg_failed=yes
@@ -12093,16 +8340,16 @@ fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$GD_PKG_ERRORS" >&5
 
-	{ echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
                 ga_pkgconfig_gd=no
 elif test $pkg_failed = untried; then
 	ga_pkgconfig_gd=no
 else
 	GD_CFLAGS=$pkg_cv_GD_CFLAGS
 	GD_LIBS=$pkg_cv_GD_LIBS
-        { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 	:
 fi
   ac_save_LIBS="$LIBS"
@@ -12113,10 +8360,10 @@ fi
   if test $ga_pkgconfig_gd != 'yes'; then
     # Extract the first word of "gdlib-config", so it can be a program name with args.
 set dummy gdlib-config; ac_word=$2
-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
-if test "${ac_cv_path_GD_CONFIG+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_GD_CONFIG+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   case $GD_CONFIG in
   [\\/]* | ?:[\\/]*)
@@ -12128,14 +8375,14 @@ for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  for ac_exec_ext in '' $ac_executable_extensions; do
+    for ac_exec_ext in '' $ac_executable_extensions; do
   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     ac_cv_path_GD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
-    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
   fi
 done
-done
+  done
 IFS=$as_save_IFS
 
   test -z "$ac_cv_path_GD_CONFIG" && ac_cv_path_GD_CONFIG="no"
@@ -12144,11 +8391,11 @@ esac
 fi
 GD_CONFIG=$ac_cv_path_GD_CONFIG
 if test -n "$GD_CONFIG"; then
-  { echo "$as_me:$LINENO: result: $GD_CONFIG" >&5
-echo "${ECHO_T}$GD_CONFIG" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GD_CONFIG" >&5
+$as_echo "$GD_CONFIG" >&6; }
 else
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
 
@@ -12163,149 +8410,16 @@ fi
   if test $ga_pkgconfig_gd = 'yes' -o $ga_config_gd = 'yes'; then
      LDFLAGS="$LDFLAGS $GD_LDFLAGS"
      LIBS="$LIBS $GD_LIBS"
-     if test "${ac_cv_header_gd_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking gd.h usability" >&5
-echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <gd.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking gd.h presence" >&5
-echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <gd.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: gd.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_gd_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-
-fi
-if test $ac_cv_header_gd_h = yes; then
-    { echo "$as_me:$LINENO: checking for gdImageCreate in -lgd" >&5
-echo $ECHO_N "checking for gdImageCreate in -lgd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gd_gdImageCreate+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+     ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
+if test "x$ac_cv_header_gd_h" = xyes; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreate in -lgd" >&5
+$as_echo_n "checking for gdImageCreate in -lgd... " >&6; }
+if ${ac_cv_lib_gd_gdImageCreate+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgd  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -12323,130 +8437,26 @@ return gdImageCreate ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_gd_gdImageCreate=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_gd_gdImageCreate=no
+  ac_cv_lib_gd_gdImageCreate=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreate" >&5
-echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreate" >&6; }
-if test $ac_cv_lib_gd_gdImageCreate = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreate" >&5
+$as_echo "$ac_cv_lib_gd_gdImageCreate" >&6; }
+if test "x$ac_cv_lib_gd_gdImageCreate" = xyes; then :
     ga_check_gd=yes
            GD_LIBS="-lgd $GD_LIBS"
-
-for ac_func in gdCompareInt
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$ac_func || defined __stub___$ac_func
-choke me
-#endif
-
-int
-main ()
-{
-return $ac_func ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  eval "$as_ac_var=yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_var=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_var'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_var'}'` = yes; then
+           for ac_func in gdCompareInt
+do :
+  ac_fn_c_check_func "$LINENO" "gdCompareInt" "ac_cv_func_gdCompareInt"
+if test "x$ac_cv_func_gdCompareInt" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_GDCOMPAREINT 1
 _ACEOF
 
 fi
@@ -12460,162 +8470,29 @@ else
            LIBS="$ac_save_LIBS"
            LDFLAGS="$ac_save_LDFLAGS"
 
-fi
-
-
-else
-
-       GD_CFLAGS=
-       CPPFLAGS="$ac_save_CPPFLAGS"
-
-fi
-
-
-  fi
-  if test $ga_check_gd = 'no'; then
-     if test "${ac_cv_header_gd_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking gd.h usability" >&5
-echo $ECHO_N "checking gd.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <gd.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking gd.h presence" >&5
-echo $ECHO_N "checking gd.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <gd.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
+fi
+
+
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-  ac_header_preproc=no
+       GD_CFLAGS=
+       CPPFLAGS="$ac_save_CPPFLAGS"
+
 fi
 
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: gd.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: gd.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: gd.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: gd.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: gd.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: gd.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gd.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: gd.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for gd.h" >&5
-echo $ECHO_N "checking for gd.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gd_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_gd_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gd_h" >&5
-echo "${ECHO_T}$ac_cv_header_gd_h" >&6; }
-
-fi
-if test $ac_cv_header_gd_h = yes; then
-   { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  fi
+  if test $ga_check_gd = 'no'; then
+     ac_fn_c_check_header_mongrel "$LINENO" "gd.h" "ac_cv_header_gd_h" "$ac_includes_default"
+if test "x$ac_cv_header_gd_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+if ${ac_cv_lib_z_compress+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -12633,51 +8510,26 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_compress=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_compress=no
+  ac_cv_lib_z_compress=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
-echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
-if test $ac_cv_lib_z_compress = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lpng" >&5
-echo $ECHO_N "checking for main in -lpng... $ECHO_C" >&6; }
-if test "${ac_cv_lib_png_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+$as_echo "$ac_cv_lib_z_compress" >&6; }
+if test "x$ac_cv_lib_z_compress" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng" >&5
+$as_echo_n "checking for main in -lpng... " >&6; }
+if ${ac_cv_lib_png_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lpng  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -12689,51 +8541,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_png_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_png_main=no
+  ac_cv_lib_png_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png_main" >&5
-echo "${ECHO_T}$ac_cv_lib_png_main" >&6; }
-if test $ac_cv_lib_png_main = yes; then
-   { echo "$as_me:$LINENO: checking for gdImageCreate in -lgd" >&5
-echo $ECHO_N "checking for gdImageCreate in -lgd... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gd_gdImageCreate+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_main" >&5
+$as_echo "$ac_cv_lib_png_main" >&6; }
+if test "x$ac_cv_lib_png_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdImageCreate in -lgd" >&5
+$as_echo_n "checking for gdImageCreate in -lgd... " >&6; }
+if ${ac_cv_lib_gd_gdImageCreate+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgd  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -12751,129 +8578,25 @@ return gdImageCreate ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_gd_gdImageCreate=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_gd_gdImageCreate=no
+  ac_cv_lib_gd_gdImageCreate=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gd_gdImageCreate" >&5
-echo "${ECHO_T}$ac_cv_lib_gd_gdImageCreate" >&6; }
-if test $ac_cv_lib_gd_gdImageCreate = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gd_gdImageCreate" >&5
+$as_echo "$ac_cv_lib_gd_gdImageCreate" >&6; }
+if test "x$ac_cv_lib_gd_gdImageCreate" = xyes; then :
    ga_check_gd=yes
-
-for ac_func in gdCompareInt
-do
-as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_func" >&5
-echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
-if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
-   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
-#define $ac_func innocuous_$ac_func
-
-/* System header to define __stub macros and hopefully few prototypes,
-    which can conflict with char $ac_func (); below.
-    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
-    <limits.h> exists even on freestanding compilers.  */
-
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
-
-#undef $ac_func
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char $ac_func ();
-/* The GNU C library defines this for functions which it implements
-    to always fail with ENOSYS.  Some functions are actually named
-    something starting with __ and the normal name is an alias.  */
-#if defined __stub_$ac_func || defined __stub___$ac_func
-choke me
-#endif
-
-int
-main ()
-{
-return $ac_func ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  eval "$as_ac_var=yes"
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_var=no"
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-fi
-ac_res=`eval echo '${'$as_ac_var'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_var'}'` = yes; then
+              for ac_func in gdCompareInt
+do :
+  ac_fn_c_check_func "$LINENO" "gdCompareInt" "ac_cv_func_gdCompareInt"
+if test "x$ac_cv_func_gdCompareInt" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_GDCOMPAREINT 1
 _ACEOF
 
 fi
@@ -12916,9 +8639,7 @@ fi
 fi
 if test "$use_printim" != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GXPNG 0
-_ACEOF
+$as_echo "#define GXPNG 0" >>confdefs.h
 
   echo "- printim disabled (Warning: gxtran will not be built)"
 else
@@ -12926,9 +8647,7 @@ else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define GXPNG 1
-_ACEOF
+$as_echo "#define GXPNG 1" >>confdefs.h
 
   echo "+ printim enabled"
 fi
@@ -12957,158 +8676,21 @@ if test "$with_grib2" != "no" ; then
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-for ac_header in zlib.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+      for ac_header in zlib.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_zlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_ZLIB_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+if ${ac_cv_lib_z_compress+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -13126,39 +8708,18 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_compress=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_compress=no
+  ac_cv_lib_z_compress=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
-echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
-if test $ac_cv_lib_z_compress = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+$as_echo "$ac_cv_lib_z_compress" >&6; }
+if test "x$ac_cv_lib_z_compress" = xyes; then :
    have_zlib=yes
 
 fi
@@ -13193,18 +8754,14 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      { echo "$as_me:$LINENO: checking for main in -lpng12" >&5
-echo $ECHO_N "checking for main in -lpng12... $ECHO_C" >&6; }
-if test "${ac_cv_lib_png12_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng12" >&5
+$as_echo_n "checking for main in -lpng12... " >&6; }
+if ${ac_cv_lib_png12_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lpng12  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13216,39 +8773,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_png12_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_png12_main=no
+  ac_cv_lib_png12_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png12_main" >&5
-echo "${ECHO_T}$ac_cv_lib_png12_main" >&6; }
-if test $ac_cv_lib_png12_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png12_main" >&5
+$as_echo "$ac_cv_lib_png12_main" >&6; }
+if test "x$ac_cv_lib_png12_main" = xyes; then :
    have_libpng=yes
 
 fi
@@ -13275,18 +8811,14 @@ fi
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      { echo "$as_me:$LINENO: checking for main in -ljasper" >&5
-echo $ECHO_N "checking for main in -ljasper... $ECHO_C" >&6; }
-if test "${ac_cv_lib_jasper_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljasper" >&5
+$as_echo_n "checking for main in -ljasper... " >&6; }
+if ${ac_cv_lib_jasper_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ljasper  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13298,210 +8830,56 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_jasper_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_jasper_main=no
+  ac_cv_lib_jasper_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jasper_main" >&5
-echo "${ECHO_T}$ac_cv_lib_jasper_main" >&6; }
-if test $ac_cv_lib_jasper_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_main" >&5
+$as_echo "$ac_cv_lib_jasper_main" >&6; }
+if test "x$ac_cv_lib_jasper_main" = xyes; then :
    have_libjasper=yes
 
 fi
 
 
-  # Use to undo temporary changes to -I and -L paths
-  CPPFLAGS=$ga_saved_cppflags
-  LDFLAGS=$ga_saved_ldflags
-  LIBS=$ga_saved_libs
-
-      if test "$have_libjasper" = "yes" ; then
-
-  # Use to make temporary changes to -I and -L paths
-  # Just for use during tests, because configure and make may run
-  # from different directories.
-  ga_saved_cppflags=$CPPFLAGS
-  ga_saved_ldflags=$LDFLAGS
-  ga_saved_libs=$LIBS
-  CPPFLAGS=""
-
-    for ga_inc_name in grib2c ; do
-      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
-    done
-
-  CPPFLAGS="$CPPFLAGS "
-  LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-        if test "${ac_cv_header_grib2_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for grib2.h" >&5
-echo $ECHO_N "checking for grib2.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_grib2_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_grib2_h" >&5
-echo "${ECHO_T}$ac_cv_header_grib2_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking grib2.h usability" >&5
-echo $ECHO_N "checking grib2.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <grib2.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking grib2.h presence" >&5
-echo $ECHO_N "checking grib2.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <grib2.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: grib2.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: grib2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: grib2.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: grib2.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: grib2.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: grib2.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: grib2.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: grib2.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: grib2.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: grib2.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for grib2.h" >&5
-echo $ECHO_N "checking for grib2.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_grib2_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_grib2_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_grib2_h" >&5
-echo "${ECHO_T}$ac_cv_header_grib2_h" >&6; }
-
-fi
-if test $ac_cv_header_grib2_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lgrib2c" >&5
-echo $ECHO_N "checking for main in -lgrib2c... $ECHO_C" >&6; }
-if test "${ac_cv_lib_grib2c_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  # Use to undo temporary changes to -I and -L paths
+  CPPFLAGS=$ga_saved_cppflags
+  LDFLAGS=$ga_saved_ldflags
+  LIBS=$ga_saved_libs
+
+      if test "$have_libjasper" = "yes" ; then
+
+  # Use to make temporary changes to -I and -L paths
+  # Just for use during tests, because configure and make may run
+  # from different directories.
+  ga_saved_cppflags=$CPPFLAGS
+  ga_saved_ldflags=$LDFLAGS
+  ga_saved_libs=$LIBS
+  CPPFLAGS=""
+
+    for ga_inc_name in grib2c ; do
+      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
+    done
+
+  CPPFLAGS="$CPPFLAGS "
+  LDFLAGS="-L${ga_supplib_dir}/lib "
+  LIBS="$LIBS "
+
+        ac_fn_c_check_header_mongrel "$LINENO" "grib2.h" "ac_cv_header_grib2_h" "$ac_includes_default"
+if test "x$ac_cv_header_grib2_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgrib2c" >&5
+$as_echo_n "checking for main in -lgrib2c... " >&6; }
+if ${ac_cv_lib_grib2c_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgrib2c  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13513,39 +8891,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_grib2c_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_grib2c_main=no
+  ac_cv_lib_grib2c_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_grib2c_main" >&5
-echo "${ECHO_T}$ac_cv_lib_grib2c_main" >&6; }
-if test $ac_cv_lib_grib2c_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_grib2c_main" >&5
+$as_echo "$ac_cv_lib_grib2c_main" >&6; }
+if test "x$ac_cv_lib_grib2c_main" = xyes; then :
    use_grib2=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -13555,10 +8912,8 @@ if test $ac_cv_lib_grib2c_main = yes; th
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in grib2c jasper png12 z ; do
-      grib2_libs="$grib2_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      grib2_libs="$grib2_libs -l${ga_lib_name}"
   done
 
 
@@ -13583,149 +8938,16 @@ fi
     echo "Checking in system locations for grib2 libraries ..."
 
   ga_check_grib2="no"
-  if test "${ac_cv_header_grib2_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for grib2.h" >&5
-echo $ECHO_N "checking for grib2.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_grib2_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_grib2_h" >&5
-echo "${ECHO_T}$ac_cv_header_grib2_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking grib2.h usability" >&5
-echo $ECHO_N "checking grib2.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <grib2.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking grib2.h presence" >&5
-echo $ECHO_N "checking grib2.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <grib2.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: grib2.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: grib2.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: grib2.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: grib2.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: grib2.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: grib2.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: grib2.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: grib2.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: grib2.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: grib2.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: grib2.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for grib2.h" >&5
-echo $ECHO_N "checking for grib2.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_grib2_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_grib2_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_grib2_h" >&5
-echo "${ECHO_T}$ac_cv_header_grib2_h" >&6; }
-
-fi
-if test $ac_cv_header_grib2_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lgrib2c" >&5
-echo $ECHO_N "checking for main in -lgrib2c... $ECHO_C" >&6; }
-if test "${ac_cv_lib_grib2c_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  ac_fn_c_check_header_mongrel "$LINENO" "grib2.h" "ac_cv_header_grib2_h" "$ac_includes_default"
+if test "x$ac_cv_header_grib2_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgrib2c" >&5
+$as_echo_n "checking for main in -lgrib2c... " >&6; }
+if ${ac_cv_lib_grib2c_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgrib2c  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13737,51 +8959,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_grib2c_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_grib2c_main=no
+  ac_cv_lib_grib2c_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_grib2c_main" >&5
-echo "${ECHO_T}$ac_cv_lib_grib2c_main" >&6; }
-if test $ac_cv_lib_grib2c_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lpng12" >&5
-echo $ECHO_N "checking for main in -lpng12... $ECHO_C" >&6; }
-if test "${ac_cv_lib_png12_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_grib2c_main" >&5
+$as_echo "$ac_cv_lib_grib2c_main" >&6; }
+if test "x$ac_cv_lib_grib2c_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpng12" >&5
+$as_echo_n "checking for main in -lpng12... " >&6; }
+if ${ac_cv_lib_png12_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lpng12  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13793,51 +8990,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_png12_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_png12_main=no
+  ac_cv_lib_png12_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_png12_main" >&5
-echo "${ECHO_T}$ac_cv_lib_png12_main" >&6; }
-if test $ac_cv_lib_png12_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lz" >&5
-echo $ECHO_N "checking for main in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png12_main" >&5
+$as_echo "$ac_cv_lib_png12_main" >&6; }
+if test "x$ac_cv_lib_png12_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
+$as_echo_n "checking for main in -lz... " >&6; }
+if ${ac_cv_lib_z_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13849,51 +9021,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_main=no
+  ac_cv_lib_z_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_main" >&5
-echo "${ECHO_T}$ac_cv_lib_z_main" >&6; }
-if test $ac_cv_lib_z_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -ljasper" >&5
-echo $ECHO_N "checking for main in -ljasper... $ECHO_C" >&6; }
-if test "${ac_cv_lib_jasper_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
+$as_echo "$ac_cv_lib_z_main" >&6; }
+if test "x$ac_cv_lib_z_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljasper" >&5
+$as_echo_n "checking for main in -ljasper... " >&6; }
+if ${ac_cv_lib_jasper_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ljasper  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -13905,39 +9052,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_jasper_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_jasper_main=no
+  ac_cv_lib_jasper_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jasper_main" >&5
-echo "${ECHO_T}$ac_cv_lib_jasper_main" >&6; }
-if test $ac_cv_lib_jasper_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_main" >&5
+$as_echo "$ac_cv_lib_jasper_main" >&6; }
+if test "x$ac_cv_lib_jasper_main" = xyes; then :
    ga_check_grib2="yes"
             G2_LIBS='-lgrib2c -ljasper -lpng -lz'
 
@@ -13971,9 +9097,7 @@ fi
 fi
 if test "$use_grib2" != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define GRIB2 0
-_ACEOF
+$as_echo "#define GRIB2 0" >>confdefs.h
 
   echo "- grib2 disabled "
 else
@@ -13981,9 +9105,7 @@ else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define GRIB2 1
-_ACEOF
+$as_echo "#define GRIB2 1" >>confdefs.h
 
   echo "+ grib2 enabled"
 fi
@@ -13992,14 +9114,10 @@ fi
 echo
 if test "$with_sdf" = "no" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USENETCDF 0
-_ACEOF
+$as_echo "#define USENETCDF 0" >>confdefs.h
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USEHDF 0
-_ACEOF
+$as_echo "#define USEHDF 0" >>confdefs.h
 
   echo No support for self-describing files:
   echo "- hdf4 disabled"
@@ -14030,158 +9148,21 @@ else
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-for ac_header in zlib.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+      for ac_header in zlib.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_zlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_ZLIB_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+if ${ac_cv_lib_z_compress+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -14199,225 +9180,67 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_compress=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_compress=no
+  ac_cv_lib_z_compress=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
-echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
-if test $ac_cv_lib_z_compress = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+$as_echo "$ac_cv_lib_z_compress" >&6; }
+if test "x$ac_cv_lib_z_compress" = xyes; then :
    have_zlib=yes
 
 fi
 
-
-fi
-
-done
-
-
-  # Use to undo temporary changes to -I and -L paths
-  CPPFLAGS=$ga_saved_cppflags
-  LDFLAGS=$ga_saved_ldflags
-  LIBS=$ga_saved_libs
-
-    fi
-    # look for udunits
-
-  # Use to make temporary changes to -I and -L paths
-  # Just for use during tests, because configure and make may run
-  # from different directories.
-  ga_saved_cppflags=$CPPFLAGS
-  ga_saved_ldflags=$LDFLAGS
-  ga_saved_libs=$LIBS
-  CPPFLAGS=""
-
-    for ga_inc_name in udunits ; do
-      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
-    done
-
-  CPPFLAGS="$CPPFLAGS "
-  LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-
-for ac_header in udunits.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
+
 fi
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
+done
 
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-  ac_header_preproc=no
-fi
+  # Use to undo temporary changes to -I and -L paths
+  CPPFLAGS=$ga_saved_cppflags
+  LDFLAGS=$ga_saved_ldflags
+  LIBS=$ga_saved_libs
 
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+    fi
+    # look for udunits
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
+  # Use to make temporary changes to -I and -L paths
+  # Just for use during tests, because configure and make may run
+  # from different directories.
+  ga_saved_cppflags=$CPPFLAGS
+  ga_saved_ldflags=$LDFLAGS
+  ga_saved_libs=$LIBS
+  CPPFLAGS=""
 
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    for ga_inc_name in udunits ; do
+      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
+    done
+
+  CPPFLAGS="$CPPFLAGS "
+  LDFLAGS="-L${ga_supplib_dir}/lib "
+  LIBS="$LIBS "
+
+    for ac_header in udunits.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_UDUNITS_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -14435,39 +9258,18 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
    have_udunits=yes
 
 fi
@@ -14498,18 +9300,14 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
-echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
-if test "${ac_cv_lib_jpeg_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
+$as_echo_n "checking for main in -ljpeg... " >&6; }
+if ${ac_cv_lib_jpeg_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ljpeg  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -14521,39 +9319,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_jpeg_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_jpeg_main=no
+  ac_cv_lib_jpeg_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
-echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6; }
-if test $ac_cv_lib_jpeg_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
+$as_echo "$ac_cv_lib_jpeg_main" >&6; }
+if test "x$ac_cv_lib_jpeg_main" = xyes; then :
    have_jpeg=yes
 
 fi
@@ -14583,205 +9360,16 @@ fi
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      { echo "$as_me:$LINENO: checking for main in -lsz" >&5
-echo $ECHO_N "checking for main in -lsz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_sz_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-
-int
-main ()
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_sz_main=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_sz_main=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_sz_main" >&5
-echo "${ECHO_T}$ac_cv_lib_sz_main" >&6; }
-if test $ac_cv_lib_sz_main = yes; then
-   if test "${ac_cv_header_mfhdf_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for mfhdf.h" >&5
-echo $ECHO_N "checking for mfhdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_mfhdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_mfhdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_mfhdf_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking mfhdf.h usability" >&5
-echo $ECHO_N "checking mfhdf.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <mfhdf.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking mfhdf.h presence" >&5
-echo $ECHO_N "checking mfhdf.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <mfhdf.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: mfhdf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: mfhdf.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: mfhdf.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: mfhdf.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: mfhdf.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: mfhdf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: mfhdf.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: mfhdf.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: mfhdf.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for mfhdf.h" >&5
-echo $ECHO_N "checking for mfhdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_mfhdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_mfhdf_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_mfhdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_mfhdf_h" >&6; }
-
-fi
-if test $ac_cv_header_mfhdf_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -ldf" >&5
-echo $ECHO_N "checking for main in -ldf... $ECHO_C" >&6; }
-if test "${ac_cv_lib_df_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      ac_fn_c_check_header_mongrel "$LINENO" "mfhdf.h" "ac_cv_header_mfhdf_h" "$ac_includes_default"
+if test "x$ac_cv_header_mfhdf_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldf" >&5
+$as_echo_n "checking for main in -ldf... " >&6; }
+if ${ac_cv_lib_df_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -14793,51 +9381,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_df_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_df_main=no
+  ac_cv_lib_df_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_df_main" >&5
-echo "${ECHO_T}$ac_cv_lib_df_main" >&6; }
-if test $ac_cv_lib_df_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lmfhdf" >&5
-echo $ECHO_N "checking for main in -lmfhdf... $ECHO_C" >&6; }
-if test "${ac_cv_lib_mfhdf_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_df_main" >&5
+$as_echo "$ac_cv_lib_df_main" >&6; }
+if test "x$ac_cv_lib_df_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmfhdf" >&5
+$as_echo_n "checking for main in -lmfhdf... " >&6; }
+if ${ac_cv_lib_mfhdf_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lmfhdf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -14849,52 +9412,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_mfhdf_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_mfhdf_main=no
+  ac_cv_lib_mfhdf_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_mfhdf_main" >&5
-echo "${ECHO_T}$ac_cv_lib_mfhdf_main" >&6; }
-if test $ac_cv_lib_mfhdf_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mfhdf_main" >&5
+$as_echo "$ac_cv_lib_mfhdf_main" >&6; }
+if test "x$ac_cv_lib_mfhdf_main" = xyes; then :
    use_hdf=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
 
-  for ga_include_name in hdf udunits ; do
+  for ga_include_name in hdf udunits2 ; do
       hdf_inc="$hdf_inc ${ga_include_prefix}/${ga_include_name}"
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
-  for ga_lib_name in mfhdf df udunits sz jpeg z ; do
-      hdf_libs="$hdf_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+  for ga_lib_name in mfhdf df udunits2 jpeg z ; do
+      hdf_libs="$hdf_libs -l${ga_lib_name}"
   done
 
 
@@ -14908,9 +9448,6 @@ fi
 
 
 
-fi
-
-
   # Use to undo temporary changes to -I and -L paths
   CPPFLAGS=$ga_saved_cppflags
   LDFLAGS=$ga_saved_ldflags
@@ -14924,149 +9461,16 @@ fi
     echo "Checking in system locations for libraries to support hdf4 ..."
 
   ga_use_udunits='no'
-  if test "${ac_cv_header_udunits_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking udunits.h usability" >&5
-echo $ECHO_N "checking udunits.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <udunits.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking udunits.h presence" >&5
-echo $ECHO_N "checking udunits.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <udunits.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: udunits.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: udunits.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: udunits.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: udunits.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_udunits_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-
-fi
-if test $ac_cv_header_udunits_h = yes; then
-    { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15084,41 +9488,20 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
     ga_use_udunits='yes'
-        UDUNITS_LIBS='-ludunits'
+        UDUNITS_LIBS='-ludunits2'
 
 fi
 
@@ -15135,7 +9518,7 @@ fi
 
 
 # Check whether --with-hdf4 was given.
-if test "${with_hdf4+set}" = set; then
+if test "${with_hdf4+set}" = set; then :
   withval=$with_hdf4; HDF4_PATH=$withval
 else
   HDF4_PATH=""
@@ -15144,7 +9527,7 @@ fi
 
 
 # Check whether --with-hdf4_include was given.
-if test "${with_hdf4_include+set}" = set; then
+if test "${with_hdf4_include+set}" = set; then :
   withval=$with_hdf4_include; HDF4_PATH_INC=$withval
 else
   HDF4_PATH_INC=""
@@ -15153,7 +9536,7 @@ fi
 
 
 # Check whether --with-hdf4_libdir was given.
-if test "${with_hdf4_libdir+set}" = set; then
+if test "${with_hdf4_libdir+set}" = set; then :
   withval=$with_hdf4_libdir; HDF4_PATH_LIBDIR=$withval
 else
   HDF4_PATH_LIBDIR=""
@@ -15161,25 +9544,22 @@ fi
 
 
 
-  if test "z$HDF4_PATH" != "z"; then
+  if test "z$HDF4_PATH" != "z"; then :
 
-    if test "z$HDF4_PATH_LIBDIR" = "z"; then
+    if test "z$HDF4_PATH_LIBDIR" = "z"; then :
   HDF4_PATH_LIBDIR="$HDF4_PATH/lib"
 fi
-
-    if test "z$HDF4_PATH_INC" = "z"; then
+    if test "z$HDF4_PATH_INC" = "z"; then :
   HDF4_PATH_INC="$HDF4_PATH/include"
 fi
 
-
 fi
 
 
-
   ac_hdf4_lib_ok='no'
   ac_hdf4_save_LDFLAGS=$LDFLAGS
   HDF4_LIBS=
-  if test "z$HDF4_PATH_LIBDIR" != "z"; then
+  if test "z$HDF4_PATH_LIBDIR" != "z"; then :
 
       HDF4_LDFLAGS="-L$HDF4_PATH_LIBDIR"
       LDFLAGS="$LDFLAGS $HDF4_LDFLAGS"
@@ -15190,13 +9570,9 @@ fi
   ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress='no'
   ac_check_lib_nocache_sz_SZ_BufftoBuffCompress_LIBS=$LIBS
   LIBS="-lsz  $LIBS"
-  { echo "$as_me:$LINENO: checking for SZ_BufftoBuffCompress in -lsz" >&5
-echo $ECHO_N "checking for SZ_BufftoBuffCompress in -lsz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SZ_BufftoBuffCompress in -lsz" >&5
+$as_echo_n "checking for SZ_BufftoBuffCompress in -lsz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15209,48 +9585,27 @@ char SZ_BufftoBuffCompress ();
 int
 main ()
 {
-return SZ_BufftoBuffCompress ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+return SZ_BufftoBuffCompress ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_sz_SZ_BufftoBuffCompress_LIBS
-  if test $ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress = 'yes'; then :
 
       LIBS="$LIBS -lsz"
       HDF4_LIBS='-lsz'
@@ -15260,19 +9615,14 @@ else
 fi
 
 
-
   ac_hdf4_lib='no'
 
   ac_check_lib_nocache_ok_z_deflate='no'
   ac_check_lib_nocache_z_deflate_LIBS=$LIBS
   LIBS="-lz  $LIBS"
-  { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
-echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
+$as_echo_n "checking for deflate in -lz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15290,54 +9640,29 @@ return deflate ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_z_deflate='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_z_deflate_LIBS
-  if test $ac_check_lib_nocache_ok_z_deflate = 'yes'; then
+  if test $ac_check_lib_nocache_ok_z_deflate = 'yes'; then :
 
   ac_check_lib_nocache_ok_jpeg_jpeg_start_compress='no'
   ac_check_lib_nocache_jpeg_jpeg_start_compress_LIBS=$LIBS
   LIBS="-ljpeg  $LIBS"
-  { echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
-echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_compress in -ljpeg" >&5
+$as_echo_n "checking for jpeg_start_compress in -ljpeg... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15355,54 +9680,29 @@ return jpeg_start_compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_jpeg_jpeg_start_compress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_jpeg_jpeg_start_compress_LIBS
-  if test $ac_check_lib_nocache_ok_jpeg_jpeg_start_compress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_jpeg_jpeg_start_compress = 'yes'; then :
 
   ac_check_lib_nocache_ok_df_Hopen='no'
   ac_check_lib_nocache_df_Hopen_LIBS=$LIBS
   LIBS="-ldf -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for Hopen in -ldf" >&5
-echo $ECHO_N "checking for Hopen in -ldf... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -ldf" >&5
+$as_echo_n "checking for Hopen in -ldf... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15420,54 +9720,29 @@ return Hopen ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_df_Hopen='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_df_Hopen_LIBS
-  if test $ac_check_lib_nocache_ok_df_Hopen = 'yes'; then
+  if test $ac_check_lib_nocache_ok_df_Hopen = 'yes'; then :
 
   ac_check_lib_nocache_ok_mfhdf_SDstart='no'
   ac_check_lib_nocache_mfhdf_SDstart_LIBS=$LIBS
   LIBS="-lmfhdf -ldf -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for SDstart in -lmfhdf" >&5
-echo $ECHO_N "checking for SDstart in -lmfhdf... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDstart in -lmfhdf" >&5
+$as_echo_n "checking for SDstart in -lmfhdf... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15485,43 +9760,22 @@ return SDstart ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_mfhdf_SDstart='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_mfhdf_SDstart_LIBS
-  if test $ac_check_lib_nocache_ok_mfhdf_SDstart = 'yes'; then
+  if test $ac_check_lib_nocache_ok_mfhdf_SDstart = 'yes'; then :
    ac_hdf4_lib="yes"
           HDF4_LIBS="-lmfhdf -ldf -ljpeg -lz $HDF4_LIBS"
 
@@ -15530,34 +9784,29 @@ else
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_hdf4_save_LIBS
 
-  if test "$ac_hdf4_lib" = 'yes'; then
+  if test "$ac_hdf4_lib" = 'yes'; then :
   ac_hdf4_lib_ok='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_hdf4_libdir in "" /usr/local/hdf4.2r1/lib64 /opt/hdf4.2r1/lib64 \
@@ -15568,16 +9817,15 @@ else
        /usr/hdf4.2r1/lib /usr/local/lib/hdf4.2r1 /opt/lib/hdf4.2r1 \
        /usr/lib/hdf4.2r1 /usr/local/hdf/lib/ /opt/hdf/lib /usr/hdf/lib \
        /usr/local/lib/hdf /opt/lib/hdf /usr/lib/hdf ; do
-        if test "z$ac_hdf4_libdir" = 'z'; then
+        if test "z$ac_hdf4_libdir" = 'z'; then :
   HDF4_LDFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching hdf libraries in $ac_hdf4_libdir" >&5
-echo "$as_me: searching hdf libraries in $ac_hdf4_libdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching hdf libraries in $ac_hdf4_libdir" >&5
+$as_echo "$as_me: searching hdf libraries in $ac_hdf4_libdir" >&6;}
              HDF4_LDFLAGS="-L$ac_hdf4_libdir"
 
 fi
-
         LDFLAGS="$LDFLAGS $HDF4_LDFLAGS"
 
   HDF4_LIBS=
@@ -15586,13 +9834,9 @@ fi
   ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress='no'
   ac_check_lib_nocache_sz_SZ_BufftoBuffCompress_LIBS=$LIBS
   LIBS="-lsz  $LIBS"
-  { echo "$as_me:$LINENO: checking for SZ_BufftoBuffCompress in -lsz" >&5
-echo $ECHO_N "checking for SZ_BufftoBuffCompress in -lsz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SZ_BufftoBuffCompress in -lsz" >&5
+$as_echo_n "checking for SZ_BufftoBuffCompress in -lsz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15610,43 +9854,22 @@ return SZ_BufftoBuffCompress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_sz_SZ_BufftoBuffCompress_LIBS
-  if test $ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_sz_SZ_BufftoBuffCompress = 'yes'; then :
 
       LIBS="$LIBS -lsz"
       HDF4_LIBS='-lsz'
@@ -15656,19 +9879,14 @@ else
 fi
 
 
-
   ac_hdf4_lib='no'
 
   ac_check_lib_nocache_ok_z_deflate='no'
   ac_check_lib_nocache_z_deflate_LIBS=$LIBS
   LIBS="-lz  $LIBS"
-  { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
-echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
+$as_echo_n "checking for deflate in -lz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15686,54 +9904,29 @@ return deflate ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_z_deflate='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_z_deflate_LIBS
-  if test $ac_check_lib_nocache_ok_z_deflate = 'yes'; then
+  if test $ac_check_lib_nocache_ok_z_deflate = 'yes'; then :
 
   ac_check_lib_nocache_ok_jpeg_jpeg_start_compress='no'
   ac_check_lib_nocache_jpeg_jpeg_start_compress_LIBS=$LIBS
   LIBS="-ljpeg  $LIBS"
-  { echo "$as_me:$LINENO: checking for jpeg_start_compress in -ljpeg" >&5
-echo $ECHO_N "checking for jpeg_start_compress in -ljpeg... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_compress in -ljpeg" >&5
+$as_echo_n "checking for jpeg_start_compress in -ljpeg... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15751,54 +9944,29 @@ return jpeg_start_compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_jpeg_jpeg_start_compress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_jpeg_jpeg_start_compress_LIBS
-  if test $ac_check_lib_nocache_ok_jpeg_jpeg_start_compress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_jpeg_jpeg_start_compress = 'yes'; then :
 
   ac_check_lib_nocache_ok_df_Hopen='no'
   ac_check_lib_nocache_df_Hopen_LIBS=$LIBS
   LIBS="-ldf -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for Hopen in -ldf" >&5
-echo $ECHO_N "checking for Hopen in -ldf... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Hopen in -ldf" >&5
+$as_echo_n "checking for Hopen in -ldf... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15816,54 +9984,29 @@ return Hopen ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_df_Hopen='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_df_Hopen_LIBS
-  if test $ac_check_lib_nocache_ok_df_Hopen = 'yes'; then
+  if test $ac_check_lib_nocache_ok_df_Hopen = 'yes'; then :
 
   ac_check_lib_nocache_ok_mfhdf_SDstart='no'
   ac_check_lib_nocache_mfhdf_SDstart_LIBS=$LIBS
   LIBS="-lmfhdf -ldf -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for SDstart in -lmfhdf" >&5
-echo $ECHO_N "checking for SDstart in -lmfhdf... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDstart in -lmfhdf" >&5
+$as_echo_n "checking for SDstart in -lmfhdf... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -15881,43 +10024,22 @@ return SDstart ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_mfhdf_SDstart='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_mfhdf_SDstart_LIBS
-  if test $ac_check_lib_nocache_ok_mfhdf_SDstart = 'yes'; then
+  if test $ac_check_lib_nocache_ok_mfhdf_SDstart = 'yes'; then :
    ac_hdf4_lib="yes"
           HDF4_LIBS="-lmfhdf -ldf -ljpeg -lz $HDF4_LIBS"
 
@@ -15926,152 +10048,96 @@ else
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_hdf4_save_LIBS
 
-  if test "$ac_hdf4_lib" = 'yes'; then
+  if test "$ac_hdf4_lib" = 'yes'; then :
   ac_hdf4_lib_ok='yes'
 else
   :
 fi
 
-
-        if test $ac_hdf4_lib_ok = 'yes'; then
+        if test $ac_hdf4_lib_ok = 'yes'; then :
   break
 fi
-
         LDFLAGS=$ac_hdf4_save_LDFLAGS
       done
 
 fi
-
   LDFLAGS=$ac_hdf4_save_LDFLAGS
 
   ac_hdf4_h='no'
   HDF4_CFLAGS=
   ac_hdf4_save_CPPFLAGS=$CPPFLAGS
-  if test "z$HDF4_PATH_INC" != "z"; then
+  if test "z$HDF4_PATH_INC" != "z"; then :
 
        HDF4_CFLAGS="-I$HDF4_PATH_INC"
        CPPFLAGS="$CPPFLAGS $HDF4_CFLAGS"
 
   ac_check_header_nocache_compile_mfhdf_h='no'
   ac_check_header_nocache_preproc_mfhdf_h='no'
-  { echo "$as_me:$LINENO: checking for mfhdf.h with compiler" >&5
-echo $ECHO_N "checking for mfhdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfhdf.h with compiler" >&5
+$as_echo_n "checking for mfhdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <mfhdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_mfhdf_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  { echo "$as_me:$LINENO: checking for mfhdf.h with preprocessor" >&5
-echo $ECHO_N "checking for mfhdf.h with preprocessor... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfhdf.h with preprocessor" >&5
+$as_echo_n "checking for mfhdf.h with preprocessor... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <mfhdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_preproc_mfhdf_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-      if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then
-  { echo "$as_me:$LINENO: WARNING: trusting compiler result, ignoring preprocessor error" >&5
-echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+      if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trusting compiler result, ignoring preprocessor error" >&5
+$as_echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
 fi
 
-
 fi
-
-rm -f conftest.err conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then
+rm -f conftest.err conftest.i conftest.$ac_ext
+  if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then :
   ac_hdf4_h='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_hdf4_incdir in "" /usr/local/hdf4.2r1/include /opt/hdf4.2r1/include \
@@ -16079,141 +10145,85 @@ else
        /opt/include/hdf4.2r1 /usr/include/hdf4.2r1 /usr/local/hdf/include \
        /opt/hdf/include /usr/hdf/include /usr/local/include/hdf \
        /opt/include/hdf /usr/include/hdf ; do
-        if test "z$ac_hdf4_incdir" = 'z'; then
+        if test "z$ac_hdf4_incdir" = 'z'; then :
   HDF4_CFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching hdf includes in $ac_hdf4_incdir" >&5
-echo "$as_me: searching hdf includes in $ac_hdf4_incdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching hdf includes in $ac_hdf4_incdir" >&5
+$as_echo "$as_me: searching hdf includes in $ac_hdf4_incdir" >&6;}
              HDF4_CFLAGS="-I$ac_hdf4_incdir"
 
 fi
-
         CPPFLAGS="$CPPFLAGS $HDF4_CFLAGS"
 
   ac_check_header_nocache_compile_mfhdf_h='no'
   ac_check_header_nocache_preproc_mfhdf_h='no'
-  { echo "$as_me:$LINENO: checking for mfhdf.h with compiler" >&5
-echo $ECHO_N "checking for mfhdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfhdf.h with compiler" >&5
+$as_echo_n "checking for mfhdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <mfhdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_mfhdf_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  { echo "$as_me:$LINENO: checking for mfhdf.h with preprocessor" >&5
-echo $ECHO_N "checking for mfhdf.h with preprocessor... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mfhdf.h with preprocessor" >&5
+$as_echo_n "checking for mfhdf.h with preprocessor... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <mfhdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_preproc_mfhdf_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-      if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then
-  { echo "$as_me:$LINENO: WARNING: trusting compiler result, ignoring preprocessor error" >&5
-echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+      if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trusting compiler result, ignoring preprocessor error" >&5
+$as_echo "$as_me: WARNING: trusting compiler result, ignoring preprocessor error" >&2;}
 fi
 
-
 fi
-
-rm -f conftest.err conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then
+rm -f conftest.err conftest.i conftest.$ac_ext
+  if test "$ac_check_header_nocache_compile_mfhdf_h" = 'yes'; then :
   ac_hdf4_h='yes'
 else
   :
 fi
 
-
-        if test $ac_hdf4_h = 'yes'; then
+        if test $ac_hdf4_h = 'yes'; then :
   break
 fi
-
         CPPFLAGS=$ac_hdf4_save_CPPFLAGS
       done
 
 fi
-
   CPPFLAGS=$ac_hdf4_save_CPPFLAGS
 
-  if test "$ac_hdf4_h" = 'yes' -a "$ac_hdf4_lib_ok" = 'yes'; then
+  if test "$ac_hdf4_h" = 'yes' -a "$ac_hdf4_lib_ok" = 'yes'; then :
 
     ac_hdf4_netcdf_save_LDFLAGS=$LDFLAGS
     ac_hdf4_netcdf_save_LIBS=$LIBS
     LIBS="$LIBS $HDF4_LIBS"
     LDFLAGS="$LDFLAGS $HDF4_LDFLAGS"
-    { echo "$as_me:$LINENO: checking for sd_ncopen" >&5
-echo $ECHO_N "checking for sd_ncopen... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sd_ncopen" >&5
+$as_echo_n "checking for sd_ncopen... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -16231,251 +10241,71 @@ return sd_ncopen ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-
-        { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-        ac_hdf4_sd_netcdf_lib='yes'
-
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-        { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-        ac_hdf4_sd_netcdf_lib='no'
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_hdf4_sd_netcdf_lib" = 'no'; then
-
-      { echo "$as_me:$LINENO: checking for ncopen with hdf link flags" >&5
-echo $ECHO_N "checking for ncopen with hdf link flags... $ECHO_C" >&6; }
-      cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char ncopen ();
-int
-main ()
-{
-return ncopen ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-
-        { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
-        ac_hdf4_netcdf_lib='yes'
-
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-
-        { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
-        ac_hdf4_netcdf_lib='no'
-
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-
-fi
-
-    LDFLAGS=$ac_hdf4_netcdf_save_LDFLAGS
-    LIBS=$ac_hdf4_netcdf_save_LIBS
-
-    ac_hdf4_netcdf_save_CPPFLAGS=$CPPFLAGS
-    CPPFLAGS="$CPPFLAGS $HDF4_CFLAGS"
-
-for ac_header in hdf4_netcdf.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
+if ac_fn_c_try_link "$LINENO"; then :
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+        ac_hdf4_sd_netcdf_lib='yes'
 
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-  ac_header_preproc=no
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+        ac_hdf4_sd_netcdf_lib='no'
+
 fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_hdf4_sd_netcdf_lib" = 'no'; then :
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ncopen with hdf link flags" >&5
+$as_echo_n "checking for ncopen with hdf link flags... " >&6; }
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char ncopen ();
+int
+main ()
+{
+return ncopen ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
 
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+        ac_hdf4_netcdf_lib='yes'
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
 else
-  eval "$as_ac_Header=\$ac_header_preproc"
+
+        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+        ac_hdf4_netcdf_lib='no'
+
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 
 fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+    LDFLAGS=$ac_hdf4_netcdf_save_LDFLAGS
+    LIBS=$ac_hdf4_netcdf_save_LIBS
+
+    ac_hdf4_netcdf_save_CPPFLAGS=$CPPFLAGS
+    CPPFLAGS="$CPPFLAGS $HDF4_CFLAGS"
+    for ac_header in hdf4_netcdf.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "hdf4_netcdf.h" "ac_cv_header_hdf4_netcdf_h" "$ac_includes_default"
+if test "x$ac_cv_header_hdf4_netcdf_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_HDF4_NETCDF_H 1
 _ACEOF
  ac_hdf4_netcdf_h='yes'
 fi
@@ -16492,114 +10322,62 @@ done
   ac_nc_save_CPPFLAGS=$CPPFLAGS
   :
   :
-  { echo "$as_me:$LINENO: checking for netcdf.h with compiler" >&5
-echo $ECHO_N "checking for netcdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with compiler" >&5
+$as_echo_n "checking for netcdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_compile='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_compile='no'
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    { echo "$as_me:$LINENO: checking for netcdf.h with preprocessor" >&5
-echo $ECHO_N "checking for netcdf.h with preprocessor... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with preprocessor" >&5
+$as_echo_n "checking for netcdf.h with preprocessor... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_preproc='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_preproc='no'
 
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
   CPPFLAGS="$ac_nc_save_CPPFLAGS"
-  if test $ac_netcdf_h_compile = 'yes'; then
+  if test $ac_netcdf_h_compile = 'yes'; then :
   ac_netcdf_h='yes'
-    if test "z$ac_nc_header_interface" = 'z3'; then
+    if test "z$ac_nc_header_interface" = 'z3'; then :
 
   NC_NETCDF_3_CPPFLAG=
   ac_check_netcdf_3_include=
   ac_check_netcdf_3_header='no'
   ac_nc_save_CPPFLAGS=$CPPFLAGS
-  { echo "$as_me:$LINENO: checking for netcdf 3 interface" >&5
-echo $ECHO_N "checking for netcdf 3 interface... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf 3 interface" >&5
+$as_echo_n "checking for netcdf 3 interface... " >&6; }
   :
-  if test "z$ac_check_netcdf_3_include" != "z"; then
+  if test "z$ac_check_netcdf_3_include" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_check_netcdf_3_include"
 fi
-
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 int
@@ -16614,63 +10392,39 @@ vernum = *nc_inq_libvers();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      if test "z$ac_check_netcdf_3_include" != "z"; then
+      if test "z$ac_check_netcdf_3_include" != "z"; then :
   NC_NETCDF_3_CPPFLAG="-I$ac_check_netcdf_3_include"
 fi
-
       ac_check_netcdf_3_header='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_check_netcdf_3_header='no'
+  ac_check_netcdf_3_header='no'
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CPPFLAGS=$ac_nc_save_CPPFLAGS
-  if test "$ac_check_netcdf_3_header" = 'yes'; then
+  if test "$ac_check_netcdf_3_header" = 'yes'; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h='yes'
 
 else
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h='no'
 
 fi
 
 
 
-
 fi
 
-
 fi
 
-
-  if test "$ac_netcdf_h" = 'yes'; then
+  if test "$ac_netcdf_h" = 'yes'; then :
 
       ac_hdf4_netcdf_h='yes'
 
@@ -16678,7 +10432,6 @@ else
   :
 fi
 
-
     CPPFLAGS=$ac_hdf4_netcdf_save_CPPFLAGS
 
 else
@@ -16691,37 +10444,27 @@ fi
 
 
 
+  if test $ac_hdf4_netcdf_h = 'yes' -a $ac_hdf4_sd_netcdf_lib = 'yes'; then :
 
 
-  if test $ac_hdf4_netcdf_h = 'yes' -a $ac_hdf4_sd_netcdf_lib = 'yes'; then
-
-
-cat >>confdefs.h <<\_ACEOF
-#define HDF_HAVE_NETCDF
-_ACEOF
+$as_echo "#define HDF_HAVE_NETCDF /**/" >>confdefs.h
 
-     cat >>confdefs.h <<\_ACEOF
-#define HDF_NETCDF_NAME(name) sd_ ## name
-_ACEOF
+     $as_echo "#define HDF_NETCDF_NAME(name) sd_ ## name" >>confdefs.h
 
      use_hdf=yes
 
 else
 
-    cat >>confdefs.h <<\_ACEOF
-#define HDF_NETCDF_NAME(name) name
-_ACEOF
+    $as_echo "#define HDF_NETCDF_NAME(name) name" >>confdefs.h
 
-    if test $ac_hdf4_netcdf_h = 'yes' -a $ac_hdf4_netcdf_lib = 'yes'; then
+    if test $ac_hdf4_netcdf_h = 'yes' -a $ac_hdf4_netcdf_lib = 'yes'; then :
   use_hdf=yes
 else
   :
 fi
 
-
 fi
 
-
       if test "$use_hdf" = 'yes'; then
         LDFLAGS="$LDFLAGS $HDF4_LDFLAGS"
         hdf_libs="$HDF4_LIBS $UDUNITS_LIBS"
@@ -16736,18 +10479,14 @@ fi
 
   if test $use_hdf != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USEHDF 0
-_ACEOF
+$as_echo "#define USEHDF 0" >>confdefs.h
 
     echo "- hdf4 disabled"
   else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USEHDF 1
-_ACEOF
+$as_echo "#define USEHDF 1" >>confdefs.h
 
     echo "+ hdf4 enabled"
   fi
@@ -16776,158 +10515,21 @@ _ACEOF
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-for ac_header in zlib.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+      for ac_header in zlib.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
+if test "x$ac_cv_header_zlib_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_ZLIB_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_z_compress+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+if ${ac_cv_lib_z_compress+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -16945,39 +10547,18 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_z_compress=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_z_compress=no
+  ac_cv_lib_z_compress=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
-echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
-if test $ac_cv_lib_z_compress = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compress" >&5
+$as_echo "$ac_cv_lib_z_compress" >&6; }
+if test "x$ac_cv_lib_z_compress" = xyes; then :
    have_zlib=yes
 
 fi
@@ -17009,18 +10590,14 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
-echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
-if test "${ac_cv_lib_jpeg_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
+$as_echo_n "checking for main in -ljpeg... " >&6; }
+if ${ac_cv_lib_jpeg_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ljpeg  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17032,267 +10609,57 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_jpeg_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_jpeg_main=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_main" >&5
-echo "${ECHO_T}$ac_cv_lib_jpeg_main" >&6; }
-if test $ac_cv_lib_jpeg_main = yes; then
-   have_jpeg=yes
-
-fi
-
-
-  # Use to undo temporary changes to -I and -L paths
-  CPPFLAGS=$ga_saved_cppflags
-  LDFLAGS=$ga_saved_ldflags
-  LIBS=$ga_saved_libs
-
-    fi
-    if test "$have_zlib" = "yes" -a "$have_jpeg" = "yes" ; then
-
-  # Use to make temporary changes to -I and -L paths
-  # Just for use during tests, because configure and make may run
-  # from different directories.
-  ga_saved_cppflags=$CPPFLAGS
-  ga_saved_ldflags=$LDFLAGS
-  ga_saved_libs=$LIBS
-  CPPFLAGS=""
-
-    for ga_inc_name in hdf5 ; do
-      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
-    done
-
-  CPPFLAGS="$CPPFLAGS "
-  LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-      { echo "$as_me:$LINENO: checking for main in -lsz" >&5
-echo $ECHO_N "checking for main in -lsz... $ECHO_C" >&6; }
-if test "${ac_cv_lib_sz_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lsz  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-
-int
-main ()
-{
-return main ();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_sz_main=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_sz_main=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+  ac_cv_lib_jpeg_main=no
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_sz_main" >&5
-echo "${ECHO_T}$ac_cv_lib_sz_main" >&6; }
-if test $ac_cv_lib_sz_main = yes; then
-   if test "${ac_cv_header_hdf5_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for hdf5.h" >&5
-echo $ECHO_N "checking for hdf5.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_hdf5_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_hdf5_h" >&5
-echo "${ECHO_T}$ac_cv_header_hdf5_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking hdf5.h usability" >&5
-echo $ECHO_N "checking hdf5.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <hdf5.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_main" >&5
+$as_echo "$ac_cv_lib_jpeg_main" >&6; }
+if test "x$ac_cv_lib_jpeg_main" = xyes; then :
+   have_jpeg=yes
 
-	ac_header_compiler=no
 fi
 
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
 
-# Is the header present?
-{ echo "$as_me:$LINENO: checking hdf5.h presence" >&5
-echo $ECHO_N "checking hdf5.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <hdf5.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+  # Use to undo temporary changes to -I and -L paths
+  CPPFLAGS=$ga_saved_cppflags
+  LDFLAGS=$ga_saved_ldflags
+  LIBS=$ga_saved_libs
 
-  ac_header_preproc=no
-fi
+    fi
+    if test "$have_zlib" = "yes" -a "$have_jpeg" = "yes" ; then
+
+  # Use to make temporary changes to -I and -L paths
+  # Just for use during tests, because configure and make may run
+  # from different directories.
+  ga_saved_cppflags=$CPPFLAGS
+  ga_saved_ldflags=$LDFLAGS
+  ga_saved_libs=$LIBS
+  CPPFLAGS=""
 
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+    for ga_inc_name in hdf5 ; do
+      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
+    done
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: hdf5.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: hdf5.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: hdf5.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: hdf5.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: hdf5.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: hdf5.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: hdf5.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: hdf5.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: hdf5.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for hdf5.h" >&5
-echo $ECHO_N "checking for hdf5.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_hdf5_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_hdf5_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_hdf5_h" >&5
-echo "${ECHO_T}$ac_cv_header_hdf5_h" >&6; }
-
-fi
-if test $ac_cv_header_hdf5_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lhdf5" >&5
-echo $ECHO_N "checking for main in -lhdf5... $ECHO_C" >&6; }
-if test "${ac_cv_lib_hdf5_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  CPPFLAGS="$CPPFLAGS "
+  LDFLAGS="-L${ga_supplib_dir}/lib "
+  LIBS="$LIBS "
+
+      ac_fn_c_check_header_mongrel "$LINENO" "hdf5.h" "ac_cv_header_hdf5_h" "$ac_includes_default"
+if test "x$ac_cv_header_hdf5_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhdf5" >&5
+$as_echo_n "checking for main in -lhdf5... " >&6; }
+if ${ac_cv_lib_hdf5_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lhdf5  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17304,39 +10671,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_hdf5_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_hdf5_main=no
+  ac_cv_lib_hdf5_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_main" >&5
-echo "${ECHO_T}$ac_cv_lib_hdf5_main" >&6; }
-if test $ac_cv_lib_hdf5_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdf5_main" >&5
+$as_echo "$ac_cv_lib_hdf5_main" >&6; }
+if test "x$ac_cv_lib_hdf5_main" = xyes; then :
    use_hdf5=yes
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -17346,10 +10692,8 @@ if test $ac_cv_lib_hdf5_main = yes; then
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
-  for ga_lib_name in hdf5 sz jpeg z ; do
-      hdf5_libs="$hdf5_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+  for ga_lib_name in hdf5 jpeg z ; do
+      hdf5_libs="$hdf5_libs -l${ga_lib_name}"
   done
 
 
@@ -17360,9 +10704,6 @@ fi
 
 
 
-fi
-
-
   # Use to undo temporary changes to -I and -L paths
   CPPFLAGS=$ga_saved_cppflags
   LDFLAGS=$ga_saved_ldflags
@@ -17377,7 +10718,7 @@ fi
 
 
 # Check whether --with-hdf5 was given.
-if test "${with_hdf5+set}" = set; then
+if test "${with_hdf5+set}" = set; then :
   withval=$with_hdf5; HDF5_PATH=$withval
 else
   HDF5_PATH=""
@@ -17386,7 +10727,7 @@ fi
 
 
 # Check whether --with-hdf5_include was given.
-if test "${with_hdf5_include+set}" = set; then
+if test "${with_hdf5_include+set}" = set; then :
   withval=$with_hdf5_include; HDF5_PATH_INC=$withval
 else
   HDF5_PATH_INC=""
@@ -17395,32 +10736,29 @@ fi
 
 
 # Check whether --with-hdf5_libdir was given.
-if test "${with_hdf5_libdir+set}" = set; then
+if test "${with_hdf5_libdir+set}" = set; then :
   withval=$with_hdf5_libdir; HDF5_PATH_LIBDIR=$withval
 else
   HDF5_PATH_LIBDIR=""
 fi
 
 
-  if test "z$HDF5_PATH" != "z"; then
+  if test "z$HDF5_PATH" != "z"; then :
 
-    if test "z$HDF5_PATH_LIBDIR" = "z"; then
+    if test "z$HDF5_PATH_LIBDIR" = "z"; then :
   HDF5_PATH_LIBDIR="$HDF5_PATH/lib"
 fi
-
-    if test "z$HDF5_PATH_INC" = "z"; then
+    if test "z$HDF5_PATH_INC" = "z"; then :
   HDF5_PATH_INC="$HDF5_PATH/include"
 fi
 
-
 fi
 
 
-
   ac_hdf5_lib_ok='no'
   ac_hdf5_save_LDFLAGS=$LDFLAGS
   HDF5_LIBS=
-  if test "z$HDF5_PATH_LIBDIR" != "z"; then
+  if test "z$HDF5_PATH_LIBDIR" != "z"; then :
 
       HDF5_LDFLAGS="-L$HDF5_PATH_LIBDIR"
       LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
@@ -17431,13 +10769,9 @@ fi
   ac_check_lib_nocache_ok_sz_main='no'
   ac_check_lib_nocache_sz_main_LIBS=$LIBS
   LIBS="-lsz  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -lsz" >&5
-echo $ECHO_N "checking for main in -lsz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsz" >&5
+$as_echo_n "checking for main in -lsz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17449,43 +10783,22 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_sz_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_sz_main_LIBS
-  if test $ac_check_lib_nocache_ok_sz_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_sz_main = 'yes'; then :
 
       LIBS="$LIBS -lsz"
       HDF5_LIBS='-lsz'
@@ -17495,19 +10808,14 @@ else
 fi
 
 
-
   ac_hdf5_lib='no'
 
   ac_check_lib_nocache_ok_z_compress='no'
   ac_check_lib_nocache_z_compress_LIBS=$LIBS
   LIBS="-lz  $LIBS"
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -17525,54 +10833,29 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_z_compress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_z_compress_LIBS
-  if test $ac_check_lib_nocache_ok_z_compress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_z_compress = 'yes'; then :
 
   ac_check_lib_nocache_ok_jpeg_main='no'
   ac_check_lib_nocache_jpeg_main_LIBS=$LIBS
   LIBS="-ljpeg  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
-echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
+$as_echo_n "checking for main in -ljpeg... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17584,54 +10867,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_jpeg_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_jpeg_main_LIBS
-  if test $ac_check_lib_nocache_ok_jpeg_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_jpeg_main = 'yes'; then :
 
   ac_check_lib_nocache_ok_hdf5_H5Fopen='no'
   ac_check_lib_nocache_hdf5_H5Fopen_LIBS=$LIBS
   LIBS="-lhdf5 -lhdf5 -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
-echo $ECHO_N "checking for H5Fopen in -lhdf5... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5Fopen in -lhdf5" >&5
+$as_echo_n "checking for H5Fopen in -lhdf5... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -17649,43 +10907,22 @@ return H5Fopen ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_hdf5_H5Fopen='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_hdf5_H5Fopen_LIBS
-  if test $ac_check_lib_nocache_ok_hdf5_H5Fopen = 'yes'; then
+  if test $ac_check_lib_nocache_ok_hdf5_H5Fopen = 'yes'; then :
    ac_hdf5_lib="yes"
           HDF5_LIBS="-lhdf5 -ljpeg -lz $HDF5_LIBS"
 
@@ -17694,44 +10931,39 @@ else
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_hdf5_save_LIBS
 
-  if test "$ac_hdf5_lib" = 'yes'; then
+  if test "$ac_hdf5_lib" = 'yes'; then :
   ac_hdf5_lib_ok='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_hdf5_libdir in "" /usr/local/hdf5/lib64/ /opt/hdf5/lib64 /usr/hdf5/lib64 \
        /usr/local/lib64/hdf5 /opt/lib64/hdf5 /usr/lib64/hdf5 /usr/lib64 \
        /usr/local/hdf5/lib/ /opt/hdf5/lib /usr/hdf5/lib \
        /usr/local/lib/hdf5 /opt/lib/hdf5 /usr/lib/hdf5 /usr/lib ; do
-        if test "z$ac_hdf5_libdir" = 'z'; then
+        if test "z$ac_hdf5_libdir" = 'z'; then :
   HDF5_LDFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching hdf5 libraries in $ac_hdf5_libdir" >&5
-echo "$as_me: searching hdf5 libraries in $ac_hdf5_libdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching hdf5 libraries in $ac_hdf5_libdir" >&5
+$as_echo "$as_me: searching hdf5 libraries in $ac_hdf5_libdir" >&6;}
              HDF5_LDFLAGS="-L$ac_hdf5_libdir"
 
 fi
-
         LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
 
   HDF5_LIBS=
@@ -17740,13 +10972,9 @@ fi
   ac_check_lib_nocache_ok_sz_main='no'
   ac_check_lib_nocache_sz_main_LIBS=$LIBS
   LIBS="-lsz  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -lsz" >&5
-echo $ECHO_N "checking for main in -lsz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsz" >&5
+$as_echo_n "checking for main in -lsz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17758,43 +10986,22 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_sz_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_sz_main_LIBS
-  if test $ac_check_lib_nocache_ok_sz_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_sz_main = 'yes'; then :
 
       LIBS="$LIBS -lsz"
       HDF5_LIBS='-lsz'
@@ -17804,19 +11011,14 @@ else
 fi
 
 
-
   ac_hdf5_lib='no'
 
   ac_check_lib_nocache_ok_z_compress='no'
   ac_check_lib_nocache_z_compress_LIBS=$LIBS
   LIBS="-lz  $LIBS"
-  { echo "$as_me:$LINENO: checking for compress in -lz" >&5
-echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compress in -lz" >&5
+$as_echo_n "checking for compress in -lz... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -17834,54 +11036,29 @@ return compress ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_z_compress='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_z_compress_LIBS
-  if test $ac_check_lib_nocache_ok_z_compress = 'yes'; then
+  if test $ac_check_lib_nocache_ok_z_compress = 'yes'; then :
 
   ac_check_lib_nocache_ok_jpeg_main='no'
   ac_check_lib_nocache_jpeg_main_LIBS=$LIBS
   LIBS="-ljpeg  $LIBS"
-  { echo "$as_me:$LINENO: checking for main in -ljpeg" >&5
-echo $ECHO_N "checking for main in -ljpeg... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ljpeg" >&5
+$as_echo_n "checking for main in -ljpeg... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -17893,54 +11070,29 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_jpeg_main='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_jpeg_main_LIBS
-  if test $ac_check_lib_nocache_ok_jpeg_main = 'yes'; then
+  if test $ac_check_lib_nocache_ok_jpeg_main = 'yes'; then :
 
   ac_check_lib_nocache_ok_hdf5_H5Fopen='no'
   ac_check_lib_nocache_hdf5_H5Fopen_LIBS=$LIBS
   LIBS="-lhdf5 -lhdf5 -ljpeg -lz $LIBS"
-  { echo "$as_me:$LINENO: checking for H5Fopen in -lhdf5" >&5
-echo $ECHO_N "checking for H5Fopen in -lhdf5... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5Fopen in -lhdf5" >&5
+$as_echo_n "checking for H5Fopen in -lhdf5... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -17958,43 +11110,22 @@ return H5Fopen ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
     ac_check_lib_nocache_ok_hdf5_H5Fopen='yes'
-    { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-    { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_nocache_hdf5_H5Fopen_LIBS
-  if test $ac_check_lib_nocache_ok_hdf5_H5Fopen = 'yes'; then
+  if test $ac_check_lib_nocache_ok_hdf5_H5Fopen = 'yes'; then :
    ac_hdf5_lib="yes"
           HDF5_LIBS="-lhdf5 -ljpeg -lz $HDF5_LIBS"
 
@@ -18003,178 +11134,119 @@ else
 fi
 
 
-
 else
   :
 fi
 
 
-
 else
   :
 fi
 
-
   LIBS=$ac_hdf5_save_LIBS
 
-  if test "$ac_hdf5_lib" = 'yes'; then
+  if test "$ac_hdf5_lib" = 'yes'; then :
   ac_hdf5_lib_ok='yes'
 else
   :
 fi
 
-
-        if test $ac_hdf5_lib_ok = 'yes'; then
+        if test $ac_hdf5_lib_ok = 'yes'; then :
   break
 fi
-
         LDFLAGS=$ac_hdf5_save_LDFLAGS
       done
 
 fi
-
   LDFLAGS=$ac_hdf5_save_LDFLAGS
 
   ac_hdf5_h='no'
   HDF5_CFLAGS=
   ac_hdf5_save_CPPFLAGS=$CPPFLAGS
-  if test "z$HDF5_PATH_INC" != "z"; then
+  if test "z$HDF5_PATH_INC" != "z"; then :
 
        HDF5_CFLAGS="-I$HDF5_PATH_INC"
        CPPFLAGS="$CPPFLAGS $HDF5_CFLAGS"
 
   ac_check_header_nocache_compile_hdf5_h='no'
-  { echo "$as_me:$LINENO: checking for hdf5.h with compiler" >&5
-echo $ECHO_N "checking for hdf5.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf5.h with compiler" >&5
+$as_echo_n "checking for hdf5.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <hdf5.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_hdf5_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_hdf5_h" = 'yes'; then
+  if test "$ac_check_header_nocache_compile_hdf5_h" = 'yes'; then :
   ac_hdf5_h='yes'
 else
   :
 fi
 
 
-
 else
 
       for ac_hdf5_incdir in "" /usr/include /usr/local/hdf5/include \
        /opt/hdf5/include /usr/hdf5/include /usr/local/include/hdf5 \
        /opt/include/hdf5 /usr/include/hdf5 ; do
-        if test "z$ac_hdf5_incdir" = 'z'; then
+        if test "z$ac_hdf5_incdir" = 'z'; then :
   HDF5_CFLAGS=
 else
 
-             { echo "$as_me:$LINENO: searching hdf5 includes in $ac_hdf5_incdir" >&5
-echo "$as_me: searching hdf5 includes in $ac_hdf5_incdir" >&6;}
+             { $as_echo "$as_me:${as_lineno-$LINENO}: searching hdf5 includes in $ac_hdf5_incdir" >&5
+$as_echo "$as_me: searching hdf5 includes in $ac_hdf5_incdir" >&6;}
              HDF5_CFLAGS="-I$ac_hdf5_incdir"
 
 fi
-
         CPPFLAGS="$CPPFLAGS $HDF5_CFLAGS"
 
   ac_check_header_nocache_compile_hdf5_h='no'
-  { echo "$as_me:$LINENO: checking for hdf5.h with compiler" >&5
-echo $ECHO_N "checking for hdf5.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hdf5.h with compiler" >&5
+$as_echo_n "checking for hdf5.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <hdf5.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_check_header_nocache_compile_hdf5_h='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  if test "$ac_check_header_nocache_compile_hdf5_h" = 'yes'; then
+  if test "$ac_check_header_nocache_compile_hdf5_h" = 'yes'; then :
   ac_hdf5_h='yes'
 else
   :
 fi
 
-
-        if test $ac_hdf5_h = 'yes'; then
+        if test $ac_hdf5_h = 'yes'; then :
   break
 fi
-
         CPPFLAGS=$ac_hdf5_save_CPPFLAGS
       done
 
 fi
-
   CPPFLAGS=$ac_hdf5_save_CPPFLAGS
 
-  if test "$ac_hdf5_h" = 'yes' -a "$ac_hdf5_lib_ok" = 'yes'; then
+  if test "$ac_hdf5_h" = 'yes' -a "$ac_hdf5_lib_ok" = 'yes'; then :
 
       LDFLAGS="$LDFLAGS $HDF5_LDFLAGS"
       hdf5_libs="$HDF5_LIBS"
@@ -18189,201 +11261,59 @@ fi
 
 
 
-
   fi
 
   if test $use_hdf5 != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USEHDF5 0
-_ACEOF
+$as_echo "#define USEHDF5 0" >>confdefs.h
 
     echo "- hdf5 disabled"
   else
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USEHDF5 1
-_ACEOF
+$as_echo "#define USEHDF5 1" >>confdefs.h
 
     echo "+ hdf5 enabled"
 
     # now that we have hdf5, look for libraries to support netcdf-4
     # check if supplibs directory exists
     echo
-    if test "Z$ga_supplib_dir" != "Z" ; then
-      echo "Checking in supplibs for libraries to support netcdf-4 ..."
-      if test "$have_udunits" = "no" ; then
-
-  # Use to make temporary changes to -I and -L paths
-  # Just for use during tests, because configure and make may run
-  # from different directories.
-  ga_saved_cppflags=$CPPFLAGS
-  ga_saved_ldflags=$LDFLAGS
-  ga_saved_libs=$LIBS
-  CPPFLAGS=""
-
-    for ga_inc_name in udunits ; do
-      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
-    done
-
-  CPPFLAGS="$CPPFLAGS "
-  LDFLAGS="-L${ga_supplib_dir}/lib "
-  LIBS="$LIBS "
-
-
-for ac_header in udunits.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
+    if test "Z$ga_supplib_dir" != "Z" ; then
+      echo "Checking in supplibs for libraries to support netcdf-4 ..."
+      if test "$have_udunits" = "no" ; then
 
-  ac_header_preproc=no
-fi
+  # Use to make temporary changes to -I and -L paths
+  # Just for use during tests, because configure and make may run
+  # from different directories.
+  ga_saved_cppflags=$CPPFLAGS
+  ga_saved_ldflags=$LDFLAGS
+  ga_saved_libs=$LIBS
+  CPPFLAGS=""
 
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
+    for ga_inc_name in udunits ; do
+      CPPFLAGS="$CPPFLAGS -I${ga_supplib_dir}/include/${ga_inc_name}"
+    done
 
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
+  CPPFLAGS="$CPPFLAGS "
+  LDFLAGS="-L${ga_supplib_dir}/lib "
+  LIBS="$LIBS "
 
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+        for ac_header in udunits.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_UDUNITS_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -18401,39 +11331,18 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
    have_udunits=yes
 
 fi
@@ -18469,149 +11378,16 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-        if test "${ac_cv_header_netcdf_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for netcdf.h" >&5
-echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_netcdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking netcdf.h usability" >&5
-echo $ECHO_N "checking netcdf.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <netcdf.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking netcdf.h presence" >&5
-echo $ECHO_N "checking netcdf.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <netcdf.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: netcdf.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: netcdf.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: netcdf.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: netcdf.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: netcdf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: netcdf.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: netcdf.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for netcdf.h" >&5
-echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_netcdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_netcdf_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6; }
-
-fi
-if test $ac_cv_header_netcdf_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lnetcdf" >&5
-echo $ECHO_N "checking for main in -lnetcdf... $ECHO_C" >&6; }
-if test "${ac_cv_lib_netcdf_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+        ac_fn_c_check_header_mongrel "$LINENO" "netcdf.h" "ac_cv_header_netcdf_h" "$ac_includes_default"
+if test "x$ac_cv_header_netcdf_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnetcdf" >&5
+$as_echo_n "checking for main in -lnetcdf... " >&6; }
+if ${ac_cv_lib_netcdf_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnetcdf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -18623,51 +11399,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_netcdf_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_netcdf_main=no
+  ac_cv_lib_netcdf_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_netcdf_main" >&5
-echo "${ECHO_T}$ac_cv_lib_netcdf_main" >&6; }
-if test $ac_cv_lib_netcdf_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lhdf5_hl" >&5
-echo $ECHO_N "checking for main in -lhdf5_hl... $ECHO_C" >&6; }
-if test "${ac_cv_lib_hdf5_hl_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdf_main" >&5
+$as_echo "$ac_cv_lib_netcdf_main" >&6; }
+if test "x$ac_cv_lib_netcdf_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lhdf5_hl" >&5
+$as_echo_n "checking for main in -lhdf5_hl... " >&6; }
+if ${ac_cv_lib_hdf5_hl_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lhdf5_hl  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-lhdf5_hl -lhdf5 $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -18679,51 +11430,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_hdf5_hl_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_hdf5_hl_main=no
+  ac_cv_lib_hdf5_hl_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_hdf5_hl_main" >&5
-echo "${ECHO_T}$ac_cv_lib_hdf5_hl_main" >&6; }
-if test $ac_cv_lib_hdf5_hl_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lcurl" >&5
-echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6; }
-if test "${ac_cv_lib_curl_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hdf5_hl_main" >&5
+$as_echo "$ac_cv_lib_hdf5_hl_main" >&6; }
+if test "x$ac_cv_lib_hdf5_hl_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
+$as_echo_n "checking for main in -lcurl... " >&6; }
+if ${ac_cv_lib_curl_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lcurl  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -18735,39 +11461,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_curl_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_curl_main=no
+  ac_cv_lib_curl_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
-echo "${ECHO_T}$ac_cv_lib_curl_main" >&6; }
-if test $ac_cv_lib_curl_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
+$as_echo "$ac_cv_lib_curl_main" >&6; }
+if test "x$ac_cv_lib_curl_main" = xyes; then :
    use_nc4="yes"
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -18777,10 +11482,8 @@ if test $ac_cv_lib_curl_main = yes; then
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
-  for ga_lib_name in udunits netcdf hdf5_hl hdf5 z sz curl ; do
-      nc_libs="$nc_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+  for ga_lib_name in udunits2 netcdf hdf5_hl hdf5 z  curl ; do
+      nc_libs="$nc_libs -l${ga_lib_name}"
   done
 
 
@@ -18812,149 +11515,16 @@ fi
     if test "$use_nc4" != "yes" -a "$ga_dyn_supplibs" = "yes" ; then
 
   ga_use_udunits='no'
-  if test "${ac_cv_header_udunits_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking udunits.h usability" >&5
-echo $ECHO_N "checking udunits.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <udunits.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking udunits.h presence" >&5
-echo $ECHO_N "checking udunits.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <udunits.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: udunits.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: udunits.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: udunits.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: udunits.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_udunits_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-
-fi
-if test $ac_cv_header_udunits_h = yes; then
-    { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -18972,41 +11542,20 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
     ga_use_udunits='yes'
-        UDUNITS_LIBS='-ludunits'
+        UDUNITS_LIBS='-ludunits2'
 
 fi
 
@@ -19019,7 +11568,7 @@ fi
 
 
 # Check whether --with-netcdf was given.
-if test "${with_netcdf+set}" = set; then
+if test "${with_netcdf+set}" = set; then :
   withval=$with_netcdf; NC_PATH=$withval
 else
   NC_PATH=""
@@ -19028,7 +11577,7 @@ fi
 
 
 # Check whether --with-netcdf_include was given.
-if test "${with_netcdf_include+set}" = set; then
+if test "${with_netcdf_include+set}" = set; then :
   withval=$with_netcdf_include; NC_PATH_INC=$withval
 else
   NC_PATH_INC=""
@@ -19037,27 +11586,24 @@ fi
 
 
 # Check whether --with-netcdf_libdir was given.
-if test "${with_netcdf_libdir+set}" = set; then
+if test "${with_netcdf_libdir+set}" = set; then :
   withval=$with_netcdf_libdir; NC_PATH_LIBDIR=$withval
 else
   NC_PATH_LIBDIR=""
 fi
 
 
-  if test "z$NC_PATH" != "z"; then
+  if test "z$NC_PATH" != "z"; then :
 
-    if test "z$NC_PATH_LIBDIR" = "z"; then
+    if test "z$NC_PATH_LIBDIR" = "z"; then :
   NC_PATH_LIBDIR="$NC_PATH/lib"
 fi
-
-    if test "z$NC_PATH_INC" = "z"; then
+    if test "z$NC_PATH_INC" = "z"; then :
   NC_PATH_INC="$NC_PATH/include"
 fi
 
-
 fi
 
-
   ac_netcdf_ok='no'
   NC_LIBS=
   NC_LDFLAGS=
@@ -19066,27 +11612,22 @@ fi
   ac_check_nc_func_checked='ncopen'
   ac_check_nc_interface=
   ac_check_nc_interface=2
-  if test "z$ac_check_nc_interface" = 'z3'; then
+  if test "z$ac_check_nc_interface" = 'z3'; then :
   ac_check_nc_func_checked='nc_open'
 fi
-
-  if test "z$NC_PATH_LIBDIR" != "z"; then
+  if test "z$NC_PATH_LIBDIR" != "z"; then :
 
       NC_LDFLAGS="-L$NC_PATH_LIBDIR"
       LDFLAGS="$LDFLAGS $NC_LDFLAGS"
-      as_ac_Lib=`echo "ac_cv_lib_netcdf_$ac_check_nc_func_checked" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_check_nc_func_checked in -lnetcdf" >&5
-echo $ECHO_N "checking for $ac_check_nc_func_checked in -lnetcdf... $ECHO_C" >&6; }
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      as_ac_Lib=`$as_echo "ac_cv_lib_netcdf_$ac_check_nc_func_checked" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_check_nc_func_checked in -lnetcdf" >&5
+$as_echo_n "checking for $ac_check_nc_func_checked in -lnetcdf... " >&6; }
+if eval \${$as_ac_Lib+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnetcdf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -19104,40 +11645,19 @@ return $ac_check_nc_func_checked ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   eval "$as_ac_Lib=yes"
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_Lib=no"
+  eval "$as_ac_Lib=no"
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-ac_res=`eval echo '${'$as_ac_Lib'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+eval ac_res=\$$as_ac_Lib
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
 
           NC_LIBS='-lnetcdf'
           ac_netcdf_ok='yes'
@@ -19166,23 +11686,18 @@ else
        /usr/local/netcdf/lib /opt/netcdf/lib \
        /usr/netcdf/lib /usr/local/lib/netcdf /opt/lib/netcdf \
        /usr/lib/netcdf ; do
-        if test "z$ac_netcdf_libdir" = 'z'; then
+        if test "z$ac_netcdf_libdir" = 'z'; then :
   NC_LDFLAGS=
 else
 
-            { echo "$as_me:$LINENO: checking for netcdf libraries in $ac_netcdf_libdir" >&5
-echo $ECHO_N "checking for netcdf libraries in $ac_netcdf_libdir... $ECHO_C" >&6; }
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf libraries in $ac_netcdf_libdir" >&5
+$as_echo_n "checking for netcdf libraries in $ac_netcdf_libdir... " >&6; }
             NC_LDFLAGS="-L$ac_netcdf_libdir"
 
 fi
-
         LDFLAGS="$LDFLAGS $NC_LDFLAGS"
         LIBS="$LIBS -lnetcdf"
-        cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -19200,58 +11715,33 @@ return $ac_check_nc_func_checked ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
             NC_LIBS='-lnetcdf'
             ac_netcdf_ok='yes'
-            if test "z$ac_netcdf_libdir" != 'z'; then
-  { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+            if test "z$ac_netcdf_libdir" != 'z'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 fi
 
-
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-            if test "z$ac_netcdf_libdir" != 'z'; then
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+            if test "z$ac_netcdf_libdir" != 'z'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-        if test $ac_netcdf_ok = 'yes'; then
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        if test $ac_netcdf_ok = 'yes'; then :
   break
 fi
-
         LDFLAGS=$ac_nc_save_LDFLAGS
         LIBS=$ac_nc_save_LIBS
       done
 
 fi
-
   LDFLAGS=$ac_nc_save_LDFLAGS
   LIBS=$ac_nc_save_LIBS
 
@@ -19260,7 +11750,7 @@ fi
   ac_netcdf_header='no'
 
   NC_CFLAGS=
-  if test "z$NC_PATH_INC" != "z"; then
+  if test "z$NC_PATH_INC" != "z"; then :
 
 
   ac_netcdf_h='no'
@@ -19272,122 +11762,69 @@ fi
   ac_nc_save_CPPFLAGS=$CPPFLAGS
 
     ac_nc_include_dir="$NC_PATH_INC"
-    if test "z$ac_nc_include_dir" != "z"; then
+    if test "z$ac_nc_include_dir" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_nc_include_dir"
 fi
 
-
   ac_nc_header_interface=$ac_check_nc_interface
-  { echo "$as_me:$LINENO: checking for netcdf.h with compiler" >&5
-echo $ECHO_N "checking for netcdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with compiler" >&5
+$as_echo_n "checking for netcdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_compile='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_compile='no'
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    { echo "$as_me:$LINENO: checking for netcdf.h with preprocessor" >&5
-echo $ECHO_N "checking for netcdf.h with preprocessor... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with preprocessor" >&5
+$as_echo_n "checking for netcdf.h with preprocessor... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_preproc='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_preproc='no'
 
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
   CPPFLAGS="$ac_nc_save_CPPFLAGS"
-  if test $ac_netcdf_h_compile = 'yes'; then
+  if test $ac_netcdf_h_compile = 'yes'; then :
   ac_netcdf_h='yes'
-    if test "z$ac_nc_header_interface" = 'z3'; then
+    if test "z$ac_nc_header_interface" = 'z3'; then :
 
   NC_NETCDF_3_CPPFLAG=
   ac_check_netcdf_3_include=
   ac_check_netcdf_3_header='no'
   ac_nc_save_CPPFLAGS=$CPPFLAGS
-  { echo "$as_me:$LINENO: checking for netcdf 3 interface" >&5
-echo $ECHO_N "checking for netcdf 3 interface... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf 3 interface" >&5
+$as_echo_n "checking for netcdf 3 interface... " >&6; }
 
     ac_check_netcdf_3_include="$NC_PATH_INC"
 
-  if test "z$ac_check_netcdf_3_include" != "z"; then
+  if test "z$ac_check_netcdf_3_include" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_check_netcdf_3_include"
 fi
-
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 int
@@ -19396,69 +11833,45 @@ main ()
 int status;
 int ncid;
 char vernum;
-status = nc_open("foo.nc", 0, &ncid);
-vernum = *nc_inq_libvers();
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+status = nc_open("foo.nc", 0, &ncid);
+vernum = *nc_inq_libvers();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      if test "z$ac_check_netcdf_3_include" != "z"; then
+      if test "z$ac_check_netcdf_3_include" != "z"; then :
   NC_NETCDF_3_CPPFLAG="-I$ac_check_netcdf_3_include"
 fi
-
       ac_check_netcdf_3_header='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_check_netcdf_3_header='no'
+  ac_check_netcdf_3_header='no'
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CPPFLAGS=$ac_nc_save_CPPFLAGS
-  if test "$ac_check_netcdf_3_header" = 'yes'; then
+  if test "$ac_check_netcdf_3_header" = 'yes'; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h='yes'
 
 else
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h='no'
 
 fi
 
 
 
-
 fi
 
-
 fi
 
-
-  if test "$ac_netcdf_h" = 'yes'; then
+  if test "$ac_netcdf_h" = 'yes'; then :
 
       ac_netcdf_header='yes'
 
@@ -19467,7 +11880,6 @@ else
 fi
 
 
-
 else
 
       for ac_netcdf_incdir in "" \
@@ -19480,8 +11892,8 @@ else
        /usr/local/netcdf/include \
        /opt/netcdf/include /usr/netcdf/include /usr/local/include/netcdf \
        /opt/include/netcdf /usr/include/netcdf ; do
-        { echo "$as_me:$LINENO: searching netcdf includes in $ac_netcdf_incdir" >&5
-echo "$as_me: searching netcdf includes in $ac_netcdf_incdir" >&6;}
+        { $as_echo "$as_me:${as_lineno-$LINENO}: searching netcdf includes in $ac_netcdf_incdir" >&5
+$as_echo "$as_me: searching netcdf includes in $ac_netcdf_incdir" >&6;}
 
   ac_netcdf_h='no'
   ac_netcdf_h_compile='no'
@@ -19492,122 +11904,69 @@ echo "$as_me: searching netcdf includes
   ac_nc_save_CPPFLAGS=$CPPFLAGS
 
     ac_nc_include_dir="$ac_netcdf_incdir"
-    if test "z$ac_nc_include_dir" != "z"; then
+    if test "z$ac_nc_include_dir" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_nc_include_dir"
 fi
 
-
   ac_nc_header_interface=$ac_check_nc_interface
-  { echo "$as_me:$LINENO: checking for netcdf.h with compiler" >&5
-echo $ECHO_N "checking for netcdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with compiler" >&5
+$as_echo_n "checking for netcdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_compile='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_compile='no'
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    { echo "$as_me:$LINENO: checking for netcdf.h with preprocessor" >&5
-echo $ECHO_N "checking for netcdf.h with preprocessor... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with preprocessor" >&5
+$as_echo_n "checking for netcdf.h with preprocessor... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_preproc='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_preproc='no'
 
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
   CPPFLAGS="$ac_nc_save_CPPFLAGS"
-  if test $ac_netcdf_h_compile = 'yes'; then
+  if test $ac_netcdf_h_compile = 'yes'; then :
   ac_netcdf_h='yes'
-    if test "z$ac_nc_header_interface" = 'z3'; then
+    if test "z$ac_nc_header_interface" = 'z3'; then :
 
   NC_NETCDF_3_CPPFLAG=
   ac_check_netcdf_3_include=
   ac_check_netcdf_3_header='no'
   ac_nc_save_CPPFLAGS=$CPPFLAGS
-  { echo "$as_me:$LINENO: checking for netcdf 3 interface" >&5
-echo $ECHO_N "checking for netcdf 3 interface... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf 3 interface" >&5
+$as_echo_n "checking for netcdf 3 interface... " >&6; }
 
     ac_check_netcdf_3_include="$ac_netcdf_incdir"
 
-  if test "z$ac_check_netcdf_3_include" != "z"; then
+  if test "z$ac_check_netcdf_3_include" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_check_netcdf_3_include"
 fi
-
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 int
@@ -19622,63 +11981,39 @@ vernum = *nc_inq_libvers();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      if test "z$ac_check_netcdf_3_include" != "z"; then
+      if test "z$ac_check_netcdf_3_include" != "z"; then :
   NC_NETCDF_3_CPPFLAG="-I$ac_check_netcdf_3_include"
 fi
-
       ac_check_netcdf_3_header='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_check_netcdf_3_header='no'
+  ac_check_netcdf_3_header='no'
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CPPFLAGS=$ac_nc_save_CPPFLAGS
-  if test "$ac_check_netcdf_3_header" = 'yes'; then
+  if test "$ac_check_netcdf_3_header" = 'yes'; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h='yes'
 
 else
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h='no'
 
 fi
 
 
 
-
 fi
 
-
 fi
 
-
-  if test "$ac_netcdf_h" = 'yes'; then
+  if test "$ac_netcdf_h" = 'yes'; then :
 
       ac_netcdf_header='yes'
 
@@ -19686,24 +12021,20 @@ else
   ac_netcdf_header='no'
 fi
 
+        if test $ac_netcdf_header = 'yes'; then :
 
-        if test $ac_netcdf_header = 'yes'; then
-
-           if test "z$ac_netcdf_incdir" != "z"; then
+           if test "z$ac_netcdf_incdir" != "z"; then :
   NC_CFLAGS="-I$ac_nc_include_dir"
 fi
-
            break
 
 fi
-
       done
 
 fi
 
 
-
-  if test "$ac_netcdf_ok" = 'no' -o "$ac_netcdf_header" = 'no'; then
+  if test "$ac_netcdf_ok" = 'no' -o "$ac_netcdf_header" = 'no'; then :
   :
 else
    use_nc4=yes
@@ -19714,7 +12045,6 @@ else
 fi
 
 
-
   else
       :
   fi
@@ -19724,35 +12054,25 @@ fi
     fi
     if test $use_nc4 != "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USENETCDF 0
-_ACEOF
+$as_echo "#define USENETCDF 0" >>confdefs.h
 
 
-cat >>confdefs.h <<\_ACEOF
-#define HAVENETCDF4 0
-_ACEOF
+$as_echo "#define HAVENETCDF4 0" >>confdefs.h
 
       echo "- netcdf-4 disabled"
     else
 
-cat >>confdefs.h <<\_ACEOF
-#define USENETCDF 1
-_ACEOF
+$as_echo "#define USENETCDF 1" >>confdefs.h
 
 
-cat >>confdefs.h <<\_ACEOF
-#define HAVENETCDF4 1
-_ACEOF
+$as_echo "#define HAVENETCDF4 1" >>confdefs.h
 
       echo "+ netcdf-4 enabled"
       # find out if it is dap-enabled
       use_dap=`$NC_CONFIG --has-dap`
       if test $use_dap = "yes" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USEDAP 1
-_ACEOF
+$as_echo "#define USEDAP 1" >>confdefs.h
 
       fi
     fi
@@ -19784,158 +12104,21 @@ _ACEOF
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-
-for ac_header in udunits.h
-do
-as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  { echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
-echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <$ac_header>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
-echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <$ac_header>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
-echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for $ac_header" >&5
-echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
-if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  eval "$as_ac_Header=\$ac_header_preproc"
-fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-
-fi
-if test `eval echo '${'$as_ac_Header'}'` = yes; then
+          for ac_header in udunits.h
+do :
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
+#define HAVE_UDUNITS_H 1
 _ACEOF
-  { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -19953,39 +12136,18 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
    have_udunits=yes
 
 fi
@@ -20020,149 +12182,16 @@ done
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-          if test "${ac_cv_header_netcdf_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for netcdf.h" >&5
-echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_netcdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking netcdf.h usability" >&5
-echo $ECHO_N "checking netcdf.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <netcdf.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking netcdf.h presence" >&5
-echo $ECHO_N "checking netcdf.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <netcdf.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: netcdf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: netcdf.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: netcdf.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: netcdf.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: netcdf.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: netcdf.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: netcdf.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: netcdf.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: netcdf.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for netcdf.h" >&5
-echo $ECHO_N "checking for netcdf.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_netcdf_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_netcdf_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_netcdf_h" >&5
-echo "${ECHO_T}$ac_cv_header_netcdf_h" >&6; }
-
-fi
-if test $ac_cv_header_netcdf_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lnetcdf" >&5
-echo $ECHO_N "checking for main in -lnetcdf... $ECHO_C" >&6; }
-if test "${ac_cv_lib_netcdf_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+          ac_fn_c_check_header_mongrel "$LINENO" "netcdf.h" "ac_cv_header_netcdf_h" "$ac_includes_default"
+if test "x$ac_cv_header_netcdf_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnetcdf" >&5
+$as_echo_n "checking for main in -lnetcdf... " >&6; }
+if ${ac_cv_lib_netcdf_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnetcdf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -20174,39 +12203,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_netcdf_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_netcdf_main=no
+  ac_cv_lib_netcdf_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_netcdf_main" >&5
-echo "${ECHO_T}$ac_cv_lib_netcdf_main" >&6; }
-if test $ac_cv_lib_netcdf_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netcdf_main" >&5
+$as_echo "$ac_cv_lib_netcdf_main" >&6; }
+if test "x$ac_cv_lib_netcdf_main" = xyes; then :
    use_nc="yes"
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -20216,10 +12224,8 @@ if test $ac_cv_lib_netcdf_main = yes; th
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
-  for ga_lib_name in netcdf udunits ; do
-      nc_libs="$nc_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+  for ga_lib_name in netcdf udunits2 ; do
+      nc_libs="$nc_libs -l${ga_lib_name}"
   done
 
 
@@ -20244,149 +12250,16 @@ fi
         # check for netcdf 3
 
   ga_use_udunits='no'
-  if test "${ac_cv_header_udunits_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking udunits.h usability" >&5
-echo $ECHO_N "checking udunits.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <udunits.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking udunits.h presence" >&5
-echo $ECHO_N "checking udunits.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <udunits.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: udunits.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: udunits.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: udunits.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: udunits.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: udunits.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: udunits.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: udunits.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: udunits.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: udunits.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for udunits.h" >&5
-echo $ECHO_N "checking for udunits.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_udunits_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_udunits_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_udunits_h" >&5
-echo "${ECHO_T}$ac_cv_header_udunits_h" >&6; }
-
-fi
-if test $ac_cv_header_udunits_h = yes; then
-    { echo "$as_me:$LINENO: checking for utInit in -ludunits" >&5
-echo $ECHO_N "checking for utInit in -ludunits... $ECHO_C" >&6; }
-if test "${ac_cv_lib_udunits_utInit+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+  ac_fn_c_check_header_mongrel "$LINENO" "udunits.h" "ac_cv_header_udunits_h" "$ac_includes_default"
+if test "x$ac_cv_header_udunits_h" = xyes; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utInit in -ludunits2" >&5
+$as_echo_n "checking for utInit in -ludunits2... " >&6; }
+if ${ac_cv_lib_udunits2_utInit+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ludunits  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+LIBS="-ludunits2  $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -20404,41 +12277,20 @@ return utInit ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
-  ac_cv_lib_udunits_utInit=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_udunits2_utInit=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_udunits_utInit=no
+  ac_cv_lib_udunits2_utInit=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_udunits_utInit" >&5
-echo "${ECHO_T}$ac_cv_lib_udunits_utInit" >&6; }
-if test $ac_cv_lib_udunits_utInit = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udunits2_utInit" >&5
+$as_echo "$ac_cv_lib_udunits2_utInit" >&6; }
+if test "x$ac_cv_lib_udunits2_utInit" = xyes; then :
     ga_use_udunits='yes'
-        UDUNITS_LIBS='-ludunits'
+        UDUNITS_LIBS='-ludunits2'
 
 fi
 
@@ -20451,7 +12303,7 @@ fi
 
 
 # Check whether --with-netcdf was given.
-if test "${with_netcdf+set}" = set; then
+if test "${with_netcdf+set}" = set; then :
   withval=$with_netcdf; NC_PATH=$withval
 else
   NC_PATH=""
@@ -20460,7 +12312,7 @@ fi
 
 
 # Check whether --with-netcdf_include was given.
-if test "${with_netcdf_include+set}" = set; then
+if test "${with_netcdf_include+set}" = set; then :
   withval=$with_netcdf_include; NC_PATH_INC=$withval
 else
   NC_PATH_INC=""
@@ -20469,27 +12321,24 @@ fi
 
 
 # Check whether --with-netcdf_libdir was given.
-if test "${with_netcdf_libdir+set}" = set; then
+if test "${with_netcdf_libdir+set}" = set; then :
   withval=$with_netcdf_libdir; NC_PATH_LIBDIR=$withval
 else
   NC_PATH_LIBDIR=""
 fi
 
 
-  if test "z$NC_PATH" != "z"; then
+  if test "z$NC_PATH" != "z"; then :
 
-    if test "z$NC_PATH_LIBDIR" = "z"; then
+    if test "z$NC_PATH_LIBDIR" = "z"; then :
   NC_PATH_LIBDIR="$NC_PATH/lib"
 fi
-
-    if test "z$NC_PATH_INC" = "z"; then
+    if test "z$NC_PATH_INC" = "z"; then :
   NC_PATH_INC="$NC_PATH/include"
 fi
 
-
 fi
 
-
   ac_netcdf_ok='no'
   NC_LIBS=
   NC_LDFLAGS=
@@ -20498,27 +12347,22 @@ fi
   ac_check_nc_func_checked='ncopen'
   ac_check_nc_interface=
   ac_check_nc_interface=3
-  if test "z$ac_check_nc_interface" = 'z3'; then
+  if test "z$ac_check_nc_interface" = 'z3'; then :
   ac_check_nc_func_checked='nc_open'
 fi
-
-  if test "z$NC_PATH_LIBDIR" != "z"; then
+  if test "z$NC_PATH_LIBDIR" != "z"; then :
 
       NC_LDFLAGS="-L$NC_PATH_LIBDIR"
       LDFLAGS="$LDFLAGS $NC_LDFLAGS"
-      as_ac_Lib=`echo "ac_cv_lib_netcdf_$ac_check_nc_func_checked" | $as_tr_sh`
-{ echo "$as_me:$LINENO: checking for $ac_check_nc_func_checked in -lnetcdf" >&5
-echo $ECHO_N "checking for $ac_check_nc_func_checked in -lnetcdf... $ECHO_C" >&6; }
-if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      as_ac_Lib=`$as_echo "ac_cv_lib_netcdf_$ac_check_nc_func_checked" | $as_tr_sh`
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_check_nc_func_checked in -lnetcdf" >&5
+$as_echo_n "checking for $ac_check_nc_func_checked in -lnetcdf... " >&6; }
+if eval \${$as_ac_Lib+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lnetcdf  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -20536,40 +12380,19 @@ return $ac_check_nc_func_checked ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   eval "$as_ac_Lib=yes"
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	eval "$as_ac_Lib=no"
+  eval "$as_ac_Lib=no"
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-ac_res=`eval echo '${'$as_ac_Lib'}'`
-	       { echo "$as_me:$LINENO: result: $ac_res" >&5
-echo "${ECHO_T}$ac_res" >&6; }
-if test `eval echo '${'$as_ac_Lib'}'` = yes; then
+eval ac_res=\$$as_ac_Lib
+	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+$as_echo "$ac_res" >&6; }
+if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
 
           NC_LIBS='-lnetcdf'
           ac_netcdf_ok='yes'
@@ -20598,23 +12421,18 @@ else
        /usr/local/netcdf/lib /opt/netcdf/lib \
        /usr/netcdf/lib /usr/local/lib/netcdf /opt/lib/netcdf \
        /usr/lib/netcdf ; do
-        if test "z$ac_netcdf_libdir" = 'z'; then
+        if test "z$ac_netcdf_libdir" = 'z'; then :
   NC_LDFLAGS=
 else
 
-            { echo "$as_me:$LINENO: checking for netcdf libraries in $ac_netcdf_libdir" >&5
-echo $ECHO_N "checking for netcdf libraries in $ac_netcdf_libdir... $ECHO_C" >&6; }
+            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf libraries in $ac_netcdf_libdir" >&5
+$as_echo_n "checking for netcdf libraries in $ac_netcdf_libdir... " >&6; }
             NC_LDFLAGS="-L$ac_netcdf_libdir"
 
 fi
-
         LDFLAGS="$LDFLAGS $NC_LDFLAGS"
         LIBS="$LIBS -lnetcdf"
-        cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 /* Override any GCC internal prototype to avoid an error.
@@ -20632,58 +12450,33 @@ return $ac_check_nc_func_checked ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
 
             NC_LIBS='-lnetcdf'
             ac_netcdf_ok='yes'
-            if test "z$ac_netcdf_libdir" != 'z'; then
-  { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+            if test "z$ac_netcdf_libdir" != 'z'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 fi
 
-
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-            if test "z$ac_netcdf_libdir" != 'z'; then
-  { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+            if test "z$ac_netcdf_libdir" != 'z'; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
 fi
 
-
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
-        if test $ac_netcdf_ok = 'yes'; then
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        if test $ac_netcdf_ok = 'yes'; then :
   break
 fi
-
         LDFLAGS=$ac_nc_save_LDFLAGS
         LIBS=$ac_nc_save_LIBS
       done
 
 fi
-
   LDFLAGS=$ac_nc_save_LDFLAGS
   LIBS=$ac_nc_save_LIBS
 
@@ -20692,7 +12485,7 @@ fi
   ac_netcdf_header='no'
 
   NC_CFLAGS=
-  if test "z$NC_PATH_INC" != "z"; then
+  if test "z$NC_PATH_INC" != "z"; then :
 
 
   ac_netcdf_h='no'
@@ -20704,122 +12497,69 @@ fi
   ac_nc_save_CPPFLAGS=$CPPFLAGS
 
     ac_nc_include_dir="$NC_PATH_INC"
-    if test "z$ac_nc_include_dir" != "z"; then
+    if test "z$ac_nc_include_dir" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_nc_include_dir"
 fi
 
-
   ac_nc_header_interface=$ac_check_nc_interface
-  { echo "$as_me:$LINENO: checking for netcdf.h with compiler" >&5
-echo $ECHO_N "checking for netcdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with compiler" >&5
+$as_echo_n "checking for netcdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_compile='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_compile='no'
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    { echo "$as_me:$LINENO: checking for netcdf.h with preprocessor" >&5
-echo $ECHO_N "checking for netcdf.h with preprocessor... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with preprocessor" >&5
+$as_echo_n "checking for netcdf.h with preprocessor... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_preproc='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_preproc='no'
 
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
   CPPFLAGS="$ac_nc_save_CPPFLAGS"
-  if test $ac_netcdf_h_compile = 'yes'; then
+  if test $ac_netcdf_h_compile = 'yes'; then :
   ac_netcdf_h='yes'
-    if test "z$ac_nc_header_interface" = 'z3'; then
+    if test "z$ac_nc_header_interface" = 'z3'; then :
 
   NC_NETCDF_3_CPPFLAG=
   ac_check_netcdf_3_include=
   ac_check_netcdf_3_header='no'
   ac_nc_save_CPPFLAGS=$CPPFLAGS
-  { echo "$as_me:$LINENO: checking for netcdf 3 interface" >&5
-echo $ECHO_N "checking for netcdf 3 interface... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf 3 interface" >&5
+$as_echo_n "checking for netcdf 3 interface... " >&6; }
 
     ac_check_netcdf_3_include="$NC_PATH_INC"
 
-  if test "z$ac_check_netcdf_3_include" != "z"; then
+  if test "z$ac_check_netcdf_3_include" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_check_netcdf_3_include"
 fi
-
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 int
@@ -20834,63 +12574,39 @@ vernum = *nc_inq_libvers();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      if test "z$ac_check_netcdf_3_include" != "z"; then
+      if test "z$ac_check_netcdf_3_include" != "z"; then :
   NC_NETCDF_3_CPPFLAG="-I$ac_check_netcdf_3_include"
 fi
-
       ac_check_netcdf_3_header='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_check_netcdf_3_header='no'
+  ac_check_netcdf_3_header='no'
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CPPFLAGS=$ac_nc_save_CPPFLAGS
-  if test "$ac_check_netcdf_3_header" = 'yes'; then
+  if test "$ac_check_netcdf_3_header" = 'yes'; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h='yes'
 
 else
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h='no'
 
 fi
 
 
 
-
 fi
 
-
 fi
 
-
-  if test "$ac_netcdf_h" = 'yes'; then
+  if test "$ac_netcdf_h" = 'yes'; then :
 
       ac_netcdf_header='yes'
 
@@ -20899,7 +12615,6 @@ else
 fi
 
 
-
 else
 
       for ac_netcdf_incdir in "" \
@@ -20912,8 +12627,8 @@ else
        /usr/local/netcdf/include \
        /opt/netcdf/include /usr/netcdf/include /usr/local/include/netcdf \
        /opt/include/netcdf /usr/include/netcdf ; do
-        { echo "$as_me:$LINENO: searching netcdf includes in $ac_netcdf_incdir" >&5
-echo "$as_me: searching netcdf includes in $ac_netcdf_incdir" >&6;}
+        { $as_echo "$as_me:${as_lineno-$LINENO}: searching netcdf includes in $ac_netcdf_incdir" >&5
+$as_echo "$as_me: searching netcdf includes in $ac_netcdf_incdir" >&6;}
 
   ac_netcdf_h='no'
   ac_netcdf_h_compile='no'
@@ -20924,122 +12639,69 @@ echo "$as_me: searching netcdf includes
   ac_nc_save_CPPFLAGS=$CPPFLAGS
 
     ac_nc_include_dir="$ac_netcdf_incdir"
-    if test "z$ac_nc_include_dir" != "z"; then
+    if test "z$ac_nc_include_dir" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_nc_include_dir"
 fi
 
-
   ac_nc_header_interface=$ac_check_nc_interface
-  { echo "$as_me:$LINENO: checking for netcdf.h with compiler" >&5
-echo $ECHO_N "checking for netcdf.h with compiler... $ECHO_C" >&6; }
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with compiler" >&5
+$as_echo_n "checking for netcdf.h with compiler... " >&6; }
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_compile='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_compile='no'
 
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    { echo "$as_me:$LINENO: checking for netcdf.h with preprocessor" >&5
-echo $ECHO_N "checking for netcdf.h with preprocessor... $ECHO_C" >&6; }
-    cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf.h with preprocessor" >&5
+$as_echo_n "checking for netcdf.h with preprocessor... " >&6; }
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 _ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
+if ac_fn_c_try_cpp "$LINENO"; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h_preproc='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
 
-
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h_preproc='no'
 
 fi
-
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
   CPPFLAGS="$ac_nc_save_CPPFLAGS"
-  if test $ac_netcdf_h_compile = 'yes'; then
+  if test $ac_netcdf_h_compile = 'yes'; then :
   ac_netcdf_h='yes'
-    if test "z$ac_nc_header_interface" = 'z3'; then
+    if test "z$ac_nc_header_interface" = 'z3'; then :
 
   NC_NETCDF_3_CPPFLAG=
   ac_check_netcdf_3_include=
   ac_check_netcdf_3_header='no'
   ac_nc_save_CPPFLAGS=$CPPFLAGS
-  { echo "$as_me:$LINENO: checking for netcdf 3 interface" >&5
-echo $ECHO_N "checking for netcdf 3 interface... $ECHO_C" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for netcdf 3 interface" >&5
+$as_echo_n "checking for netcdf 3 interface... " >&6; }
 
     ac_check_netcdf_3_include="$ac_netcdf_incdir"
 
-  if test "z$ac_check_netcdf_3_include" != "z"; then
+  if test "z$ac_check_netcdf_3_include" != "z"; then :
   CPPFLAGS="$CPPFLAGS -I$ac_check_netcdf_3_include"
 fi
-
-  cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <netcdf.h>
 int
@@ -21054,63 +12716,39 @@ vernum = *nc_inq_libvers();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
+if ac_fn_c_try_compile "$LINENO"; then :
 
-      if test "z$ac_check_netcdf_3_include" != "z"; then
+      if test "z$ac_check_netcdf_3_include" != "z"; then :
   NC_NETCDF_3_CPPFLAG="-I$ac_check_netcdf_3_include"
 fi
-
       ac_check_netcdf_3_header='yes'
 
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_check_netcdf_3_header='no'
+  ac_check_netcdf_3_header='no'
 fi
-
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   CPPFLAGS=$ac_nc_save_CPPFLAGS
-  if test "$ac_check_netcdf_3_header" = 'yes'; then
+  if test "$ac_check_netcdf_3_header" = 'yes'; then :
 
-      { echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
       ac_netcdf_h='yes'
 
 else
 
-      { echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
       ac_netcdf_h='no'
 
 fi
 
 
 
-
 fi
 
-
 fi
 
-
-  if test "$ac_netcdf_h" = 'yes'; then
+  if test "$ac_netcdf_h" = 'yes'; then :
 
       ac_netcdf_header='yes'
 
@@ -21118,24 +12756,20 @@ else
   ac_netcdf_header='no'
 fi
 
+        if test $ac_netcdf_header = 'yes'; then :
 
-        if test $ac_netcdf_header = 'yes'; then
-
-           if test "z$ac_netcdf_incdir" != "z"; then
+           if test "z$ac_netcdf_incdir" != "z"; then :
   NC_CFLAGS="-I$ac_nc_include_dir"
 fi
-
            break
 
 fi
-
       done
 
 fi
 
 
-
-  if test "$ac_netcdf_ok" = 'no' -o "$ac_netcdf_header" = 'no'; then
+  if test "$ac_netcdf_ok" = 'no' -o "$ac_netcdf_header" = 'no'; then :
   :
 else
    use_nc=yes
@@ -21145,7 +12779,6 @@ else
 fi
 
 
-
   else
       :
   fi
@@ -21157,16 +12790,12 @@ fi
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USENETCDF 1
-_ACEOF
+$as_echo "#define USENETCDF 1" >>confdefs.h
 
       echo "+ netcdf enabled"
     else
 
-cat >>confdefs.h <<\_ACEOF
-#define USENETCDF 0
-_ACEOF
+$as_echo "#define USENETCDF 0" >>confdefs.h
 
       echo "- netcdf disabled"
     fi
@@ -21177,9 +12806,7 @@ _ACEOF
   echo
   if test "$with_gadap" = "no" ; then
 
-cat >>confdefs.h <<\_ACEOF
-#define USEGADAP 0
-_ACEOF
+$as_echo "#define USEGADAP 0" >>confdefs.h
 
     echo "- OPeNDAP for station data disabled"
   else
@@ -21202,149 +12829,16 @@ _ACEOF
   LDFLAGS="-L${ga_supplib_dir}/lib "
   LIBS="$LIBS "
 
-      if test "${ac_cv_header_gadap_h+set}" = set; then
-  { echo "$as_me:$LINENO: checking for gadap.h" >&5
-echo $ECHO_N "checking for gadap.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gadap_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gadap_h" >&5
-echo "${ECHO_T}$ac_cv_header_gadap_h" >&6; }
-else
-  # Is the header compilable?
-{ echo "$as_me:$LINENO: checking gadap.h usability" >&5
-echo $ECHO_N "checking gadap.h usability... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-$ac_includes_default
-#include <gadap.h>
-_ACEOF
-rm -f conftest.$ac_objext
-if { (ac_try="$ac_compile"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_compile") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest.$ac_objext; then
-  ac_header_compiler=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_header_compiler=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
-echo "${ECHO_T}$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ echo "$as_me:$LINENO: checking gadap.h presence" >&5
-echo $ECHO_N "checking gadap.h presence... $ECHO_C" >&6; }
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-#include <gadap.h>
-_ACEOF
-if { (ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } >/dev/null && {
-	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       }; then
-  ac_header_preproc=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-  ac_header_preproc=no
-fi
-
-rm -f conftest.err conftest.$ac_ext
-{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
-echo "${ECHO_T}$ac_header_preproc" >&6; }
-
-# So?  What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
-  yes:no: )
-    { echo "$as_me:$LINENO: WARNING: gadap.h: accepted by the compiler, rejected by the preprocessor!" >&5
-echo "$as_me: WARNING: gadap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h: proceeding with the compiler's result" >&5
-echo "$as_me: WARNING: gadap.h: proceeding with the compiler's result" >&2;}
-    ac_header_preproc=yes
-    ;;
-  no:yes:* )
-    { echo "$as_me:$LINENO: WARNING: gadap.h: present but cannot be compiled" >&5
-echo "$as_me: WARNING: gadap.h: present but cannot be compiled" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h:     check for missing prerequisite headers?" >&5
-echo "$as_me: WARNING: gadap.h:     check for missing prerequisite headers?" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h: see the Autoconf documentation" >&5
-echo "$as_me: WARNING: gadap.h: see the Autoconf documentation" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h:     section \"Present But Cannot Be Compiled\"" >&5
-echo "$as_me: WARNING: gadap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h: proceeding with the preprocessor's result" >&5
-echo "$as_me: WARNING: gadap.h: proceeding with the preprocessor's result" >&2;}
-    { echo "$as_me:$LINENO: WARNING: gadap.h: in the future, the compiler will take precedence" >&5
-echo "$as_me: WARNING: gadap.h: in the future, the compiler will take precedence" >&2;}
-    ( cat <<\_ASBOX
-## --------------------------- ##
-## Report this to jma@iges.org ##
-## --------------------------- ##
-_ASBOX
-     ) | sed "s/^/$as_me: WARNING:     /" >&2
-    ;;
-esac
-{ echo "$as_me:$LINENO: checking for gadap.h" >&5
-echo $ECHO_N "checking for gadap.h... $ECHO_C" >&6; }
-if test "${ac_cv_header_gadap_h+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_cv_header_gadap_h=$ac_header_preproc
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_header_gadap_h" >&5
-echo "${ECHO_T}$ac_cv_header_gadap_h" >&6; }
-
-fi
-if test $ac_cv_header_gadap_h = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lgadap" >&5
-echo $ECHO_N "checking for main in -lgadap... $ECHO_C" >&6; }
-if test "${ac_cv_lib_gadap_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+      ac_fn_c_check_header_mongrel "$LINENO" "gadap.h" "ac_cv_header_gadap_h" "$ac_includes_default"
+if test "x$ac_cv_header_gadap_h" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgadap" >&5
+$as_echo_n "checking for main in -lgadap... " >&6; }
+if ${ac_cv_lib_gadap_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lgadap  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -21356,51 +12850,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_gadap_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_gadap_main=no
+  ac_cv_lib_gadap_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_gadap_main" >&5
-echo "${ECHO_T}$ac_cv_lib_gadap_main" >&6; }
-if test $ac_cv_lib_gadap_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -ldap" >&5
-echo $ECHO_N "checking for main in -ldap... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dap_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gadap_main" >&5
+$as_echo "$ac_cv_lib_gadap_main" >&6; }
+if test "x$ac_cv_lib_gadap_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldap" >&5
+$as_echo_n "checking for main in -ldap... " >&6; }
+if ${ac_cv_lib_dap_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldap  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -21412,51 +12881,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_dap_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_dap_main=no
+  ac_cv_lib_dap_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dap_main" >&5
-echo "${ECHO_T}$ac_cv_lib_dap_main" >&6; }
-if test $ac_cv_lib_dap_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -ldapclient" >&5
-echo $ECHO_N "checking for main in -ldapclient... $ECHO_C" >&6; }
-if test "${ac_cv_lib_dapclient_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dap_main" >&5
+$as_echo "$ac_cv_lib_dap_main" >&6; }
+if test "x$ac_cv_lib_dap_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -ldapclient" >&5
+$as_echo_n "checking for main in -ldapclient... " >&6; }
+if ${ac_cv_lib_dapclient_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldapclient  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -21468,51 +12912,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_dapclient_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_dapclient_main=no
+  ac_cv_lib_dapclient_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_dapclient_main" >&5
-echo "${ECHO_T}$ac_cv_lib_dapclient_main" >&6; }
-if test $ac_cv_lib_dapclient_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lxml2" >&5
-echo $ECHO_N "checking for main in -lxml2... $ECHO_C" >&6; }
-if test "${ac_cv_lib_xml2_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dapclient_main" >&5
+$as_echo "$ac_cv_lib_dapclient_main" >&6; }
+if test "x$ac_cv_lib_dapclient_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxml2" >&5
+$as_echo_n "checking for main in -lxml2... " >&6; }
+if ${ac_cv_lib_xml2_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lxml2  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -21524,51 +12943,26 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_xml2_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_xml2_main=no
+  ac_cv_lib_xml2_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_main" >&5
-echo "${ECHO_T}$ac_cv_lib_xml2_main" >&6; }
-if test $ac_cv_lib_xml2_main = yes; then
-   { echo "$as_me:$LINENO: checking for main in -lcurl" >&5
-echo $ECHO_N "checking for main in -lcurl... $ECHO_C" >&6; }
-if test "${ac_cv_lib_curl_main+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_main" >&5
+$as_echo "$ac_cv_lib_xml2_main" >&6; }
+if test "x$ac_cv_lib_xml2_main" = xyes; then :
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lcurl" >&5
+$as_echo_n "checking for main in -lcurl... " >&6; }
+if ${ac_cv_lib_curl_main+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lcurl  $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 
@@ -21580,39 +12974,18 @@ return main ();
   return 0;
 }
 _ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } && {
-	 test -z "$ac_c_werror_flag" ||
-	 test ! -s conftest.err
-       } && test -s conftest$ac_exeext &&
-       $as_test_x conftest$ac_exeext; then
+if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_lib_curl_main=yes
 else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_lib_curl_main=no
+  ac_cv_lib_curl_main=no
 fi
-
-rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
-      conftest$ac_exeext conftest.$ac_ext
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo "$as_me:$LINENO: result: $ac_cv_lib_curl_main" >&5
-echo "${ECHO_T}$ac_cv_lib_curl_main" >&6; }
-if test $ac_cv_lib_curl_main = yes; then
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curl_main" >&5
+$as_echo "$ac_cv_lib_curl_main" >&6; }
+if test "x$ac_cv_lib_curl_main" = xyes; then :
    use_gadap="yes"
 
   ga_include_prefix='-I$(supp_include_dir)'
@@ -21622,10 +12995,8 @@ if test $ac_cv_lib_curl_main = yes; then
   done
 
 
-  ga_lib_prefix='$(supp_lib_dir)/lib'
-  ga_lib_suffix='.a'
   for ga_lib_name in gadap dapclient dap curl xml2 z ; do
-      gadap_libs="$gadap_libs ${ga_lib_prefix}${ga_lib_name}${ga_lib_suffix}"
+      gadap_libs="$gadap_libs -l${ga_lib_name}"
   done
 
 
@@ -21668,16 +13039,12 @@ fi
 
 
 
-cat >>confdefs.h <<\_ACEOF
-#define USEGADAP 1
-_ACEOF
+$as_echo "#define USEGADAP 1" >>confdefs.h
 
       echo "+ OPeNDAP for station data enabled"
     else
 
-cat >>confdefs.h <<\_ACEOF
-#define USEGADAP 0
-_ACEOF
+$as_echo "#define USEGADAP 0" >>confdefs.h
 
       echo "- OPeNDAP for station data disabled"
     fi
@@ -21692,14 +13059,10 @@ echo
 
 # Some non-configuration-dependent GrADS macros
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_VERSION "2.0.a9"
-_ACEOF
+$as_echo "#define GRADS_VERSION \"2.0.a9\"" >>confdefs.h
 
 
-cat >>confdefs.h <<\_ACEOF
-#define GRADS_DESC
-_ACEOF
+$as_echo "#define GRADS_DESC /**/" >>confdefs.h
 
 
 # These are used to add the necessary source files to Makefile targets
@@ -21870,6 +13233,46 @@ echo "configure: creating src/buildinfo.
 mkdir -p src
 echo "static char *buildinfo = \"${build_info}\";" > src/buildinfo.h
 
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether user wants to link with --as-needed" >&5
+$as_echo_n "checking whether user wants to link with --as-needed... " >&6; }
+  # Check whether --enable-link-as-needed was given.
+if test "${enable_link_as_needed+set}" = set; then :
+  enableval=$enable_link_as_needed; link_as_needed=$enableval
+else
+  link_as_needed=yes
+fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $link_as_needed" >&5
+$as_echo "$link_as_needed" >&6; }
+
+  if test $link_as_needed = yes
+  then
+    if test -n "${CXX}"
+    then
+
+  echo 'int main(int argc, char **argv){return 0;}' > conftest.temp.cc
+  for i in -Wl,--as-needed
+  do
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts $i" >&5
+$as_echo_n "checking whether $CXX accepts $i... " >&6; }
+    if test -z "`${CXX} -c conftest.temp.cc 2>&1`" \
+          && test -z "`${CXX} $i -o conftest.temp conftest.temp.o 2>&1`"
+    then
+      LDFLAGS="${LDFLAGS} $i"
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+    else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+    fi
+  done
+  rm -f conftest.temp.cc conftest.temp.o conftest.temp
+
+    fi
+  fi
+
+
 ac_config_files="$ac_config_files Makefile src/Makefile"
 
 cat >confcache <<\_ACEOF
@@ -21899,12 +13302,13 @@ _ACEOF
     case $ac_val in #(
     *${as_nl}*)
       case $ac_var in #(
-      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
-echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
+      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
+$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
       esac
       case $ac_var in #(
       _ | IFS | as_nl) ;; #(
-      *) $as_unset $ac_var ;;
+      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
+      *) { eval $ac_var=; unset $ac_var;} ;;
       esac ;;
     esac
   done
@@ -21912,8 +13316,8 @@ echo "$as_me: WARNING: Cache variable $a
   (set) 2>&1 |
     case $as_nl`(ac_space=' '; set) 2>&1` in #(
     *${as_nl}ac_space=\ *)
-      # `set' does not quote correctly, so add quotes (double-quote
-      # substitution turns \\\\ into \\, and sed turns \\ into \).
+      # `set' does not quote correctly, so add quotes: double-quote
+      # substitution turns \\\\ into \\, and sed turns \\ into \.
       sed -n \
 	"s/'/'\\\\''/g;
 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
@@ -21935,13 +13339,24 @@ echo "$as_me: WARNING: Cache variable $a
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
-      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
-echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+    if test "x$cache_file" != "x/dev/null"; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
+$as_echo "$as_me: updating cache $cache_file" >&6;}
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+	cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+	  mv -f confcache "$cache_file"$$ &&
+	  mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+	  mv -f confcache "$cache_file" ;;
+	esac
+      fi
+    fi
   else
-    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
-echo "$as_me: not updating unwritable cache $cache_file" >&6;}
+    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
+$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   fi
 fi
 rm -f confcache
@@ -21954,90 +13369,75 @@ DEFS=-DHAVE_CONFIG_H
 
 ac_libobjs=
 ac_ltlibobjs=
+U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
-  ac_i=`echo "$ac_i" | sed "$ac_script"`
+  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   #    will be set to the directory where LIBOBJS objects are built.
-  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
-  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
+  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
+  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 done
 LIBOBJS=$ac_libobjs
 
 LTLIBOBJS=$ac_ltlibobjs
 
 
+ if test -n "$EXEEXT"; then
+  am__EXEEXT_TRUE=
+  am__EXEEXT_FALSE='#'
+else
+  am__EXEEXT_TRUE='#'
+  am__EXEEXT_FALSE=
+fi
+
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
+
 if test -z "${READLINE_TRUE}" && test -z "${READLINE_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"READLINE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"READLINE\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"READLINE\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USEGUI_TRUE}" && test -z "${USEGUI_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"USEGUI\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"USEGUI\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"USEGUI\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GXPNG_TRUE}" && test -z "${GXPNG_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"GXPNG\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"GXPNG\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"GXPNG\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GEOTIFF_TRUE}" && test -z "${GEOTIFF_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"GEOTIFF\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"GEOTIFF\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"GEOTIFF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USESHP_TRUE}" && test -z "${USESHP_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"USESHP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"USESHP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"USESHP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USEGADAP_TRUE}" && test -z "${USEGADAP_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"USEGADAP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"USEGADAP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"USEGADAP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USEDAP_TRUE}" && test -z "${USEDAP_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"USEDAP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"USEDAP\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"USEDAP\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${USEHDF_TRUE}" && test -z "${USEHDF_FALSE}"; then
-  { { echo "$as_me:$LINENO: error: conditional \"USEHDF\" was never defined.
-Usually this means the macro was only invoked conditionally." >&5
-echo "$as_me: error: conditional \"USEHDF\" was never defined.
-Usually this means the macro was only invoked conditionally." >&2;}
-   { (exit 1); exit 1; }; }
+  as_fn_error $? "conditional \"USEHDF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
-: ${CONFIG_STATUS=./config.status}
+: "${CONFIG_STATUS=./config.status}"
+ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
-echo "$as_me: creating $CONFIG_STATUS" >&6;}
-cat >$CONFIG_STATUS <<_ACEOF
+{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
+$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
+as_write_fail=0
+cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 #! $SHELL
 # Generated by $as_me.
 # Run this file to recreate the current configuration.
@@ -22047,59 +13447,79 @@ cat >$CONFIG_STATUS <<_ACEOF
 debug=false
 ac_cs_recheck=false
 ac_cs_silent=false
-SHELL=\${CONFIG_SHELL-$SHELL}
-_ACEOF
 
-cat >>$CONFIG_STATUS <<\_ACEOF
-## --------------------- ##
-## M4sh Initialization.  ##
-## --------------------- ##
+SHELL=\${CONFIG_SHELL-$SHELL}
+export SHELL
+_ASEOF
+cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
+## -------------------- ##
+## M4sh Initialization. ##
+## -------------------- ##
 
 # Be more Bourne compatible
 DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
   NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
+  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$@"}'='"$@"'
   setopt NO_GLOB_SUBST
 else
-  case `(set -o) 2>/dev/null` in
-  *posix*) set -o posix ;;
+  case `(set -o) 2>/dev/null` in #(
+  *posix*) :
+    set -o posix ;; #(
+  *) :
+     ;;
 esac
-
 fi
 
 
-
-
-# PATH needs CR
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
-  echo "#! /bin/sh" >conf$$.sh
-  echo  "exit 0"   >>conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
+as_nl='
+'
+export as_nl
+# Printing a long string crashes Solaris 7 /usr/bin/printf.
+as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
+as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
+# Prefer a ksh shell builtin over an external printf program on Solaris,
+# but without wasting forks for bash or zsh.
+if test -z "$BASH_VERSION$ZSH_VERSION" \
+    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='print -r --'
+  as_echo_n='print -rn --'
+elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
+  as_echo='printf %s\n'
+  as_echo_n='printf %s'
+else
+  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
+    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
+    as_echo_n='/usr/ucb/echo -n'
+  else
+    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
+    as_echo_n_body='eval
+      arg=$1;
+      case $arg in #(
+      *"$as_nl"*)
+	expr "X$arg" : "X\\(.*\\)$as_nl";
+	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
+      esac;
+      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
+    '
+    export as_echo_n_body
+    as_echo_n='sh -c $as_echo_n_body as_echo'
   fi
-  rm -f conf$$.sh
+  export as_echo_body
+  as_echo='sh -c $as_echo_body as_echo'
 fi
 
-# Support unset when possible.
-if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
-  as_unset=unset
-else
-  as_unset=false
+# The user is always right.
+if test "${PATH_SEPARATOR+set}" != set; then
+  PATH_SEPARATOR=:
+  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
+    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
+      PATH_SEPARATOR=';'
+  }
 fi
 
 
@@ -22108,20 +13528,19 @@ fi
 # there to prevent editors from complaining about space-tab.
 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 # splitting by setting IFS to empty value.)
-as_nl='
-'
 IFS=" ""	$as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
-case $0 in
+as_myself=
+case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 for as_dir in $PATH
 do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
-  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
-done
+    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
+  done
 IFS=$as_save_IFS
 
      ;;
@@ -22132,32 +13551,111 @@ if test "x$as_myself" = x; then
   as_myself=$0
 fi
 if test ! -f "$as_myself"; then
-  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
-  { (exit 1); exit 1; }
+  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
+  exit 1
 fi
 
-# Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
+# Unset variables that we do not need and which cause bugs (e.g. in
+# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
+# suppresses any "Segmentation fault" message there.  '((' could
+# trigger a bug in pdksh 5.2.14.
+for as_var in BASH_ENV ENV MAIL MAILPATH
+do eval test x\${$as_var+set} = xset \
+  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 done
 PS1='$ '
 PS2='> '
 PS4='+ '
 
 # NLS nuisances.
-for as_var in \
-  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-  LC_TELEPHONE LC_TIME
-do
-  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-    eval $as_var=C; export $as_var
-  else
-    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
-  fi
-done
+LC_ALL=C
+export LC_ALL
+LANGUAGE=C
+export LANGUAGE
+
+# CDPATH.
+(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+
+
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
+# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
+# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
+# script with STATUS, using 1 if that was 0.
+as_fn_error ()
+{
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
+  fi
+  $as_echo "$as_me: error: $2" >&2
+  as_fn_exit $as_status
+} # as_fn_error
+
+
+# as_fn_set_status STATUS
+# -----------------------
+# Set $? to STATUS, without forking.
+as_fn_set_status ()
+{
+  return $1
+} # as_fn_set_status
+
+# as_fn_exit STATUS
+# -----------------
+# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
+as_fn_exit ()
+{
+  set +e
+  as_fn_set_status $1
+  exit $1
+} # as_fn_exit
+
+# as_fn_unset VAR
+# ---------------
+# Portably unset VAR.
+as_fn_unset ()
+{
+  { eval $1=; unset $1;}
+}
+as_unset=as_fn_unset
+# as_fn_append VAR VALUE
+# ----------------------
+# Append the text in VALUE to the end of the definition contained in VAR. Take
+# advantage of any shell optimizations that allow amortized linear growth over
+# repeated appends, instead of the typical quadratic growth present in naive
+# implementations.
+if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
+  eval 'as_fn_append ()
+  {
+    eval $1+=\$2
+  }'
+else
+  as_fn_append ()
+  {
+    eval $1=\$$1\$2
+  }
+fi # as_fn_append
+
+# as_fn_arith ARG...
+# ------------------
+# Perform arithmetic evaluation on the ARGs, and store the result in the
+# global $as_val. Take advantage of shells that can avoid forks. The arguments
+# must be portable across $(()) and expr.
+if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
+  eval 'as_fn_arith ()
+  {
+    as_val=$(( $* ))
+  }'
+else
+  as_fn_arith ()
+  {
+    as_val=`expr "$@" || test $? -eq 1`
+  }
+fi # as_fn_arith
+
 
-# Required to use basename.
 if expr a : '\(a\)' >/dev/null 2>&1 &&
    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   as_expr=expr
@@ -22171,13 +13669,17 @@ else
   as_basename=false
 fi
 
+if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
+  as_dirname=dirname
+else
+  as_dirname=false
+fi
 
-# Name of the executable.
 as_me=`$as_basename -- "$0" ||
 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 	 X"$0" : 'X\(//\)$' \| \
 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-echo X/"$0" |
+$as_echo X/"$0" |
     sed '/^.*\/\([^/][^/]*\)\/*$/{
 	    s//\1/
 	    q
@@ -22192,104 +13694,103 @@ echo X/"$0" |
 	  }
 	  s/.*/./; q'`
 
-# CDPATH.
-$as_unset CDPATH
-
-
-
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test "x$as_lineno_1" != "x$as_lineno_2" &&
-  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
-
-  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
-  # uniformly replaced by the line number.  The first 'sed' inserts a
-  # line-number line after each line using $LINENO; the second 'sed'
-  # does the real work.  The second script uses 'N' to pair each
-  # line-number line with the line containing $LINENO, and appends
-  # trailing '-' during substitution so that $LINENO is not a special
-  # case at line end.
-  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' <$as_myself |
-    sed '
-      s/[$]LINENO.*/&-/
-      t lineno
-      b
-      :lineno
-      N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
-      t loop
-      s/-\n.*//
-    ' >$as_me.lineno &&
-  chmod +x "$as_me.lineno" ||
-    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
-   { (exit 1); exit 1; }; }
-
-  # Don't try to exec as it changes $[0], causing all sort of problems
-  # (the dirname of $[0] is not the place where we might find the
-  # original and so on.  Autoconf is especially sensitive to this).
-  . "./$as_me.lineno"
-  # Exit status is that of the last command.
-  exit
-}
-
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
+# Avoid depending upon Character Ranges.
+as_cr_letters='abcdefghijklmnopqrstuvwxyz'
+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
+as_cr_Letters=$as_cr_letters$as_cr_LETTERS
+as_cr_digits='0123456789'
+as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
+case `echo -n x` in #(((((
 -n*)
-  case `echo 'x\c'` in
+  case `echo 'xy\c'` in
   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  *)   ECHO_C='\c';;
+  xy)  ECHO_C='\c';;
+  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
+       ECHO_T='	';;
   esac;;
 *)
   ECHO_N='-n';;
 esac
 
-if expr a : '\(a\)' >/dev/null 2>&1 &&
-   test "X`expr 00001 : '.*\(...\)'`" = X001; then
-  as_expr=expr
-else
-  as_expr=false
-fi
-
 rm -f conf$$ conf$$.exe conf$$.file
 if test -d conf$$.dir; then
   rm -f conf$$.dir/conf$$.file
 else
   rm -f conf$$.dir
-  mkdir conf$$.dir
+  mkdir conf$$.dir 2>/dev/null
 fi
-echo >conf$$.file
-if ln -s conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s='ln -s'
-  # ... but there are two gotchas:
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-  # In both cases, we have to default to `cp -p'.
-  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+if (echo >conf$$.file) 2>/dev/null; then
+  if ln -s conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s='ln -s'
+    # ... but there are two gotchas:
+    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
+    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
+    # In both cases, we have to default to `cp -p'.
+    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
+      as_ln_s='cp -p'
+  elif ln conf$$.file conf$$ 2>/dev/null; then
+    as_ln_s=ln
+  else
     as_ln_s='cp -p'
-elif ln conf$$.file conf$$ 2>/dev/null; then
-  as_ln_s=ln
+  fi
 else
   as_ln_s='cp -p'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
 
+
+# as_fn_mkdir_p
+# -------------
+# Create "$as_dir" as a directory, including parents if necessary.
+as_fn_mkdir_p ()
+{
+
+  case $as_dir in #(
+  -*) as_dir=./$as_dir;;
+  esac
+  test -d "$as_dir" || eval $as_mkdir_p || {
+    as_dirs=
+    while :; do
+      case $as_dir in #(
+      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
+      *) as_qdir=$as_dir;;
+      esac
+      as_dirs="'$as_qdir' $as_dirs"
+      as_dir=`$as_dirname -- "$as_dir" ||
+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$as_dir" : 'X\(//\)[^/]' \| \
+	 X"$as_dir" : 'X\(//\)$' \| \
+	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$as_dir" |
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)[^/].*/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+      test -d "$as_dir" && break
+    done
+    test -z "$as_dirs" || eval "mkdir $as_dirs"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
+
+
+} # as_fn_mkdir_p
 if mkdir -p . 2>/dev/null; then
-  as_mkdir_p=:
+  as_mkdir_p='mkdir -p "$as_dir"'
 else
   test -d ./-p && rmdir ./-p
   as_mkdir_p=false
@@ -22306,12 +13807,12 @@ else
   as_test_x='
     eval sh -c '\''
       if test -d "$1"; then
-        test -d "$1/.";
+	test -d "$1/.";
       else
-	case $1 in
-        -*)set "./$1";;
+	case $1 in #(
+	-*)set "./$1";;
 	esac;
-	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
+	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 	???[sx]*):;;*)false;;esac;fi
     '\'' sh
   '
@@ -22326,13 +13827,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr
 
 
 exec 6>&1
+## ----------------------------------- ##
+## Main body of $CONFIG_STATUS script. ##
+## ----------------------------------- ##
+_ASEOF
+test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
-# Save the log message, to keep $[0] and so on meaningful, and to
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# Save the log message, to keep $0 and so on meaningful, and to
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
 This file was extended by GrADS $as_me 2.0.a9, which was
-generated by GNU Autoconf 2.61.  Invocation command line was
+generated by GNU Autoconf 2.68.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -22345,29 +13852,41 @@ on `(hostname || uname -n) 2>/dev/null |
 
 _ACEOF
 
-cat >>$CONFIG_STATUS <<_ACEOF
+case $ac_config_files in *"
+"*) set x $ac_config_files; shift; ac_config_files=$*;;
+esac
+
+case $ac_config_headers in *"
+"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
+esac
+
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 # Files that config.status was made for.
 config_files="$ac_config_files"
 config_headers="$ac_config_headers"
 
 _ACEOF
 
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 ac_cs_usage="\
-\`$as_me' instantiates files from templates according to the
-current configuration.
+\`$as_me' instantiates files and other configuration actions
+from templates according to the current configuration.  Unless the files
+and actions are specified as TAGs, all are instantiated by default.
 
-Usage: $0 [OPTIONS] [FILE]...
+Usage: $0 [OPTION]... [TAG]...
 
   -h, --help       print this help, then exit
   -V, --version    print version number and configuration settings, then exit
-  -q, --quiet      do not print progress messages
+      --config     print configuration, then exit
+  -q, --quiet, --silent
+                   do not print progress messages
   -d, --debug      don't remove temporary files
       --recheck    update $as_me by reconfiguring in the same conditions
-  --file=FILE[:TEMPLATE]
-		   instantiate the configuration file FILE
-  --header=FILE[:TEMPLATE]
-		   instantiate the configuration header FILE
+      --file=FILE[:TEMPLATE]
+                   instantiate the configuration file FILE
+      --header=FILE[:TEMPLATE]
+                   instantiate the configuration header FILE
 
 Configuration files:
 $config_files
@@ -22375,16 +13894,17 @@ $config_files
 Configuration headers:
 $config_headers
 
-Report bugs to <bug-autoconf@gnu.org>."
+Report bugs to <jma@iges.org>."
 
 _ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 GrADS config.status 2.0.a9
-configured by $0, generated by GNU Autoconf 2.61,
-  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+configured by $0, generated by GNU Autoconf 2.68,
+  with options \\"\$ac_cs_config\\"
 
-Copyright (C) 2006 Free Software Foundation, Inc.
+Copyright (C) 2010 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -22392,20 +13912,26 @@ ac_pwd='$ac_pwd'
 srcdir='$srcdir'
 INSTALL='$INSTALL'
 MKDIR_P='$MKDIR_P'
+AWK='$AWK'
+test -n "\$AWK" || AWK=awk
 _ACEOF
 
-cat >>$CONFIG_STATUS <<\_ACEOF
-# If no file are specified by the user, then we need to provide default
-# value.  By we need to know if files were specified by the user.
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+# The default lists apply if the user does not specify any file.
 ac_need_defaults=:
 while test $# != 0
 do
   case $1 in
-  --*=*)
+  --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:
     ;;
+  --*=)
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
+    ac_optarg=
+    ac_shift=:
+    ;;
   *)
     ac_option=$1
     ac_optarg=$2
@@ -22418,34 +13944,41 @@ do
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    echo "$ac_cs_version"; exit ;;
+    $as_echo "$ac_cs_version"; exit ;;
+  --config | --confi | --conf | --con | --co | --c )
+    $as_echo "$ac_cs_config"; exit ;;
   --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
     $ac_shift
-    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
+    case $ac_optarg in
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+    '') as_fn_error $? "missing file argument" ;;
+    esac
+    as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;
   --header | --heade | --head | --hea )
     $ac_shift
-    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
+    case $ac_optarg in
+    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+    esac
+    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     ac_need_defaults=false;;
   --he | --h)
     # Conflict between --help and --header
-    { echo "$as_me: error: ambiguous option: $1
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; };;
+    as_fn_error $? "ambiguous option: \`$1'
+Try \`$0 --help' for more information.";;
   --help | --hel | -h )
-    echo "$ac_cs_usage"; exit ;;
+    $as_echo "$ac_cs_usage"; exit ;;
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   | -silent | --silent | --silen | --sile | --sil | --si | --s)
     ac_cs_silent=: ;;
 
   # This is an error.
-  -*) { echo "$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information." >&2
-   { (exit 1); exit 1; }; } ;;
+  -*) as_fn_error $? "unrecognized option: \`$1'
+Try \`$0 --help' for more information." ;;
 
-  *) ac_config_targets="$ac_config_targets $1"
+  *) as_fn_append ac_config_targets " $1"
      ac_need_defaults=false ;;
 
   esac
@@ -22460,30 +13993,32 @@ if $ac_cs_silent; then
 fi
 
 _ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
-  CONFIG_SHELL=$SHELL
+  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  shift
+  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
+  CONFIG_SHELL='$SHELL'
   export CONFIG_SHELL
-  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  exec "\$@"
 fi
 
 _ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 exec 5>>config.log
 {
   echo
   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 ## Running $as_me. ##
 _ASBOX
-  echo "$ac_log"
+  $as_echo "$ac_log"
 } >&5
 
 _ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACEOF
 
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 # Handling of arguments.
 for ac_config_target in $ac_config_targets
@@ -22493,9 +14028,7 @@ do
     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
-  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
-echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
-   { (exit 1); exit 1; }; };;
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
@@ -22517,309 +14050,302 @@ fi
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp=
+  tmp= ac_tmp=
   trap 'exit_status=$?
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+  : "${ac_tmp:=$tmp}"
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0
-  trap '{ (exit 1); exit 1; }' 1 2 13 15
+  trap 'as_fn_exit 1' 1 2 13 15
 }
 # Create a (secure) tmp directory for tmp files.
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
+  test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
-} ||
-{
-   echo "$me: cannot create a temporary directory in ." >&2
-   { (exit 1); exit 1; }
-}
-
-#
-# Set up the sed scripts for CONFIG_FILES section.
-#
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
 
-# No need to generate the scripts if there are no CONFIG_FILES.
-# This happens for instance when ./config.status config.h
+# Set up the scripts for CONFIG_FILES section.
+# No need to generate them if there are no CONFIG_FILES.
+# This happens for instance with `./config.status config.h'.
 if test -n "$CONFIG_FILES"; then
 
-_ACEOF
-
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
-  cat >conf$$subs.sed <<_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
-INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
-INSTALL_DATA!$INSTALL_DATA$ac_delim
-am__isrc!$am__isrc$ac_delim
-CYGPATH_W!$CYGPATH_W$ac_delim
-PACKAGE!$PACKAGE$ac_delim
-VERSION!$VERSION$ac_delim
-ACLOCAL!$ACLOCAL$ac_delim
-AUTOCONF!$AUTOCONF$ac_delim
-AUTOMAKE!$AUTOMAKE$ac_delim
-AUTOHEADER!$AUTOHEADER$ac_delim
-MAKEINFO!$MAKEINFO$ac_delim
-install_sh!$install_sh$ac_delim
-STRIP!$STRIP$ac_delim
-INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
-mkdir_p!$mkdir_p$ac_delim
-AWK!$AWK$ac_delim
-SET_MAKE!$SET_MAKE$ac_delim
-am__leading_dot!$am__leading_dot$ac_delim
-AMTAR!$AMTAR$ac_delim
-am__tar!$am__tar$ac_delim
-am__untar!$am__untar$ac_delim
-MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
-MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
-MAINT!$MAINT$ac_delim
-CC!$CC$ac_delim
-CFLAGS!$CFLAGS$ac_delim
-LDFLAGS!$LDFLAGS$ac_delim
-CPPFLAGS!$CPPFLAGS$ac_delim
-ac_ct_CC!$ac_ct_CC$ac_delim
-EXEEXT!$EXEEXT$ac_delim
-OBJEXT!$OBJEXT$ac_delim
-CXX!$CXX$ac_delim
-CXXFLAGS!$CXXFLAGS$ac_delim
-ac_ct_CXX!$ac_ct_CXX$ac_delim
-LN_S!$LN_S$ac_delim
-build!$build$ac_delim
-build_cpu!$build_cpu$ac_delim
-build_vendor!$build_vendor$ac_delim
-build_os!$build_os$ac_delim
-host!$host$ac_delim
-host_cpu!$host_cpu$ac_delim
-host_vendor!$host_vendor$ac_delim
-host_os!$host_os$ac_delim
-host_ldadd!$host_ldadd$ac_delim
-XMKMF!$XMKMF$ac_delim
-CPP!$CPP$ac_delim
-X_CFLAGS!$X_CFLAGS$ac_delim
-X_PRE_LIBS!$X_PRE_LIBS$ac_delim
-X_LIBS!$X_LIBS$ac_delim
-X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
-GREP!$GREP$ac_delim
-EGREP!$EGREP$ac_delim
-SUPPLIBS!$SUPPLIBS$ac_delim
-PKG_CONFIG!$PKG_CONFIG$ac_delim
-XAW7_CFLAGS!$XAW7_CFLAGS$ac_delim
-XAW7_LIBS!$XAW7_LIBS$ac_delim
-XAW_LIBS!$XAW_LIBS$ac_delim
-XAW_XLIBS!$XAW_XLIBS$ac_delim
-XAW_CFLAGS!$XAW_CFLAGS$ac_delim
-_ACEOF
-
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
-    break
-  elif $ac_last_try; then
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
-   { (exit 1); exit 1; }; }
-  else
-    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
-  fi
-done
 
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
-  ac_eof=`expr $ac_eof + 1`
+ac_cr=`echo X | tr X '\015'`
+# On cygwin, bash can eat \r inside `` if the user requested igncr.
+# But we know of no other shell where ac_cr would be empty at this
+# point, so we can use a bashism as a fallback.
+if test "x$ac_cr" = x; then
+  eval ac_cr=\$\'\\r\'
+fi
+ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
+if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
+  ac_cs_awk_cr='\\r'
+else
+  ac_cs_awk_cr=$ac_cr
 fi
 
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-CEOF$ac_eof
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF
 
 
+{
+  echo "cat >conf$$subs.awk <<_ACEOF" &&
+  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
+  echo "_ACEOF"
+} >conf$$subs.sh ||
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
-  cat >conf$$subs.sed <<_ACEOF
-GA_LIBSX_LIBS!$GA_LIBSX_LIBS$ac_delim
-grads_xlibs!$grads_xlibs$ac_delim
-gui_inc!$gui_inc$ac_delim
-gui_libs!$gui_libs$ac_delim
-readline_inc!$readline_inc$ac_delim
-readline_libs!$readline_libs$ac_delim
-GEOTIFF_LIBS!$GEOTIFF_LIBS$ac_delim
-GEOTIFF_CFLAGS!$GEOTIFF_CFLAGS$ac_delim
-GEOTIFF_LDFLAGS!$GEOTIFF_LDFLAGS$ac_delim
-geotiff_inc!$geotiff_inc$ac_delim
-geotiff_libs!$geotiff_libs$ac_delim
-shp_inc!$shp_inc$ac_delim
-shp_libs!$shp_libs$ac_delim
-GD_CFLAGS!$GD_CFLAGS$ac_delim
-GD_LIBS!$GD_LIBS$ac_delim
-GD_CONFIG!$GD_CONFIG$ac_delim
-GD_LDFLAGS!$GD_LDFLAGS$ac_delim
-printim_inc!$printim_inc$ac_delim
-printim_libs!$printim_libs$ac_delim
-G2_LIBS!$G2_LIBS$ac_delim
-grib2_inc!$grib2_inc$ac_delim
-grib2_libs!$grib2_libs$ac_delim
-NC_NETCDF_3_CPPFLAG!$NC_NETCDF_3_CPPFLAG$ac_delim
-HDF4_LIBS!$HDF4_LIBS$ac_delim
-HDF4_CFLAGS!$HDF4_CFLAGS$ac_delim
-HDF4_LDFLAGS!$HDF4_LDFLAGS$ac_delim
-UDUNITS_LIBS!$UDUNITS_LIBS$ac_delim
-hdf_inc!$hdf_inc$ac_delim
-hdf_libs!$hdf_libs$ac_delim
-HDF5_LIBS!$HDF5_LIBS$ac_delim
-HDF5_CFLAGS!$HDF5_CFLAGS$ac_delim
-HDF5_LDFLAGS!$HDF5_LDFLAGS$ac_delim
-hdf5_inc!$hdf5_inc$ac_delim
-hdf5_libs!$hdf5_libs$ac_delim
-nc_inc!$nc_inc$ac_delim
-nc_libs!$nc_libs$ac_delim
-NC_LDFLAGS!$NC_LDFLAGS$ac_delim
-NC_LIBS!$NC_LIBS$ac_delim
-NC_CFLAGS!$NC_CFLAGS$ac_delim
-gadap_inc!$gadap_inc$ac_delim
-dap_libs!$dap_libs$ac_delim
-READLINE_TRUE!$READLINE_TRUE$ac_delim
-READLINE_FALSE!$READLINE_FALSE$ac_delim
-USEGUI_TRUE!$USEGUI_TRUE$ac_delim
-USEGUI_FALSE!$USEGUI_FALSE$ac_delim
-GXPNG_TRUE!$GXPNG_TRUE$ac_delim
-GXPNG_FALSE!$GXPNG_FALSE$ac_delim
-GEOTIFF_TRUE!$GEOTIFF_TRUE$ac_delim
-GEOTIFF_FALSE!$GEOTIFF_FALSE$ac_delim
-USESHP_TRUE!$USESHP_TRUE$ac_delim
-USESHP_FALSE!$USESHP_FALSE$ac_delim
-USEGADAP_TRUE!$USEGADAP_TRUE$ac_delim
-USEGADAP_FALSE!$USEGADAP_FALSE$ac_delim
-USEDAP_TRUE!$USEDAP_TRUE$ac_delim
-USEDAP_FALSE!$USEDAP_FALSE$ac_delim
-USEHDF_TRUE!$USEHDF_TRUE$ac_delim
-USEHDF_FALSE!$USEHDF_FALSE$ac_delim
-extra_utils!$extra_utils$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
-_ACEOF
+  . ./conf$$subs.sh ||
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
-  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 60; then
+  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
+  if test $ac_delim_n = $ac_delim_num; then
     break
   elif $ac_last_try; then
-    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
-echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
-   { (exit 1); exit 1; }; }
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
 done
+rm -f conf$$subs.sh
 
-ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
-if test -n "$ac_eof"; then
-  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
-  ac_eof=`expr $ac_eof + 1`
-fi
-
-cat >>$CONFIG_STATUS <<_ACEOF
-cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
-_ACEOF
-sed '
-s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'"$ac_delim"'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
-' >>$CONFIG_STATUS <conf$$subs.sed
-rm -f conf$$subs.sed
-cat >>$CONFIG_STATUS <<_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
+sed -n '
+h
+s/^/S["/; s/!.*/"]=/
+p
+g
+s/^[^!]*!//
+:repl
+t repl
+s/'"$ac_delim"'$//
+t delim
+:nl
+h
+s/\(.\{148\}\)..*/\1/
+t more1
+s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
+p
+n
+b repl
+:more1
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t nl
+:delim
+h
+s/\(.\{148\}\)..*/\1/
+t more2
+s/["\\]/\\&/g; s/^/"/; s/$/"/
+p
+b
+:more2
+s/["\\]/\\&/g; s/^/"/; s/$/"\\/
+p
+g
+s/.\{148\}//
+t delim
+' <conf$$subs.awk | sed '
+/^[^""]/{
+  N
+  s/\n//
+}
+' >>$CONFIG_STATUS || ac_write_fail=1
+rm -f conf$$subs.awk
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+_ACAWK
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
+  for (key in S) S_is_set[key] = 1
+  FS = ""
+
+}
+{
+  line = $ 0
+  nfields = split(line, field, "@")
+  substed = 0
+  len = length(field[1])
+  for (i = 2; i < nfields; i++) {
+    key = field[i]
+    keylen = length(key)
+    if (S_is_set[key]) {
+      value = S[key]
+      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
+      len += length(value) + length(field[++i])
+      substed = 1
+    } else
+      len += 1 + keylen
+  }
+
+  print line
+}
 
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
+  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
+else
+  cat
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
+_ACEOF
 
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[	 ]*\):*/\1/
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
+h
+s///
+s/^/:/
+s/[	 ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
 s/:*$//
+x
+s/\(=[	 ]*\).*/\1/
+G
+s/\n//
 s/^[^=]*=[	 ]*$//
 }'
 fi
 
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 fi # test -n "$CONFIG_FILES"
 
+# Set up the scripts for CONFIG_HEADERS section.
+# No need to generate them if there are no CONFIG_HEADERS.
+# This happens for instance with `./config.status Makefile'.
+if test -n "$CONFIG_HEADERS"; then
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
+BEGIN {
+_ACEOF
+
+# Transform confdefs.h into an awk script `defines.awk', embedded as
+# here-document in config.status, that substitutes the proper values into
+# config.h.in to produce config.h.
+
+# Create a delimiter string that does not exist in confdefs.h, to ease
+# handling of long lines.
+ac_delim='%!_!# '
+for ac_last_try in false false :; do
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
+    break
+  elif $ac_last_try; then
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
+  else
+    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
+  fi
+done
+
+# For the awk script, D is an array of macro values keyed by name,
+# likewise P contains macro parameters if any.  Preserve backslash
+# newline sequences.
+
+ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
+sed -n '
+s/.\{148\}/&'"$ac_delim"'/g
+t rset
+:rset
+s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
+t def
+d
+:def
+s/\\$//
+t bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3"/p
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
+d
+:bsnl
+s/["\\]/\\&/g
+s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
+D["\1"]=" \3\\\\\\n"\\/p
+t cont
+s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
+t cont
+d
+:cont
+n
+s/.\{148\}/&'"$ac_delim"'/g
+t clear
+:clear
+s/\\$//
+t bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/"/p
+d
+:bsnlc
+s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
+b cont
+' <confdefs.h | sed '
+s/'"$ac_delim"'/"\\\
+"/g' >>$CONFIG_STATUS || ac_write_fail=1
+
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+  for (key in D) D_is_set[key] = 1
+  FS = ""
+}
+/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
+  line = \$ 0
+  split(line, arg, " ")
+  if (arg[1] == "#") {
+    defundef = arg[2]
+    mac1 = arg[3]
+  } else {
+    defundef = substr(arg[1], 2)
+    mac1 = arg[2]
+  }
+  split(mac1, mac2, "(") #)
+  macro = mac2[1]
+  prefix = substr(line, 1, index(line, defundef) - 1)
+  if (D_is_set[macro]) {
+    # Preserve the white space surrounding the "#".
+    print prefix "define", macro P[macro] D[macro]
+    next
+  } else {
+    # Replace #undef with comments.  This is necessary, for example,
+    # in the case of _POSIX_SOURCE, which is predefined and required
+    # on some systems where configure will not decide to define it.
+    if (defundef == "undef") {
+      print "/*", prefix defundef, macro, "*/"
+      next
+    }
+  }
+}
+{ print }
+_ACAWK
+_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
+fi # test -n "$CONFIG_HEADERS"
+
 
-for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
+eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
+shift
+for ac_tag
 do
   case $ac_tag in
   :[FHLC]) ac_mode=$ac_tag; continue;;
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
-echo "$as_me: error: Invalid tag $ac_tag." >&2;}
-   { (exit 1); exit 1; }; };;
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -22838,7 +14364,7 @@ echo "$as_me: error: Invalid tag $ac_tag
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$tmp/stdin";;
+      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 	 # because $ac_f cannot contain `:'.
@@ -22847,26 +14373,34 @@ echo "$as_me: error: Invalid tag $ac_tag
 	   [\\/$]*) false;;
 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 	   esac ||
-	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
-echo "$as_me: error: cannot find input file: $ac_f" >&2;}
-   { (exit 1); exit 1; }; };;
+	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
-      ac_file_inputs="$ac_file_inputs $ac_f"
+      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
+      as_fn_append ac_file_inputs " '$ac_f'"
     done
 
     # Let's still pretend it is `configure' which instantiates (i.e., don't
     # use $as_me), people would be surprised to read:
     #    /* config.h.  Generated by config.status.  */
-    configure_input="Generated from "`IFS=:
-	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
+    configure_input='Generated from '`
+	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
+	`' by configure.'
     if test x"$ac_file" != x-; then
       configure_input="$ac_file.  $configure_input"
-      { echo "$as_me:$LINENO: creating $ac_file" >&5
-echo "$as_me: creating $ac_file" >&6;}
+      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
+$as_echo "$as_me: creating $ac_file" >&6;}
     fi
+    # Neutralize special characters interpreted by sed in replacement strings.
+    case $configure_input in #(
+    *\&* | *\|* | *\\* )
+       ac_sed_conf_input=`$as_echo "$configure_input" |
+       sed 's/[\\\\&|]/\\\\&/g'`;; #(
+    *) ac_sed_conf_input=$configure_input;;
+    esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$tmp/stdin";;
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -22876,42 +14410,7 @@ $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^
 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 	 X"$ac_file" : 'X\(//\)$' \| \
 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$ac_file" |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  { as_dir="$ac_dir"
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
-    as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs="'$as_qdir' $as_dirs"
-      as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X"$as_dir" : 'X\(//\)[^/]' \| \
-	 X"$as_dir" : 'X\(//\)$' \| \
-	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-echo X"$as_dir" |
+$as_echo X"$ac_file" |
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 	    s//\1/
 	    q
@@ -22929,20 +14428,15 @@ echo X"$as_dir" |
 	    q
 	  }
 	  s/.*/./; q'`
-      test -d "$as_dir" && break
-    done
-    test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
-echo "$as_me: error: cannot create directory $as_dir" >&2;}
-   { (exit 1); exit 1; }; }; }
+  as_dir="$ac_dir"; as_fn_mkdir_p
   ac_builddir=.
 
 case "$ac_dir" in
 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 *)
-  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
+  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   # A ".." for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
+  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   case $ac_top_builddir_sub in
   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
@@ -22987,12 +14481,12 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_
   esac
 _ACEOF
 
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # If the template does not know about datarootdir, expand it.
 # FIXME: This hack should be removed a few years after 2.60.
 ac_datarootdir_hack=; ac_datarootdir_seen=
-
-case `sed -n '/datarootdir/ {
+ac_sed_dataroot='
+/datarootdir/ {
   p
   q
 }
@@ -23000,36 +14494,37 @@ case `sed -n '/datarootdir/ {
 /@docdir@/p
 /@infodir@/p
 /@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
+/@mandir@/p'
+case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 *datarootdir*) ac_datarootdir_seen=yes;;
 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
+$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 _ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   ac_datarootdir_hack='
   s&@datadir@&$datadir&g
   s&@docdir@&$docdir&g
   s&@infodir@&$infodir&g
   s&@localedir@&$localedir&g
   s&@mandir@&$mandir&g
-    s&\\\${datarootdir}&$datarootdir&g' ;;
+  s&\\\${datarootdir}&$datarootdir&g' ;;
 esac
 _ACEOF
 
 # Neutralize VPATH when `$srcdir' = `.'.
 # Shell code in configure.ac might set extrasub.
 # FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF
-  sed "$ac_vpsub
+cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_sed_extra="$ac_vpsub
 $extrasub
 _ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF
+cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 :t
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&@configure_input@&$configure_input&;t t
+s|@configure_input@|$ac_sed_conf_input|;t t
 s&@top_builddir@&$ac_top_builddir_sub&;t t
+s&@top_build_prefix@&$ac_top_build_prefix&;t t
 s&@srcdir@&$ac_srcdir&;t t
 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 s&@top_srcdir@&$ac_top_srcdir&;t t
@@ -23040,135 +14535,66 @@ s&@abs_top_builddir@&$ac_abs_top_builddi
 s&@INSTALL@&$ac_INSTALL&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack
-" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
+"
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
-  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&5
-echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&2;}
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined.  Please make sure it is defined" >&5
+$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined.  Please make sure it is defined" >&2;}
 
-  rm -f "$tmp/stdin"
+  rm -f "$ac_tmp/stdin"
   case $ac_file in
-  -) cat "$tmp/out"; rm -f "$tmp/out";;
-  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
-  esac
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
+  esac \
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;
   :H)
   #
   # CONFIG_HEADER
   #
-_ACEOF
-
-# Transform confdefs.h into a sed script `conftest.defines', that
-# substitutes the proper values into config.h.in to produce config.h.
-rm -f conftest.defines conftest.tail
-# First, append a space to every undef/define line, to ease matching.
-echo 's/$/ /' >conftest.defines
-# Then, protect against being on the right side of a sed subst, or in
-# an unquoted here document, in config.status.  If some macros were
-# called several times there might be several #defines for the same
-# symbol, which is useless.  But do not sort them, since the last
-# AC_DEFINE must be honored.
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
-# NAME is the cpp macro being defined, VALUE is the value it is being given.
-# PARAMS is the parameter list in the macro definition--in most cases, it's
-# just an empty string.
-ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
-ac_dB='\\)[	 (].*,\\1define\\2'
-ac_dC=' '
-ac_dD=' ,'
-
-uniq confdefs.h |
-  sed -n '
-	t rset
-	:rset
-	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
-	t ok
-	d
-	:ok
-	s/[\\&,]/\\&/g
-	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
-	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
-  ' >>conftest.defines
-
-# Remove the space that was appended to ease matching.
-# Then replace #undef with comments.  This is necessary, for
-# example, in the case of _POSIX_SOURCE, which is predefined and required
-# on some systems where configure will not decide to define it.
-# (The regexp can be short, since the line contains either #define or #undef.)
-echo 's/ $//
-s,^[	 #]*u.*,/* & */,' >>conftest.defines
-
-# Break up conftest.defines:
-ac_max_sed_lines=50
-
-# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
-# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
-# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
-# et cetera.
-ac_in='$ac_file_inputs'
-ac_out='"$tmp/out1"'
-ac_nxt='"$tmp/out2"'
-
-while :
-do
-  # Write a here document:
-    cat >>$CONFIG_STATUS <<_ACEOF
-    # First, check the format of the line:
-    cat >"\$tmp/defines.sed" <<\\CEOF
-/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
-/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
-b
-:def
-_ACEOF
-  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
-  echo 'CEOF
-    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
-  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
-  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
-  grep . conftest.tail >/dev/null || break
-  rm -f conftest.defines
-  mv conftest.tail conftest.defines
-done
-rm -f conftest.defines conftest.tail
-
-echo "ac_result=$ac_in" >>$CONFIG_STATUS
-cat >>$CONFIG_STATUS <<\_ACEOF
   if test x"$ac_file" != x-; then
-    echo "/* $configure_input  */" >"$tmp/config.h"
-    cat "$ac_result" >>"$tmp/config.h"
-    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
-      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
-echo "$as_me: $ac_file is unchanged" >&6;}
+    {
+      $as_echo "/* $configure_input  */" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+    } >"$ac_tmp/config.h" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
+$as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
-      rm -f $ac_file
-      mv "$tmp/config.h" $ac_file
+      rm -f "$ac_file"
+      mv "$ac_tmp/config.h" "$ac_file" \
+	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi
   else
-    echo "/* $configure_input  */"
-    cat "$ac_result"
+    $as_echo "/* $configure_input  */" \
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+      || as_fn_error $? "could not create -" "$LINENO" 5
   fi
-  rm -f "$tmp/out12"
-# Compute $ac_file's index in $config_headers.
+# Compute "$ac_file"'s index in $config_headers.
+_am_arg="$ac_file"
 _am_stamp_count=1
 for _am_header in $config_headers :; do
   case $_am_header in
-    $ac_file | $ac_file:* )
+    $_am_arg | $_am_arg:* )
       break ;;
     * )
       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   esac
 done
-echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
-$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
-	 X$ac_file : 'X\(//\)[^/]' \| \
-	 X$ac_file : 'X\(//\)$' \| \
-	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
-echo X$ac_file |
+echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
+$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	 X"$_am_arg" : 'X\(//\)[^/]' \| \
+	 X"$_am_arg" : 'X\(//\)$' \| \
+	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
+$as_echo X"$_am_arg" |
     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 	    s//\1/
 	    q
@@ -23194,11 +14620,13 @@ echo X$ac_file |
 done # for ac_tag
 
 
-{ (exit 0); exit 0; }
+as_fn_exit 0
 _ACEOF
-chmod +x $CONFIG_STATUS
 ac_clean_files=$ac_clean_files_save
 
+test $ac_write_fail = 0 ||
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
+
 
 # configure is writing to config.log, and then calls config.status.
 # config.status does its own redirection, appending to config.log.
@@ -23218,7 +14646,11 @@ if test "$no_create" != yes; then
   exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.
-  $ac_cs_success || { (exit 1); exit 1; }
+  $ac_cs_success || as_fn_exit 1
+fi
+if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
+$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 fi
 
 
--- grads-2.0.a9.orig/aclocal.m4
+++ grads-2.0.a9/aclocal.m4
@@ -1,7 +1,7 @@
-# generated automatically by aclocal 1.10 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006  Free Software Foundation, Inc.
+# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -11,12 +11,15 @@
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-m4_if(m4_PACKAGE_VERSION, [2.61],,
-[m4_fatal([this file was generated for autoconf 2.61.
-You have another version of autoconf.  If you want to use that,
-you should regenerate the build system entirely.], [63])])
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
+[m4_warning([this file was generated for autoconf 2.68.
+You have another version of autoconf.  It may work, but is not guaranteed to.
+If you have problems, you may need to regenerate the build system entirely.
+To do so, use the procedure documented by the package, typically `autoreconf'.])])
 
-# Copyright (C) 2002, 2003, 2005, 2006  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -28,10 +31,10 @@ you should regenerate the build system e
 # generated from the m4 files accompanying Automake X.Y.
 # (This private macro should not be called outside this file.)
 AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.10'
+[am__api_version='1.11'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.10], [],
+m4_if([$1], [1.11.1], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -45,10 +48,12 @@ m4_define([_AM_AUTOCONF_VERSION], [])
 # AM_SET_CURRENT_AUTOMAKE_VERSION
 # -------------------------------
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
+# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.10])dnl
-_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
+[AM_AUTOMAKE_VERSION([1.11.1])dnl
+m4_ifndef([AC_AUTOCONF_VERSION],
+  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
+_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
@@ -105,14 +110,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
+# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
 # Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 8
+# serial 9
 
 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
 # -------------------------------------
@@ -125,6 +130,7 @@ AC_SUBST([$1_TRUE])dnl
 AC_SUBST([$1_FALSE])dnl
 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
+m4_define([_AM_COND_VALUE_$1], [$2])dnl
 if $2; then
   $1_TRUE=
   $1_FALSE='#'
@@ -153,13 +159,13 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_
 # Do all the work for Automake.                             -*- Autoconf -*-
 
 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006 Free Software Foundation, Inc.
+# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 12
+# serial 16
 
 # This macro actually does too much.  Some checks are only needed if
 # your package does certain things.  But this isn't really a big deal.
@@ -176,7 +182,7 @@ AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_
 # arguments mandatory, and then we can depend on a new Autoconf
 # release and drop the old call support.
 AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.60])dnl
+[AC_PREREQ([2.62])dnl
 dnl Autoconf wants to disallow AM_ names.  We explicitly allow
 dnl the ones we care about.
 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -227,8 +233,8 @@ AM_MISSING_PROG(AUTOCONF, autoconf)
 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
 AM_MISSING_PROG(AUTOHEADER, autoheader)
 AM_MISSING_PROG(MAKEINFO, makeinfo)
-AM_PROG_INSTALL_SH
-AM_PROG_INSTALL_STRIP
+AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
+AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
 # We need awk for the "check" target.  The system "awk" is bad on
 # some platforms.
@@ -236,24 +242,37 @@ AC_REQUIRE([AC_PROG_AWK])dnl
 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
-              [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
-	      		     [_AM_PROG_TAR([v7])])])
+	      [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
+			     [_AM_PROG_TAR([v7])])])
 _AM_IF_OPTION([no-dependencies],,
 [AC_PROVIDE_IFELSE([AC_PROG_CC],
-                  [_AM_DEPENDENCIES(CC)],
-                  [define([AC_PROG_CC],
-                          defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
+		  [_AM_DEPENDENCIES(CC)],
+		  [define([AC_PROG_CC],
+			  defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
 AC_PROVIDE_IFELSE([AC_PROG_CXX],
-                  [_AM_DEPENDENCIES(CXX)],
-                  [define([AC_PROG_CXX],
-                          defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
+		  [_AM_DEPENDENCIES(CXX)],
+		  [define([AC_PROG_CXX],
+			  defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
-                  [_AM_DEPENDENCIES(OBJC)],
-                  [define([AC_PROG_OBJC],
-                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
+		  [_AM_DEPENDENCIES(OBJC)],
+		  [define([AC_PROG_OBJC],
+			  defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 ])
+_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
+dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
+dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
+dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_CONFIG_COMMANDS_PRE(dnl
+[m4_provide_if([_AM_COMPILER_EXEEXT],
+  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
 ])
 
+dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
+dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
+dnl mangled by Autoconf and run in a shell conditional statement.
+m4_define([_AC_COMPILER_EXEEXT],
+m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
+
 
 # When config.status generates a header, we must update the stamp-h file.
 # This file resides in the same directory as the config header
@@ -264,18 +283,19 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
 # our stamp files there.
 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
 [# Compute $1's index in $config_headers.
+_am_arg=$1
 _am_stamp_count=1
 for _am_header in $config_headers :; do
   case $_am_header in
-    $1 | $1:* )
+    $_am_arg | $_am_arg:* )
       break ;;
     * )
       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   esac
 done
-echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
+echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -286,7 +306,14 @@ echo "timestamp for $1" >`AS_DIRNAME([$1
 # Define $install_sh.
 AC_DEFUN([AM_PROG_INSTALL_SH],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
+if test x"${install_sh}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
+  *)
+    install_sh="\${SHELL} $am_aux_dir/install-sh"
+  esac
+fi
 AC_SUBST(install_sh)])
 
 # Copyright (C) 2003, 2005  Free Software Foundation, Inc.
@@ -313,27 +340,38 @@ AC_SUBST([am__leading_dot])])
 # Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
 # From Jim Meyering
 
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
 # Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 4
+# serial 5
 
+# AM_MAINTAINER_MODE([DEFAULT-MODE])
+# ----------------------------------
+# Control maintainer-specific portions of Makefiles.
+# Default is to disable them, unless `enable' is passed literally.
+# For symmetry, `disable' may be passed as well.  Anyway, the user
+# can override the default with the --enable/--disable switch.
 AC_DEFUN([AM_MAINTAINER_MODE],
-[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
-  dnl maintainer-mode is disabled by default
-  AC_ARG_ENABLE(maintainer-mode,
-[  --enable-maintainer-mode  enable make rules and dependencies not useful
+[m4_case(m4_default([$1], [disable]),
+       [enable], [m4_define([am_maintainer_other], [disable])],
+       [disable], [m4_define([am_maintainer_other], [enable])],
+       [m4_define([am_maintainer_other], [enable])
+        m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
+  dnl maintainer-mode's default is 'disable' unless 'enable' is passed
+  AC_ARG_ENABLE([maintainer-mode],
+[  --][am_maintainer_other][-maintainer-mode  am_maintainer_other make rules and dependencies not useful
 			  (and sometimes confusing) to the casual installer],
-      USE_MAINTAINER_MODE=$enableval,
-      USE_MAINTAINER_MODE=no)
+      [USE_MAINTAINER_MODE=$enableval],
+      [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
   AC_MSG_RESULT([$USE_MAINTAINER_MODE])
-  AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
+  AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
   MAINT=$MAINTAINER_MODE_TRUE
-  AC_SUBST(MAINT)dnl
+  AC_SUBST([MAINT])dnl
 ]
 )
 
@@ -341,14 +379,14 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINT
 
 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
 
-# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
+# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
 # Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 5
+# serial 6
 
 # AM_MISSING_PROG(NAME, PROGRAM)
 # ------------------------------
@@ -365,7 +403,14 @@ AC_SUBST($1)])
 AC_DEFUN([AM_MISSING_HAS_RUN],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
 AC_REQUIRE_AUX_FILE([missing])dnl
-test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
+if test x"${MISSING+set}" != xset; then
+  case $am_aux_dir in
+  *\ * | *\	*)
+    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
+  *)
+    MISSING="\${SHELL} $am_aux_dir/missing" ;;
+  esac
+fi
 # Use eval to expand $SHELL
 if eval "$MISSING --run true"; then
   am_missing_run="$MISSING --run "
@@ -403,13 +448,13 @@ esac
 
 # Helper functions for option handling.                     -*- Autoconf -*-
 
-# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 3
+# serial 4
 
 # _AM_MANGLE_OPTION(NAME)
 # -----------------------
@@ -426,7 +471,7 @@ AC_DEFUN([_AM_SET_OPTION],
 # ----------------------------------
 # OPTIONS is a space-separated list of Automake options.
 AC_DEFUN([_AM_SET_OPTIONS],
-[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
+[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
 # -------------------------------------------
@@ -436,14 +481,14 @@ AC_DEFUN([_AM_IF_OPTION],
 
 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
 
-# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
+# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
 # Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
-# serial 4
+# serial 5
 
 # AM_SANITY_CHECK
 # ---------------
@@ -452,16 +497,29 @@ AC_DEFUN([AM_SANITY_CHECK],
 # Just in case
 sleep 1
 echo timestamp > conftest.file
+# Reject unsafe characters in $srcdir or the absolute working directory
+# name.  Accept space and tab only in the latter.
+am_lf='
+'
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+case $srcdir in
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
+    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
+esac
+
 # Do `set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a
 # symlink; some systems play weird games with the mod time of symlinks
 # (eg FreeBSD returns the mod time of the symlink's containing
 # directory).
 if (
-   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
+   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    if test "$[*]" = "X"; then
       # -L didn't work.
-      set X `ls -t $srcdir/configure conftest.file`
+      set X `ls -t "$srcdir/configure" conftest.file`
    fi
    rm -f conftest.file
    if test "$[*]" != "X $srcdir/configure conftest.file" \
@@ -514,18 +572,25 @@ fi
 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 AC_SUBST([INSTALL_STRIP_PROGRAM])])
 
-# Copyright (C) 2006  Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
 
+# serial 2
+
 # _AM_SUBST_NOTMAKE(VARIABLE)
 # ---------------------------
-# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
+# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
 # This macro is traced by Automake.
 AC_DEFUN([_AM_SUBST_NOTMAKE])
 
+# AM_SUBST_NOTMAKE(VARIABLE)
+# ---------------------------
+# Public sister of _AM_SUBST_NOTMAKE.
+AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
+
 # Check how to create a tarball.                            -*- Autoconf -*-
 
 # Copyright (C) 2004, 2005  Free Software Foundation, Inc.
@@ -623,6 +688,7 @@ AC_SUBST([am__untar])
 ]) # _AM_PROG_TAR
 
 m4_include([m4/Xaw.m4])
+m4_include([m4/as-needed.m4])
 m4_include([m4/ga_lib_readline.m4])
 m4_include([m4/gd.m4])
 m4_include([m4/geotiff.m4])
@@ -635,5 +701,4 @@ m4_include([m4/netcdf.m4])
 m4_include([m4/netcdf_header.m4])
 m4_include([m4/pkg.m4])
 m4_include([m4/udunits.m4])
-m4_include([m4/as-needed.m4])
 m4_include([acinclude.m4])
--- grads-2.0.a9.orig/Makefile.in
+++ grads-2.0.a9/Makefile.in
@@ -1,8 +1,9 @@
-# Makefile.in generated by automake 1.10 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -15,8 +16,9 @@
 @SET_MAKE@
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 install_sh_DATA = $(install_sh) -c -m 644
 install_sh_PROGRAM = $(install_sh) -c
@@ -33,11 +35,12 @@ build_triplet = @build@
 host_triplet = @host@
 subdir = .
 DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
-	$(srcdir)/Makefile.in $(top_srcdir)/configure ChangeLog \
-	INSTALL etc/compile etc/config.guess etc/config.sub \
-	etc/install-sh etc/missing etc/mkinstalldirs
+	$(srcdir)/Makefile.in $(top_srcdir)/configure INSTALL \
+	etc/compile etc/config.guess etc/config.sub etc/install-sh \
+	etc/missing etc/mkinstalldirs
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/Xaw.m4 \
+	$(top_srcdir)/m4/as-needed.m4 \
 	$(top_srcdir)/m4/ga_lib_readline.m4 $(top_srcdir)/m4/gd.m4 \
 	$(top_srcdir)/m4/geotiff.m4 $(top_srcdir)/m4/grib2.m4 \
 	$(top_srcdir)/m4/gui.m4 $(top_srcdir)/m4/hdf4.m4 \
@@ -52,6 +55,7 @@ am__CONFIG_DISTCLEAN_FILES = config.stat
 mkinstalldirs = $(SHELL) $(top_srcdir)/etc/mkinstalldirs
 CONFIG_HEADER = $(top_builddir)/src/config.h
 CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
 depcomp =
 am__depfiles_maybe =
 SOURCES =
@@ -65,6 +69,9 @@ RECURSIVE_TARGETS = all-recursive check-
 	ps-recursive uninstall-recursive
 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
   distclean-recursive maintainer-clean-recursive
+AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
+	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+	distdir dist dist-all distcheck
 ETAGS = etags
 CTAGS = ctags
 DIST_SUBDIRS = $(SUBDIRS)
@@ -72,9 +79,34 @@ DISTFILES = $(DIST_COMMON) $(DIST_SOURCE
 distdir = $(PACKAGE)-$(VERSION)
 top_distdir = $(distdir)
 am__remove_distdir = \
-  { test ! -d $(distdir) \
-    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
-         && rm -fr $(distdir); }; }
+  { test ! -d "$(distdir)" \
+    || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
+         && rm -fr "$(distdir)"; }; }
+am__relativize = \
+  dir0=`pwd`; \
+  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
+  sed_rest='s,^[^/]*/*,,'; \
+  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+  sed_butlast='s,/*[^/]*$$,,'; \
+  while test -n "$$dir1"; do \
+    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
+    if test "$$first" != "."; then \
+      if test "$$first" = ".."; then \
+        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
+      else \
+        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
+        if test "$$first2" = "$$first"; then \
+          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
+        else \
+          dir2="../$$dir2"; \
+        fi; \
+        dir0="$$dir0"/"$$first"; \
+      fi; \
+    fi; \
+    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
+  done; \
+  reldir="$$dir2"
 DIST_ARCHIVES = $(distdir).tar.gz
 GZIP_ENV = --best
 distuninstallcheck_listfiles = find . -type f -print
@@ -137,6 +169,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 PACKAGE_NAME = @PACKAGE_NAME@
 PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
@@ -225,6 +258,7 @@ shp_libs = @shp_libs@
 srcdir = @srcdir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 
@@ -250,15 +284,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
 	@for dep in $?; do \
 	  case '$(am__configure_deps)' in \
 	    *$$dep*) \
-	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps'; \
-	      cd $(srcdir) && $(AUTOMAKE) --foreign  --ignore-deps \
+	      echo ' cd $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps'; \
+	      $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign --ignore-deps \
 		&& exit 0; \
 	      exit 1;; \
 	  esac; \
 	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  --ignore-deps Makefile'; \
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --foreign  --ignore-deps Makefile
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --foreign --ignore-deps Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \
@@ -274,9 +308,10 @@ $(top_builddir)/config.status: $(top_src
 	$(SHELL) ./config.status --recheck
 
 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
-	cd $(srcdir) && $(AUTOCONF)
+	$(am__cd) $(srcdir) && $(AUTOCONF)
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
-	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
+$(am__aclocal_m4_deps):
 
 # This directory's subdirectories are mostly independent; you can cd
 # into them and run `make' without going through this Makefile.
@@ -285,7 +320,7 @@ $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(
 #     (which will cause the Makefiles to be regenerated when you run `make');
 # (2) otherwise, pass the desired values on the `make' command line.
 $(RECURSIVE_TARGETS):
-	@failcom='exit 1'; \
+	@fail= failcom='exit 1'; \
 	for f in x $$MAKEFLAGS; do \
 	  case $$f in \
 	    *=* | --[!k]*);; \
@@ -302,7 +337,7 @@ $(RECURSIVE_TARGETS):
 	  else \
 	    local_target="$$target"; \
 	  fi; \
-	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 	  || eval $$failcom; \
 	done; \
 	if test "$$dot_seen" = "no"; then \
@@ -310,7 +345,7 @@ $(RECURSIVE_TARGETS):
 	fi; test -z "$$fail"
 
 $(RECURSIVE_CLEAN_TARGETS):
-	@failcom='exit 1'; \
+	@fail= failcom='exit 1'; \
 	for f in x $$MAKEFLAGS; do \
 	  case $$f in \
 	    *=* | --[!k]*);; \
@@ -336,16 +371,16 @@ $(RECURSIVE_CLEAN_TARGETS):
 	  else \
 	    local_target="$$target"; \
 	  fi; \
-	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
+	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
 	  || eval $$failcom; \
 	done && test -z "$$fail"
 tags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
 	done
 ctags-recursive:
 	list='$(SUBDIRS)'; for subdir in $$list; do \
-	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
+	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
 	done
 
 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
@@ -353,14 +388,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
 	mkid -fID $$unique
 tags: TAGS
 
 TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
-	tags=; \
+	set x; \
 	here=`pwd`; \
 	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
 	  include_option=--etags-include; \
@@ -372,46 +407,50 @@ TAGS: tags-recursive $(HEADERS) $(SOURCE
 	list='$(SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
 	    test ! -f $$subdir/TAGS || \
-	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
+	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
 	  fi; \
 	done; \
 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
-	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	shift; \
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
 	  test -n "$$unique" || unique=$$empty_fix; \
-	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	    $$tags $$unique; \
+	  if test $$# -gt 0; then \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      "$$@" $$unique; \
+	  else \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      $$unique; \
+	  fi; \
 	fi
 ctags: CTAGS
 CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
-	tags=; \
-	here=`pwd`; \
 	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
-	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	test -z "$(CTAGS_ARGS)$$unique" \
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$tags $$unique
+	     $$unique
 
 GTAGS:
 	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && cd $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) $$here
+	  && $(am__cd) $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) "$$here"
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
 distdir: $(DISTFILES)
 	$(am__remove_distdir)
-	test -d $(distdir) || mkdir $(distdir)
+	test -d "$(distdir)" || mkdir "$(distdir)"
 	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
 	list='$(DISTFILES)'; \
@@ -427,38 +466,55 @@ distdir: $(DISTFILES)
 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 	  if test -d $$d/$$file; then \
 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 	    fi; \
-	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
 	  else \
-	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
 	    || exit 1; \
 	  fi; \
 	done
-	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
 	  if test "$$subdir" = .; then :; else \
 	    test -d "$(distdir)/$$subdir" \
 	    || $(MKDIR_P) "$(distdir)/$$subdir" \
 	    || exit 1; \
-	    distdir=`$(am__cd) $(distdir) && pwd`; \
-	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
-	    (cd $$subdir && \
+	  fi; \
+	done
+	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
+	  if test "$$subdir" = .; then :; else \
+	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
+	    $(am__relativize); \
+	    new_distdir=$$reldir; \
+	    dir1=$$subdir; dir2="$(top_distdir)"; \
+	    $(am__relativize); \
+	    new_top_distdir=$$reldir; \
+	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
+	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
+	    ($(am__cd) $$subdir && \
 	      $(MAKE) $(AM_MAKEFLAGS) \
-	        top_distdir="$$top_distdir" \
-	        distdir="$$distdir/$$subdir" \
+	        top_distdir="$$new_top_distdir" \
+	        distdir="$$new_distdir" \
 		am__remove_distdir=: \
 		am__skip_length_check=: \
+		am__skip_mode_fix=: \
 	        distdir) \
 	      || exit 1; \
 	  fi; \
 	done
-	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+	-test -n "$(am__skip_mode_fix)" \
+	|| find "$(distdir)" -type d ! -perm -755 \
+		-exec chmod u+rwx,go+rx {} \; -o \
 	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
 	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
 	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
-	|| chmod -R a+r $(distdir)
+	|| chmod -R a+r "$(distdir)"
 dist-gzip: distdir
 	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
 	$(am__remove_distdir)
@@ -467,6 +523,14 @@ dist-bzip2: distdir
 	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
 	$(am__remove_distdir)
 
+dist-lzma: distdir
+	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
+	$(am__remove_distdir)
+
+dist-xz: distdir
+	tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
+	$(am__remove_distdir)
+
 dist-tarZ: distdir
 	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
 	$(am__remove_distdir)
@@ -490,13 +554,17 @@ dist dist-all: distdir
 distcheck: dist
 	case '$(DIST_ARCHIVES)' in \
 	*.tar.gz*) \
-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
 	*.tar.bz2*) \
-	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
+	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
+	*.tar.lzma*) \
+	  lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
+	*.tar.xz*) \
+	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
 	*.tar.Z*) \
 	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
 	*.shar.gz*) \
-	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
 	*.zip*) \
 	  unzip $(distdir).zip ;;\
 	esac
@@ -504,9 +572,11 @@ distcheck: dist
 	mkdir $(distdir)/_build
 	mkdir $(distdir)/_inst
 	chmod a-w $(distdir)
+	test -d $(distdir)/_build || exit 0; \
 	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
-	  && cd $(distdir)/_build \
+	  && am__cwd=`pwd` \
+	  && $(am__cd) $(distdir)/_build \
 	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
 	    $(DISTCHECK_CONFIGURE_FLAGS) \
 	  && $(MAKE) $(AM_MAKEFLAGS) \
@@ -528,13 +598,15 @@ distcheck: dist
 	  && rm -rf "$$dc_destdir" \
 	  && $(MAKE) $(AM_MAKEFLAGS) dist \
 	  && rm -rf $(DIST_ARCHIVES) \
-	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
+	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
+	  && cd "$$am__cwd" \
+	  || exit 1
 	$(am__remove_distdir)
 	@(echo "$(distdir) archives ready for distribution: "; \
 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
 	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
 distuninstallcheck:
-	@cd $(distuninstallcheck_dir) \
+	@$(am__cd) '$(distuninstallcheck_dir)' \
 	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
 	   || { echo "ERROR: files left after uninstall:" ; \
 	        if test -n "$(DESTDIR)"; then \
@@ -576,6 +648,7 @@ clean-generic:
 
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 
 maintainer-clean-generic:
 	@echo "This command is intended for maintainers to use"
@@ -595,6 +668,8 @@ dvi-am:
 
 html: html-recursive
 
+html-am:
+
 info: info-recursive
 
 info-am:
@@ -603,18 +678,28 @@ install-data-am:
 
 install-dvi: install-dvi-recursive
 
+install-dvi-am:
+
 install-exec-am:
 
 install-html: install-html-recursive
 
+install-html-am:
+
 install-info: install-info-recursive
 
+install-info-am:
+
 install-man:
 
 install-pdf: install-pdf-recursive
 
+install-pdf-am:
+
 install-ps: install-ps-recursive
 
+install-ps-am:
+
 installcheck-am:
 
 maintainer-clean: maintainer-clean-recursive
@@ -637,23 +722,23 @@ ps-am:
 
 uninstall-am:
 
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
-	install-strip
+.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
+	install-am install-strip tags-recursive
 
 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
 	all all-am am--refresh check check-am clean clean-generic \
 	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
-	dist-shar dist-tarZ dist-zip distcheck distclean \
-	distclean-generic distclean-tags distcleancheck distdir \
-	distuninstallcheck dvi dvi-am html html-am info info-am \
-	install install-am install-data install-data-am install-dvi \
-	install-dvi-am install-exec install-exec-am install-html \
-	install-html-am install-info install-info-am install-man \
-	install-pdf install-pdf-am install-ps install-ps-am \
-	install-strip installcheck installcheck-am installdirs \
-	installdirs-am maintainer-clean maintainer-clean-generic \
-	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
-	tags-recursive uninstall uninstall-am
+	dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
+	distclean distclean-generic distclean-tags distcleancheck \
+	distdir distuninstallcheck dvi dvi-am html html-am info \
+	info-am install install-am install-data install-data-am \
+	install-dvi install-dvi-am install-exec install-exec-am \
+	install-html install-html-am install-info install-info-am \
+	install-man install-pdf install-pdf-am install-ps \
+	install-ps-am install-strip installcheck installcheck-am \
+	installdirs installdirs-am maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+	pdf-am ps ps-am tags tags-recursive uninstall uninstall-am
 
 
 # Indicate that these targets are not the names of files
@@ -703,6 +788,7 @@ bin-snapshot: all-am
 	date_str=`date '+%Y%m%d-%H%M'`; \
 	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir)-bin-snapshot-$${date_str}.tar.gz; \
 	$(am__remove_distdir)
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- grads-2.0.a9.orig/etc/config.sub
+++ grads-2.0.a9/etc/config.sub
@@ -1,9 +1,10 @@
 #! /bin/sh
 # Configuration validation subroutine script.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011 Free Software Foundation, Inc.
 
-timestamp='2002-03-07'
+timestamp='2011-03-23'
 
 # This file is (in principle) common to ALL GNU software.
 # The presence of a machine in this file suggests that SOME GNU software
@@ -21,22 +22,26 @@ timestamp='2002-03-07'
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330,
-# Boston, MA 02111-1307, USA.
-
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
+
 # Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+# diff and a properly formatted GNU ChangeLog entry.
 #
 # Configuration subroutine to validate and canonicalize a configuration type.
 # Supply the specified configuration type as an argument.
 # If it is invalid, we print an error message on stderr and exit with code 1.
 # Otherwise, we print the canonical config type on stdout and succeed.
 
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
+
 # This file is supposed to be the same for all GNU packages
 # and recognize all the CPU types, system types and aliases
 # that are meaningful with *any* GNU software.
@@ -70,8 +75,9 @@ Report bugs and patches to <config-patch
 version="\
 GNU config.sub ($timestamp)
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
+Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -83,11 +89,11 @@ Try \`$me --help' for more information."
 while test $# -gt 0 ; do
   case $1 in
     --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit 0 ;;
+       echo "$timestamp" ; exit ;;
     --version | -v )
-       echo "$version" ; exit 0 ;;
+       echo "$version" ; exit ;;
     --help | --h* | -h )
-       echo "$usage"; exit 0 ;;
+       echo "$usage"; exit ;;
     -- )     # Stop option processing
        shift; break ;;
     - )	# Use stdin as input.
@@ -99,7 +105,7 @@ while test $# -gt 0 ; do
     *local*)
        # First pass through any local machine types.
        echo $1
-       exit 0;;
+       exit ;;
 
     * )
        break ;;
@@ -118,7 +124,11 @@ esac
 # Here we must recognize all the valid KERNEL-OS combinations.
 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
 case $maybe_os in
-  nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
+  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+  linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+  knetbsd*-gnu* | netbsd*-gnu* | \
+  kopensolaris*-gnu* | \
+  storm-chaos* | os2-emx* | rtmk-nova*)
     os=-$maybe_os
     basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
     ;;
@@ -144,10 +154,13 @@ case $os in
 	-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
 	-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
 	-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
-	-apple | -axis)
+	-apple | -axis | -knuth | -cray | -microblaze)
 		os=
 		basic_machine=$1
 		;;
+	-bluegene*)
+		os=-cnk
+		;;
 	-sim | -cisco | -oki | -wec | -winbond)
 		os=
 		basic_machine=$1
@@ -162,13 +175,17 @@ case $os in
 		os=-chorusos
 		basic_machine=$1
 		;;
- 	-chorusrdb)
- 		os=-chorusrdb
+	-chorusrdb)
+		os=-chorusrdb
 		basic_machine=$1
- 		;;
+		;;
 	-hiux*)
 		os=-hiuxwe2
 		;;
+	-sco6)
+		os=-sco5v6
+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+		;;
 	-sco5)
 		os=-sco3.2v5
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -185,6 +202,10 @@ case $os in
 		# Don't forget version if it is 3.2v4 or newer.
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
 		;;
+	-sco5v6*)
+		# Don't forget version if it is 3.2v4 or newer.
+		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+		;;
 	-sco*)
 		os=-sco3.2v2
 		basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
@@ -228,41 +249,94 @@ case $basic_machine in
 	| a29k \
 	| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
 	| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
-	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
+	| am33_2.0 \
+	| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
+	| bfin \
 	| c4x | clipper \
-	| d10v | d30v | dsp16xx \
-	| fr30 \
+	| d10v | d30v | dlx | dsp16xx \
+	| fido | fr30 | frv \
 	| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
 	| i370 | i860 | i960 | ia64 \
-	| m32r | m68000 | m68k | m88k | mcore \
-	| mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
-	| mips64vr4100 | mips64vr4100el | mips64vr4300 \
-	| mips64vr4300el | mips64vr5000 | mips64vr5000el \
-	| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
-	| mipsisa32 | mipsisa64 \
+	| ip2k | iq2000 \
+	| lm32 \
+	| m32c | m32r | m32rle | m68000 | m68k | m88k \
+	| maxq | mb | microblaze | mcore | mep | metag \
+	| mips | mipsbe | mipseb | mipsel | mipsle \
+	| mips16 \
+	| mips64 | mips64el \
+	| mips64octeon | mips64octeonel \
+	| mips64orion | mips64orionel \
+	| mips64r5900 | mips64r5900el \
+	| mips64vr | mips64vrel \
+	| mips64vr4100 | mips64vr4100el \
+	| mips64vr4300 | mips64vr4300el \
+	| mips64vr5000 | mips64vr5000el \
+	| mips64vr5900 | mips64vr5900el \
+	| mipsisa32 | mipsisa32el \
+	| mipsisa32r2 | mipsisa32r2el \
+	| mipsisa64 | mipsisa64el \
+	| mipsisa64r2 | mipsisa64r2el \
+	| mipsisa64sb1 | mipsisa64sb1el \
+	| mipsisa64sr71k | mipsisa64sr71kel \
+	| mipstx39 | mipstx39el \
 	| mn10200 | mn10300 \
+	| moxie \
+	| mt \
+	| msp430 \
+	| nds32 | nds32le | nds32be \
+	| nios | nios2 \
 	| ns16k | ns32k \
-	| openrisc | or32 \
+	| open8 \
+	| or32 \
 	| pdp10 | pdp11 | pj | pjl \
-	| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
+	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pyramid \
-	| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
-	| sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
-	| strongarm \
-	| tahoe | thumb | tic80 | tron \
+	| rx \
+	| score \
+	| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+	| sh64 | sh64le \
+	| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+	| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+	| spu \
+	| tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+	| ubicom32 \
 	| v850 | v850e \
 	| we32k \
-	| x86 | xscale | xstormy16 | xtensa \
-	| z8k)
+	| x86 | xc16x | xstormy16 | xtensa \
+	| z8k | z80)
 		basic_machine=$basic_machine-unknown
 		;;
-	m6811 | m68hc11 | m6812 | m68hc12)
+	c54x)
+		basic_machine=tic54x-unknown
+		;;
+	c55x)
+		basic_machine=tic55x-unknown
+		;;
+	c6x)
+		basic_machine=tic6x-unknown
+		;;
+	m6811 | m68hc11 | m6812 | m68hc12 | picochip)
 		# Motorola 68HC11/12.
 		basic_machine=$basic_machine-unknown
 		os=-none
 		;;
 	m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
 		;;
+	ms1)
+		basic_machine=mt-unknown
+		;;
+
+	strongarm | thumb | xscale)
+		basic_machine=arm-unknown
+		;;
+
+	xscaleeb)
+		basic_machine=armeb-unknown
+		;;
+
+	xscaleel)
+		basic_machine=armel-unknown
+		;;
 
 	# We use `pc' rather than `unknown'
 	# because (1) that's what they normally are, and
@@ -281,40 +355,72 @@ case $basic_machine in
 	| alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
 	| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
 	| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
-	| arm-*  | armbe-* | armle-* | armv*-* \
-	| avr-* \
-	| bs2000-* \
-	| c[123]* | c30-* | [cjt]90-* | c54x-* \
-	| clipper-* | cydra-* \
-	| d10v-* | d30v-* \
+	| arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
+	| avr-* | avr32-* \
+	| bfin-* | bs2000-* \
+	| c[123]* | c30-* | [cjt]90-* | c4x-* \
+	| clipper-* | craynv-* | cydra-* \
+	| d10v-* | d30v-* | dlx-* \
 	| elxsi-* \
-	| f30[01]-* | f700-* | fr30-* | fx80-* \
+	| f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
 	| h8300-* | h8500-* \
 	| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
 	| i*86-* | i860-* | i960-* | ia64-* \
-	| m32r-* \
+	| ip2k-* | iq2000-* \
+	| lm32-* \
+	| m32c-* | m32r-* | m32rle-* \
 	| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
-	| m88110-* | m88k-* | mcore-* \
-	| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
-	| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
-	| mips64vr4300-* | mips64vr4300el-* | mipsbe-* | mipseb-* \
-	| mipsle-* | mipsel-* | mipstx39-* | mipstx39el-* \
+	| m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
+	| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+	| mips16-* \
+	| mips64-* | mips64el-* \
+	| mips64octeon-* | mips64octeonel-* \
+	| mips64orion-* | mips64orionel-* \
+	| mips64r5900-* | mips64r5900el-* \
+	| mips64vr-* | mips64vrel-* \
+	| mips64vr4100-* | mips64vr4100el-* \
+	| mips64vr4300-* | mips64vr4300el-* \
+	| mips64vr5000-* | mips64vr5000el-* \
+	| mips64vr5900-* | mips64vr5900el-* \
+	| mipsisa32-* | mipsisa32el-* \
+	| mipsisa32r2-* | mipsisa32r2el-* \
+	| mipsisa64-* | mipsisa64el-* \
+	| mipsisa64r2-* | mipsisa64r2el-* \
+	| mipsisa64sb1-* | mipsisa64sb1el-* \
+	| mipsisa64sr71k-* | mipsisa64sr71kel-* \
+	| mipstx39-* | mipstx39el-* \
+	| mmix-* \
+	| mt-* \
+	| msp430-* \
+	| nds32-* | nds32le-* | nds32be-* \
+	| nios-* | nios2-* \
 	| none-* | np1-* | ns16k-* | ns32k-* \
+	| open8-* \
 	| orion-* \
 	| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
-	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
+	| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
 	| pyramid-* \
-	| romp-* | rs6000-* \
-	| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
-	| sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
-	| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
-	| tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
+	| romp-* | rs6000-* | rx-* \
+	| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+	| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+	| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+	| sparclite-* \
+	| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
+	| tahoe-* \
+	| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+	| tile-* | tilegx-* \
+	| tron-* \
+	| ubicom32-* \
 	| v850-* | v850e-* | vax-* \
 	| we32k-* \
-	| x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
-	| xtensa-* \
+	| x86-* | x86_64-* | xc16x-* | xps100-* \
+	| xstormy16-* | xtensa*-* \
 	| ymp-* \
-	| z8k-*)
+	| z8k-* | z80-*)
+		;;
+	# Recognize the basic CPU types without company name, with glob match.
+	xtensa*)
+		basic_machine=$basic_machine-unknown
 		;;
 	# Recognize the various machine names and aliases which stand
 	# for a CPU type and a company and sometimes even an OS.
@@ -332,6 +438,9 @@ case $basic_machine in
 		basic_machine=a29k-amd
 		os=-udi
 		;;
+	abacus)
+		basic_machine=abacus-unknown
+		;;
 	adobe68k)
 		basic_machine=m68010-adobe
 		os=-scout
@@ -346,6 +455,12 @@ case $basic_machine in
 		basic_machine=a29k-none
 		os=-bsd
 		;;
+	amd64)
+		basic_machine=x86_64-pc
+		;;
+	amd64-*)
+		basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	amdahl)
 		basic_machine=580-amdahl
 		os=-sysv
@@ -369,6 +484,10 @@ case $basic_machine in
 		basic_machine=m68k-apollo
 		os=-bsd
 		;;
+	aros)
+		basic_machine=i386-pc
+		os=-aros
+		;;
 	aux)
 		basic_machine=m68k-apple
 		os=-aux
@@ -377,10 +496,35 @@ case $basic_machine in
 		basic_machine=ns32k-sequent
 		os=-dynix
 		;;
+	blackfin)
+		basic_machine=bfin-unknown
+		os=-linux
+		;;
+	blackfin-*)
+		basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
+		os=-linux
+		;;
+	bluegene*)
+		basic_machine=powerpc-ibm
+		os=-cnk
+		;;
+	c54x-*)
+		basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c55x-*)
+		basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
+	c6x-*)
+		basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	c90)
 		basic_machine=c90-cray
 		os=-unicos
 		;;
+	cegcc)
+		basic_machine=arm-unknown
+		os=-cegcc
+		;;
 	convex-c1)
 		basic_machine=c1-convex
 		os=-bsd
@@ -405,12 +549,27 @@ case $basic_machine in
 		basic_machine=j90-cray
 		os=-unicos
 		;;
+	craynv)
+		basic_machine=craynv-cray
+		os=-unicosmp
+		;;
+	cr16 | cr16-*)
+		basic_machine=cr16-unknown
+		os=-elf
+		;;
 	crds | unos)
 		basic_machine=m68k-crds
 		;;
+	crisv32 | crisv32-* | etraxfs*)
+		basic_machine=crisv32-axis
+		;;
 	cris | cris-* | etrax*)
 		basic_machine=cris-axis
 		;;
+	crx)
+		basic_machine=crx-unknown
+		os=-elf
+		;;
 	da30 | da30-*)
 		basic_machine=m68k-da30
 		;;
@@ -433,6 +592,14 @@ case $basic_machine in
 		basic_machine=m88k-motorola
 		os=-sysv3
 		;;
+	dicos)
+		basic_machine=i686-pc
+		os=-dicos
+		;;
+	djgpp)
+		basic_machine=i586-pc
+		os=-msdosdjgpp
+		;;
 	dpx20 | dpx20-*)
 		basic_machine=rs6000-bull
 		os=-bosx
@@ -583,6 +750,14 @@ case $basic_machine in
 		basic_machine=m68k-isi
 		os=-sysv
 		;;
+	m68knommu)
+		basic_machine=m68k-unknown
+		os=-linux
+		;;
+	m68knommu-*)
+		basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
+		os=-linux
+		;;
 	m88k-omron*)
 		basic_machine=m88k-omron
 		;;
@@ -594,10 +769,17 @@ case $basic_machine in
 		basic_machine=ns32k-utek
 		os=-sysv
 		;;
+	microblaze)
+		basic_machine=microblaze-xilinx
+		;;
 	mingw32)
 		basic_machine=i386-pc
 		os=-mingw32
 		;;
+	mingw32ce)
+		basic_machine=arm-unknown
+		os=-mingw32ce
+		;;
 	miniframe)
 		basic_machine=m68000-convergent
 		;;
@@ -611,10 +793,6 @@ case $basic_machine in
 	mips3*)
 		basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
 		;;
-	mmix*)
-		basic_machine=mmix-knuth
-		os=-mmixware
-		;;
 	monitor)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -627,6 +805,9 @@ case $basic_machine in
 		basic_machine=i386-pc
 		os=-msdos
 		;;
+	ms1-*)
+		basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+		;;
 	mvs)
 		basic_machine=i370-ibm
 		os=-mvs
@@ -695,6 +876,12 @@ case $basic_machine in
 	np1)
 		basic_machine=np1-gould
 		;;
+	neo-tandem)
+		basic_machine=neo-tandem
+		;;
+	nse-tandem)
+		basic_machine=nse-tandem
+		;;
 	nsr-tandem)
 		basic_machine=nsr-tandem
 		;;
@@ -702,9 +889,12 @@ case $basic_machine in
 		basic_machine=hppa1.1-oki
 		os=-proelf
 		;;
-	or32 | or32-*)
+	openrisc | openrisc-*)
 		basic_machine=or32-unknown
-		os=-coff
+		;;
+	os400)
+		basic_machine=powerpc-ibm
+		os=-os400
 		;;
 	OSE68000 | ose68000)
 		basic_machine=m68000-ericsson
@@ -722,55 +912,76 @@ case $basic_machine in
 		basic_machine=i860-intel
 		os=-osf
 		;;
+	parisc)
+		basic_machine=hppa-unknown
+		os=-linux
+		;;
+	parisc-*)
+		basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
+		os=-linux
+		;;
 	pbd)
 		basic_machine=sparc-tti
 		;;
 	pbb)
 		basic_machine=m68k-tti
 		;;
-        pc532 | pc532-*)
+	pc532 | pc532-*)
 		basic_machine=ns32k-pc532
 		;;
+	pc98)
+		basic_machine=i386-pc
+		;;
+	pc98-*)
+		basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pentium | p5 | k5 | k6 | nexgen | viac3)
 		basic_machine=i586-pc
 		;;
-	pentiumpro | p6 | 6x86 | athlon)
+	pentiumpro | p6 | 6x86 | athlon | athlon_*)
 		basic_machine=i686-pc
 		;;
-	pentiumii | pentium2)
+	pentiumii | pentium2 | pentiumiii | pentium3)
 		basic_machine=i686-pc
 		;;
+	pentium4)
+		basic_machine=i786-pc
+		;;
 	pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
 		basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	pentiumpro-* | p6-* | 6x86-* | athlon-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
-	pentiumii-* | pentium2-*)
+	pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
 		basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
+	pentium4-*)
+		basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	pn)
 		basic_machine=pn-gould
 		;;
 	power)	basic_machine=power-ibm
 		;;
-	ppc)	basic_machine=powerpc-unknown
-	        ;;
-	ppc-*)	basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+	ppc | ppcbe)	basic_machine=powerpc-unknown
+		;;
+	ppc-* | ppcbe-*)
+		basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppcle | powerpclittle | ppc-le | powerpc-little)
 		basic_machine=powerpcle-unknown
-	        ;;
+		;;
 	ppcle-* | powerpclittle-*)
 		basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppc64)	basic_machine=powerpc64-unknown
-	        ;;
+		;;
 	ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
 	ppc64le | powerpc64little | ppc64-le | powerpc64-little)
 		basic_machine=powerpc64le-unknown
-	        ;;
+		;;
 	ppc64le-* | powerpc64little-*)
 		basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`
 		;;
@@ -781,6 +992,10 @@ case $basic_machine in
 		basic_machine=i586-unknown
 		os=-pw32
 		;;
+	rdos)
+		basic_machine=i386-pc
+		os=-rdos
+		;;
 	rom68k)
 		basic_machine=m68k-rom68k
 		os=-coff
@@ -801,6 +1016,20 @@ case $basic_machine in
 		basic_machine=a29k-amd
 		os=-udi
 		;;
+	sb1)
+		basic_machine=mipsisa64sb1-unknown
+		;;
+	sb1el)
+		basic_machine=mipsisa64sb1el-unknown
+		;;
+	sde)
+		basic_machine=mipsisa32-sde
+		os=-elf
+		;;
+	sei)
+		basic_machine=mips-sei
+		os=-seiux
+		;;
 	sequent)
 		basic_machine=i386-sequent
 		;;
@@ -808,6 +1037,12 @@ case $basic_machine in
 		basic_machine=sh-hitachi
 		os=-hms
 		;;
+	sh5el)
+		basic_machine=sh5le-unknown
+		;;
+	sh64)
+		basic_machine=sh64-unknown
+		;;
 	sparclite-wrs | simso-wrs)
 		basic_machine=sparclite-wrs
 		os=-vxworks
@@ -826,6 +1061,9 @@ case $basic_machine in
 		basic_machine=i860-stratus
 		os=-sysv4
 		;;
+	strongarm-* | thumb-*)
+		basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
+		;;
 	sun2)
 		basic_machine=m68000-sun
 		;;
@@ -866,7 +1104,7 @@ case $basic_machine in
 	sun386 | sun386i | roadrunner)
 		basic_machine=i386-sun
 		;;
-        sv1)
+	sv1)
 		basic_machine=sv1-cray
 		os=-unicos
 		;;
@@ -874,10 +1112,6 @@ case $basic_machine in
 		basic_machine=i386-sequent
 		os=-dynix
 		;;
-	t3d)
-		basic_machine=alpha-cray
-		os=-unicos
-		;;
 	t3e)
 		basic_machine=alphaev5-cray
 		os=-unicos
@@ -886,9 +1120,14 @@ case $basic_machine in
 		basic_machine=t90-cray
 		os=-unicos
 		;;
-	tic54x | c54x*)
-		basic_machine=tic54x-unknown
-		os=-coff
+	# This must be matched before tile*.
+	tilegx*)
+		basic_machine=tilegx-unknown
+		os=-linux-gnu
+		;;
+	tile*)
+		basic_machine=tile-unknown
+		os=-linux-gnu
 		;;
 	tx39)
 		basic_machine=mipstx39-unknown
@@ -903,6 +1142,10 @@ case $basic_machine in
 	tower | tower-32)
 		basic_machine=m68k-ncr
 		;;
+	tpf)
+		basic_machine=s390x-ibm
+		os=-tpf
+		;;
 	udi29k)
 		basic_machine=a29k-amd
 		os=-udi
@@ -924,8 +1167,8 @@ case $basic_machine in
 		os=-vms
 		;;
 	vpp*|vx|vx-*)
-               basic_machine=f301-fujitsu
-               ;;
+		basic_machine=f301-fujitsu
+		;;
 	vxworks960)
 		basic_machine=i960-wrs
 		os=-vxworks
@@ -946,13 +1189,16 @@ case $basic_machine in
 		basic_machine=hppa1.1-winbond
 		os=-proelf
 		;;
-	windows32)
-		basic_machine=i386-pc
-		os=-windows32-msvcrt
+	xbox)
+		basic_machine=i686-pc
+		os=-mingw32
 		;;
-        xps | xps100)
+	xps | xps100)
 		basic_machine=xps100-honeywell
 		;;
+	xscale-* | xscalee[bl]-*)
+		basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
+		;;
 	ymp)
 		basic_machine=ymp-cray
 		os=-unicos
@@ -961,6 +1207,10 @@ case $basic_machine in
 		basic_machine=z8k-unknown
 		os=-sim
 		;;
+	z80-*-coff)
+		basic_machine=z80-unknown
+		os=-sim
+		;;
 	none)
 		basic_machine=none-none
 		os=-none
@@ -980,6 +1230,9 @@ case $basic_machine in
 	romp)
 		basic_machine=romp-ibm
 		;;
+	mmix)
+		basic_machine=mmix-knuth
+		;;
 	rs6000)
 		basic_machine=rs6000-ibm
 		;;
@@ -996,16 +1249,13 @@ case $basic_machine in
 	we32k)
 		basic_machine=we32k-att
 		;;
-	sh3 | sh4 | sh3eb | sh4eb)
+	sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
 		basic_machine=sh-unknown
 		;;
-	sh64)
-		basic_machine=sh64-unknown
-		;;
-	sparc | sparcv9 | sparcv9b)
+	sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
 		basic_machine=sparc-sun
 		;;
-        cydra)
+	cydra)
 		basic_machine=cydra-cydrome
 		;;
 	orion)
@@ -1020,10 +1270,6 @@ case $basic_machine in
 	pmac | pmac-mpw)
 		basic_machine=powerpc-apple
 		;;
-	c4x*)
-		basic_machine=c4x-none
-		os=-coff
-		;;
 	*-unknown)
 		# Make sure to match an already-canonicalized machine name.
 		;;
@@ -1050,9 +1296,12 @@ esac
 if [ x"$os" != x"" ]
 then
 case $os in
-        # First match some system type aliases
-        # that might get confused with valid system types.
+	# First match some system type aliases
+	# that might get confused with valid system types.
 	# -solaris* is a basic system type, with this one exception.
+	-auroraux)
+		os=-auroraux
+		;;
 	-solaris1 | -solaris1.*)
 		os=`echo $os | sed -e 's|solaris1|sunos4|'`
 		;;
@@ -1073,24 +1322,31 @@ case $os in
 	# Each alternative MUST END IN A *, to match a version number.
 	# -sysv* is not here because it comes later, after sysvr4.
 	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
-	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
-	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
+	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+	      | -sym* | -kopensolaris* \
 	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
-	      | -aos* \
+	      | -aos* | -aros* \
 	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
 	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-	      | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
-	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+	      | -openbsd* | -solidbsd* \
+	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+	      | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
 	      | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
-	      | -chorusos* | -chorusrdb* \
+	      | -chorusos* | -chorusrdb* | -cegcc* \
 	      | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
-	      | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
-	      | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
+	      | -mingw32* | -linux-gnu* | -linux-android* \
+	      | -linux-newlib* | -linux-uclibc* \
+	      | -uxpv* | -beos* | -mpeix* | -udk* \
+	      | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
 	      | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
 	      | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
 	      | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
-	      | -morphos* | -superux* | -rtmk* | -rtmk-nova*)
+	      | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+	      | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+	      | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
 	# Remember, each alternative MUST END IN *, to match a version number.
 		;;
 	-qnx*)
@@ -1102,16 +1358,21 @@ case $os in
 			;;
 		esac
 		;;
+	-nto-qnx*)
+		;;
 	-nto*)
-		os=-nto-qnx
+		os=`echo $os | sed -e 's|nto|nto-qnx|'`
 		;;
 	-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
-	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
+	      | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
 	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
 		;;
 	-mac*)
 		os=`echo $os | sed -e 's|mac|macos|'`
 		;;
+	-linux-dietlibc)
+		os=-linux-dietlibc
+		;;
 	-linux*)
 		os=`echo $os | sed -e 's|linux|linux-gnu|'`
 		;;
@@ -1124,6 +1385,9 @@ case $os in
 	-opened*)
 		os=-openedition
 		;;
+	-os400*)
+		os=-os400
+		;;
 	-wince*)
 		os=-wince
 		;;
@@ -1145,6 +1409,9 @@ case $os in
 	-atheos*)
 		os=-atheos
 		;;
+	-syllable*)
+		os=-syllable
+		;;
 	-386bsd)
 		os=-bsd
 		;;
@@ -1155,7 +1422,7 @@ case $os in
 		os=-rtmk-nova
 		;;
 	-ns2 )
-	        os=-nextstep2
+		os=-nextstep2
 		;;
 	-nsk*)
 		os=-nsk
@@ -1167,6 +1434,9 @@ case $os in
 	-sinix*)
 		os=-sysv4
 		;;
+	-tpf*)
+		os=-tpf
+		;;
 	-triton*)
 		os=-sysv3
 		;;
@@ -1194,8 +1464,22 @@ case $os in
 	-xenix)
 		os=-xenix
 		;;
-        -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
-	        os=-mint
+	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)
+		os=-mint
+		;;
+	-aros*)
+		os=-aros
+		;;
+	-kaos*)
+		os=-kaos
+		;;
+	-zvmoe)
+		os=-zvmoe
+		;;
+	-dicos*)
+		os=-dicos
+		;;
+	-nacl*)
 		;;
 	-none)
 		;;
@@ -1219,6 +1503,12 @@ else
 # system, and we'll never get to this point.
 
 case $basic_machine in
+	score-*)
+		os=-elf
+		;;
+	spu-*)
+		os=-elf
+		;;
 	*-acorn)
 		os=-riscix1.2
 		;;
@@ -1228,11 +1518,23 @@ case $basic_machine in
 	arm*-semi)
 		os=-aout
 		;;
+	c4x-* | tic4x-*)
+		os=-coff
+		;;
+	tic54x-*)
+		os=-coff
+		;;
+	tic55x-*)
+		os=-coff
+		;;
+	tic6x-*)
+		os=-coff
+		;;
 	# This must come before the *-dec entry.
 	pdp10-*)
 		os=-tops20
 		;;
-        pdp11-*)
+	pdp11-*)
 		os=-none
 		;;
 	*-dec | vax-*)
@@ -1253,6 +1555,9 @@ case $basic_machine in
 	m68*-cisco)
 		os=-aout
 		;;
+	mep-*)
+		os=-elf
+		;;
 	mips*-cisco)
 		os=-elf
 		;;
@@ -1271,9 +1576,15 @@ case $basic_machine in
 	*-be)
 		os=-beos
 		;;
+	*-haiku)
+		os=-haiku
+		;;
 	*-ibm)
 		os=-aix
 		;;
+	*-knuth)
+		os=-mmixware
+		;;
 	*-wec)
 		os=-proelf
 		;;
@@ -1325,19 +1636,19 @@ case $basic_machine in
 	*-next)
 		os=-nextstep3
 		;;
-        *-gould)
+	*-gould)
 		os=-sysv
 		;;
-        *-highlevel)
+	*-highlevel)
 		os=-bsd
 		;;
 	*-encore)
 		os=-bsd
 		;;
-        *-sgi)
+	*-sgi)
 		os=-irix
 		;;
-        *-siemens)
+	*-siemens)
 		os=-sysv4
 		;;
 	*-masscomp)
@@ -1376,7 +1687,7 @@ case $basic_machine in
 			-sunos*)
 				vendor=sun
 				;;
-			-aix*)
+			-cnk*|-aix*)
 				vendor=ibm
 				;;
 			-beos*)
@@ -1406,10 +1717,16 @@ case $basic_machine in
 			-mvs* | -opened*)
 				vendor=ibm
 				;;
+			-os400*)
+				vendor=ibm
+				;;
 			-ptx*)
 				vendor=sequent
 				;;
-			-vxsim* | -vxworks*)
+			-tpf*)
+				vendor=ibm
+				;;
+			-vxsim* | -vxworks* | -windiss*)
 				vendor=wrs
 				;;
 			-aux*)
@@ -1433,7 +1750,7 @@ case $basic_machine in
 esac
 
 echo $basic_machine$os
-exit 0
+exit
 
 # Local variables:
 # eval: (add-hook 'write-file-hooks 'time-stamp)
--- grads-2.0.a9.orig/etc/install-sh
+++ grads-2.0.a9/etc/install-sh
@@ -1,251 +1,520 @@
 #!/bin/sh
-#
 # install - install a program, script, or datafile
-# This comes from X11R5 (mit/util/scripts/install.sh).
+
+scriptversion=2009-04-28.21; # UTC
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
 #
-# Copyright 1991 by the Massachusetts Institute of Technology
 #
-# Permission to use, copy, modify, distribute, and sell this software and its
-# documentation for any purpose is hereby granted without fee, provided that
-# the above copyright notice appear in all copies and that both that
-# copyright notice and this permission notice appear in supporting
-# documentation, and that the name of M.I.T. not be used in advertising or
-# publicity pertaining to distribution of the software without specific,
-# written prior permission.  M.I.T. makes no representations about the
-# suitability of this software for any purpose.  It is provided "as is"
-# without express or implied warranty.
+# FSF changes to this file are in the public domain.
 #
 # Calling this script install-sh is preferred over install.sh, to prevent
 # `make' implicit rules from creating a file called install from it
 # when there is no Makefile.
 #
 # This script is compatible with the BSD install script, but was written
-# from scratch.  It can only install one file at a time, a restriction
-# shared with many OS's install programs.
+# from scratch.
 
+nl='
+'
+IFS=" ""	$nl"
 
 # set DOITPROG to echo to test this script
 
 # Don't use :- since 4.3BSD and earlier shells don't like it.
-doit="${DOITPROG-}"
-
+doit=${DOITPROG-}
+if test -z "$doit"; then
+  doit_exec=exec
+else
+  doit_exec=$doit
+fi
 
-# put in absolute paths if you don't have them in your path; or use env. vars.
+# Put in absolute file names if you don't have them in your path;
+# or use environment vars.
 
-mvprog="${MVPROG-mv}"
-cpprog="${CPPROG-cp}"
-chmodprog="${CHMODPROG-chmod}"
-chownprog="${CHOWNPROG-chown}"
-chgrpprog="${CHGRPPROG-chgrp}"
-stripprog="${STRIPPROG-strip}"
-rmprog="${RMPROG-rm}"
-mkdirprog="${MKDIRPROG-mkdir}"
-
-transformbasename=""
-transform_arg=""
-instcmd="$mvprog"
-chmodcmd="$chmodprog 0755"
-chowncmd=""
-chgrpcmd=""
-stripcmd=""
+chgrpprog=${CHGRPPROG-chgrp}
+chmodprog=${CHMODPROG-chmod}
+chownprog=${CHOWNPROG-chown}
+cmpprog=${CMPPROG-cmp}
+cpprog=${CPPROG-cp}
+mkdirprog=${MKDIRPROG-mkdir}
+mvprog=${MVPROG-mv}
+rmprog=${RMPROG-rm}
+stripprog=${STRIPPROG-strip}
+
+posix_glob='?'
+initialize_posix_glob='
+  test "$posix_glob" != "?" || {
+    if (set -f) 2>/dev/null; then
+      posix_glob=
+    else
+      posix_glob=:
+    fi
+  }
+'
+
+posix_mkdir=
+
+# Desired mode of installed file.
+mode=0755
+
+chgrpcmd=
+chmodcmd=$chmodprog
+chowncmd=
+mvcmd=$mvprog
 rmcmd="$rmprog -f"
-mvcmd="$mvprog"
-src=""
-dst=""
-dir_arg=""
-
-while [ x"$1" != x ]; do
-    case $1 in
-	-c) instcmd="$cpprog"
-	    shift
-	    continue;;
-
-	-d) dir_arg=true
-	    shift
-	    continue;;
-
-	-m) chmodcmd="$chmodprog $2"
-	    shift
-	    shift
-	    continue;;
-
-	-o) chowncmd="$chownprog $2"
-	    shift
-	    shift
-	    continue;;
-
-	-g) chgrpcmd="$chgrpprog $2"
-	    shift
-	    shift
-	    continue;;
-
-	-s) stripcmd="$stripprog"
-	    shift
-	    continue;;
-
-	-t=*) transformarg=`echo $1 | sed 's/-t=//'`
-	    shift
-	    continue;;
-
-	-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
-	    shift
-	    continue;;
+stripcmd=
 
-	*)  if [ x"$src" = x ]
-	    then
-		src=$1
-	    else
-		# this colon is to work around a 386BSD /bin/sh bug
-		:
-		dst=$1
-	    fi
-	    shift
-	    continue;;
-    esac
-done
+src=
+dst=
+dir_arg=
+dst_arg=
 
-if [ x"$src" = x ]
-then
-	echo "install:	no input file specified"
-	exit 1
-else
-	:
-fi
+copy_on_change=false
+no_target_directory=
 
-if [ x"$dir_arg" != x ]; then
-	dst=$src
-	src=""
-	
-	if [ -d $dst ]; then
-		instcmd=:
-		chmodcmd=""
-	else
-		instcmd=$mkdirprog
-	fi
-else
+usage="\
+Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
+   or: $0 [OPTION]... SRCFILES... DIRECTORY
+   or: $0 [OPTION]... -t DIRECTORY SRCFILES...
+   or: $0 [OPTION]... -d DIRECTORIES...
 
-# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
-# might cause directories to be created, which would be especially bad 
-# if $src (and thus $dsttmp) contains '*'.
-
-	if [ -f $src -o -d $src ]
-	then
-		:
-	else
-		echo "install:  $src does not exist"
-		exit 1
-	fi
-	
-	if [ x"$dst" = x ]
-	then
-		echo "install:	no destination specified"
-		exit 1
-	else
-		:
-	fi
+In the 1st form, copy SRCFILE to DSTFILE.
+In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
+In the 4th, create DIRECTORIES.
 
-# If destination is a directory, append the input filename; if your system
-# does not like double slashes in filenames, you may need to add some logic
+Options:
+     --help     display this help and exit.
+     --version  display version info and exit.
 
-	if [ -d $dst ]
-	then
-		dst="$dst"/`basename $src`
-	else
-		:
-	fi
-fi
+  -c            (ignored)
+  -C            install only if different (preserve the last data modification time)
+  -d            create directories instead of installing files.
+  -g GROUP      $chgrpprog installed files to GROUP.
+  -m MODE       $chmodprog installed files to MODE.
+  -o USER       $chownprog installed files to USER.
+  -s            $stripprog installed files.
+  -t DIRECTORY  install into DIRECTORY.
+  -T            report an error if DSTFILE is a directory.
 
-## this sed command emulates the dirname command
-dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
+Environment variables override the default commands:
+  CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
+  RMPROG STRIPPROG
+"
 
-# Make sure that the destination directory exists.
-#  this part is taken from Noah Friedman's mkinstalldirs script
+while test $# -ne 0; do
+  case $1 in
+    -c) ;;
 
-# Skip lots of stat calls in the usual case.
-if [ ! -d "$dstdir" ]; then
-defaultIFS='
-	'
-IFS="${IFS-${defaultIFS}}"
-
-oIFS="${IFS}"
-# Some sh's can't handle IFS=/ for some reason.
-IFS='%'
-set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
-IFS="${oIFS}"
-
-pathcomp=''
-
-while [ $# -ne 0 ] ; do
-	pathcomp="${pathcomp}${1}"
-	shift
-
-	if [ ! -d "${pathcomp}" ] ;
-        then
-		$mkdirprog "${pathcomp}"
-	else
-		:
-	fi
+    -C) copy_on_change=true;;
 
-	pathcomp="${pathcomp}/"
-done
-fi
+    -d) dir_arg=true;;
 
-if [ x"$dir_arg" != x ]
-then
-	$doit $instcmd $dst &&
-
-	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
-	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
-else
+    -g) chgrpcmd="$chgrpprog $2"
+	shift;;
 
-# If we're going to rename the final executable, determine the name now.
+    --help) echo "$usage"; exit $?;;
 
-	if [ x"$transformarg" = x ] 
-	then
-		dstfile=`basename $dst`
-	else
-		dstfile=`basename $dst $transformbasename | 
-			sed $transformarg`$transformbasename
-	fi
+    -m) mode=$2
+	case $mode in
+	  *' '* | *'	'* | *'
+'*	  | *'*'* | *'?'* | *'['*)
+	    echo "$0: invalid mode: $mode" >&2
+	    exit 1;;
+	esac
+	shift;;
 
-# don't allow the sed command to completely eliminate the filename
+    -o) chowncmd="$chownprog $2"
+	shift;;
 
-	if [ x"$dstfile" = x ] 
-	then
-		dstfile=`basename $dst`
-	else
-		:
-	fi
+    -s) stripcmd=$stripprog;;
 
-# Make a temp file name in the proper directory.
+    -t) dst_arg=$2
+	shift;;
 
-	dsttmp=$dstdir/#inst.$$#
+    -T) no_target_directory=true;;
 
-# Move or copy the file name to the temp name
+    --version) echo "$0 $scriptversion"; exit $?;;
 
-	$doit $instcmd $src $dsttmp &&
+    --)	shift
+	break;;
 
-	trap "rm -f ${dsttmp}" 0 &&
+    -*)	echo "$0: invalid option: $1" >&2
+	exit 1;;
 
-# and set any options; do chmod last to preserve setuid bits
+    *)  break;;
+  esac
+  shift
+done
 
-# If any of these fail, we abort the whole thing.  If we want to
-# ignore errors from any of these, just make sure not to ignore
-# errors from the above "$doit $instcmd $src $dsttmp" command.
+if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
+  # When -d is used, all remaining arguments are directories to create.
+  # When -t is used, the destination is already specified.
+  # Otherwise, the last argument is the destination.  Remove it from $@.
+  for arg
+  do
+    if test -n "$dst_arg"; then
+      # $@ is not empty: it contains at least $arg.
+      set fnord "$@" "$dst_arg"
+      shift # fnord
+    fi
+    shift # arg
+    dst_arg=$arg
+  done
+fi
 
-	if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
-	if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
-	if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
-	if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
+if test $# -eq 0; then
+  if test -z "$dir_arg"; then
+    echo "$0: no input file specified." >&2
+    exit 1
+  fi
+  # It's OK to call `install-sh -d' without argument.
+  # This can happen when creating conditional directories.
+  exit 0
+fi
 
-# Now rename the file to the real destination.
+if test -z "$dir_arg"; then
+  trap '(exit $?); exit' 1 2 13 15
 
-	$doit $rmcmd -f $dstdir/$dstfile &&
-	$doit $mvcmd $dsttmp $dstdir/$dstfile 
+  # Set umask so as not to create temps with too-generous modes.
+  # However, 'strip' requires both read and write access to temps.
+  case $mode in
+    # Optimize common cases.
+    *644) cp_umask=133;;
+    *755) cp_umask=22;;
+
+    *[0-7])
+      if test -z "$stripcmd"; then
+	u_plus_rw=
+      else
+	u_plus_rw='% 200'
+      fi
+      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
+    *)
+      if test -z "$stripcmd"; then
+	u_plus_rw=
+      else
+	u_plus_rw=,u+rw
+      fi
+      cp_umask=$mode$u_plus_rw;;
+  esac
+fi
 
-fi &&
+for src
+do
+  # Protect names starting with `-'.
+  case $src in
+    -*) src=./$src;;
+  esac
+
+  if test -n "$dir_arg"; then
+    dst=$src
+    dstdir=$dst
+    test -d "$dstdir"
+    dstdir_status=$?
+  else
+
+    # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
+    # might cause directories to be created, which would be especially bad
+    # if $src (and thus $dsttmp) contains '*'.
+    if test ! -f "$src" && test ! -d "$src"; then
+      echo "$0: $src does not exist." >&2
+      exit 1
+    fi
+
+    if test -z "$dst_arg"; then
+      echo "$0: no destination specified." >&2
+      exit 1
+    fi
+
+    dst=$dst_arg
+    # Protect names starting with `-'.
+    case $dst in
+      -*) dst=./$dst;;
+    esac
 
+    # If destination is a directory, append the input filename; won't work
+    # if double slashes aren't ignored.
+    if test -d "$dst"; then
+      if test -n "$no_target_directory"; then
+	echo "$0: $dst_arg: Is a directory" >&2
+	exit 1
+      fi
+      dstdir=$dst
+      dst=$dstdir/`basename "$src"`
+      dstdir_status=0
+    else
+      # Prefer dirname, but fall back on a substitute if dirname fails.
+      dstdir=`
+	(dirname "$dst") 2>/dev/null ||
+	expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
+	     X"$dst" : 'X\(//\)[^/]' \| \
+	     X"$dst" : 'X\(//\)$' \| \
+	     X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
+	echo X"$dst" |
+	    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
+		   s//\1/
+		   q
+		 }
+		 /^X\(\/\/\)[^/].*/{
+		   s//\1/
+		   q
+		 }
+		 /^X\(\/\/\)$/{
+		   s//\1/
+		   q
+		 }
+		 /^X\(\/\).*/{
+		   s//\1/
+		   q
+		 }
+		 s/.*/./; q'
+      `
+
+      test -d "$dstdir"
+      dstdir_status=$?
+    fi
+  fi
+
+  obsolete_mkdir_used=false
+
+  if test $dstdir_status != 0; then
+    case $posix_mkdir in
+      '')
+	# Create intermediate dirs using mode 755 as modified by the umask.
+	# This is like FreeBSD 'install' as of 1997-10-28.
+	umask=`umask`
+	case $stripcmd.$umask in
+	  # Optimize common cases.
+	  *[2367][2367]) mkdir_umask=$umask;;
+	  .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
+
+	  *[0-7])
+	    mkdir_umask=`expr $umask + 22 \
+	      - $umask % 100 % 40 + $umask % 20 \
+	      - $umask % 10 % 4 + $umask % 2
+	    `;;
+	  *) mkdir_umask=$umask,go-w;;
+	esac
+
+	# With -d, create the new directory with the user-specified mode.
+	# Otherwise, rely on $mkdir_umask.
+	if test -n "$dir_arg"; then
+	  mkdir_mode=-m$mode
+	else
+	  mkdir_mode=
+	fi
+
+	posix_mkdir=false
+	case $umask in
+	  *[123567][0-7][0-7])
+	    # POSIX mkdir -p sets u+wx bits regardless of umask, which
+	    # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
+	    ;;
+	  *)
+	    tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
+	    trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
+
+	    if (umask $mkdir_umask &&
+		exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
+	    then
+	      if test -z "$dir_arg" || {
+		   # Check for POSIX incompatibilities with -m.
+		   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
+		   # other-writeable bit of parent directory when it shouldn't.
+		   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
+		   ls_ld_tmpdir=`ls -ld "$tmpdir"`
+		   case $ls_ld_tmpdir in
+		     d????-?r-*) different_mode=700;;
+		     d????-?--*) different_mode=755;;
+		     *) false;;
+		   esac &&
+		   $mkdirprog -m$different_mode -p -- "$tmpdir" && {
+		     ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
+		     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
+		   }
+		 }
+	      then posix_mkdir=:
+	      fi
+	      rmdir "$tmpdir/d" "$tmpdir"
+	    else
+	      # Remove any dirs left behind by ancient mkdir implementations.
+	      rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
+	    fi
+	    trap '' 0;;
+	esac;;
+    esac
+
+    if
+      $posix_mkdir && (
+	umask $mkdir_umask &&
+	$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
+      )
+    then :
+    else
+
+      # The umask is ridiculous, or mkdir does not conform to POSIX,
+      # or it failed possibly due to a race condition.  Create the
+      # directory the slow way, step by step, checking for races as we go.
+
+      case $dstdir in
+	/*) prefix='/';;
+	-*) prefix='./';;
+	*)  prefix='';;
+      esac
+
+      eval "$initialize_posix_glob"
+
+      oIFS=$IFS
+      IFS=/
+      $posix_glob set -f
+      set fnord $dstdir
+      shift
+      $posix_glob set +f
+      IFS=$oIFS
+
+      prefixes=
+
+      for d
+      do
+	test -z "$d" && continue
+
+	prefix=$prefix$d
+	if test -d "$prefix"; then
+	  prefixes=
+	else
+	  if $posix_mkdir; then
+	    (umask=$mkdir_umask &&
+	     $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
+	    # Don't fail if two instances are running concurrently.
+	    test -d "$prefix" || exit 1
+	  else
+	    case $prefix in
+	      *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
+	      *) qprefix=$prefix;;
+	    esac
+	    prefixes="$prefixes '$qprefix'"
+	  fi
+	fi
+	prefix=$prefix/
+      done
+
+      if test -n "$prefixes"; then
+	# Don't fail if two instances are running concurrently.
+	(umask $mkdir_umask &&
+	 eval "\$doit_exec \$mkdirprog $prefixes") ||
+	  test -d "$dstdir" || exit 1
+	obsolete_mkdir_used=true
+      fi
+    fi
+  fi
+
+  if test -n "$dir_arg"; then
+    { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
+    { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
+      test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
+  else
+
+    # Make a couple of temp file names in the proper directory.
+    dsttmp=$dstdir/_inst.$$_
+    rmtmp=$dstdir/_rm.$$_
+
+    # Trap to clean up those temp files at exit.
+    trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
+
+    # Copy the file name to the temp name.
+    (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
+
+    # and set any options; do chmod last to preserve setuid bits.
+    #
+    # If any of these fail, we abort the whole thing.  If we want to
+    # ignore errors from any of these, just make sure not to ignore
+    # errors from the above "$doit $cpprog $src $dsttmp" command.
+    #
+    { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
+    { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
+    { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
+    { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
+
+    # If -C, don't bother to copy if it wouldn't change the file.
+    if $copy_on_change &&
+       old=`LC_ALL=C ls -dlL "$dst"	2>/dev/null` &&
+       new=`LC_ALL=C ls -dlL "$dsttmp"	2>/dev/null` &&
+
+       eval "$initialize_posix_glob" &&
+       $posix_glob set -f &&
+       set X $old && old=:$2:$4:$5:$6 &&
+       set X $new && new=:$2:$4:$5:$6 &&
+       $posix_glob set +f &&
+
+       test "$old" = "$new" &&
+       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
+    then
+      rm -f "$dsttmp"
+    else
+      # Rename the file to the real destination.
+      $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
+
+      # The rename failed, perhaps because mv can't rename something else
+      # to itself, or perhaps because mv is so ancient that it does not
+      # support -f.
+      {
+	# Now remove or move aside any old file at destination location.
+	# We try this two ways since rm can't unlink itself on some
+	# systems and the destination file might be busy for other
+	# reasons.  In this case, the final cleanup might fail but the new
+	# file should still install successfully.
+	{
+	  test ! -f "$dst" ||
+	  $doit $rmcmd -f "$dst" 2>/dev/null ||
+	  { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
+	    { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
+	  } ||
+	  { echo "$0: cannot unlink or rename $dst" >&2
+	    (exit 1); exit 1
+	  }
+	} &&
+
+	# Now rename the file to the real destination.
+	$doit $mvcmd "$dsttmp" "$dst"
+      }
+    fi || exit 1
+
+    trap '' 0
+  fi
+done
 
-exit 0
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- grads-2.0.a9.orig/etc/mkinstalldirs
+++ grads-2.0.a9/etc/mkinstalldirs
@@ -1,31 +1,59 @@
 #! /bin/sh
 # mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
-# Created: 1993-05-16
-# Public domain
 
-# $Id: mkinstalldirs,v 1.1 2003/06/25 18:30:22 joew Exp $
+scriptversion=2009-04-28.21; # UTC
 
+# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain.
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake@gnu.org> or send patches to
+# <automake-patches@gnu.org>.
+
+nl='
+'
+IFS=" ""	$nl"
 errstatus=0
-dirmode=""
+dirmode=
 
 usage="\
-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
+
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+
+Report bugs to <bug-automake@gnu.org>."
 
 # process command line arguments
 while test $# -gt 0 ; do
-   case "${1}" in
-     -h | --help | --h* )			# -h for help
-	echo "${usage}" 1>&2; exit 0 ;;
-     -m )					# -m PERM arg
-	shift
-	test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
-	dirmode="${1}"
-	shift ;;
-     -- ) shift; break ;;			# stop option processing
-     -* ) echo "${usage}" 1>&2; exit 1 ;;	# unknown option
-     * )  break ;;				# first non-opt arg
-   esac
+  case $1 in
+    -h | --help | --h*)         # -h for help
+      echo "$usage"
+      exit $?
+      ;;
+    -m)                         # -m PERM arg
+      shift
+      test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+      dirmode=$1
+      shift
+      ;;
+    --version)
+      echo "$0 $scriptversion"
+      exit $?
+      ;;
+    --)                         # stop option processing
+      shift
+      break
+      ;;
+    -*)                         # unknown option
+      echo "$usage" 1>&2
+      exit 1
+      ;;
+    *)                          # first non-opt arg
+      break
+      ;;
+  esac
 done
 
 for file
@@ -38,64 +66,97 @@ do
 done
 
 case $# in
-0) exit 0 ;;
+  0) exit 0 ;;
 esac
 
+# Solaris 8's mkdir -p isn't thread-safe.  If you mkdir -p a/b and
+# mkdir -p a/c at the same time, both will detect that a is missing,
+# one will create a, then the other will try to create a and die with
+# a "File exists" error.  This is a problem when calling mkinstalldirs
+# from a parallel make.  We use --version in the probe to restrict
+# ourselves to GNU mkdir, which is thread-safe.
 case $dirmode in
-'')
-  if mkdir -p -- . 2>/dev/null; then
-    echo "mkdir -p -- $*"
-    exec mkdir -p -- "$@"
-  fi ;;
-*)
-  if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
-    echo "mkdir -m $dirmode -p -- $*"
-    exec mkdir -m "$dirmode" -p -- "$@"
-  fi ;;
+  '')
+    if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+      echo "mkdir -p -- $*"
+      exec mkdir -p -- "$@"
+    else
+      # On NextStep and OpenStep, the `mkdir' command does not
+      # recognize any option.  It will interpret all options as
+      # directories to create, and then abort because `.' already
+      # exists.
+      test -d ./-p && rmdir ./-p
+      test -d ./--version && rmdir ./--version
+    fi
+    ;;
+  *)
+    if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
+       test ! -d ./--version; then
+      echo "mkdir -m $dirmode -p -- $*"
+      exec mkdir -m "$dirmode" -p -- "$@"
+    else
+      # Clean up after NextStep and OpenStep mkdir.
+      for d in ./-m ./-p ./--version "./$dirmode";
+      do
+        test -d $d && rmdir $d
+      done
+    fi
+    ;;
 esac
 
 for file
 do
-   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
-   shift
+  case $file in
+    /*) pathcomp=/ ;;
+    *)  pathcomp= ;;
+  esac
+  oIFS=$IFS
+  IFS=/
+  set fnord $file
+  shift
+  IFS=$oIFS
+
+  for d
+  do
+    test "x$d" = x && continue
+
+    pathcomp=$pathcomp$d
+    case $pathcomp in
+      -*) pathcomp=./$pathcomp ;;
+    esac
+
+    if test ! -d "$pathcomp"; then
+      echo "mkdir $pathcomp"
+
+      mkdir "$pathcomp" || lasterr=$?
+
+      if test ! -d "$pathcomp"; then
+	errstatus=$lasterr
+      else
+	if test ! -z "$dirmode"; then
+	  echo "chmod $dirmode $pathcomp"
+	  lasterr=
+	  chmod "$dirmode" "$pathcomp" || lasterr=$?
 
-   pathcomp=
-   for d
-   do
-     pathcomp="$pathcomp$d"
-     case "$pathcomp" in
-       -* ) pathcomp=./$pathcomp ;;
-     esac
-
-     if test ! -d "$pathcomp"; then
-	echo "mkdir $pathcomp"
-
-	mkdir "$pathcomp" || lasterr=$?
-
-	if test ! -d "$pathcomp"; then
-	  errstatus=$lasterr
-	else
-	  if test ! -z "$dirmode"; then
-	     echo "chmod $dirmode $pathcomp"
-
-	     lasterr=""
-	     chmod "$dirmode" "$pathcomp" || lasterr=$?
-
-	     if test ! -z "$lasterr"; then
-	       errstatus=$lasterr
-	     fi
+	  if test ! -z "$lasterr"; then
+	    errstatus=$lasterr
 	  fi
 	fi
-     fi
+      fi
+    fi
 
-     pathcomp="$pathcomp/"
-   done
+    pathcomp=$pathcomp/
+  done
 done
 
 exit $errstatus
 
 # Local Variables:
 # mode: shell-script
-# sh-indentation: 3
+# sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
 # End:
-# mkinstalldirs ends here
--- grads-2.0.a9.orig/etc/missing
+++ grads-2.0.a9/etc/missing
@@ -1,6 +1,10 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
-# Copyright 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
+
+scriptversion=2009-04-28.21; # UTC
+
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
+# 2008, 2009 Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -14,9 +18,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -29,6 +31,8 @@ if test $# -eq 0; then
 fi
 
 run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
 
 # In the cases where this matters, `missing' is being run in the
 # srcdir already.
@@ -38,18 +42,24 @@ else
   configure_ac=configure.in
 fi
 
-case "$1" in
+msg="missing on your system"
+
+case $1 in
 --run)
   # Try to run requested program, and just exit if it succeeds.
   run=
   shift
   "$@" && exit 0
+  # Exit code 63 means version mismatch.  This often happens
+  # when the user try to use an ancient version of a tool on
+  # a file that requires a minimum version.  In this case we
+  # we should proceed has if the program had been absent, or
+  # if --run hadn't been passed.
+  if test $? = 63; then
+    run=:
+    msg="probably too old"
+  fi
   ;;
-esac
-
-# If it does not exist, or fails to run (possibly an outdated version),
-# try to emulate it.
-case "$1" in
 
   -h|--h|--he|--hel|--help)
     echo "\
@@ -67,6 +77,7 @@ Supported PROGRAM values:
   aclocal      touch file \`aclocal.m4'
   autoconf     touch file \`configure'
   autoheader   touch file \`config.h.in'
+  autom4te     touch the output file, or create a stub one
   automake     touch all \`Makefile.in' files
   bison        create \`y.tab.[ch]', if possible, from existing .[ch]
   flex         create \`lex.yy.c', if possible, from existing .c
@@ -74,11 +85,18 @@ Supported PROGRAM values:
   lex          create \`lex.yy.c', if possible, from existing .c
   makeinfo     touch the output file
   tar          try tar, gnutar, gtar, then tar without non-portable flags
-  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
+  yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
+
+Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
+\`g' are ignored when checking the name.
+
+Send bug reports to <bug-automake@gnu.org>."
+    exit $?
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
-    echo "missing 0.4 - GNU automake"
+    echo "missing $scriptversion (GNU Automake)"
+    exit $?
     ;;
 
   -*)
@@ -87,42 +105,69 @@ Supported PROGRAM values:
     exit 1
     ;;
 
-  aclocal*)
+esac
+
+# normalize program name to check for.
+program=`echo "$1" | sed '
+  s/^gnu-//; t
+  s/^gnu//; t
+  s/^g//; t'`
+
+# Now exit if we have it, but it failed.  Also exit now if we
+# don't have it and --version was passed (most likely to detect
+# the program).  This is about non-GNU programs, so use $1 not
+# $program.
+case $1 in
+  lex*|yacc*)
+    # Not GNU programs, they don't have --version.
+    ;;
+
+  tar*)
+    if test -n "$run"; then
+       echo 1>&2 "ERROR: \`tar' requires --run"
+       exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       exit 1
+    fi
+    ;;
+
+  *)
     if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
        # We have it, but it failed.
        exit 1
+    elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
+       # Could not run --version or --help.  This is probably someone
+       # running `$TOOL --version' or `$TOOL --help' to check whether
+       # $TOOL exists and not knowing $TOOL uses missing.
+       exit 1
     fi
+    ;;
+esac
 
+# If it does not exist, or fails to run (possibly an outdated version),
+# try to emulate it.
+case $program in
+  aclocal*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
          to install the \`Automake' and \`Perl' packages.  Grab them from
          any GNU archive site."
     touch aclocal.m4
     ;;
 
-  autoconf)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
+  autoconf*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`${configure_ac}'.  You might want to install the
          \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
          archive site."
     touch configure
     ;;
 
-  autoheader)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
+  autoheader*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`acconfig.h' or \`${configure_ac}'.  You might want
          to install the \`Autoconf' and \`GNU m4' packages.  Grab them
          from any GNU archive site."
@@ -130,7 +175,7 @@ WARNING: \`$1' is missing on your system
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
-      case "$f" in
+      case $f in
       *:*) touch_files="$touch_files "`echo "$f" |
 				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
       *) touch_files="$touch_files $f.in";;
@@ -140,13 +185,8 @@ WARNING: \`$1' is missing on your system
     ;;
 
   automake*)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
          You might want to install the \`Automake' and \`Perl' packages.
          Grab them from any GNU archive site."
@@ -155,21 +195,16 @@ WARNING: \`$1' is missing on your system
 	   while read f; do touch "$f"; done
     ;;
 
-  autom4te)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
+  autom4te*)
     echo 1>&2 "\
-WARNING: \`$1' is needed, and you do not seem to have it handy on your
-         system.  You might have modified some files without having the
+WARNING: \`$1' is needed, but is $msg.
+         You might have modified some files without having the
          proper tools for further handling them.
-         You can get \`$1Help2man' as part of \`Autoconf' from any GNU
+         You can get \`$1' as part of \`Autoconf' from any GNU
          archive site."
 
-    file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
-    test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
     if test -f "$file"; then
 	touch $file
     else
@@ -183,133 +218,130 @@ WARNING: \`$1' is needed, and you do not
     fi
     ;;
 
-  bison|yacc)
+  bison*|yacc*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' $msg.  You should only need it if
          you modified a \`.y' file.  You may need the \`Bison' package
          in order for those modifications to take effect.  You can get
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
-    if [ $# -ne 1 ]; then
+    if test $# -ne 1; then
         eval LASTARG="\${$#}"
-	case "$LASTARG" in
+	case $LASTARG in
 	*.y)
 	    SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
-	    if [ -f "$SRCFILE" ]; then
+	    if test -f "$SRCFILE"; then
 	         cp "$SRCFILE" y.tab.c
 	    fi
 	    SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
-	    if [ -f "$SRCFILE" ]; then
+	    if test -f "$SRCFILE"; then
 	         cp "$SRCFILE" y.tab.h
 	    fi
 	  ;;
 	esac
     fi
-    if [ ! -f y.tab.h ]; then
+    if test ! -f y.tab.h; then
 	echo >y.tab.h
     fi
-    if [ ! -f y.tab.c ]; then
+    if test ! -f y.tab.c; then
 	echo 'main() { return 0; }' >y.tab.c
     fi
     ;;
 
-  lex|flex)
+  lex*|flex*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified a \`.l' file.  You may need the \`Flex' package
          in order for those modifications to take effect.  You can get
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
-    if [ $# -ne 1 ]; then
+    if test $# -ne 1; then
         eval LASTARG="\${$#}"
-	case "$LASTARG" in
+	case $LASTARG in
 	*.l)
 	    SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
-	    if [ -f "$SRCFILE" ]; then
+	    if test -f "$SRCFILE"; then
 	         cp "$SRCFILE" lex.yy.c
 	    fi
 	  ;;
 	esac
     fi
-    if [ ! -f lex.yy.c ]; then
+    if test ! -f lex.yy.c; then
 	echo 'main() { return 0; }' >lex.yy.c
     fi
     ;;
 
-  help2man)
-    if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
-       # We have it, but it failed.
-       exit 1
-    fi
-
+  help2man*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
 	 you modified a dependency of a manual page.  You may need the
 	 \`Help2man' package in order for those modifications to take
 	 effect.  You can get \`Help2man' from any GNU archive site."
 
-    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
-    if test -z "$file"; then
-	file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
-    fi
-    if [ -f "$file" ]; then
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+    if test -f "$file"; then
 	touch $file
     else
 	test -z "$file" || exec >$file
 	echo ".ab help2man is required to generate this page"
-	exit 1
+	exit $?
     fi
     ;;
 
-  makeinfo)
-    if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
-       # We have makeinfo, but it failed.
-       exit 1
-    fi
-
+  makeinfo*)
     echo 1>&2 "\
-WARNING: \`$1' is missing on your system.  You should only need it if
+WARNING: \`$1' is $msg.  You should only need it if
          you modified a \`.texi' or \`.texinfo' file, or any other file
          indirectly affecting the aspect of the manual.  The spurious
          call might also be the consequence of using a buggy \`make' (AIX,
          DU, IRIX).  You might want to install the \`Texinfo' package or
          the \`GNU make' package.  Grab either from any GNU archive site."
-    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+    # The file to touch is that specified with -o ...
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
     if test -z "$file"; then
-      file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
-    fi
+      # ... or it is the one specified with @setfilename ...
+      infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
+      file=`sed -n '
+	/^@setfilename/{
+	  s/.* \([^ ]*\) *$/\1/
+	  p
+	  q
+	}' $infile`
+      # ... or it is derived from the source name (dir/f.texi becomes f.info)
+      test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
+    fi
+    # If the file does not exist, the user really needs makeinfo;
+    # let's fail without touching anything.
+    test -f $file || exit 1
     touch $file
     ;;
 
-  tar)
+  tar*)
     shift
-    if test -n "$run"; then
-      echo 1>&2 "ERROR: \`tar' requires --run"
-      exit 1
-    fi
 
     # We have already tried tar in the generic part.
     # Look for gnutar/gtar before invocation to avoid ugly error
     # messages.
     if (gnutar --version > /dev/null 2>&1); then
-       gnutar ${1+"$@"} && exit 0
+       gnutar "$@" && exit 0
     fi
     if (gtar --version > /dev/null 2>&1); then
-       gtar ${1+"$@"} && exit 0
+       gtar "$@" && exit 0
     fi
     firstarg="$1"
     if shift; then
-	case "$firstarg" in
+	case $firstarg in
 	*o*)
 	    firstarg=`echo "$firstarg" | sed s/o//`
-	    tar "$firstarg" ${1+"$@"} && exit 0
+	    tar "$firstarg" "$@" && exit 0
 	    ;;
 	esac
-	case "$firstarg" in
+	case $firstarg in
 	*h*)
 	    firstarg=`echo "$firstarg" | sed s/h//`
-	    tar "$firstarg" ${1+"$@"} && exit 0
+	    tar "$firstarg" "$@" && exit 0
 	    ;;
 	esac
     fi
@@ -323,10 +355,10 @@ WARNING: I can't seem to be able to run
 
   *)
     echo 1>&2 "\
-WARNING: \`$1' is needed, and you do not seem to have it handy on your
-         system.  You might have modified some files without having the
+WARNING: \`$1' is needed, and is $msg.
+         You might have modified some files without having the
          proper tools for further handling them.  Check the \`README' file,
-         it often tells you about the needed prerequirements for installing
+         it often tells you about the needed prerequisites for installing
          this package.  You may also peek at any GNU archive site, in case
          some other package would contain this missing \`$1' program."
     exit 1
@@ -334,3 +366,11 @@ WARNING: \`$1' is needed, and you do not
 esac
 
 exit 0
+
+# Local variables:
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-time-zone: "UTC"
+# time-stamp-end: "; # UTC"
+# End:
--- grads-2.0.a9.orig/etc/config.guess
+++ grads-2.0.a9/etc/config.guess
@@ -1,9 +1,10 @@
 #! /bin/sh
 # Attempt to guess a canonical system name.
 #   Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-#   2000, 2001, 2002 Free Software Foundation, Inc.
+#   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
+#   2011 Free Software Foundation, Inc.
 
-timestamp='2002-03-20'
+timestamp='2011-05-11'
 
 # This file is free software; you can redistribute it and/or modify it
 # under the terms of the GNU General Public License as published by
@@ -17,23 +18,25 @@ timestamp='2002-03-20'
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+# 02110-1301, USA.
 #
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
 # configuration script generated by Autoconf, you may include it under
 # the same distribution terms that you use for the rest of that program.
 
-# Originally written by Per Bothner <per@bothner.com>.
-# Please send patches to <config-patches@gnu.org>.  Submit a context
-# diff and a properly formatted ChangeLog entry.
+
+# Originally written by Per Bothner.  Please send patches (context
+# diff format) to <config-patches@gnu.org> and include a ChangeLog
+# entry.
 #
 # This script attempts to guess a canonical system name similar to
 # config.sub.  If it succeeds, it prints the system name on stdout, and
 # exits with 0.  Otherwise, it exits with 1.
 #
-# The plan is that this can be called by configure scripts if you
-# don't specify an explicit build system type.
+# You can get the latest version of this script from:
+# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
 
 me=`echo "$0" | sed -e 's,.*/,,'`
 
@@ -53,8 +56,9 @@ version="\
 GNU config.guess ($timestamp)
 
 Originally written by Per Bothner.
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
-Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free
+Software Foundation, Inc.
 
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
@@ -66,11 +70,11 @@ Try \`$me --help' for more information."
 while test $# -gt 0 ; do
   case $1 in
     --time-stamp | --time* | -t )
-       echo "$timestamp" ; exit 0 ;;
+       echo "$timestamp" ; exit ;;
     --version | -v )
-       echo "$version" ; exit 0 ;;
+       echo "$version" ; exit ;;
     --help | --h* | -h )
-       echo "$usage"; exit 0 ;;
+       echo "$usage"; exit ;;
     -- )     # Stop option processing
        shift; break ;;
     - )	# Use stdin as input.
@@ -88,30 +92,42 @@ if test $# != 0; then
   exit 1
 fi
 
+trap 'exit 1' 1 2 15
 
-dummy=dummy-$$
-trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
 
-# CC_FOR_BUILD -- compiler used by this script.
 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
 # use `HOST_CC' if defined, but it is deprecated.
 
-set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
- ,,)    echo "int dummy(){}" > $dummy.c ;
+# Portable tmp directory creation inspired by the Autoconf team.
+
+set_cc_for_build='
+trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
+trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
+: ${TMPDIR=/tmp} ;
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
+dummy=$tmp/dummy ;
+tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
+case $CC_FOR_BUILD,$HOST_CC,$CC in
+ ,,)    echo "int x;" > $dummy.c ;
 	for c in cc gcc c89 c99 ; do
-	  ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
-	  if test $? = 0 ; then
+	  if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
 	     CC_FOR_BUILD="$c"; break ;
 	  fi ;
 	done ;
-	rm -f $dummy.c $dummy.o $dummy.rel ;
 	if test x"$CC_FOR_BUILD" = x ; then
 	  CC_FOR_BUILD=no_compiler_found ;
 	fi
 	;;
  ,,*)   CC_FOR_BUILD=$CC ;;
  ,*,*)  CC_FOR_BUILD=$HOST_CC ;;
-esac'
+esac ; set_cc_for_build= ;'
 
 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
 # (ghazi@noc.rutgers.edu 1994-08-24)
@@ -142,9 +158,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
 	UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
 	    /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
 	case "${UNAME_MACHINE_ARCH}" in
+	    armeb) machine=armeb-unknown ;;
 	    arm*) machine=arm-unknown ;;
 	    sh3el) machine=shl-unknown ;;
 	    sh3eb) machine=sh-unknown ;;
+	    sh5el) machine=sh5le-unknown ;;
 	    *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
 	esac
 	# The Operating System including object format, if it has switched
@@ -153,7 +171,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
 	    arm*|i386|m68k|ns32k|sh3*|sparc|vax)
 		eval $set_cc_for_build
 		if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
-			| grep __ELF__ >/dev/null
+			| grep -q __ELF__
 		then
 		    # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
 		    # Return netbsd for either.  FIX?
@@ -163,145 +181,135 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:$
 		fi
 		;;
 	    *)
-	        os=netbsd
+		os=netbsd
 		;;
 	esac
 	# The OS release
-	release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+	# Debian GNU/NetBSD machines have a different userland, and
+	# thus, need a distinct triplet. However, they do not need
+	# kernel version information, so it can be replaced with a
+	# suitable tag, in the style of linux-gnu.
+	case "${UNAME_VERSION}" in
+	    Debian*)
+		release='-gnu'
+		;;
+	    *)
+		release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
+		;;
+	esac
 	# Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
 	# contains redundant information, the shorter form:
 	# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
 	echo "${machine}-${os}${release}"
-	exit 0 ;;
-    amiga:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    arc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    hp300:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mac68k:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    macppc:OpenBSD:*:*)
-	echo powerpc-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvme68k:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvme88k:OpenBSD:*:*)
-	echo m88k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    mvmeppc:OpenBSD:*:*)
-	echo powerpc-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    pmax:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    sgi:OpenBSD:*:*)
-	echo mipseb-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    sun3:OpenBSD:*:*)
-	echo m68k-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
-    wgrisc:OpenBSD:*:*)
-	echo mipsel-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:OpenBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE}
-	exit 0 ;;
+	UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+	echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
+	exit ;;
+    *:ekkoBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
+	exit ;;
+    *:SolidBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
+	exit ;;
+    macppc:MirBSD:*:*)
+	echo powerpc-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
+    *:MirBSD:*:*)
+	echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
+	exit ;;
     alpha:OSF1:*:*)
-	if test $UNAME_RELEASE = "V4.0"; then
+	case $UNAME_RELEASE in
+	*4.0)
 		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
-	fi
+		;;
+	*5.*)
+		UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+		;;
+	esac
+	# According to Compaq, /usr/sbin/psrinfo has been available on
+	# OSF/1 and Tru64 systems produced since 1995.  I hope that
+	# covers most systems running today.  This code pipes the CPU
+	# types through head -n 1, so we only detect the type of CPU 0.
+	ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^  The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+	case "$ALPHA_CPU_TYPE" in
+	    "EV4 (21064)")
+		UNAME_MACHINE="alpha" ;;
+	    "EV4.5 (21064)")
+		UNAME_MACHINE="alpha" ;;
+	    "LCA4 (21066/21068)")
+		UNAME_MACHINE="alpha" ;;
+	    "EV5 (21164)")
+		UNAME_MACHINE="alphaev5" ;;
+	    "EV5.6 (21164A)")
+		UNAME_MACHINE="alphaev56" ;;
+	    "EV5.6 (21164PC)")
+		UNAME_MACHINE="alphapca56" ;;
+	    "EV5.7 (21164PC)")
+		UNAME_MACHINE="alphapca57" ;;
+	    "EV6 (21264)")
+		UNAME_MACHINE="alphaev6" ;;
+	    "EV6.7 (21264A)")
+		UNAME_MACHINE="alphaev67" ;;
+	    "EV6.8CB (21264C)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.8AL (21264B)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.8CX (21264D)")
+		UNAME_MACHINE="alphaev68" ;;
+	    "EV6.9A (21264/EV69A)")
+		UNAME_MACHINE="alphaev69" ;;
+	    "EV7 (21364)")
+		UNAME_MACHINE="alphaev7" ;;
+	    "EV7.9 (21364A)")
+		UNAME_MACHINE="alphaev79" ;;
+	esac
+	# A Pn.n version is a patched version.
 	# A Vn.n version is a released version.
 	# A Tn.n version is a released field test version.
 	# A Xn.n version is an unreleased experimental baselevel.
 	# 1.2 uses "1.2" for uname -r.
-	cat <<EOF >$dummy.s
-	.data
-\$Lformat:
-	.byte 37,100,45,37,120,10,0	# "%d-%x\n"
-
-	.text
-	.globl main
-	.align 4
-	.ent main
-main:
-	.frame \$30,16,\$26,0
-	ldgp \$29,0(\$27)
-	.prologue 1
-	.long 0x47e03d80 # implver \$0
-	lda \$2,-1
-	.long 0x47e20c21 # amask \$2,\$1
-	lda \$16,\$Lformat
-	mov \$0,\$17
-	not \$1,\$18
-	jsr \$26,printf
-	ldgp \$29,0(\$26)
-	mov 0,\$16
-	jsr \$26,exit
-	.end main
-EOF
-	eval $set_cc_for_build
-	$CC_FOR_BUILD $dummy.s -o $dummy 2>/dev/null
-	if test "$?" = 0 ; then
-		case `./$dummy` in
-			0-0)
-				UNAME_MACHINE="alpha"
-				;;
-			1-0)
-				UNAME_MACHINE="alphaev5"
-				;;
-			1-1)
-				UNAME_MACHINE="alphaev56"
-				;;
-			1-101)
-				UNAME_MACHINE="alphapca56"
-				;;
-			2-303)
-				UNAME_MACHINE="alphaev6"
-				;;
-			2-307)
-				UNAME_MACHINE="alphaev67"
-				;;
-			2-1307)
-				UNAME_MACHINE="alphaev68"
-				;;
-		esac
-	fi
-	rm -f $dummy.s $dummy
-	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-	exit 0 ;;
+	echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
+	# Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+	exitcode=$?
+	trap '' 0
+	exit $exitcode ;;
     Alpha\ *:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# Should we change UNAME_MACHINE based on the output of uname instead
 	# of the specific Alpha model?
 	echo alpha-pc-interix
-	exit 0 ;;
+	exit ;;
     21064:Windows_NT:50:3)
 	echo alpha-dec-winnt3.5
-	exit 0 ;;
+	exit ;;
     Amiga*:UNIX_System_V:4.0:*)
 	echo m68k-unknown-sysv4
-	exit 0;;
+	exit ;;
     *:[Aa]miga[Oo][Ss]:*:*)
 	echo ${UNAME_MACHINE}-unknown-amigaos
-	exit 0 ;;
+	exit ;;
     *:[Mm]orph[Oo][Ss]:*:*)
 	echo ${UNAME_MACHINE}-unknown-morphos
-	exit 0 ;;
+	exit ;;
     *:OS/390:*:*)
 	echo i370-ibm-openedition
-	exit 0 ;;
+	exit ;;
+    *:z/VM:*:*)
+	echo s390-ibm-zvmoe
+	exit ;;
+    *:OS400:*:*)
+	echo powerpc-ibm-os400
+	exit ;;
     arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
 	echo arm-acorn-riscix${UNAME_RELEASE}
-	exit 0;;
+	exit ;;
+    arm:riscos:*:*|arm:RISCOS:*:*)
+	echo arm-unknown-riscos
+	exit ;;
     SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
 	echo hppa1.1-hitachi-hiuxmpp
-	exit 0;;
+	exit ;;
     Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
 	# akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
 	if test "`(/bin/universe) 2>/dev/null`" = att ; then
@@ -309,25 +317,51 @@ EOF
 	else
 		echo pyramid-pyramid-bsd
 	fi
-	exit 0 ;;
+	exit ;;
     NILE*:*:*:dcosx)
 	echo pyramid-pyramid-svr4
-	exit 0 ;;
+	exit ;;
+    DRS?6000:unix:4.0:6*)
+	echo sparc-icl-nx6
+	exit ;;
+    DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+	case `/usr/bin/uname -p` in
+	    sparc) echo sparc-icl-nx7; exit ;;
+	esac ;;
+    s390x:SunOS:*:*)
+	echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
     sun4H:SunOS:5.*:*)
 	echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
 	echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
-    i86pc:SunOS:5.*:*)
-	echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
+    i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+	echo i386-pc-auroraux${UNAME_RELEASE}
+	exit ;;
+    i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+	eval $set_cc_for_build
+	SUN_ARCH="i386"
+	# If there is a compiler, see if it is configured for 64-bit objects.
+	# Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
+	# This test works for both compilers.
+	if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+	    if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
+		(CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+		grep IS_64BIT_ARCH >/dev/null
+	    then
+		SUN_ARCH="x86_64"
+	    fi
+	fi
+	echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
+	exit ;;
     sun4*:SunOS:6*:*)
 	# According to config.sub, this is the proper way to canonicalize
 	# SunOS6.  Hard to guess exactly what SunOS6 will be like, but
 	# it's likely to be more like Solaris than SunOS4.
 	echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     sun4*:SunOS:*:*)
 	case "`/usr/bin/arch -k`" in
 	    Series*|S4*)
@@ -336,10 +370,10 @@ EOF
 	esac
 	# Japanese Language versions have a version number like `4.1.3-JL'.
 	echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
-	exit 0 ;;
+	exit ;;
     sun3*:SunOS:*:*)
 	echo m68k-sun-sunos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     sun*:*:4.2BSD:*)
 	UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
 	test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
@@ -351,10 +385,10 @@ EOF
 		echo sparc-sun-sunos${UNAME_RELEASE}
 		;;
 	esac
-	exit 0 ;;
+	exit ;;
     aushp:SunOS:*:*)
 	echo sparc-auspex-sunos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     # The situation for MiNT is a little confusing.  The machine name
     # can be virtually everything (everything which is not
     # "atarist" or "atariste" at least should have a processor
@@ -364,38 +398,41 @@ EOF
     # MiNT.  But MiNT is downward compatible to TOS, so this should
     # be no problem.
     atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
-	exit 0 ;;
+	echo m68k-atari-mint${UNAME_RELEASE}
+	exit ;;
     atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
 	echo m68k-atari-mint${UNAME_RELEASE}
-        exit 0 ;;
+	exit ;;
     *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
-        echo m68k-atari-mint${UNAME_RELEASE}
-	exit 0 ;;
+	echo m68k-atari-mint${UNAME_RELEASE}
+	exit ;;
     milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
-        echo m68k-milan-mint${UNAME_RELEASE}
-        exit 0 ;;
+	echo m68k-milan-mint${UNAME_RELEASE}
+	exit ;;
     hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
-        echo m68k-hades-mint${UNAME_RELEASE}
-        exit 0 ;;
+	echo m68k-hades-mint${UNAME_RELEASE}
+	exit ;;
     *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
-        echo m68k-unknown-mint${UNAME_RELEASE}
-        exit 0 ;;
+	echo m68k-unknown-mint${UNAME_RELEASE}
+	exit ;;
+    m68k:machten:*:*)
+	echo m68k-apple-machten${UNAME_RELEASE}
+	exit ;;
     powerpc:machten:*:*)
 	echo powerpc-apple-machten${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     RISC*:Mach:*:*)
 	echo mips-dec-mach_bsd4.3
-	exit 0 ;;
+	exit ;;
     RISC*:ULTRIX:*:*)
 	echo mips-dec-ultrix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     VAX*:ULTRIX*:*:*)
 	echo vax-dec-ultrix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     2020:CLIX:*:* | 2430:CLIX:*:*)
 	echo clipper-intergraph-clix${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     mips:*:*:UMIPS | mips:*:*:RISCos)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
@@ -419,30 +456,36 @@ EOF
 	  exit (-1);
 	}
 EOF
-	$CC_FOR_BUILD $dummy.c -o $dummy \
-	  && ./$dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \
-	  && rm -f $dummy.c $dummy && exit 0
-	rm -f $dummy.c $dummy
+	$CC_FOR_BUILD -o $dummy $dummy.c &&
+	  dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+	  SYSTEM_NAME=`$dummy $dummyarg` &&
+	    { echo "$SYSTEM_NAME"; exit; }
 	echo mips-mips-riscos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     Motorola:PowerMAX_OS:*:*)
 	echo powerpc-motorola-powermax
-	exit 0 ;;
+	exit ;;
+    Motorola:*:4.3:PL8-*)
+	echo powerpc-harris-powermax
+	exit ;;
+    Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+	echo powerpc-harris-powermax
+	exit ;;
     Night_Hawk:Power_UNIX:*:*)
 	echo powerpc-harris-powerunix
-	exit 0 ;;
+	exit ;;
     m88k:CX/UX:7*:*)
 	echo m88k-harris-cxux7
-	exit 0 ;;
+	exit ;;
     m88k:*:4*:R4*)
 	echo m88k-motorola-sysv4
-	exit 0 ;;
+	exit ;;
     m88k:*:3*:R3*)
 	echo m88k-motorola-sysv3
-	exit 0 ;;
+	exit ;;
     AViiON:dgux:*:*)
-        # DG/UX returns AViiON for all architectures
-        UNAME_PROCESSOR=`/usr/bin/uname -p`
+	# DG/UX returns AViiON for all architectures
+	UNAME_PROCESSOR=`/usr/bin/uname -p`
 	if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ]
 	then
 	    if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \
@@ -455,29 +498,29 @@ EOF
 	else
 	    echo i586-dg-dgux${UNAME_RELEASE}
 	fi
- 	exit 0 ;;
+	exit ;;
     M88*:DolphinOS:*:*)	# DolphinOS (SVR3)
 	echo m88k-dolphin-sysv3
-	exit 0 ;;
+	exit ;;
     M88*:*:R3*:*)
 	# Delta 88k system running SVR3
 	echo m88k-motorola-sysv3
-	exit 0 ;;
+	exit ;;
     XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
 	echo m88k-tektronix-sysv3
-	exit 0 ;;
+	exit ;;
     Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
 	echo m68k-tektronix-bsd
-	exit 0 ;;
+	exit ;;
     *:IRIX*:*:*)
 	echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'`
-	exit 0 ;;
+	exit ;;
     ????????:AIX?:[12].1:2)   # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
-	echo romp-ibm-aix      # uname -m gives an 8 hex-code CPU id
-	exit 0 ;;              # Note that: echo "'`uname -s`'" gives 'AIX '
+	echo romp-ibm-aix     # uname -m gives an 8 hex-code CPU id
+	exit ;;               # Note that: echo "'`uname -s`'" gives 'AIX '
     i*86:AIX:*:*)
 	echo i386-ibm-aix
-	exit 0 ;;
+	exit ;;
     ia64:AIX:*:*)
 	if [ -x /usr/bin/oslevel ] ; then
 		IBM_REV=`/usr/bin/oslevel`
@@ -485,7 +528,7 @@ EOF
 		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 	fi
 	echo ${UNAME_MACHINE}-ibm-aix${IBM_REV}
-	exit 0 ;;
+	exit ;;
     *:AIX:2:3)
 	if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
 		eval $set_cc_for_build
@@ -500,16 +543,19 @@ EOF
 			exit(0);
 			}
 EOF
-		$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
-		rm -f $dummy.c $dummy
-		echo rs6000-ibm-aix3.2.5
+		if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy`
+		then
+			echo "$SYSTEM_NAME"
+		else
+			echo rs6000-ibm-aix3.2.5
+		fi
 	elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
 		echo rs6000-ibm-aix3.2.4
 	else
 		echo rs6000-ibm-aix3.2
 	fi
-	exit 0 ;;
-    *:AIX:*:[45])
+	exit ;;
+    *:AIX:*:[4567])
 	IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
 	if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
 		IBM_ARCH=rs6000
@@ -522,28 +568,28 @@ EOF
 		IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
 	fi
 	echo ${IBM_ARCH}-ibm-aix${IBM_REV}
-	exit 0 ;;
+	exit ;;
     *:AIX:*:*)
 	echo rs6000-ibm-aix
-	exit 0 ;;
+	exit ;;
     ibmrt:4.4BSD:*|romp-ibm:BSD:*)
 	echo romp-ibm-bsd4.4
-	exit 0 ;;
+	exit ;;
     ibmrt:*BSD:*|romp-ibm:BSD:*)            # covers RT/PC BSD and
 	echo romp-ibm-bsd${UNAME_RELEASE}   # 4.3 with uname added to
-	exit 0 ;;                           # report: romp-ibm BSD 4.3
+	exit ;;                             # report: romp-ibm BSD 4.3
     *:BOSX:*:*)
 	echo rs6000-bull-bosx
-	exit 0 ;;
+	exit ;;
     DPX/2?00:B.O.S.:*:*)
 	echo m68k-bull-sysv3
-	exit 0 ;;
+	exit ;;
     9000/[34]??:4.3bsd:1.*:*)
 	echo m68k-hp-bsd
-	exit 0 ;;
+	exit ;;
     hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
 	echo m68k-hp-bsd4.4
-	exit 0 ;;
+	exit ;;
     9000/[34678]??:HP-UX:*:*)
 	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 	case "${UNAME_MACHINE}" in
@@ -552,64 +598,84 @@ EOF
 	    9000/[678][0-9][0-9])
 		if [ -x /usr/bin/getconf ]; then
 		    sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
-                    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
-                    case "${sc_cpu_version}" in
-                      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
-                      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
-                      532)                      # CPU_PA_RISC2_0
-                        case "${sc_kernel_bits}" in
-                          32) HP_ARCH="hppa2.0n" ;;
-                          64) HP_ARCH="hppa2.0w" ;;
+		    sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+		    case "${sc_cpu_version}" in
+		      523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
+		      528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1
+		      532)                      # CPU_PA_RISC2_0
+			case "${sc_kernel_bits}" in
+			  32) HP_ARCH="hppa2.0n" ;;
+			  64) HP_ARCH="hppa2.0w" ;;
 			  '') HP_ARCH="hppa2.0" ;;   # HP-UX 10.20
-                        esac ;;
-                    esac
+			esac ;;
+		    esac
 		fi
 		if [ "${HP_ARCH}" = "" ]; then
 		    eval $set_cc_for_build
-		    sed 's/^              //' << EOF >$dummy.c
+		    sed 's/^		//' << EOF >$dummy.c
+
+		#define _HPUX_SOURCE
+		#include <stdlib.h>
+		#include <unistd.h>
+
+		int main ()
+		{
+		#if defined(_SC_KERNEL_BITS)
+		    long bits = sysconf(_SC_KERNEL_BITS);
+		#endif
+		    long cpu  = sysconf (_SC_CPU_VERSION);
 
-              #define _HPUX_SOURCE
-              #include <stdlib.h>
-              #include <unistd.h>
-
-              int main ()
-              {
-              #if defined(_SC_KERNEL_BITS)
-                  long bits = sysconf(_SC_KERNEL_BITS);
-              #endif
-                  long cpu  = sysconf (_SC_CPU_VERSION);
-
-                  switch (cpu)
-              	{
-              	case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
-              	case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
-              	case CPU_PA_RISC2_0:
-              #if defined(_SC_KERNEL_BITS)
-              	    switch (bits)
-              		{
-              		case 64: puts ("hppa2.0w"); break;
-              		case 32: puts ("hppa2.0n"); break;
-              		default: puts ("hppa2.0"); break;
-              		} break;
-              #else  /* !defined(_SC_KERNEL_BITS) */
-              	    puts ("hppa2.0"); break;
-              #endif
-              	default: puts ("hppa1.0"); break;
-              	}
-                  exit (0);
-              }
+		    switch (cpu)
+			{
+			case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+			case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+			case CPU_PA_RISC2_0:
+		#if defined(_SC_KERNEL_BITS)
+			    switch (bits)
+				{
+				case 64: puts ("hppa2.0w"); break;
+				case 32: puts ("hppa2.0n"); break;
+				default: puts ("hppa2.0"); break;
+				} break;
+		#else  /* !defined(_SC_KERNEL_BITS) */
+			    puts ("hppa2.0"); break;
+		#endif
+			default: puts ("hppa1.0"); break;
+			}
+		    exit (0);
+		}
 EOF
-		    (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
-		    if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
-		    rm -f $dummy.c $dummy
+		    (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy`
+		    test -z "$HP_ARCH" && HP_ARCH=hppa
 		fi ;;
 	esac
+	if [ ${HP_ARCH} = "hppa2.0w" ]
+	then
+	    eval $set_cc_for_build
+
+	    # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+	    # 32-bit code.  hppa64-hp-hpux* has the same kernel and a compiler
+	    # generating 64-bit code.  GNU and HP use different nomenclature:
+	    #
+	    # $ CC_FOR_BUILD=cc ./config.guess
+	    # => hppa2.0w-hp-hpux11.23
+	    # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+	    # => hppa64-hp-hpux11.23
+
+	    if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
+		grep -q __LP64__
+	    then
+		HP_ARCH="hppa2.0w"
+	    else
+		HP_ARCH="hppa64"
+	    fi
+	fi
 	echo ${HP_ARCH}-hp-hpux${HPUX_REV}
-	exit 0 ;;
+	exit ;;
     ia64:HP-UX:*:*)
 	HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'`
 	echo ia64-hp-hpux${HPUX_REV}
-	exit 0 ;;
+	exit ;;
     3050*:HI-UX:*:*)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
@@ -637,174 +703,254 @@ EOF
 	  exit (0);
 	}
 EOF
-	$CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c $dummy && exit 0
-	rm -f $dummy.c $dummy
+	$CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` &&
+		{ echo "$SYSTEM_NAME"; exit; }
 	echo unknown-hitachi-hiuxwe2
-	exit 0 ;;
+	exit ;;
     9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* )
 	echo hppa1.1-hp-bsd
-	exit 0 ;;
+	exit ;;
     9000/8??:4.3bsd:*:*)
 	echo hppa1.0-hp-bsd
-	exit 0 ;;
+	exit ;;
     *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
 	echo hppa1.0-hp-mpeix
-	exit 0 ;;
+	exit ;;
     hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* )
 	echo hppa1.1-hp-osf
-	exit 0 ;;
+	exit ;;
     hp8??:OSF1:*:*)
 	echo hppa1.0-hp-osf
-	exit 0 ;;
+	exit ;;
     i*86:OSF1:*:*)
 	if [ -x /usr/sbin/sysversion ] ; then
 	    echo ${UNAME_MACHINE}-unknown-osf1mk
 	else
 	    echo ${UNAME_MACHINE}-unknown-osf1
 	fi
-	exit 0 ;;
+	exit ;;
     parisc*:Lites*:*:*)
 	echo hppa1.1-hp-lites
-	exit 0 ;;
+	exit ;;
     C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
 	echo c1-convex-bsd
-        exit 0 ;;
+	exit ;;
     C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-        exit 0 ;;
+	exit ;;
     C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
 	echo c34-convex-bsd
-        exit 0 ;;
+	exit ;;
     C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
 	echo c38-convex-bsd
-        exit 0 ;;
+	exit ;;
     C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
 	echo c4-convex-bsd
-        exit 0 ;;
+	exit ;;
     CRAY*Y-MP:*:*:*)
 	echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*[A-Z]90:*:*:*)
 	echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \
 	| sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
 	      -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
 	      -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*TS:*:*:*)
 	echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
-    CRAY*T3D:*:*:*)
-	echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*T3E:*:*:*)
 	echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
     CRAY*SV1:*:*:*)
 	echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
-	exit 0 ;;
+	exit ;;
+    *:UNICOS/mp:*:*)
+	echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
+	exit ;;
     F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
 	FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
-        FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
-        FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
-        echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
-        exit 0 ;;
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'`
+	echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
+    5000:UNIX_System_V:4.*:*)
+	FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
+	FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'`
+	echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+	exit ;;
     i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
 	echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     sparc*:BSD/OS:*:*)
 	echo sparc-unknown-bsdi${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:BSD/OS:*:*)
 	echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:FreeBSD:*:*)
-	echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
-	exit 0 ;;
+	case ${UNAME_MACHINE} in
+	    pc98)
+		echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    amd64)
+		echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	    *)
+		echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
+	esac
+	exit ;;
     i*:CYGWIN*:*)
 	echo ${UNAME_MACHINE}-pc-cygwin
-	exit 0 ;;
-    i*:MINGW*:*)
+	exit ;;
+    *:MINGW*:*)
 	echo ${UNAME_MACHINE}-pc-mingw32
-	exit 0 ;;
+	exit ;;
+    i*:windows32*:*)
+	# uname -m includes "-pc" on this system.
+	echo ${UNAME_MACHINE}-mingw32
+	exit ;;
     i*:PW*:*)
 	echo ${UNAME_MACHINE}-pc-pw32
-	exit 0 ;;
-    x86:Interix*:3*)
-	echo i386-pc-interix3
-	exit 0 ;;
+	exit ;;
+    *:Interix*:*)
+	case ${UNAME_MACHINE} in
+	    x86)
+		echo i586-pc-interix${UNAME_RELEASE}
+		exit ;;
+	    authenticamd | genuineintel | EM64T)
+		echo x86_64-unknown-interix${UNAME_RELEASE}
+		exit ;;
+	    IA64)
+		echo ia64-unknown-interix${UNAME_RELEASE}
+		exit ;;
+	esac ;;
+    [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
+	echo i${UNAME_MACHINE}-pc-mks
+	exit ;;
+    8664:Windows_NT:*)
+	echo x86_64-pc-mks
+	exit ;;
     i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
 	# How do we know it's Interix rather than the generic POSIX subsystem?
 	# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
 	# UNAME_MACHINE based on the output of uname instead of i386?
-	echo i386-pc-interix
-	exit 0 ;;
+	echo i586-pc-interix
+	exit ;;
     i*:UWIN*:*)
 	echo ${UNAME_MACHINE}-pc-uwin
-	exit 0 ;;
+	exit ;;
+    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+	echo x86_64-unknown-cygwin
+	exit ;;
     p*:CYGWIN*:*)
 	echo powerpcle-unknown-cygwin
-	exit 0 ;;
+	exit ;;
     prep*:SunOS:5.*:*)
 	echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
-	exit 0 ;;
+	exit ;;
     *:GNU:*:*)
+	# the GNU system
 	echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
-	exit 0 ;;
+	exit ;;
+    *:GNU/*:*:*)
+	# other systems with GNU libc and userland
+	echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu
+	exit ;;
     i*86:Minix:*:*)
 	echo ${UNAME_MACHINE}-pc-minix
-	exit 0 ;;
+	exit ;;
+    alpha:Linux:*:*)
+	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+	  EV5)   UNAME_MACHINE=alphaev5 ;;
+	  EV56)  UNAME_MACHINE=alphaev56 ;;
+	  PCA56) UNAME_MACHINE=alphapca56 ;;
+	  PCA57) UNAME_MACHINE=alphapca56 ;;
+	  EV6)   UNAME_MACHINE=alphaev6 ;;
+	  EV67)  UNAME_MACHINE=alphaev67 ;;
+	  EV68*) UNAME_MACHINE=alphaev68 ;;
+	esac
+	objdump --private-headers /bin/sh | grep -q ld.so.1
+	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
+	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
+	exit ;;
     arm*:Linux:*:*)
+	eval $set_cc_for_build
+	if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+	    | grep -q __ARM_EABI__
+	then
+	    echo ${UNAME_MACHINE}-unknown-linux-gnu
+	else
+	    if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+		| grep -q __ARM_PCS_VFP
+	    then
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabi
+	    else
+		echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
+	    fi
+	fi
+	exit ;;
+    avr32*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    cris:Linux:*:*)
+	echo cris-axis-linux-gnu
+	exit ;;
+    crisv32:Linux:*:*)
+	echo crisv32-axis-linux-gnu
+	exit ;;
+    frv:Linux:*:*)
+	echo frv-unknown-linux-gnu
+	exit ;;
+    i*86:Linux:*:*)
+	LIBC=gnu
+	eval $set_cc_for_build
+	sed 's/^	//' << EOF >$dummy.c
+	#ifdef __dietlibc__
+	LIBC=dietlibc
+	#endif
+EOF
+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
+	echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
+	exit ;;
     ia64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    m32r*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     m68*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
-    mips:Linux:*:*)
+	exit ;;
+    mips:Linux:*:* | mips64:Linux:*:*)
 	eval $set_cc_for_build
 	sed 's/^	//' << EOF >$dummy.c
 	#undef CPU
-	#undef mips
-	#undef mipsel
+	#undef ${UNAME_MACHINE}
+	#undef ${UNAME_MACHINE}el
 	#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
-	CPU=mipsel
+	CPU=${UNAME_MACHINE}el
 	#else
 	#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
-	CPU=mips
+	CPU=${UNAME_MACHINE}
 	#else
 	CPU=
 	#endif
 	#endif
 EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
-	rm -f $dummy.c
-	test x"${CPU}" != x && echo "${CPU}-pc-linux-gnu" && exit 0
+	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
+	test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
 	;;
-    ppc:Linux:*:*)
-	echo powerpc-unknown-linux-gnu
-	exit 0 ;;
-    ppc64:Linux:*:*)
-	echo powerpc64-unknown-linux-gnu
-	exit 0 ;;
-    alpha:Linux:*:*)
-	case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
-	  EV5)   UNAME_MACHINE=alphaev5 ;;
-	  EV56)  UNAME_MACHINE=alphaev56 ;;
-	  PCA56) UNAME_MACHINE=alphapca56 ;;
-	  PCA57) UNAME_MACHINE=alphapca56 ;;
-	  EV6)   UNAME_MACHINE=alphaev6 ;;
-	  EV67)  UNAME_MACHINE=alphaev67 ;;
-	  EV68*) UNAME_MACHINE=alphaev68 ;;
-        esac
-	objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
-	if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
-	echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
-	exit 0 ;;
+    or32:Linux:*:*)
+	echo or32-unknown-linux-gnu
+	exit ;;
+    padre:Linux:*:*)
+	echo sparc-unknown-linux-gnu
+	exit ;;
+    parisc64:Linux:*:* | hppa64:Linux:*:*)
+	echo hppa64-unknown-linux-gnu
+	exit ;;
     parisc:Linux:*:* | hppa:Linux:*:*)
 	# Look for CPU level
 	case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
@@ -812,90 +958,71 @@ EOF
 	  PA8*) echo hppa2.0-unknown-linux-gnu ;;
 	  *)    echo hppa-unknown-linux-gnu ;;
 	esac
-	exit 0 ;;
-    parisc64:Linux:*:* | hppa64:Linux:*:*)
-	echo hppa64-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    ppc64:Linux:*:*)
+	echo powerpc64-unknown-linux-gnu
+	exit ;;
+    ppc:Linux:*:*)
+	echo powerpc-unknown-linux-gnu
+	exit ;;
     s390:Linux:*:* | s390x:Linux:*:*)
 	echo ${UNAME_MACHINE}-ibm-linux
-	exit 0 ;;
+	exit ;;
+    sh64*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     sh*:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
     sparc:Linux:*:* | sparc64:Linux:*:*)
 	echo ${UNAME_MACHINE}-unknown-linux-gnu
-	exit 0 ;;
+	exit ;;
+    tile*:Linux:*:*)
+	echo ${UNAME_MACHINE}-tilera-linux-gnu
+	exit ;;
+    vax:Linux:*:*)
+	echo ${UNAME_MACHINE}-dec-linux-gnu
+	exit ;;
     x86_64:Linux:*:*)
 	echo x86_64-unknown-linux-gnu
-	exit 0 ;;
-    i*86:Linux:*:*)
-	# The BFD linker knows what the default object file format is, so
-	# first see if it will tell us. cd to the root directory to prevent
-	# problems with other programs or directories called `ld' in the path.
-	# Set LC_ALL=C to ensure ld outputs messages in English.
-	ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
-			 | sed -ne '/supported targets:/!d
-				    s/[ 	][ 	]*/ /g
-				    s/.*supported targets: *//
-				    s/ .*//
-				    p'`
-        case "$ld_supported_targets" in
-	  elf32-i386)
-		TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
-		;;
-	  a.out-i386-linux)
-		echo "${UNAME_MACHINE}-pc-linux-gnuaout"
-		exit 0 ;;		
-	  coff-i386)
-		echo "${UNAME_MACHINE}-pc-linux-gnucoff"
-		exit 0 ;;
-	  "")
-		# Either a pre-BFD a.out linker (linux-gnuoldld) or
-		# one that does not give us useful --help.
-		echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
-		exit 0 ;;
-	esac
-	# Determine whether the default compiler is a.out or elf
-	eval $set_cc_for_build
-	sed 's/^	//' << EOF >$dummy.c
-	#include <features.h>
-	#ifdef __ELF__
-	# ifdef __GLIBC__
-	#  if __GLIBC__ >= 2
-	LIBC=gnu
-	#  else
-	LIBC=gnulibc1
-	#  endif
-	# else
-	LIBC=gnulibc1
-	# endif
-	#else
-	#ifdef __INTEL_COMPILER
-	LIBC=gnu
-	#else
-	LIBC=gnuaout
-	#endif
-	#endif
-EOF
-	eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
-	rm -f $dummy.c
-	test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0
-	test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0
-	;;
+	exit ;;
+    xtensa*:Linux:*:*)
+	echo ${UNAME_MACHINE}-unknown-linux-gnu
+	exit ;;
     i*86:DYNIX/ptx:4*:*)
 	# ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
 	# earlier versions are messed up and put the nodename in both
 	# sysname and nodename.
 	echo i386-sequent-sysv4
-	exit 0 ;;
+	exit ;;
     i*86:UNIX_SV:4.2MP:2.*)
-        # Unixware is an offshoot of SVR4, but it has its own version
-        # number series starting with 2...
-        # I am not positive that other SVR4 systems won't match this,
+	# Unixware is an offshoot of SVR4, but it has its own version
+	# number series starting with 2...
+	# I am not positive that other SVR4 systems won't match this,
 	# I just have to hope.  -- rms.
-        # Use sysv4.2uw... so that sysv4* matches it.
+	# Use sysv4.2uw... so that sysv4* matches it.
 	echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION}
-	exit 0 ;;
+	exit ;;
+    i*86:OS/2:*:*)
+	# If we were able to find `uname', then EMX Unix compatibility
+	# is probably installed.
+	echo ${UNAME_MACHINE}-pc-os2-emx
+	exit ;;
+    i*86:XTS-300:*:STOP)
+	echo ${UNAME_MACHINE}-unknown-stop
+	exit ;;
+    i*86:atheos:*:*)
+	echo ${UNAME_MACHINE}-unknown-atheos
+	exit ;;
+    i*86:syllable:*:*)
+	echo ${UNAME_MACHINE}-pc-syllable
+	exit ;;
+    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+	echo i386-unknown-lynxos${UNAME_RELEASE}
+	exit ;;
+    i*86:*DOS:*:*)
+	echo ${UNAME_MACHINE}-pc-msdosdjgpp
+	exit ;;
     i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*)
 	UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'`
 	if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
@@ -903,99 +1030,113 @@ EOF
 	else
 		echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL}
 	fi
-	exit 0 ;;
-    i*86:*:5:[78]*)
+	exit ;;
+    i*86:*:5:[678]*)
+	# UnixWare 7.x, OpenUNIX and OpenServer 6.
 	case `/bin/uname -X | grep "^Machine"` in
 	    *486*)	     UNAME_MACHINE=i486 ;;
 	    *Pentium)	     UNAME_MACHINE=i586 ;;
 	    *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
 	esac
 	echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
-	exit 0 ;;
+	exit ;;
     i*86:*:3.2:*)
 	if test -f /usr/options/cb.name; then
 		UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
 		echo ${UNAME_MACHINE}-pc-isc$UNAME_REL
 	elif /bin/uname -X 2>/dev/null >/dev/null ; then
-		UNAME_REL=`(/bin/uname -X|egrep Release|sed -e 's/.*= //')`
-		(/bin/uname -X|egrep i80486 >/dev/null) && UNAME_MACHINE=i486
-		(/bin/uname -X|egrep '^Machine.*Pentium' >/dev/null) \
+		UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+		(/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+		(/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
 			&& UNAME_MACHINE=i586
-		(/bin/uname -X|egrep '^Machine.*Pent ?II' >/dev/null) \
+		(/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
 			&& UNAME_MACHINE=i686
-		(/bin/uname -X|egrep '^Machine.*Pentium Pro' >/dev/null) \
+		(/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
 			&& UNAME_MACHINE=i686
 		echo ${UNAME_MACHINE}-pc-sco$UNAME_REL
 	else
 		echo ${UNAME_MACHINE}-pc-sysv32
 	fi
-	exit 0 ;;
-    i*86:*DOS:*:*)
-	echo ${UNAME_MACHINE}-pc-msdosdjgpp
-	exit 0 ;;
+	exit ;;
     pc:*:*:*)
 	# Left here for compatibility:
-        # uname -m prints for DJGPP always 'pc', but it prints nothing about
-        # the processor, so we play safe by assuming i386.
-	echo i386-pc-msdosdjgpp
-        exit 0 ;;
+	# uname -m prints for DJGPP always 'pc', but it prints nothing about
+	# the processor, so we play safe by assuming i586.
+	# Note: whatever this is, it MUST be the same as what config.sub
+	# prints for the "djgpp" host, or else GDB configury will decide that
+	# this is a cross-build.
+	echo i586-pc-msdosdjgpp
+	exit ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
-	exit 0 ;;
+	exit ;;
     paragon:*:*:*)
 	echo i860-intel-osf1
-	exit 0 ;;
+	exit ;;
     i860:*:4.*:*) # i860-SVR4
 	if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
 	  echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
 	else # Add other i860-SVR4 vendors below as they are discovered.
 	  echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
 	fi
-	exit 0 ;;
+	exit ;;
     mini*:CTIX:SYS*5:*)
 	# "miniframe"
 	echo m68010-convergent-sysv
-	exit 0 ;;
-    M68*:*:R3V[567]*:*)
-	test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
-    3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
+	exit ;;
+    mc68k:UNIX:SYSTEM5:3.51m)
+	echo m68k-convergent-sysv
+	exit ;;
+    M680?0:D-NIX:5.3:*)
+	echo m68k-diab-dnix
+	exit ;;
+    M68*:*:R3V[5678]*:*)
+	test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+    3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
 	OS_REL=''
 	test -r /etc/.relid \
 	&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
 	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-	  && echo i486-ncr-sysv4.3${OS_REL} && exit 0
+	  && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
 	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
-	  && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;;
+	  && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
-        /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
-          && echo i486-ncr-sysv4 && exit 0 ;;
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	  && { echo i486-ncr-sysv4; exit; } ;;
+    NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+	OS_REL='.3'
+	test -r /etc/.relid \
+	    && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+	/bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+	    && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
+	/bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
+	/bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+	    && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
     m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
 	echo m68k-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     mc68030:UNIX_System_V:4.*:*)
 	echo m68k-atari-sysv4
-	exit 0 ;;
-    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
-	echo i386-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     TSUNAMI:LynxOS:2.*:*)
 	echo sparc-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     rs6000:LynxOS:2.*:*)
 	echo rs6000-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
-    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
+	exit ;;
+    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
 	echo powerpc-unknown-lynxos${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     SM[BE]S:UNIX_SV:*:*)
 	echo mips-dde-sysv${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     RM*:ReliantUNIX-*:*:*)
 	echo mips-sni-sysv4
-	exit 0 ;;
+	exit ;;
     RM*:SINIX-*:*:*)
 	echo mips-sni-sysv4
-	exit 0 ;;
+	exit ;;
     *:SINIX-*:*:*)
 	if uname -p 2>/dev/null >/dev/null ; then
 		UNAME_MACHINE=`(uname -p) 2>/dev/null`
@@ -1003,61 +1144,94 @@ EOF
 	else
 		echo ns32k-sni-sysv
 	fi
-	exit 0 ;;
-    PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
-                      # says <Richard.M.Bartel@ccMail.Census.GOV>
-        echo i586-unisys-sysv4
-        exit 0 ;;
+	exit ;;
+    PENTIUM:*:4.0*:*)	# Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+			# says <Richard.M.Bartel@ccMail.Census.GOV>
+	echo i586-unisys-sysv4
+	exit ;;
     *:UNIX_System_V:4*:FTX*)
 	# From Gerald Hewes <hewes@openmarket.com>.
 	# How about differentiating between stratus architectures? -djm
 	echo hppa1.1-stratus-sysv4
-	exit 0 ;;
+	exit ;;
     *:*:*:FTX*)
 	# From seanf@swdc.stratus.com.
 	echo i860-stratus-sysv4
-	exit 0 ;;
+	exit ;;
+    i*86:VOS:*:*)
+	# From Paul.Green@stratus.com.
+	echo ${UNAME_MACHINE}-stratus-vos
+	exit ;;
     *:VOS:*:*)
 	# From Paul.Green@stratus.com.
 	echo hppa1.1-stratus-vos
-	exit 0 ;;
+	exit ;;
     mc68*:A/UX:*:*)
 	echo m68k-apple-aux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     news*:NEWS-OS:6*:*)
 	echo mips-sony-newsos6
-	exit 0 ;;
+	exit ;;
     R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
 	if [ -d /usr/nec ]; then
-	        echo mips-nec-sysv${UNAME_RELEASE}
+		echo mips-nec-sysv${UNAME_RELEASE}
 	else
-	        echo mips-unknown-sysv${UNAME_RELEASE}
+		echo mips-unknown-sysv${UNAME_RELEASE}
 	fi
-        exit 0 ;;
+	exit ;;
     BeBox:BeOS:*:*)	# BeOS running on hardware made by Be, PPC only.
 	echo powerpc-be-beos
-	exit 0 ;;
+	exit ;;
     BeMac:BeOS:*:*)	# BeOS running on Mac or Mac clone, PPC only.
 	echo powerpc-apple-beos
-	exit 0 ;;
+	exit ;;
     BePC:BeOS:*:*)	# BeOS running on Intel PC compatible.
 	echo i586-pc-beos
-	exit 0 ;;
+	exit ;;
+    BePC:Haiku:*:*)	# Haiku running on Intel PC compatible.
+	echo i586-pc-haiku
+	exit ;;
     SX-4:SUPER-UX:*:*)
 	echo sx4-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     SX-5:SUPER-UX:*:*)
 	echo sx5-nec-superux${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
+    SX-6:SUPER-UX:*:*)
+	echo sx6-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-7:SUPER-UX:*:*)
+	echo sx7-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-8:SUPER-UX:*:*)
+	echo sx8-nec-superux${UNAME_RELEASE}
+	exit ;;
+    SX-8R:SUPER-UX:*:*)
+	echo sx8r-nec-superux${UNAME_RELEASE}
+	exit ;;
     Power*:Rhapsody:*:*)
 	echo powerpc-apple-rhapsody${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Rhapsody:*:*)
 	echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Darwin:*:*)
-	echo `uname -p`-apple-darwin${UNAME_RELEASE}
-	exit 0 ;;
+	UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+	case $UNAME_PROCESSOR in
+	    i386)
+		eval $set_cc_for_build
+		if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
+		  if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+		      (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
+		      grep IS_64BIT_ARCH >/dev/null
+		  then
+		      UNAME_PROCESSOR="x86_64"
+		  fi
+		fi ;;
+	    unknown) UNAME_PROCESSOR=powerpc ;;
+	esac
+	echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
+	exit ;;
     *:procnto*:*:* | *:QNX:[0123456789]*:*)
 	UNAME_PROCESSOR=`uname -p`
 	if test "$UNAME_PROCESSOR" = "x86"; then
@@ -1065,22 +1239,28 @@ EOF
 		UNAME_MACHINE=pc
 	fi
 	echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:QNX:*:4*)
 	echo i386-pc-qnx
-	exit 0 ;;
-    NSR-[GKLNPTVW]:NONSTOP_KERNEL:*:*)
+	exit ;;
+    NEO-?:NONSTOP_KERNEL:*:*)
+	echo neo-tandem-nsk${UNAME_RELEASE}
+	exit ;;
+    NSE-?:NONSTOP_KERNEL:*:*)
+	echo nse-tandem-nsk${UNAME_RELEASE}
+	exit ;;
+    NSR-?:NONSTOP_KERNEL:*:*)
 	echo nsr-tandem-nsk${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:NonStop-UX:*:*)
 	echo mips-compaq-nonstopux
-	exit 0 ;;
+	exit ;;
     BS2000:POSIX*:*:*)
 	echo bs2000-siemens-sysv
-	exit 0 ;;
+	exit ;;
     DS/*:UNIX_System_V:*:*)
 	echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE}
-	exit 0 ;;
+	exit ;;
     *:Plan9:*:*)
 	# "uname -m" is not consistent, so use $cputype instead. 386
 	# is converted to i386 for consistency with other x86
@@ -1091,36 +1271,50 @@ EOF
 	    UNAME_MACHINE="$cputype"
 	fi
 	echo ${UNAME_MACHINE}-unknown-plan9
-	exit 0 ;;
-    i*86:OS/2:*:*)
-	# If we were able to find `uname', then EMX Unix compatibility
-	# is probably installed.
-	echo ${UNAME_MACHINE}-pc-os2-emx
-	exit 0 ;;
+	exit ;;
     *:TOPS-10:*:*)
 	echo pdp10-unknown-tops10
-	exit 0 ;;
+	exit ;;
     *:TENEX:*:*)
 	echo pdp10-unknown-tenex
-	exit 0 ;;
+	exit ;;
     KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
 	echo pdp10-dec-tops20
-	exit 0 ;;
+	exit ;;
     XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
 	echo pdp10-xkl-tops20
-	exit 0 ;;
+	exit ;;
     *:TOPS-20:*:*)
 	echo pdp10-unknown-tops20
-	exit 0 ;;
+	exit ;;
     *:ITS:*:*)
 	echo pdp10-unknown-its
-	exit 0 ;;
-    i*86:XTS-300:*:STOP)
-	echo ${UNAME_MACHINE}-unknown-stop
-	exit 0 ;;
-    i*86:atheos:*:*)
-	echo ${UNAME_MACHINE}-unknown-atheos
-	exit 0 ;;
+	exit ;;
+    SEI:*:*:SEIUX)
+	echo mips-sei-seiux${UNAME_RELEASE}
+	exit ;;
+    *:DragonFly:*:*)
+	echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+	exit ;;
+    *:*VMS:*:*)
+	UNAME_MACHINE=`(uname -p) 2>/dev/null`
+	case "${UNAME_MACHINE}" in
+	    A*) echo alpha-dec-vms ; exit ;;
+	    I*) echo ia64-dec-vms ; exit ;;
+	    V*) echo vax-dec-vms ; exit ;;
+	esac ;;
+    *:XENIX:*:SysV)
+	echo i386-pc-xenix
+	exit ;;
+    i*86:skyos:*:*)
+	echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
+	exit ;;
+    i*86:rdos:*:*)
+	echo ${UNAME_MACHINE}-pc-rdos
+	exit ;;
+    i*86:AROS:*:*)
+	echo ${UNAME_MACHINE}-pc-aros
+	exit ;;
 esac
 
 #echo '(No uname command or uname output not recognized.)' 1>&2
@@ -1143,16 +1337,16 @@ main ()
 #include <sys/param.h>
   printf ("m68k-sony-newsos%s\n",
 #ifdef NEWSOS4
-          "4"
+	"4"
 #else
-	  ""
+	""
 #endif
-         ); exit (0);
+	); exit (0);
 #endif
 #endif
 
 #if defined (__arm) && defined (__acorn) && defined (__unix)
-  printf ("arm-acorn-riscix"); exit (0);
+  printf ("arm-acorn-riscix\n"); exit (0);
 #endif
 
 #if defined (hp300) && !defined (hpux)
@@ -1241,12 +1435,12 @@ main ()
 }
 EOF
 
-$CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f $dummy.c $dummy && exit 0
-rm -f $dummy.c $dummy
+$CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
+	{ echo "$SYSTEM_NAME"; exit; }
 
 # Apollos put the system type in the environment.
 
-test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; }
+test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
 
 # Convex versions that predate uname can use getsysinfo(1)
 
@@ -1255,22 +1449,22 @@ then
     case `getsysinfo -f cpu_type` in
     c1*)
 	echo c1-convex-bsd
-	exit 0 ;;
+	exit ;;
     c2*)
 	if getsysinfo -f scalar_acc
 	then echo c32-convex-bsd
 	else echo c2-convex-bsd
 	fi
-	exit 0 ;;
+	exit ;;
     c34*)
 	echo c34-convex-bsd
-	exit 0 ;;
+	exit ;;
     c38*)
 	echo c38-convex-bsd
-	exit 0 ;;
+	exit ;;
     c4*)
 	echo c4-convex-bsd
-	exit 0 ;;
+	exit ;;
     esac
 fi
 
@@ -1281,7 +1475,9 @@ This script, last modified $timestamp, h
 the operating system you are using. It is advised that you
 download the most up to date version of the config scripts from
 
-    ftp://ftp.gnu.org/pub/gnu/config/
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
+and
+  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
 
 If the version you run ($0) is already up to date, please
 send the following data and any information you think might be
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-007-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-098-001-B
@@ -0,0 +1,81 @@
+  0;    0;      1;      0;           0;   24;     CCITTIA5; TABLE A: ENTRY
+  0;    0;      2;      0;           0;  256;     CCITTIA5; TABLE A: DATA CATEGORY DESCRIPTION, LINE 1
+  0;    0;      3;      0;           0;  256;     CCITTIA5; TABLE A: DATA CATEGORY DESCRIPTION, LINE 2
+  0;    0;      5;      0;           0;   24;     CCITTIA5; BUFR EDITION NUMBER
+  0;    0;     10;      0;           0;    8;     CCITTIA5; F DESCRIPTOR TO BE ADDED OR DEFINED
+  0;    0;     11;      0;           0;   16;     CCITTIA5; X DESCRIPTOR TO BE ADDED OR DEFINED
+  0;    0;     12;      0;           0;   24;     CCITTIA5; Y DESCRIPTOR TO BE ADDED OR DEFINED
+  0;    0;     13;      0;           0;  256;     CCITTIA5; ELEMENT NAME, LINE 1
+  0;    0;     14;      0;           0;  256;     CCITTIA5; ELEMENT NAME, LINE 2
+  0;    0;     15;      0;           0;  192;     CCITTIA5; UNITS NAME
+  0;    0;     16;      0;           0;    8;     CCITTIA5; UNITS SCALE SIGN
+  0;    0;     17;      0;           0;   24;     CCITTIA5; UNITS SCALE
+  0;    0;     18;      0;           0;    8;     CCITTIA5; UNITS REFERENCE SIGN
+  0;    0;     19;      0;           0;   80;     CCITTIA5; UNITS REFERENCE VALUE
+  0;    0;     20;      0;           0;   24;     CCITTIA5; ELEMENT DATA WIDTH
+  0;    0;     30;      0;           0;   48;     CCITTIA5; DESCRIPTOR DEFINING SEQUENCE
+  0;    1;      1;      0;           0;    7;      NUMERIC; WMO BLOCK NUMBER
+  0;    1;      2;      0;           0;   10;      NUMERIC; WMO STATION NUMBER
+  0;    1;      3;      0;           0;    3;      NUMERIC; WMO REGION NUMBER/GEOGRAPHICAL AREA
+  0;    1;      4;      0;           0;    3;      NUMERIC; WMO REGION SUB-AREA
+  0;    1;      5;      0;           0;   17;      NUMERIC; BUOY/PLATFORM IDENTIFIER
+  0;    1;      6;      0;           0;   64;     CCITTIA5; AIRCRAFT FLIGHT NUMBER
+  0;    1;      7;      0;           0;   10;         CODE; TABLE   	SATELLITE IDENTIFIER
+  0;    1;      8;      0;           0;   64;     CCITTIA5; AIRCRAFT REGISTRATION NUMBER
+  0;    1;      9;      0;           0;   64;     CCITTIA5; TYPE OF COMMERCIAL AIRCRAFT
+  0;    1;     10;      0;           0;   64;     CCITTIA5; STATIONARY BUOY PLATFORM IDENTIFIER(C-MAN BUOYS)
+  0;    1;     11;      0;           0;   72;     CCITTIA5; SHIP'S CALL SIGN
+  0;    1;     12;      0;           0;    9;       DEGREE; TRUE  	DIRECTION OF MOTION OF MOVING OBSERVING PLATFORM
+  0;    1;     13;      0;           0;   10;          M/S; SPEED OF MOTION OF MOVING OBSERVING PLATFORM
+  0;    1;     14;      2;           0;   10;          M/S; PLATFORM DRIFT SPEED(HIGH PRECISION
+  0;    1;     21;      0;           0;   14;      NUMERIC; SYNOPTIC FEATURE IDENTIFIER
+  0;    1;     25;      0;           0;   24;     CCITTIA5; STORM IDENTIFIER
+  0;    1;     26;      0;           0;   64;     CCITTIA5; WMO STORM NAME
+  0;    1;     31;      0;           0;   16;         CODE; TABLE   	GENERATING CENTRE
+  0;    1;     32;      0;           0;    8;         CODE; TABLE   	GENERATING APPLICATION
+  0;    1;     63;      0;           0;   64;     CCITTIA5; ICAO LOCATION INDICATOR
+  0;    1;    192;      0;           0;    8;         CODE; TABLE   	MODEL VERSION NUMBER
+  0;    1;    193;      0;           0;    4;         CODE; TABLE   	SIGMA_0 SIMULATION METHOD
+  0;    1;    194;      0;           0;   72;     CCITTIA5; CARRIER BALLOON/AIRCRAFT IDENTIFIER
+  0;    1;    195;      0;           0;   72;     CCITTIA5; MOBIL LAND STATION IDENTIFIER
+  0;    1;    196;      0;           0;   72;     CCITTIA5; CONSTANT LEVEL BALLOON IDENTIFIER
+  0;    1;    197;      0;           0;   10;         CODE; TABLE   	RTP - PLATFORM TYPE
+  0;    1;    198;      0;           0;   10;         CODE; TABLE   	ITP - DECK ID
+  0;    1;    199;      0;           0;    4;         CODE; TABLE   	DUP - DUPLICATE STATUS
+  0;    1;    201;      0;           0;    8;         CODE; TABLE   	GENERATING APPLICATION
+  0;    1;    205;      0;           0;   10;         CODE; TABLE   	SATELLITE IDENTIFIER
+  0;    1;    208;      5; -1073741824;   31;          M/S; VELOCITY OF PLATFORM, X
+  0;    1;    209;      5; -1073741824;   31;          M/S; VELOCITY OF PLATFORM, Y
+  0;    1;    210;      5; -1073741824;   31;          M/S; VELOCITY OF PLATFORM, Z
+  0;    2;      1;      0;           0;    2;         CODE; TABLE   	TYPE OF STATION
+  0;    2;      2;      0;           0;    4;         FLAG; TABLE   	TYPE OF INSTRUMENTATION FOR WIND MEASUREMENT
+  0;    2;      3;      0;           0;    4;         CODE; TABLE   	TYPE OF MEASURING EQUIPMENT USED
+  0;    2;      4;      0;           0;    4;         CODE; TABLE   	TYPE OF INSTRUMENTATION FOR EVAPORATION MEASUEMENT
+  0;    2;      5;      2;           0;    7;            K; PRECISION OF TEMPERATURE OBSERVATION
+  0;    2;     11;      0;           0;    8;         CODE; TABLE   	RADIOSONDE TYPE
+  0;    2;     12;      0;           0;    4;         CODE; TABLE   	RADIOSONDE COMPUTATIONAL METHOD
+  0;    2;     13;      0;           0;    4;         CODE; TABLE   	SOLAR AND INFRARED RADIATION CORRECTION
+  0;    2;     14;      0;           0;    7;         CODE; TABLE   	TRACKING TECHNIQUE/STATUS OF SYSTEM USED
+  0;    2;     15;      0;           0;    4;         CODE; TABLE   	RADIOSONDE COMPLETENESS
+  0;    2;     21;      0;           0;    9;         FLAG; TABLE   	SATELLITE INSTRUMENT DATA USED IN PROCESSING
+  0;    2;     22;      0;           0;    8;         FLAG; TABLE   	SATELLITE DATA PROCESSING TECHNIQUE USED
+  0;    2;     23;      0;           0;    4;         CODE; TABLE   	SATELLITE DERIVED WIND COMPUTATION METHOD
+  0;    2;     24;      0;           0;    4;         CODE; TABLE   	INTEGRATED MEAN HUMIDITY COMPUTATIONAL METHOD
+  0;    2;     25;      0;           0;   25;         FLAG; TABLE   	SATELLITE CHANNEL(S) USED IN COMPUTATION
+  0;    2;     26;      2;           0;   12;            M; CROSS TRACK RESOLUTION
+  0;    2;     27;      2;           0;   12;            M; ALONG TRACK RESOLUTION
+  0;    2;     30;      0;           0;    3;         CODE; TABLE   	METHOD OF CURRENT MEASUREMENT
+  0;    2;     31;      0;           0;    5;         CODE; TABLE   	DURATION AND TIME OF CURRENT MEASUREMENT
+  0;    2;     32;      0;           0;    2;         CODE; TABLE   	INDICATOR FOR DIGITIZATION
+  0;    2;     33;      0;           0;    3;         CODE; TABLE   	METHOD OF SALINITY/DEPTH MEASUREMENT
+  0;    2;     34;      0;           0;    5;         CODE; TABLE   	DROGUE TYPE
+  0;    2;     35;      0;           0;    9;            M; CABLE LENGTH
+  0;    2;     36;      0;           0;    2;         CODE; TABLE   	BUOY TYPE
+  0;    2;     37;      0;           0;    3;         CODE; TABLE   	METHOD OF TIDAL OBSERVATION
+  0;    2;     38;      0;           0;    4;         CODE; TABLE   	METHOD OF SEA-SURFACE TEMPERATURE MEASUREMENT
+  0;    2;     39;      0;           0;    3;         CODE; TABLE   	METHOD OF WET-BULB TEMPERATURE MEASUREMENT
+  0;    2;     40;      0;           0;    4;         CODE; TABLE   	METHOD OF REMOVING VELOCITY AND MOTION OF PLATFORM FROM CURRENT
+  0;    2;     41;      0;           0;    6;         CODE; TABLE   	METHOD FOR ESTIMATING REPORTS RELATED TO SYNOPTIC FEATURES
+  0;    2;     51;      0;           0;    4;         CODE; TABLE   	INDICATOR TO SPECIFY OBSERVING METHOD FOR EXTREME TEMPERATURES
+  0;    2;     61;      0;           0;    3;         CODE; TABLE   	AIRCRAFT NAVIGATIONAL SYSTEM
+  0;    2;     62;      0;           0;    4;         CODE; TABLE   	TYPE OF AIRCRAFT DATA RELAY SYST
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-001-D
@@ -0,0 +1,25 @@
+#
+# B2L-058-001-D.001 - Local BUFR Table D (Lists of Common Sequences)
+# for Center 058 (FNMOC), Minor Local Version 1
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+
+# Phony local descriptor for debugging purposes
+#
+#3	5	1
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	0	2	104		# Antenna polarization            (4 bits)
+#	0	2	113		# Number of azimuth looks         (4 bits)
+#	-1
+#
+3	5	1
+	0	2	 11		# Radiosonde type                 (8 bits)
+	0	2	 22		# Satellite DP technique used     (8 bits)
+	0	2	102		# Antenna height above tower base (8 bits)
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-008-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-058-000-D
@@ -0,0 +1,1154 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# sccs keywords: @(#)Table_D.txt	1.1 05/07/97
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	2
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	22
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	1	2	32
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	0	6	12
+	1	6	0
+	0	31	1
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	0	2	135
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-004-B
@@ -0,0 +1,635 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     15;      0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;     20;      0;           0;    4;      Numeric; WMO Region sub-area
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     22;      0;           0;  224;    CCITT_IA5; Name of feature
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Identification of originating/generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+  0;    1;     33;      0;           0;    8;   Code_Table; Identification of originating/generating center
+  0;    1;     34;      0;           0;    8;   Code_Table; Identification of originating/generating sub-center
+  0;    1;     41;      5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;     42;      5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;     43;      5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;     60;      0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+  0;    1;     64;      0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;     75;      0;           0;   40;    CCITT_IA5; Ride station identification
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;          deg; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     37;      0;           0;    3;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Method of sea-surface temperature measurement
+  0;    2;     39;      0;           0;    3;   Code_Table; Method of wet-buld temperature measurement
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion of platform from current
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report
+  0;    2;     44;      0;           0;    4;   Code_Table; Inicator for method of calculating spectral wave data
+  0;    2;     45;      0;           0;    4;   Code_Table; Indicator for type of platform
+  0;    2;     46;      0;           0;    4;   Code_Table; Wave measurement instrumentation
+  0;    2;     48;      0;           0;    4;   Code_Table; Satellite sensor indicator
+  0;    2;     49;      0;           0;    8;   Flag_Table; Geostationary satellite data-processing technique used
+  0;    2;     50;      0;           0;   20;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;    2;     52;      0;           0;    6;   Flag_Table; Geostationary imager satellite channels used
+  0;    2;     53;      0;           0;    4;   Code_Table; GOES-I/M  brightness temperature characteristics
+  0;    2;     54;      0;           0;    4;   Code_Table; GOES-I/M  soundings parameter characteristics
+  0;    2;     55;      0;           0;    4;   Code_Table; Geostationary soundings statistical parameters
+  0;    2;     56;      0;           0;    4;   Code_Table; Geostationary soundings accuracy statistics
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;    2;     58;      0;           0;    4;   Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;    2;     59;      0;           0;    4;   Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;    2;     60;      0;           0;    4;   Code_Table; Origin of surface information for GOES-I/M soundings
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     64;      0;           0;    2;   Code_Table; Aircraft roll angle quality
+  0;    2;     65;      0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    100;      1;           0;   12;           dB; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    140;      2;           0;    9;          deg; Satellite radar beam azimuth
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument serial number/identification
+  0;    2;    143;      0;           0;    7;   Code_Table; Ozone instrument type
+  0;    2;    144;      0;           0;    4;   Code_Table; Light source type for Brewer spectrophotometer
+  0;    2;    145;      0;           0;    4;   Code_Table; Wave length setting for Dobson instruments
+  0;    2;    146;      0;           0;    4;   Code_Table; Source conditions for Dobson instruments
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to followinG value
+  0;    4;     32;      0;           0;    6;       Minute; Duration of time relating to following value
+  0;    4;     41;      0;       -1440;   12;       Minute; Time Difference, UTC-LMT
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipition equal to or more than 1mm
+  0;    4;    192;      0;           0;    3;   Code_Table; Season
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;    6;     11;      5;   -18000000;   26;          deg; Longitude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longitude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Height
+  0;    7;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     24;      2;       -9000;   15;          deg; Satellite zenith angle
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea/water surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Meteorological attribute significance
+  0;    8;      7;      0;           0;    4;   Code_Table; Dimensional significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Meteorological feature
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     14;      0;           0;    4;   Code_Table; Qualification for runway visual range
+  0;    8;     16;      0;           0;    3;   Code_Table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;    8;     17;      0;           0;    2;   Code_Table; Qualifier of the time when the forecast change is expected
+  0;    8;     20;      0;           0;   16;      Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     23;      0;           0;    6;   Code_Table; First order statistics
+  0;    8;     24;      0;           0;    6;   Code_Table; Difference statistics
+  0;    8;     25;      0;           0;    4;   Code_Table; Time difference qualifier
+  0;    8;     30;      0;           0;   13;      Numeric; Manual on Codes
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurance follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurance qualifier
+  0;    8;     60;      0;           0;    4;   Code_Table; Sample scanning mode significance
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;     31;      2; -1073741824;   31;            m; In direction of the North Pole, distance from the Earth's centre
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+  0;   10;     70;      0;        -400;   16;            m; Indicated aircraft altitude
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     16;      0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable wind
+  0;   11;     17;      0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable wind
+  0;   11;     21;      9;      -65536;   17;        s**-1; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;        s**-1; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust speed
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     44;      0;           0;    9;     deg_true; Mean wind direction for surface - 1500m
+  0;   11;     45;      1;           0;   12;          m/s; Mean wind speed for surface - 1500m
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind speed
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear in 1 kilometer layer below
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear in1 kilometer layer above
+  0;   11;     70;      0;           0;   32; CCITT_IA5Designator; of the runway affected by wind shear
+  0;   11;     71;      3;        -128;   14;   m**2/s**-2; Turbulent vertical momemtum flux
+  0;   11;     72;      3;        -128;   11;            K; m/s**-2	Turbulent vertical buouancy flux
+  0;   11;     73;      2;       -1024;   13;   m**2/s**-2; Turbulent kinetic energy
+  0;   11;     74;      2;       -1024;   10;   m**2/s**-2; Dissipation energy
+  0;   11;     75;      2;           0;    8; m**(2/3)/s**-1; Mean turbulence intensity
+  0;   11;     76;      2;           0;    8; m**(2/3)/s**-1; Peak turbulence intensity
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation of temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      4;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     33;      1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     38;      0;           0;    2;   Code_Table; Superadiabatic indicator
+  0;   13;     39;      0;           0;    3;   Code_Table; Terrain type (ice/snow)
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipition
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipition
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      2;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over period specified
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     26;      0;           0;    7;      percent; Albedo at the top of clouds
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air mass (slant path at 22km)
+  0;   15;     11;      3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;     15;      0;           0;   31;      Numeric; Maximum image spectral composition before normalization
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radius with respect to wind speed above threshold (large storms)
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      9;      0;           0;    4;   Code_Table; General Weather Indicator
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;      0;           0;    2;   Code_Table; Tendency of runway visual range
+  0;   20;     19;      0;           0;   72;    CCITT_IA5; Significant present or forecast weather
+  0;   20;     20;      0;           0;   32;    CCITT_IA5; Significant recent weather phenomena
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     90;      0;           0;    4;   Code_Table; Special clouds
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;           0;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;     62;      2;       -5000;   13;     Decibels; Backscatter
+  0;   21;     63;      1;           0;   10;      Percent; Radiometric resolution (noise value)
+  0;   21;     64;      0;           0;    8;      Numeric; Clutter noise estimate
+  0;   21;     65;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   21;     66;      0;           0;   12;   Flag_Table; Wave scatterometer product confidence
+  0;   21;     67;      0;           0;   13;   Flag_Table; Wind product confidence data
+  0;   21;     68;      0;           0;    8;   Flag_Table; Radar altimeter product confidence data
+  0;   21;     69;      0;           0;   10;   Flag_Table; SST product confidence data
+  0;   21;     71;      0;           0;   16;      Numeric; Peakiness
+  0;   21;     72;      0;           0;    4;   Flag_Table; Satellite altimeter calibration status
+  0;   21;     73;      0;           0;    9;   Flag_Table; Satellite altimeter instrument mode
+  0;   21;     75;      0;           0;    8;      Numeric; Spectral intensity
+  0;   21;     76;      0;           0;    3;   Code_Table; Representation of intensities
+  0;   21;     77;      3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;     78;      3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;     79;      3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;     80;      3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;     81;      3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;     82;      3;       -3000;   14;     Decibels; Open loop correction (auto gain control)
+  0;   21;     85;      0;       -3000;    4;      Numeric; ATSR sea surface temperature across-track band number
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     26;      2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national chart datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     40;      3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea/water temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea/water temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;     67;      0;           0;   10;   Code_Table; Instrument type for water temperature profile measurement
+  0;   22;     68;      0;           0;    7;   Code_Table; Water temperature profile recorder types
+  0;   22;     70;      2;           0;   13;            m; Significant wave height
+  0;   22;     71;      1;           0;    9;            s; Spectral peak wave period
+  0;   22;     72;      0;           0;   13;            m; Spectral peak wave length
+  0;   22;     73;      2;           0;   13;            m; Maximum wave height
+  0;   22;     74;      1;           0;    9;            s; Average wave period
+  0;   22;     75;      0;           0;   13;            m; Average wave length
+  0;   22;     76;      0;           0;    9;  Degree_True; Direction from which dominant waves are coming
+  0;   22;     77;      0;           0;    9;       Degree; Directional spred of dominant wave
+  0;   22;     78;      0;           0;   12;            s; Duration of wave record
+  0;   22;     79;      0;           0;   16;            m; Length of wave record
+  0;   22;     80;      3;           0;   10;           Hz; Waveband central frequency
+  0;   22;     81;      5;           0;   13;        m**-1; Waveband central wave number
+  0;   22;     82;      2;           0;   20;       m**2/s; Maximum non-directional spectral wave density
+  0;   22;     83;      2;           0;   20;         m**3; Maximum non-directional spectral wave number
+  0;   22;     84;      0;           0;    7;      Numeric; Band containing maximum non-directional spectral wave density
+  0;   22;     85;      0;           0;    7;      Numeric; Spectral wave density ratio
+  0;   22;     86;      0;           0;    9;  Degree_True; Mean direction from which waves are coming
+  0;   22;     87;      0;           0;    9;  Degree_True; Principal direction from which waves are coming
+  0;   22;     88;      2;           0;    7;      Numeric; First normalized polar coordinate from Fourier coefficients
+  0;   22;     89;      2;           0;    7;      Numeric; Second normalized polar coordinate from Fourier coefficients
+  0;   22;     90;      2;           0;   20;       m**2/s; Non-directional spectral estimate by wave frequency
+  0;   22;     91;      2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;     92;      2;           0;   20; m**2/rad**-1/s; Directional spectral estimate by wave frequency
+  0;   22;     93;      2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;     94;      0;           0;    7;      Numeric; Total number of wave bands
+  0;   22;     95;      0;           0;    8;       Degree; Directional spread of individual waves
+  0;   22;     96;      3;           0;    4;        s**-1; Spectral band width
+  0;   22;     97;      0;           0;   14;            m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0;   22;     98;      0;           0;   14;            m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0;   22;     99;      0;           0;    9;     deg_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0;   22;    100;      0;           0;    9;       Degree; Direction spread at low wave numbers (wavelength > 731 m)
+  0;   22;    101;      0;           0;   31;     Numberic; Total energy (wavelength > 731 m) at low wave numbers
+  0;   22;    120;      0;           0;    5;   Code_Table; Tide station automated water level check
+  0;   22;    121;      0;           0;    5;   Code_Table; Tide station manual water level check
+  0;   22;    122;      0;           0;    5;   Code_Table; Tide station automated Meteorological data check
+  0;   22;    123;      0;           0;    5;   Code_Table; Tide station manual Meteorological data check
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;     -1;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;     -1;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     14;      0;           0;   12;      Numeric; Azimuth clutter cut-off
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   Code_Table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    2;   Code_Table; Moving platform direction reporting method
+  0;   25;     42;      0;           0;    2;   Code_Table; Moving platform speed reporting method
+  0;   25;     43;      4;           0;   15;            s; Wave sampling interval (time)
+  0;   25;     44;      2;           0;   14;            m; Wave sampling interval (space)
+  0;   25;     45;      0;           0;   21;   Flag_Table; HIRS channel combination
+  0;   25;     46;      0;           0;    5;   Flag_Table; MSU channel combination
+  0;   25;     47;      0;           0;    4;   Flag_Table; SSU channel combination
+  0;   25;     48;      0;           0;   16;   Flag_Table; AMSU-A channel combination
+  0;   25;     49;      0;           0;    6;   Flag_Table; AMSU-B channel combination
+  0;   25;     50;      0;           0;    7;   Flag_Table; AVHRR channel combination
+  0;   25;     51;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     60;      0;           0;   14;      Numeric; Software identification
+
+  0;   26;      1;      1;           0;   12;         Hour; Principal time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;         Hour; Principal time of daily reading in UTC of minimum temperature
+  0;   26;      3;      0;       -1440;   12;       Minute; Time difference
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+  0;   27;     31;      2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance from the Earth's centre
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;     31;      2; -1073741824;   31;            m; In direction of 90 degrees East, distance from the Earth's centre
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      Numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      Numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;      Numeric; Short delayed descriptor replication factor
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;     31;      0;           0;    1;   Flag_Table; Data present indicator
+
+  0;   33;      2;      0;           0;    2;   Code_Table; Quality information
+  0;   33;      3;      0;           0;    3;   Code_Table; Quality information
+  0;   33;      7;      0;           0;    7;      Percent; Per cent confidence
+  0;   33;     20;      0;           0;    3;   Code_Table; Quality control indication of following value
+  0;   33;     21;      0;           0;    2;   Code_Table; Quality of following value
+  0;   33;     22;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission
+  0;   33;     23;      0;           0;    2;   Code_Table; Quality of buoy location
+  0;   33;     24;      0;           0;    4;   Code_Table; Station elevation quality mark (for mobile stations)
+  0;   33;     25;      0;           0;    3;   Code_Table; ACARS interpolated values
+  0;   33;     26;      0;           0;    6;   Code_Table; Mixing ratio quality
+  0;   33;     27;      0;           0;    3;   Code_Table; Location quality class
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-128-001-B
@@ -0,0 +1,7 @@
+#
+# LOCAL BUFR Table B - Classification of Elements
+#
+# sccs keywords: @(#)Table_B.txt	1.1 05/07/97
+#					Data
+  0;   12;    194;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;    1;    194;      0;           0;   72;    CCITT_IA5; test Ship or mobile land station identifier
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-008-D
@@ -0,0 +1,2061 @@
+#
+# WMO source file name = BufrTabD-5-2000.txt
+# Master Table D Version 8
+#
+#-----------------------------------------------------
+# F X Y --> Table D descriptor being defined
+#      F X Y --> 
+#      F X Y --> descriptors defining sequence for
+#      F X Y --> corresponding Table D descriptor
+#      -1 --> end of sequence designator
+#------------------------------------------------------
+#  Category 00 - BUFR table entries sequences
+  3   0   2
+      0   0   2  "Table A category, line 1"
+      0   0   3  "Table A category, line 2"
+     -1
+  3   0   3
+      0   0  10  "F,  part descriptor"
+      0   0  11  "X,  part descriptor"
+      0   0  12  "Y,  part descriptor"
+     -1
+  3   0   4
+      3   0   3
+      0   0  13  "Element name, line 1"
+      0   0  14  "Element name, line 2"
+      0   0  15  Units name
+      0   0  16  Units scale sign
+      0   0  17  Units scale
+      0   0  18  Units reference sign
+      0   0  19  Units reference value
+      0   0  20  Element data width
+     -1
+  3   0  10
+      3   0   3  Table D descriptor to be defined
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      0   0  30  Descriptor defining sequence
+     -1
+#  Category 01 - Location and Identification sequences
+  3   1   1
+      0   1   1  WMO block number
+      0   1   2  WMO station number
+     -1
+  3   1   2
+      0   1   3  WMO Region number
+      0   1   4  WMO Region sub-area
+      0   1   5  Buoy/platform identifier
+     -1
+  3   1   3
+      0   1  11  Ship's call sign
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+     -1
+  3   1  11
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+     -1
+  3   1  12
+      0   4   4  Hour
+      0   4   5  Minute
+     -1
+  3   1  13
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+     -1
+  3   1  21
+      0   5   1  Latitude - high accuracy
+      0   6   1  Longitude - high accuracy
+     -1
+  3   1  22
+      0   5   1  Latitude - high accuracy
+      0   6   1  Longitude - high accuracy
+      0   7   1  Height of station
+     -1
+  3   1  23
+      0   5   2  Latitude - coarse accuracy
+      0   6   2  Longitude - coarse accuracy
+     -1
+  3   1  24
+      0   5   2  Latitude - coarse accuracy
+      0   6   2  Longitude - coarse accuracy
+      0   7   1  Height of station
+     -1
+  3   1  25
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   4   3  Day
+      3   1  12  Time
+     -1
+  3   1  26
+      3   1  21  Latitude and longitude (high accuracy)
+      0   4   3
+      0   4   3  (Time period in days)
+      0   4   4
+      0   4   4  (Time period in hours)
+      0   4   5
+      0   4   5  (Time period in minutes)
+     -1
+  3   1  31
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high  accuracy), height of station"
+     -1
+  3   1  32
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Buoy/platform  fixed)
+  3   1  33
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  34
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  moving)
+  3   1  35
+      0   1   5  Buoy/platform identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Ship)
+  3   1  36
+      3   1   3  Ship's call sign and motion
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Land station for vertical soundings)
+  3   1  37
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high accuracy), height of station"
+     -1
+#  (Land station for vertical soundings)
+  3   1  38
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Ship for vertical soundings)
+  3   1  39
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+  3   1  40
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+  3   1  41
+      0   1   7  Satellite identifier
+      0   2  21  Satellite instrument data used in processing
+      0   2  22  Satellite data processing technique used
+      3   1  11  Date
+      3   1  12  Time
+     -1
+  3   1  42
+      3   1  41  "Satellite identifier, data used, and data processing technique; date/time"
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  43
+      0   1   7  Satellite identifier
+      0   2  23  Cloud motion computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  44
+      0   1   7  Satellite identifier
+      0   2  24  Integrated mean humidity computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  (Satellite location and velocity)
+  3   1  45
+      3   1  11  "Year, month, day"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   4  30  Location relative to the Earths centre
+      3   4  31  Velocity relative to the Earths centre
+     -1
+  3   1  46
+      0   1   7  Satellite identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   2  48  Satellite sensor indicator
+      0  21 119  Wind scatterometer geophysical model function
+      0  25  60  Software identification
+      2   2 124  Change scale
+      0   2  26  Cross-track resolution
+      0   2  27  Along-tract resolution
+      2   2   0  Change scale back to Table B
+      0   5  40  Orbit number
+     -1
+#  (ERS product header)
+  3   1  47
+      0   1   7  Satellite identifier
+      0  25  60  Software identification
+      0   1  33  Originating/generating centre
+      0   1  34  Originating/generating sub-centre
+      0   1  12  Direction of motion of moving observation platform
+      3   1  45  Satellite location and velocity
+      0   2  21  Satellite instrument data used in processing
+      3   1  11  "Date (year, month, day)"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change bit width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   1  23  "Location (latitude, longitude)"
+     -1
+#  (Radar parameters)
+  3   1  48
+      0   2 104  Antenna polarization
+      0   2 121  Mean frequency
+      0   2 113  Number of azimuth looks
+      0   2  26  Cross-track resolution
+      0   2  27  Along-track resolution
+      0   2 111  Radar incidence angle
+      0   2 140  Satellite radar beam azimuth angle
+      2   2 127  Change scale to 1
+      0   1  13  Radar platform velocity
+      2   2 126  Change scale to 2
+      0   7   1  Radar platform altitude
+      2   2   0  Change scale to Table B
+      0  25  10  Clutter treatment
+      0  21  64  Clutter noise estimate
+     -1
+#  (Radar beam data)
+  3   1  49
+      0   2 111  Radar incidence angle
+      0   2 112  Radar look angle
+      0  21  62  Backscatter
+      0  21  63  Radiometric resolution (Noise value)
+      0  21  65  Missing packet counter
+     -1
+  3   1  51
+      0   1   6  Aircraft identifier
+      0   2  61  Navigational system
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  "Latitude, longitude"
+      0   8   4  Phase of aircraft flight
+     -1
+  3   1  55
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+     -1
+#  (Radar location(s))
+  3   1  62
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   1   1  WMO block and station number
+     -1
+#  (ACARS identification)
+  3   1  65
+      0   1   6  Aircraft flight number (see Note)
+      0   1   8  Aircraft registration number (see Note)
+      0   2   1  Type of station
+      0   2   2  Type of instrumentation for wind measurement
+      0   2   5  Precision of temperature observation
+      0   2  62  Type of aircraft data relay system
+      0   2  70  Original specification of latitude/longitude
+      0   2  65  ACARS ground receiving station
+     -1
+#  (ACARS location)
+  3   1  66
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   7   4  Pressure
+      0   2  64  Aircraft roll angle quality
+      0   8   4  Phase of aircraft flight
+     -1
+#  (Satellite identifier/Generating resolution)
+  3   1  71
+      0   1   7  Satellite identifier
+      0   1  31  Generating centre
+      0   2  20  Satellite classification
+      0   2  28  Segment size at nadir in X direction
+      0   2  29  Segment size at nadir in Y direction
+     -1
+#  (Satellite identification)
+  3   1  72
+      3   1  71  "Satellite identification, Generation resolution"
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  Category 02 - Meteorological sequences common to surface data
+  3   2   1
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (High altitude station)
+  3   2   2
+      0  10   4  Pressure (at station level)
+      0   7   4  Pressure level
+      0  10   3  Geopotential of pressure level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+  3   2   3
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Temperature (2 m)
+      0  12   6  Dew point (2 m)
+      0  13   3  Relative humidity
+      0  20   1  Horizontal visibility
+      0  20   3  Present weather
+      0  20   4  Past weather (1)
+      0  20   5  Past weather (2)
+     -1
+#  (General cloud information)
+  3   2   4
+      0  20  10  Cloud cover (total)
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  13  Height of base of cloud
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+     -1
+  3   2   5
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0  20  13  Height of base of cloud
+     -1
+  3   2   6
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  62  24-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (Low altitude station)
+  3   2  11
+      3   2   1  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud layer
+     -1
+#  (High altitude station)
+  3   2  12
+      3   2   2  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud information
+     -1
+  3   2  13
+      3   2   6  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   2   5  Cloud layer information
+     -1
+  3   2  21
+      0  22   1  Direction of waves
+      0  22  11  Period of waves
+      0  22  21  Height of waves
+     -1
+  3   2  22
+      0  22   2  Direction of wind waves
+      0  22  12  Period of wind waves
+      0  22  22  Height of wind waves
+     -1
+  3   2  23
+      0  22   3  Direction of swell waves
+      0  22  13  Period of swell waves
+      0  22  23  Height of swell waves
+     -1
+  3   2  24
+      3   2  22  Wind waves
+      1   1   2  Replicate 1 descriptor 2 times
+      3   2  23  Swell waves (2 systems of swell)
+     -1
+  3   2  51
+      0  10   4  Pressure
+      0  10  51  Pressure reduced to mean sea level
+      0   7   4  Pressure (vertical location)
+      0  10   3  Geopotential
+      0  12   4  Dry-bulb temperature at 2 m
+      0  12  51  Standard deviation temperature
+      0  12  16  "Maximum temperature at 2 m, past 24 hours"
+      0  12  17  "Minimum temperature at 2 m, past 24 hours"
+      0  13   4  Vapour pressure
+      1   2   4  Replicate 2 descriptors 4 times
+      0   8  51  Qualifier for number of missing values in calculation of statistic
+      0   8  20  Total number of missing entities (with respect to accumulation or average)
+     -1
+#  Category 03 - Meteorological sequences common to vertical soundings data
+  3   3   1
+      0   7   3  Geopotential
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   2
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   3
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+     -1
+  3   3   4
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  11
+      0   7   3  Geopotential
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  12
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  13
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  13   3  Relative humidity
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  14
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  21
+      0   7   4  Pressure (1)
+      0   7   4  Pressure (2)     defines layer
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+     -1
+  3   3  22
+      3   3  21  "Layer, quality"
+      0  10   3  Geopotential (layer mean thickness)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  23
+      3   3  21  "Layer, quality"
+      0  12   1  Temperature (layer mean)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  24
+      3   3  21  "Layer, quality"
+      0  13  16  Precipitation water
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  25
+      0   2  25  Satellite channel
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12  63  Brightness temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  26
+      0   7   4  Pressure
+      0   8   3  Vertical significance
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12   1  Temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  27
+      0   7   4  Pressure
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  10   3  Geopotential
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  31
+      0   7   4  Pressure
+      0   8   3  Vertical significance (base of sounding)
+      0   7  21  Elevation (local zenith)
+      0   7  22  Solar elevation (solar zenith)
+      0   8  12  Land/sea qualifier
+      0  12  61  Skin temperature
+     -1
+  3   3  32
+      0  20  11  Cloud amount
+      0  20  16  Pressure at top of cloud
+     -1
+  3   3  33
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at the top of cloud
+     -1
+#  (Wind sequence)
+  3   3  41
+      0   2 152  Geostationary satellite instrument used
+      0   2  23  Cloud motion computational method
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  71  Coldest cluster T
+     -1
+#  Category 04 - Meteorological sequences common to satellite observations
+  3   4   1
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   2
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   3
+      0   8   3  Vertical significance
+      0  12   1  Temperature
+     -1
+  3   4   4
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  20  10  Cloud cover (total)
+      0  12   1  Temperature
+     -1
+  3   4   5
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure(1)
+      0   7   4  Pressure (2)    defines layer
+      0  13   3  Relative humidity
+     -1
+  3   4   6
+      0  14   1  Outgoing long-wave radiation
+      0  14   1  Incoming long-wave radiation
+      0  14   3  Outgoing short-wave radiation
+     -1
+#  (GOES-I/M info)
+  3   4  11
+      0   2 163  Height assignment method
+      0   2 164  Tracer correlation method
+      0   8  12  Land/sea qualifier
+      0   7  24  Satellite zenith angle
+      0   2  57  Origin of first guess information
+      0   8  21  Time significance
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   8  21  Time significance
+      0   4  24  Time period or displacement
+      1  10   4  Replicate 10 descriptors 4 times
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      1   3  10  Replicate 3 descriptors 10 times
+      0   2 163  Height assignment method
+      0   7   4  Pressure
+      0  12   1  Temperature
+     -1
+#  (Location of platform)
+  3   4  30
+      0  27  31  "In direction of 0 degree longitude, distance from the Earths centre"
+      0  28  31  "In direction of 90 degrees East longitude, distance from the Earths centre"
+      0  10  31  "In direction of North Pole, distance from Earths centre"
+     -1
+#  (Speed of platform)
+  3   4  31
+      0   1  41  Absolute platform velocity  first component
+      0   1  42  Absolute platform velocity  second component
+      0   1  43  Absolute platform velocity  third component
+     -1
+#  (Cloud fraction)
+  3   4  32
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  20  81  Cloud amount in segment
+      0  20  82  Amount segment cloud free
+      0  20  12  Cloud type
+     -1
+#  (Clear sky radiance)
+  3   4  33
+      0   2 152  Satellite instrument used in data processing
+      0   2 166  Radiance type
+      0   2 167  Radiance computational method
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  75  Spectral radiance
+      0  12  76  Radiance
+      0  12  63  Brightness temperature
+     -1
+#  Category 06 - Meteorological or oceanographic sequences common to oceanographic observations
+  3   6   1
+      0   2  32  Indicator for digitization
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  42  Subsurface sea temperature
+     -1
+  3   6   2
+      0   2  31  Method of current measurement
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+  3   6   3
+      0   2   2  Wind instrumentation
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Dry-bulb temperature (2 m)
+     -1
+  3   6   4
+      0   2  32  Indicator for digitization
+      0   2  33  Method of salinity/depth measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  43  Subsurface sea temperature
+      0  22  62  Salinity
+     -1
+  3   6   5
+      0   2  31  Method of current measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+#  (Under water sounding (optional) parameters)
+  3   6   6
+      3   6   3  Surface wind and temperature
+      3   6   2  Current
+      0  22  63  Total water depth
+     -1
+#  (Buoy spare block parameters)
+  3   6   7
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+      3   6   8  Buoy instrumentation
+      0   4  24  Time period
+      0  27   3  Alternate latitude
+      0  28   3  Alternate longitude
+     -1
+#  (Buoy instrumentation parameters)
+  3   6   8
+      0   2  34  Drogue type
+      0   2  35  Cable length
+      0   2  36  Buoy type
+     -1
+  3   6  20
+      3   6od or displacement, time increment"  "Tide station identification, date/time, water temperature, tide station tide data status, time period or displacement, time increment"
+      1   2   6  Replicate 2 descriptors 6 times
+      0  22  38  Tidal elevation with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+     -1
+  3   6  21
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22 122  Tide station automated meteorological data check
+      0  22 123  Tide station manual meteorological data check
+      0  12   1  Air temperature
+      3   3   2  "Pressure, wind direction, wind speed"
+     -1
+  3   6  22
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal elevation with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+     -1
+  3   6  23
+      0   1  15  Station or site name
+      3   1  23  "Latitude, longitude"
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal level with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+     -1
+  3   6  24
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  42  Sea/water temperature
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+      0   4  25  Time period or displacement
+      0   4  15  Time increment
+     -1
+#  Category 07 - Surface report sequences (land)
+#  (Low altitude station)
+  3   7   1
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   2
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   3
+      3   7   1  Location (high accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   4
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   5
+      3   7   1  Location (high accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (Low altitude station)
+  3   7   6
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (High altitude station)
+  3   7   7
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  12  Basic surface report
+     -1
+#  (High altitude station)
+  3   7   8
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  12  Basic surface report
+     -1
+  3   7   9
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  13  Basic surface report
+     -1
+#  (Main part of data for representation of METAR/SPECI code in BUFR)
+  3   7  11
+      0   1  63  ICAO location indicator - CCCC
+      0   2   1  Type of station - (AUTO)
+      3   1  11  "Year, month, day (YY)"
+      3   1  12  "GG, gg"
+      3   1  24  "Latitude-longitude (coarse accuracy), height of station"
+      0   7   6  Height above station (= height of an anemometer)
+      0  11   1  Wind direction - ddd
+      0  11  16  Extreme counterclockwise wind direction of a variable wind -dndndn
+      0  11  17  Extreme clockwise wind direction of a variable wind - dxdxdx
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0   7   6  Height above station (= height of a thermometer)
+      0  12   1  Temperature - TT
+      0  12   3  Dew-point temperature - TdTd
+      0  10  52  Altimeter setting (QNH) - PhPhPhPh
+      0  20   9  General Weather Indicator TAF/METAR
+     -1
+#  (DvVVVV)
+  3   7  12
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Number of replication (up to 3)
+      0   8  23  First order statistics
+      0   5  21  Direction of visibility observed - Dv
+      0  20   1  Horizontal visibility - WW
+     -1
+#  (DRDRVRVRVRVR)
+  3   7  13
+      1   6   0  Delayed replication of 6 descriptors
+      0  31   1  Number of replication (up to 4)
+      0   1  64  Runway designator -
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VrVrVrVr
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VrVrVrVr
+      0  20  18  Tendency of runway visual range
+     -1
+#  (ww)
+  3   7  14
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  19  Significant present weather - ww
+     -1
+#  (Clouds group(s))
+  3   7  15
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      3   2   5  "(NsNsNs, CC, hshshs)"
+      0  20   2  Vertical visibility - VVhshshs
+     -1
+#  (REww)
+  3   7  16
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  20  Significant recent weather phenomena - REww
+     -1
+#  (Wind shear on runways(s))
+  3   7  17
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      0  11  70  Runway designator of the runway affected by wind shear (including ALL) - WS RWYDrDr
+     -1
+#  (Trend-type landing forecast)
+  3   7  18
+      0   8  16  Change qualifier of a trend-type - TTTTT
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Number of replication (up to 2)
+      0   8  17  Qualifier of the time when the forecast - TT
+      3   1  12  "GG, gg"
+      1   4   0  Delayed replication of 4 descriptor
+      0  31   1  Number of replication (up to 1)
+      0   7   6  Height above station
+      0  11   1  Wind direction - ddd
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0  20   9  General Weather Indicator
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 1)
+      0  20   1  Horizontal visibility - WW
+      3   7  14  ww
+     -1
+#  (Short METAR/SPECI)
+  3   7  20
+      3   7  11  Main part of data
+      3   7  14  ww
+      3   7  16  REww
+     -1
+#  (Total sequence for representation of METAR/SPECI code in BUFR)
+  3   7  21
+      3   7  11  Main part of data
+      3   7  12  DvVVVV
+      3   7  13  DRDRVRVRVRVR
+      3   7  14  ww
+      3   7  15  Clouds group(s)
+      3   7  16  REww
+      3   7  17  Wind shear on runway(s)
+      3   7  18  Trend-type landing forecast
+      3   7  15  Clouds group(s)
+     -1
+#  Category 08 - Surface report sequences (sea)
+#  (Buoy/platform  fixed)
+  3   8   1
+      3   1  33  "Identification, type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  fixed)
+  3   8   2
+      3   1  34  "Identification, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  moving)
+  3   8   3
+      3   1  35  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Ship)
+  3   8   4
+      3   1  36  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+  3   8   5
+      3   8   4  Basic ship report
+      3   2  24  Wind waves and swell waves
+     -1
+#  (Buoy Section 1 optional parameters)
+  3   8   6
+      0  10   4  Pressure
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   4  Dry-bulb temperature at 2 m
+      0  13   3  Relative humidity
+      0  22  42  Sea temperature
+     -1
+  3   8   7
+      3   1  55  "Identification, movement type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0   7  62  Depth below sea/water surface
+      0  22  42  Sea/water temperature
+     -1
+#  Category 09 - Vertical sounding sequences (conventional data)
+#  (Vertical wind profile)
+  3   9   1
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   2
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   3
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical wind profile)
+  3   9   4
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   5
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   6
+      3   1  38  "Identification, etc. (land station, coarse  accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   7
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   8
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  11
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  12
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  13
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  14
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  15
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  16
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  17
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  18
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Wind profiler  wind data sounding)
+  3   9  19
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Wind profiler  Cartesian coordinates)
+  3   9  20
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   7   3  Geopotential
+      0  11   3  u-component
+      0  11   4  v-component
+      0  11   5  w-component
+     -1
+#  Category 10 - Vertical sounding sequences (satellite data)
+#  (Satellite  brightness temperature)
+  3  10   1
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1  26  Replicate 1 descriptor 26 times
+      3   3  25  Satellite channel and brightness temperature
+     -1
+#  (Satellite  low level)
+  3  10   2
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   9  Replicate 1 descriptor 9 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  high level)
+  3  10   3
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   6  Replicate 1 descriptor 6 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  precipitable water)
+  3  10   4
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   3  Replicate 1 descriptor 3 times
+      3   3  24  Precipitable water
+     -1
+  3  10   5
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  25  Satellite channel and brightness temperature
+     -1
+  3  10   6
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  23  Layer mean temperature
+     -1
+  3  10   7
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  24  Precipitable water
+     -1
+#  (ATOVS HIRS report)
+  3  10   8
+      3  10  11  ATOVS field of view variables
+      1   1  19  Replicate 1 descriptor 19 times
+      3  10  12  ATOVS channel variables
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  79  Albedo-radiance solar filtered irradiance for ATOVS
+      0  25  80  Albedo-radiance equivalent filter width for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      0  14  45  Channel radiance
+     -1
+#  (ATOVS AMSU-A report)
+  3  10   9
+      3  10  11  ATOVS field of view variables
+      1   1  15  Replicate 1 descriptor 15 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS AMSU-B report)
+  3  10  10
+      3  10  11  ATOVS field of view variables
+      1   1   5  Replicate 1 descriptor 5 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS field of view variables)
+  3  10  11
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   1   7  Satellite identification
+      0   2  48  Satellite sensor indicator
+      0   5  40  Orbit number
+      0  25  75  Satellite antenna corrections version number
+      2   1 133  Change width
+      0   5  41  Scan line number
+      2   1   0  Change width
+      0   5  43  Field of view number
+      0  25  70  Major frame count
+      0  33  30  Scan line status flags for ATOVS
+      0  33  31  Scan line quality flags for ATOVS
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      2   2 131  Change scale
+      2   1 138  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2   0  Change scale
+      0   5   1  Latitude
+      0   6   1  Longitude
+      2   2 126  Change scale
+      0   7   1  Height of station
+      2   2   0  Change scale
+      0   7  24  Satellite zenith angle
+      0   5  21  Satellite azimuth
+      0   7  25  Solar zenith angle
+      0   5  22  Solar azimuth
+      0  33  33  Field of view quality flags for ATOVS
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+     -1
+#  (ATOVS channel variables)
+  3  10  12
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  76  Log10 of (temperature-radiance central wavenumber) for ATOVS
+      0  25  77  Bandwidth correction coefficient 1 for ATOVS
+      0  25  78  Bandwidth correction coefficient 2 for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      2   1 132  Change width
+      2   2 129  Change scale
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (AVHRR (GAC) report)
+  3  10  13
+      0   1   7  Satellite ID
+      0   5  40  Orbit number
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   5   1  Latitude
+      0   6   1  Longitude
+      0   7  25  Solar zenith angle
+      0   5  43  Field of view number
+      0  25  85  Fraction of clear pixels in HIRS field of view
+      2   1 131  Change width
+      2   2 129  Change scale
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      2   2   0  Change scale
+      2   1   0  Change width
+      2   1 132  Change width
+      2   2 129  Change scale
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (Satellite  geostationnary wind data)
+  3  10  14
+      3   1  72  "Satellite identification, date, time, latitude, longitude"
+      3   3  41  Wind sequence
+      3   4  11  GOES-I/M information
+     -1
+#  (Meteosat radiace data)
+  3  10  15
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1   3  Replicate next descriptor 3 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1   3  Replicate next descriptor 3 times
+      3   4  33  Clear sky radiance
+     -1
+#  (Meteosat Second Generation (MSG) radiance data)
+  3  10  16
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1  12  Replicate next descriptor 12 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1  12  Replicate next descriptor 12 times
+      3   4  33  Clear sky radiance
+     -1
+#  Category 11 - Single level report sequences (conventional data)
+#  (Aircraft reports)
+  3  11   1
+      3   1  51  "ASDAR aircraft identifier, navigational system, date/time, position, phase of aircraft flight"
+      0   7   2  Altitude
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  11  31  Degree of turbulence
+      0  11  32  Height of base of turbulence
+      0  11  33  Height of top of turbulence
+      0  20  41  Airframe icing
+     -1
+#  (ACARS reports)
+  3  11   2
+      3   1  65  ACARS identification
+      3   1  66  ACARS location
+      3  11   3  ACARS standard reported variables
+      3  11   4  ACARS supplementary reported variables
+     -1
+#  (ACARS standard reported variables)
+  3  11   3
+      0  10  70  Indicated aircraft altitude
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   1  Temperature/dry-bulb temperature
+      0  13   2  Mixing ratio
+     -1
+#  (ACARS supplementary reported variables)
+  3  11   4
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  34  Vertical gust velocity
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  35  Vertical gust acceleration
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  75  Mean turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  76  Peak turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  25  ACARS interpolated values
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  26  Mixing ratio quality
+     -1
+#  Category 12 - Single level report sequences (satellite data)
+  3  12   1
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   1  "Cloud top pressure, temperature, wind"
+     -1
+  3  12   2
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   2  "Cloud top pressure, wind"
+     -1
+  3  12   3
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   3  Surface temperature
+     -1
+  3  12   4
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   4  Cloud cover
+     -1
+  3  12   5
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      0  20  14  Height of top of cloud
+     -1
+  3  12   6
+      3   1  44  "Satellite identifier, instrumentation, location, date/time"
+      3   4   5  Layer mean relative humidity
+     -1
+  3  12   7
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   6  Radiation
+     -1
+#  "(Orbital information, Part I)"
+  3  12  10
+      0   1   7  Satellite identifier
+      0   5  40  Orbit number
+      0   2  21  Satellite instrumentation
+      0   5  41  Scan line number
+      0   4   1  Year
+      0   4  43  Day of year
+     -1
+#  "(Orbital information, Part II)"
+  3  12  11
+      2   2 131  Change scale
+      2   1 149  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2 126  Change scale
+      0  10   2  Height
+      2   2   0  Change scale
+      0   5  43  Field of view number
+      0   5  53  Field of view number increment
+     -1
+#  (HIRS brightness temperatures  channels 119)
+  3  12  12
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1  19  Replicate 1 descriptor 19 times
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS brightness temperatures  channel 20)
+  3  12  13
+      0   5  42  Channel number
+      2   2 129  Change scale
+      2   1 135  Change width
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS satellite data)
+  3  12  14
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      1   5  56  Replicate 5 descriptors 56 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      3  12  12  HIRS brightness temperatures  channels 119
+      3  12  13  HIRS brightness temperature  channel 20
+     -1
+#  (MSU brightness temperatures  channels 14)
+  3  12  15
+      1   9  11  Replicate 9 descriptors 11 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   4  Replicate 1 descriptor 4 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (MSU satellite data)
+  3  12  16
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  15  MSU brightness temperatures  channels 14
+     -1
+#  (SSU brightness temperatures  channels 13)
+  3  12  17
+      1   9   8  Replicate 9 descriptors 8 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   3  Replicate 1 descriptor 3 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (SSU satellite data)
+  3  12  18
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  17  SSU brightness temperatures  channels 13
+     -1
+#  (Wave scatterometer product with width change for wave number (spectral))
+  3  12  19
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalisation
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   6  12  Repeat next 6 descriptors 12 times
+      2   1 129  Change width to 14 bits
+      0   6  30  Wave number (spectral)
+      2   1   0  Change width to Table B
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Image spectrum intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wave scatterometer product)
+  3  12  20
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalization
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   4  12  Repeat next 4 descriptors 12 times
+      0   6  30  Wave number (spectral)
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Spectral intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wind scatterometer product)
+  3  12  21
+      3   1  47  Product header
+      1   1   3  Repeat 1 descriptor 3 times
+      3   1  49  Radar beam data
+      0  11  12  Wind speed at 10 m
+      0  11  11  Wind direction at 10 m
+      0  21  67  Wind product confidence data
+     -1
+#  (Radar altimeter product)
+  3  12  22
+      3   1  47  Product header
+      0   8  22  Number in average
+      0  11  12  Wind speed
+      0  11  50  Standard deviation of horizontal wind speed
+      0  22  70  Significant wave height
+      0  22  26  Standard deviation of significant wave height
+      3  12  41  Altitude
+      0  10  50  Standard deviation of altitude
+      0  21  68  Radar altimeter product confidence data
+      0  21  71  Peakiness
+      0  21  72  Altimeter calibration status
+      0  21  73  Altimeter instrument mode
+      3  12  42  Altitude corrections
+      0  21  62  Backscatter
+      0  15  11  Log 10 of integrated electron density
+     -1
+#  (ATSR sea surface temperature product)
+  3  12  23
+      3   1  47  Product header
+      1   3   3  Repeat 3 descriptors 3 times
+      0   8  22  Number in average
+      0  12  61  Skin temperature
+      0  22  50  Standard deviation of sea surface temperature
+      0  21  69  SST product confidence data
+      0  21  85  ATSR sea surface temperature across-track band number
+     -1
+#  (Wave scatterometer product enhanced)
+  3  12  24
+      3  12  20  (Wave scatterometer product)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode signification  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Wave scatterometer enhanced product (with change of width for wave number (spectral))
+  3  12  25
+      3  12  19  Wave scatterometer product with width change for wave number (spectral)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode significance  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Quikscat data)
+  3  12  26
+      3   1  46
+      3   1  11  Data
+      3   1  13  Time
+      3   1  23  Location
+      3  12  31
+      1   1   4  Replicate 1 descriptor 4 times
+      3  12  30
+      0  21 110  Number of inner-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 111  Number of outer-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 112  Number of inner-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 113  Number of outer-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+     -1
+  3  12  30
+      2   1 130  Change data width
+      2   2 129  Change scale
+      0  11  12  Wind speed at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  52  Formal uncertainty in wind speed
+      2   1 135  Change data width
+      2   2 130  Change scale
+      0  11  11  Wind direction at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  53  Formal uncertainty in wind speed
+      0  21 104  Likelihood computed for solution
+     -1
+  3  12  31
+      0   5  34  Along-track row number
+      0   6  34  Cross-track cell number
+      0  21 109  SEAWINDS wind vector cell quality
+      0  11  81  Model wind direction at 10 m
+      0  11  82  Model wind speed at 10 m
+      0  21 101  Number of vector ambiguities
+      0  21 102  Index of selected wind vector
+      0  21 103  Total number of sigma-0 measurements
+     -1
+#  (Altitude)
+  3  12  41
+      2   1 141  Change width to 28 bits
+      2   2 130  Change scale to 2
+      0   7   1  Altitude
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+     -1
+#  (Altitude corrections)
+  3  12  42
+      0  21  77  "Altitude correction, ionosphere"
+      0  21  78  "Altitude correction, dry troposphere"
+      0  21  79  "Altitude correction, wet troposphere"
+      0  21  80  "Altitude correction, calibration constant"
+      0  21  81  Open loop height-time loop calibration correction
+      0  21  82  Open loop automatic gain control calibration correction
+     -1
+#  Category 13 - Sequences common to image data
+#  (Radar reflectivity values)
+  3  13   9
+      0  21   1  Horizontal reflectivity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21   1  Horizontal reflectivity
+     -1
+#  (Radar rainfall intensities)
+  3  13  10
+      0  21  36  Radar rainfall intensity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21  36  Radar rainfall intensity
+     -1
+#  (Non run-length encoded row for Pixel value (4 bits))
+  3  13  31
+      0   6   2  First longitude location minus one increment
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Non run-length encoded picture data for Pixel value (4 bits))
+  3  13  32
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  31  Non run-length encoded row
+     -1
+#  (Run-length encoded row for Pixel value (4 bits))
+  3  13  41
+      0   6   2  First longitude location minus one increment
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  12  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Run-length encoded picture data for Pixel value (4 bits))
+  3  13  42
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  41  Run-length encoded row
+     -1
+#  "(Run-length encoded picture data for Pixel value (4 bits), regular grid)"
+  3  13  43
+      0   6   2  First longitude location minus one increment
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment
+      1  12   0  Delayed replication of 12 descriptors
+      0  31   1  Replication factor
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  11  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  Category 15 - Oceanographic report sequences
+#  (Typically reported underwater sounding without optional fields)
+  3  15   1
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   1  "Depth, temperature"
+     -1
+#  (Typically reported underwater sounding without optional fields)
+  3  15   2
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   4  "Depth, temperature, salinity"
+     -1
+#  Category 16 - Synoptic feature sequences
+  3  16   1
+      3   1  11  "Year, month, day"
+      0   4   4  Hour
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   1  21  Synoptic feature identifier
+      0   2  41  Method for estimating reports related to synoptic features
+      0  19   1  Type of synoptic feature
+      0  10  51  Pressure reduced to mean sea level
+      0  19   2  Effective radius of feature
+      0  19   3  Wind speed threshold (15 m s1 typically)
+      0  19   4  Effective radius with respect to wind speeds above threshold
+     -1
+#  (Header)
+  3  16   2
+      0   8  21  Data time (analysis)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   1  33  Originating/generating centre
+      0   8  21  Validity time (fcst)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   7   2  Flight level (altitude) (base of chart layer)
+      0   7   2  Flight level (altitude) (top of chart layer)
+     -1
+#  (Jet stream)
+  3  16   3
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (jet stream value)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Flight level (altitude)
+      0  11   2  Wind speed
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Turbulence)
+  3  16   4
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for turbulence)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  11  31  Degree of turbulence
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Storm)
+  3  16   5
+      1   8   0  Delayed replication
+      0  31   1  Replication
+      0   8   5  Meteorological attribute significance (storm centre)
+      0   8   7  Dimensional significance (value for point)
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   1  26  WMO storm name (use unknown for a sandstorm)
+      0  19   1  Synoptic features (value for type of storm)
+      0   8   7  Dimensional significance (cancel)
+      0   8   5  Meteorological attribute significance (cancel/end of object)
+     -1
+#  (Cloud)
+  3  16   6
+      1  12   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for cloud)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Front)
+  3  16   7
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8011+F1456  Meteorological feature (value for type of front)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  19   5  Direction of feature
+      0  19   6  Speed of feature
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Tropopause)
+  3  16   8
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8   1  Vertical significance (bit 3 set for tropopause)
+      0   8   7  Dimensional significance (value for point)
+      0   8  23  Statistic (type of tropopause value)
+      1   3   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Height/altitude
+      0   8  23  Statistic (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8   1  Vertical significance (cancel/end of object)
+     -1
+#  (Airframe icing area)
+  3  16   9
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for airframe icing)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  41  Airframe icing (type of airframe icing)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Name of feature)
+  3  16  10
+      1   7   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature
+      0   8   7  Dimensional significance (value for point)
+      0   1  22  Name of feature
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Volcano erupting)
+  3  16  11
+      1  16   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for special clouds)
+      0   1  22  Name of feature (volcano name)
+      0   8   7  Dimensional significance (value for point)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8  21  Time significance (eruption starting time)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0  20  90  Special clouds (clouds from volcanic eruptions)
+      0   8  21  Time significance (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  Category 18 - Radiological report sequences
+  3  18   1
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0  24  11  Dose
+     -1
+  3  18   3
+      3   1  26  "Latitude and longitude (high accuracy), time periods in days,"
+     -1
+#  hours and minutes
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  21  Air concentration
+     -1
+  3  18   4
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0   4  23  Time period or displacement
+      0  13  11  Total precipitation/total water equivalent
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  22  Concentration in precipitation
+     -1
+#  Category 21 - Radar report sequences
+#  (Wind profiler  antenna characteristics)
+  3  21   1
+      0   2 101  Type of antenna
+      0   2 114  Antenna effective surface area
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 121  Mean frequency
+     -1
+#  (Wind profiler  moment data)
+  3  21   3
+      0  21  51  Signal power above 1 mW
+      0  21  14  Doppler mean velocity (radial)
+      0  21  17  Doppler velocity spectral width
+      0  21  30  Signal to noise ratio
+     -1
+#  (Wind profiler  moment data sounding)
+  3  21   4
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3  21   3  Wind profiler  moment data
+     -1
+#  (Transmitter-receiver characteristics)
+  3  21   5
+      0  25   4  Echo processing
+      0   2 121  Mean frequency
+      0   2 122  Frequency agility range
+      0   2 123  Peak power
+      0   2 124  Average power
+      0   2 125  Pulse repetition frequency
+      0   2 126  Pulse width
+      0   2 127  Receiver intermediate frequency
+      0   2 128  Intermediate frequency bandwidth
+      0   2 129  Minimum detectable signal
+      0   2 130  Dynamic range
+      0   2 131  Sensitivity time control
+     -1
+#  (Integration characteristics)
+  3  21   6
+      0  25   1  Range-gate length
+      0  25   2  Number of gates averaged
+      0  25   3  Number of integrated pulses
+      0  25   5  Echo integration
+     -1
+#  (Corrections)
+  3  21   7
+      0  25   9  Calibration method
+      0  25  10  Clutter treatment
+      0  25  11  Ground occultation correction
+      0  25  12  Range attenuation correction
+      0  25  13  Bright-band correction
+      0  25  15  Radome attenuation correction
+      0  25  16  Clear-air attenuation correction
+      0  25  17  Precipitation attenuation correction
+     -1
+#  (Z to R conversion)
+  3  21   8
+      0  25   6  Z to R conversion
+      0  25   7  Z to R conversion factor
+      0  25   8  Z to R conversion exponent
+     -1
+#  (A to Z law)
+  3  21   9
+      0  25  18  A to Z law for attenuation factor
+      0  25  19  A to Z law for attenuation exponent
+     -1
+#  (Antenna characteristics)
+  3  21  10
+      0   2 101  Type of antenna
+      0   7   2  Altitude of the tower base
+      0   2 102  Antenna height above tower base
+      0   2 103  Radome
+      0   2 104  Antenna polarisation
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 108  Crosspol discrimination (on axis)
+      0   2 109  Antenna speed (azimuth)
+      0   2 110  Antenna speed (elevation)
+      0   2 132  Azimuth pointing accuracy
+      0   2 133  Elevation pointing accuracy
+     -1
+#  (General characteristics)
+  3  21  11
+      0  30  31  Picture type
+      0  30  32  Combination with other data
+      0  29   2  Coordinate grid type
+     -1
+#  (Antenna elevations)
+  3  21  12
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0   2 135  Antenna elevation
+     -1
+  3  21  27
+      0  21 118  Attenuation correction on sigma-0
+      2   2 129  Change scale
+      2   1 132  Change data width
+      0   2 112  Radar look angle
+      2   1   0  Change data width to Table B
+      2   1 131  Change data width
+      0   2 111  Radar incidence angle
+      2   1   0  Change data width to Table B
+      2   2   0  Change scale back to Table B
+      0   2 104  Antenna polarization
+      0  21 105  Normalized radar cross-section
+      0  21 106  Kp variance coefficient (alpha)
+      0  21 107  Kp variance coefficient (beta)
+      0  21 114  Kp variance coefficient (gamma)
+      0  21 115  SEAWINDS sigma-0 quality
+      0  21 116  SEAWINDS sigma-0 mode
+      0   8  18  SEAWINDS land/ice surface type
+      0  21 117  Sigma-0 variance quality control
+     -1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-200-001-B
@@ -0,0 +1,28 @@
+#
+#       BUFR Table B - Classification of elements specific to RSA
+#
+#
+#F	X	Y	Scale	RefVal	Data Width	Units		Element Name
+############################################################################################
+
+#                                PROFILER DATA
+  0;    1;    192;      0;           0;   32;      Numeric; Platform ID
+  0;    1;    193;      0;           0;  248;    CCITT_IA5; Platform Name
+  0;    4;    192;      0;           0;   16;      Numeric; Report Duration
+  0;   33;    192;      0;           0;    8;      Numeric; Accuracy
+
+#                                   LLP DATA
+  0;   20;    192;      0;           0;    5;      Numeric; Maximum Mulitplicity
+  0;   20;    193;      1;        -200;   12;      Numeric; Strength
+  0;   20;    194;      0;           0;  100;    CCITT_IA5; Condition
+
+#                                  RTAMPS DATA
+  0;    1;    194;      0;           0;   48;    CCITT_IA5; Mission Name
+  0;    4;    193;      2;           0;   21;            s; Sample Time
+  0;   10;    192;      2;           0;   24;            m; Geopotential Height
+  0;   11;    192;      2;           0;   18;          m/s; Velocity of Sound
+  0;   13;    192;      1;           0;   10;            %; Relative Humidity
+  0;   13;    193;      5;           0;   14;      kg/m**3; Absolute Humidity
+  0;   13;    194;      5;           0;   19;      kg/m**3; Density of Air
+  0;   21;    192;      2;           0;   19;      numeric; Microwave Index of Refraction
+  0;   21;    193;      2;           0;   19;      numeric; Optical Index of Refraction
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-000-B
@@ -0,0 +1,911 @@
+#
+# SCCS KEYWORDS: @(#)B2L-058-000-B	1.2 08/13/99
+#
+# B2L-058-000-B - Special local BUFR Table B for center 058 (FNMOC) for those
+# cases when an FNOC-generated BUFR message uses local descriptors but has a
+# value of 0 in Section 1, Octet 12 (thus indicating that it does not use
+# local descriptors).
+#
+# <<Change Notice>> v1.2 25 Aug 1999 -- Laws,D.J.
+#   WMO bufr table B ver 1998.
+#
+#                                       Data
+#F      X       Y       Scale   RefVal  Width   Units   Element Name
+  0;    0;     1;    0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;     2;    0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;     3;    0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;     5;    0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;    10;    0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;    11;    0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;    12;    0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;    13;    0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;    14;    0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;    15;    0;           0;  192;    CCITT_IA5; Units name
+  0;    0;    16;    0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;    17;    0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;    18;    0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;    19;    0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;    20;    0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;    30;    0;           0;   40;    CCITT_IA5; Descriptor defining sequence
+  0;    1;     1;    0;           0;    7;      numeric; WMO block number (II)
+  0;    1;     2;    0;           0;   10;      numeric; WMO station number (iii)
+  0;    1;     3;    0;           0;    3;   code_table; WMO region number
+  0;    1;     4;    0;           0;    3;      numeric; WMO region sub-area
+  0;    1;     5;    0;           0;   17;      numeric; Buoy/platform identifier
+  0;    1;     6;    0;           0;   64;    CCITT_IA5; Aircraft identifier (I2I2I2)
+  0;    1;     7;    0;           0;   10;   code_table; Satellite identifier (I2I2I2)
+  0;    1;     8;    0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;     9;    0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;    10;    0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;    11;    0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier (D...D)
+  0;    1;    12;    0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;    13;    0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;    14;    2;           0;   10;          m/s; Platform drift speed (high precision) (VBVB)
+  0;    1;    15;    0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;    20;    0;           0;    4;      numeric; WMO Region sub-area
+  0;    1;    21;    0;           0;   14;      numeric; Synoptic feature identifier
+  0;    1;    25;    0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;    26;    0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;    31;    0;           0;   16;   code_table; Generating center
+  0;    1;    32;    0;           0;    8;   code_table; Generating application
+  0;    1;    33;    0;           0;    8;   code_table; Generating center
+  0;    1;    34;    0;           0;    8;   code_table; Generating sub-center
+  0;    1;    41;    5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;    42;    5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;    43;    5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;    60;    0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;    1;    63;    0;           0;   64;    CCITT_IA5; ICAO location indicator (CCCC)
+  0;    1;    64;    0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;    75;    0;           0;   40;    CCITT_IA5; Tide station identification
+  0;    1;   192;    0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;    1;   193;    0;           0;    4;   code_table; Global octant
+  0;    1;   194;    0;           0;    4;      numeric; Beam position
+  0;    1;   195;    0;           0;    4;      numeric; Decimal point value (dp)
+  0;    1;   196;    0;           0;   64;    CCITT_IA5; Observation number
+  0;    1;   197;    0;           0;    6;      numeric; Runway number
+  0;    1;   198;    0;           0;   10;   code_table; Marsden square number
+  0;    1;   199;    0;           0;   64;    CCITT_IA5; nature of mission
+  0;    1;   200;    0;           0;    2;   code_table; Radar Capability indicator (XXX)
+  0;    1;   201;    0;           0;    8;   code_table; Country or agency that operates the satellite
+  0;    1;   203;    0;           0;   16;    CCITT_IA5; Satellite name
+  0;    1;   204;    0;           0;   16;    CCITT_IA5; Satellite series
+  0;    1;   206;    0;           0;   32;    CCITT_IA5; TOVS generating center name
+  0;    1;   207;    0;           0;   72;    CCITT_IA5; File name
+  0;    1;   208;    0;           0;    4;   code_table; Satellite data type
+  0;    1;   209;    0;           0;    8;   code_table; Observation type for MCSST
+  0;    1;   210;    0;           0;    7;   code_table; Observation source
+  0;    1;   211;    0;           0;    5;      numeric; Beam position
+  0;    1;   212;    0;           0;   24;      numeric; Data processing block number
+  0;    1;   213;    0;           0;    3;   code_table; Tip source type identifier
+  0;    1;   214;    0;           0;   32;    CCITT_IA5; Header originator
+  0;    1;   215;    0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;    1;   216;    0;           0;   14;      numeric; Engineering status
+  0;    1;   217;    0;           0;    5;      numeric; Satellite number
+  0;    1;   218;    0;           0;  176;    CCITT_IA5; Sequence (report) type
+  0;    1;   219;    0;           0;   40;    CCITT_IA5; Mission number
+  0;    1;   220;    0;           0;    7;      numeric; Observation number
+  0;    1;   221;    0;           0;    8;   code_table; Surface type
+  0;    1;   222;    0;           0;   32;    CCITT_IA5; Report modifier
+  0;    1;   223;    0;           0;    3;   code_table; Runway parallel indicator
+  0;    1;   224;    0;           0;    5;   code_table; Terrain code identifier
+  0;    2;     1;    0;           0;    2;   code_table; Type of station (ix)
+  0;    2;     2;    0;           0;    4;   flag_table; Type of instrumentation for wind measurement (ewew)
+  0;    2;     3;    0;           0;    4;   code_table; Type of measuring instrumentation used (a4, I3,
+  0;    2;     4;    0;           0;    4;   code_table; Type of instrumentation for evaporation measurement or
+  0;    2;     5;    2;           0;    7;        deg_K; Precision of temperature observed (s3)
+  0;    2;    11;    0;           0;    8;   code_table; Radiosonde type (rara)
+  0;    2;    12;    0;           0;    4;   code_table; Radiosonde computational method
+  0;    2;    13;    0;           0;    4;   code_table; Solar and infrared radiation correction (Sr)
+  0;    2;    14;    0;           0;    7;   code_table; Tracking technique/status of system (sasa)
+  0;    2;    15;    0;           0;    4;   code_table; Radiosonde completeness
+  0;    2;    20;    0;           0;    9;   code_table; satellite classification
+  0;    2;    21;    0;           0;    9;   flag_table; Satellite instrumentation data used in processing
+  0;    2;    22;    0;           0;    8;   flag_table; Satellite data processing technique used
+  0;    2;    23;    0;           0;    4;   code_table; Cloud motion computational method
+  0;    2;    24;    0;           0;    4;   code_table; Integrated mean humidity computational method
+  0;    2;    25;    0;           0;   25;   flag_table; Satellite channel(s) used in computation
+  0;    2;    26;    2;           0;   12;            m; Cross track resolution
+  0;    2;    27;    2;           0;   12;            m; Along track resolution
+  0;    2;    28;    0;           0;   18;            m; segment size at nadir in X direction
+  0;    2;    29;    0;           0;   18;            m; segment size at nadir in Y direction
+  0;    2;    30;    0;           0;    3;   code_table; Method of current measurement (k5)
+  0;    2;    31;    0;           0;    5;   code_table; Duration and time of current measurement
+  0;    2;    32;    0;           0;    2;   code_table; Indicator for digitization (k1)
+  0;    2;    33;    0;           0;    3;   code_table; Method of salinity/depth measurement (k2)
+  0;    2;    34;    0;           0;    5;   code_table; Drogue type (id)
+  0;    2;    35;    0;           0;    9;            m; Cable length (ZdZdZd)
+  0;    2;    36;    0;           0;    2;   code_table; Buoy type (Ip or Vi...Vi)
+  0;    2;    37;    0;           0;    3;   code_table; Method of tidal observation
+  0;    2;    38;    0;           0;    4;   code_table; Sea surface temperature method indicator
+  0;    2;    39;    0;           0;    3;   code_table; Wet bulb temperature method indicator
+  0;    2;    40;    0;           0;    4;   code_table; Method of removing velocity and motion table
+  0;    2;    41;    0;           0;    6;   code_table; Method for estimating reports related to synoptic
+  0;    2;    44;    0;           0;    4;   code_table; Spectral calculation method (Im)
+  0;    2;    45;    0;           0;    4;   code_table; Platform type (Ip)
+  0;    2;    46;    0;           0;    4;   code_table; Wave measurement instrument (no symbol letters)
+  0;    2;    48;    0;           0;    4;   code_table; Satellite sensor indicator
+  0;    2;    49;    0;           0;    8;   flag_table; Geostationary satellite data-processing technique used
+  0;    2;    50;    0;           0;   20;   flag_table; Geostationary sounder satellite channels used
+  0;    2;    51;    0;           0;    4;   code_table; Indicator to specify observing method for extreme
+  0;    2;    52;    0;           0;    6;   flag_table; Geostationary imager satellite channels used
+  0;    2;    53;    0;           0;    4;   code_table; GOES-I/M brightness temperature CCITT_IA5istics
+  0;    2;    54;    0;           0;    4;   code_table; GOES-I/M soundings parameter CCITT_IA5istics
+  0;    2;    55;    0;           0;    4;   code_table; Geostationary_soundings statistical parameters
+  0;    2;    56;    0;           0;    4;   code_table; Geostationary soundings accuracy statistics
+  0;    2;    57;    0;           0;    4;   code_table; Origin of first guess information for GOES-I/M
+  0;    2;    58;    0;           0;    4;   code_table; Valid times of first guess information for
+  0;    2;    59;    0;           0;    4;   code_table; Origin of analysis information for GOES-I/M soundings
+  0;    2;    60;    0;           0;    4;   code_table; Origin of surface information for GOES-I/M soundings
+  0;    2;    61;    0;           0;    3;   code_table; Aircraft navigation system (s1)
+  0;    2;    62;    0;           0;    4;   code_table; Type of aircraft data relay system
+  0;    2;    63;    2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;    64;    0;           0;    2;   code_table; Roll angle quality
+  0;    2;    65;    0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;    70;    0;           0;    4;   code_table; Original specification of latitude/longitude
+  0;    2;   100;    1;           0;   12;           dB; Radar constant
+  0;    2;   101;    0;           0;    4;   code_table; Type of antenna
+  0;    2;   102;    0;           0;    8;            m; Antenna height above tower
+  0;    2;   103;    0;           0;    2;   flag_table; Radome
+  0;    2;   104;    0;           0;    4;   code_table; Antenna polarisation
+  0;    2;   105;    0;           0;    6;           dB; Maximum antenna gain
+  0;    2;   106;    1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;   107;    0;           0;    6;           dB; Sidelobe suppression
+  0;    2;   108;    0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;   109;    2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;   110;    2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;   111;    1;           0;   10;          deg; Radar incidence angle
+  0;    2;   112;    1;           0;   12;          deg; Radar azimuth angle
+  0;    2;   113;    0;           0;    4;      numeric; Number of azimuth looks
+  0;    2;   114;    0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;   121;   -8;           0;    7;           Hz; Mean frequency
+  0;    2;   122;   -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;   123;   -4;           0;    7;            W; Peak power
+  0;    2;   124;   -1;           0;    7;            W; Average power
+  0;    2;   125;   -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;   126;    7;           0;    6;            s; Pulse width
+  0;    2;   127;   -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;   128;   -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;   129;    0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;   130;    0;           0;    7;           dB; Dynamic range
+  0;    2;   131;    0;           0;    2;   flag_table; Sensitivity time control (STC)
+  0;    2;   132;    2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;   133;    2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;   134;    2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;   135;    2;       -9000;   15;          deg; Antenna elevation
+  0;    2;   136;   -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;   140;    0;           0;    9;          deg; Satellite radar beam azimuth angle
+  0;    2;   141;    0;           0;   24;    CCITT_IA5; Measurement type serial number/identifier
+  0;    2;   142;    0;           0;   32;    CCITT_IA5; Ozone instrument
+  0;    2;   143;    0;           0;    7;   code_table; Ozone instrument type
+  0;    2;   144;    0;           0;    4;   code_table; Measurement type for Brewer instruments
+  0;    2;   145;    0;           0;    4;   code_table; Wave length setting for Dobson instruments
+  0;    2;   146;    0;           0;    4;   code_table; Source conditions for Dobson instruments
+  0;    2;   152;    0;           0;   31;   flag_table; satellite instrument used in data processing
+  0;    2;   153;   -8;           0;   26;           Hz; satellite channel centre frequency
+  0;    2;   154;   -8;           0;   26;           Hz; satellite channel band width
+  0;    2;   163;    0;           0;    4;   code_table; height assignment method
+  0;    2;   164;    0;           0;    3;   code_table; tracer correlation method
+  0;    2;   167;    0;           0;    4;   code_table; radiance computational method
+  0;    2;   190;    0;           0;    8;   code_table; U, v quality indicator
+  0;    2;   191;    0;           0;    4;   code_table; W quality indicator
+  0;    2;   192;    0;           0;    2;   code_table; Wind units source ID
+  0;    2;   193;    0;           0;   20;      numeric; satellite channels used in computation
+  0;    2;   194;    0;           0;   15;      numeric; satellite channels used in computation
+  0;    2;   195;    0;           0;    4;   code_table; Reason for no report OR ground equipment
+  0;    2;   196;    0;           0;    7;   code_table; Type of thermodynamic sensing equipment (eTeT)
+  0;    2;   197;    0;           0;    3;   code_table; Correction technique (cT, cw)
+  0;    2;   198;    0;           0;    4;   code_table; Data reduction method (mr)
+  0;    2;   199;    0;           0;    4;      numeric; grp_pos_ind
+  0;    2;   200;    0;           0;    3;   code_table; Indicator for frequency or wave number (Ia)
+  0;    2;   201;    0;           0;    3;   code_table; Type of rocket motor (rm)
+  0;    2;   202;    0;           0;    7;   code_table; Type of wind sensing equipment (ewew)
+  0;    2;   203;    0;           0;    3;   code_table; Method of determining direction of moving platform
+  0;    2;   204;    0;           0;    3;   code_table; Method of determining speed of moving platform
+  0;    2;   205;    0;           0;    3;   code_table; Ozone flag
+  0;    2;   206;    0;           0;    4;   code_table; Algorithm identifier
+  0;    2;   207;    0;           0;    5;   code_table; Equation identifier
+  0;    2;   208;    0;           0;    2;   code_table; Type of method for measuring pressure
+  0;    2;   209;    0;           0;   10;   code_table; Xbt instrument type (IxIxIx)
+  0;    2;   210;    0;           0;    7;   code_table; Recorder type (XRXR)
+  0;    2;   211;    0;           0;    8;   flag_table; Sensor status flag
+  0;    2;   212;    0;           0;    2;   flag_table; Maintenance Check flag
+  0;    2;   213;    0;           0;    5;      numeric; satellite channels used in computation
+  0;    4;     1;    0;           0;   12;           yr; Year (4-digit)
+  0;    4;     2;    0;           0;    4;           mo; Month
+  0;    4;     3;    0;           0;    6;          day; Day
+  0;    4;     4;    0;           0;    5;           hr; Hour
+  0;    4;     5;    0;           0;    6;          min; Minute
+  0;    4;     6;    0;           0;    6;            s; Second
+  0;    4;    11;    0;       -1024;   11;           yr; Time increment - year
+  0;    4;    12;    0;       -1024;   11;           mo; Time increment - month
+  0;    4;    13;    0;       -1024;   11;          day; Time increment - day
+  0;    4;    14;    0;       -1024;   11;           hr; Time increment - hour
+  0;    4;    15;    0;       -2048;   12;          min; Time increment - minutes
+  0;    4;    16;    0;       -4096;   13;            s; Time increment - seconds
+  0;    4;    21;    0;       -1024;   11;           yr; Time period or displacement - year
+  0;    4;    22;    0;       -1024;   11;           mo; Time period or displacement - month
+  0;    4;    23;    0;       -1024;   11;          day; Time period or displacement - month
+  0;    4;    24;    0;       -2048;   12;           hr; Time period or displacement - hour
+  0;    4;    25;    0;       -2048;   12;          min; Time period or displacement - minutes
+  0;    4;    26;    0;       -4096;   13;            s; Time period or displacement - seconds
+  0;    4;    31;    0;           0;    8;           hr; Duration of time relating to following value
+  0;    4;    32;    0;           0;    6;          min; Duration of time relating to following value
+  0;    4;    41;    0;       -1440;   12;          min; Time difference, UTC - LMT
+  0;    4;    43;    0;           0;    9;          day; Day of the year
+  0;    4;    53;    0;           0;    6;      numeric; Number of days with precipitation equal or
+  0;    4;   192;    0;           0;    4;   code_table; Precipitation time period (tR)
+  0;    4;   193;    0;           0;   31;      numeric; Last time that this observation record was
+  0;    4;   200;    0;           0;   12;           yr; Time of receipt - year
+  0;    4;   201;    0;           0;    4;           mo; Time of receipt - month
+  0;    4;   202;    0;           0;    6;          day; Time of receipt - day
+  0;    4;   203;    0;           0;    5;           hr; Time of receipt - hour
+  0;    4;   204;    0;           0;    6;          min; Time of receipt - minute
+  0;    4;   206;    3;           0;   27;            s; GMT seconds
+  0;    5;     1;    5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;     2;    2;       -9000;   15;          deg; Latitude (coarse accuracy) (La...La)
+  0;    5;    11;    5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;    12;    2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;    21;    2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;    22;    2;           0;   16;     deg_true; Solar azimuth
+  0;    5;    30;    0;           0;   12;          deg; Direction (spectral)
+  0;    5;    31;    0;           0;   12;      numeric; Row number
+  0;    5;    33;   -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;    40;    0;           0;   24;      numeric; Orbit number
+  0;    5;    41;    0;           0;    8;      numeric; Scan line number
+  0;    5;    42;    0;           0;    6;      numeric; Channel number
+  0;    5;    43;    0;           0;    8;      numeric; Field of view number
+  0;    5;    52;    0;           0;    5;      numeric; Channel number increment
+  0;    5;    53;    0;           0;    5;      numeric; Field of view number increment
+  0;    5;   192;    0;           0;    3;      numeric; Image line number
+  0;    5;   193;    0;           0;    4;      numeric; Image sample number
+  0;    5;   194;    0;           0;   14;      numeric; Orbit number
+  0;    5;   195;    6;   -90000000;   28;          deg; six decimal pt latitude
+  0;    5;   196;    0;           0;   16;      numeric; Orbit number
+  0;    5;   197;    0;           0;    8;      numeric; Frame number
+  0;    5;   198;    0;           0;   24;      numeric; Orbit number
+  0;    5;   199;    0;           0;   20;      numeric; Orbit number
+  0;    6;     1;    5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;     2;    2;      -18000;   16;          deg; Longtiude (coarse accuracy) (Lo...Lo)
+  0;    6;     3;    2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;    11;    5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;    12;    2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;    21;   -1;           0;   13;            m; Distance
+  0;    6;    30;    5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;    31;    0;           0;   12;      numeric; Column number
+  0;    6;    33;   -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    6;   192;    6;  -180000000;   29;          deg; six decimal pt longitude
+  0;    7;     1;    0;        -400;   15;            m; Height of station (hohohoho)
+  0;    7;     2;   -1;         -40;   16;            m; Height or altitude (hahaha, hIhIhI, HmHmHm, HH,
+  0;    7;     3;   -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;     4;   -1;           0;   14;           Pa; Pressure (Pa...Pa, Paob...Paob, Po...Po, PtPtPt, or PAPA)
+  0;    7;     5;    0;        -400;   12;            m; Height increment
+  0;    7;     6;    0;           0;   15;            m; Height above station
+  0;    7;     7;    0;       -1000;   17;            m; Height
+  0;    7;     8;    0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;    21;    2;       -9000;   15;          deg; Elevation
+  0;    7;    22;    2;       -9000;   15;          deg; Solar elevation
+  0;    7;    24;    2;       -9000;   15;          deg; Satellite zenith angle
+  0;    7;    61;    2;           0;   14;            m; Depth below land surface
+  0;    7;    62;    1;           0;   17;            m; Depth below sea surface
+  0;    7;   190;    0;           0;   12;            m; Height increment
+  0;    7;   192;    2;           0;   13;          deg; Local zenith angle
+  0;    7;   196;    0;           0;    4;   code_table; Station height precision
+  0;    7;   197;    1;           0;   11;          deg; Solar zenith angle
+  0;    7;   198;    2;       -6000;   14;          deg; Satellite zenith angle
+  0;    7;   199;    1;           0;   11;          deg; Solar azimuth angle
+  0;    7;   200;    2;           0;   17;           Pa; Geopotential height
+  0;    7;   223;    2;           0;   14;          deg; Solar zenith angle
+  0;    7;   224;    1;           0;   14;            m; Surface elevation
+  0;    8;     1;    0;           0;    7;   flag_table; Vertical sounding significance
+  0;    8;     2;    0;           0;    6;   code_table; Vertical significance (surface observations)
+  0;    8;     3;    0;           0;    6;   code_table; Vertical significance (satellite observations)
+  0;    8;     4;    0;           0;    3;   code_table; Phase of aircraft flight (ipipip)
+  0;    8;     5;    0;           0;    4;   code_table; Surface synoptic features significance
+  0;    8;    11;    0;           0;    6;   code_table; Horizontal significance
+  0;    8;    12;    0;           0;    2;   code_table; land/sea qualifier
+  0;    8;    13;    0;           0;    2;   code_table; Day/night qualifier
+  0;    8;    14;    0;           0;    4;   code_table; Qualification for runway visual range
+  0;    8;    16;    0;           0;    3;   code_table; Change indicator of a trend-type forecast or
+  0;    8;    17;    0;           0;    2;   code_table; Qualifier of the time when the forecast
+  0;    8;    20;    0;           0;   16;      numeric; Qualification for runway visual range
+  0;    8;    21;    0;           0;    5;   code_table; Time significance
+  0;    8;    22;    0;           0;   16;      numeric; Total number (with respect to accumulation or
+  0;    8;    23;    0;           0;    6;   code_table; First order statistics
+  0;    8;    24;    0;           0;    6;   code_table; Difference statistics
+  0;    8;    25;    0;           0;    4;   code_table; Time difference qualifier
+  0;    8;    30;    0;           0;   13;      numeric; Manual on Codes (Volume I.1, Section C)
+  0;    8;    51;    0;           0;    3;   code_table; Qualifier for number of missing values in
+  0;    8;    52;    0;           0;    5;   code_table; Condition for which number of days of
+  0;    8;    53;    0;           0;    2;   code_table; Day of occurrence qualifier
+  0;    8;   194;    0;           0;    4;   code_table; Flight condition (fc)
+  0;   10;     1;    0;        -400;   15;            m; Height of land surface
+  0;   10;     2;   -1;         -40;   16;            m; Height (HHH)
+  0;   10;     3;   -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;     4;   -1;           0;   14;           Pa; Pressure
+  0;   10;     7;    0;       -1000;   17;            m; Height
+  0;   10;     8;    0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;    31;    2; -1073741824;   31;    deg_K*m/s; In direction of the North Pole, distance
+  0;   10;    50;    2;           0;   16;            m; Standard deviation altitude
+  0;   10;    51;   -1;           0;   14;           Pa; Pressure reduced to mean sea level (PPPP)
+  0;   10;    52;   -1;           0;   14;           Pa; Altimeter setting (QNH) (PH...PH)
+  0;   10;    60;   -1;       -1024;   11;           Pa; Pressure change (ppp)
+  0;   10;    61;   -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;    62;   -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;    63;    0;           0;    4;   code_table; Characteristic of pressure tendency (a, w, or
+  0;   10;    70;    0;        -400;   16;            m; Indicated aircraft altitude
+  0;   10;   197;    0;           0;    4;   code_table; Index pertaining to geopotential height (j)
+  0;   10;   199;    0;       -1024;   16;            m; Geopotential height difference
+  0;   10;   200;    0;       -1024;   16;            m; Geopotental height correction
+  0;   10;   201;    0;           0;   14;   code_table; Pressure tendency QC ID
+  0;   10;   203;    0;           0;    4;   code_table; Geopotential height quality control flag
+  0;   10;   213;    0;       -1024;   16;            m; Geopotential height
+  0;   10;   224;    0;           0;    4;   code_table; Station level pressure QC ID
+  0;   10;   251;    0;           0;    4;   code_table; Mean sea level pressure QC ID
+  0;   11;     1;    0;           0;    9;     deg_true; Wind direction (dd, dodo>dndn, dmagdmag)
+  0;   11;     2;    1;           0;   12;          m/s; Wind speed (ff, fff, or fofofo>fnfnfn)
+  0;   11;     3;    1;       -4096;   13;          m/s; U-component
+  0;   11;     4;    1;       -4096;   13;          m/s; V-component
+  0;   11;     5;    1;        -512;   10;         Pa/s; W-component
+  0;   11;     6;    2;       -4096;   13;          m/s; W-component
+  0;   11;    11;    0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;    12;    1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;    13;    0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;    14;    1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;    16;    0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable
+  0;   11;    17;    0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable
+  0;   11;    21;    9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;    22;    9;      -65536;   17;          1/s; Divergence
+  0;   11;    23;   -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;    31;    0;           0;    4;   code_table; Degree of turbulence (B...B or BA)
+  0;   11;    32;   -1;         -40;   16;            m; Height of base of turbulence (BabBabBab or
+  0;   11;    33;   -1;         -40;   16;            m; Height of top of turbulence (BatBatBat or
+  0;   11;    34;    1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;    35;    2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;    36;    1;           0;   10;          m/s; Maximum derived equivalent vertical gust
+  0;   11;    41;    1;           0;   12;          m/s; Maximum wind speed (gusts) (fm...fm)
+  0;   11;    42;    1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;    43;    0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;    44;    0;           0;    9;     deg_true; Mean wind direction for surface -- 1500
+  0;   11;    45;    1;           0;   12;          m/s; Mean wind speed for surface -- 1500
+  0;   11;    49;    0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;    50;    1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;    51;    1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;    61;    1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;    62;    1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+  0;   11;    70;    0;           0;   32;    CCITT_IA5; Designator of the runway affected by wind
+  0;   11;    71;    3;        -128;   14;    m**2/s**2; Turbulent vertical momentum flux
+  0;   11;    72;    3;        -128;   11;         km/s; Turbulent vertical buoyancy flux
+  0;   11;    73;    2;       -1024;   13;    m**2/s**2; Turbulent kinetic energy
+  0;   11;    74;    2;       -1024;   10;    m**2/s**2; Dissipitation energy
+  0;   11;    75;    2;           0;    8;   (m**2/3)/s; Mean turbulence intensity
+  0;   11;    76;    2;           0;    8;   (m**2/3)/s; Peak turbulence intensity
+  0;   11;   195;    0;           0;    2;   code_table; Wind type at flight altitude (dt)
+  0;   11;   200;    0;           0;    4;   code_table; Wind QC ID
+  0;   11;   203;    1;       -4096;   13;          m/s; Wind u-component difference
+  0;   11;   204;    1;       -4096;   13;          m/s; Wind v-component difference
+  0;   11;   205;    0;           0;    4;   code_table; Turbulence (B) (WMO code table 0300)
+  0;   11;   206;    0;           0;    2;   code_table; Flight level wind method (da)
+  0;   11;   207;    0;           0;    2;   code_table; Extreme wind speed ID
+  0;   11;   213;    1;       -4096;   13;          m/s; Wind u-component correction
+  0;   11;   214;    1;       -4096;   13;          m/s; Wind v-component correction
+  0;   11;   244;    0;           0;   16;     deg_true; Direction of wind
+  0;   11;   245;    2;           0;   16;          m/s; wnd_spd
+  0;   11;   246;    1;           0;    8;          m/s; Ocean surface wind speed
+  0;   12;     1;    1;           0;   12;        deg_K; Temperature/dry bulb temperature (Ta, TsTsTs, TtTt, or
+  0;   12;     2;    1;           0;   12;        deg_K; Wet bulb temperature (TbTbTb)
+  0;   12;     3;    1;           0;   12;        deg_K; Dewpoint (TdTdTd or T'dT'd)
+  0;   12;     4;    1;           0;   12;        deg_K; Dry bulb temperature at 2 meters (Tao>Tan,
+  0;   12;     5;    1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;     6;    1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;     7;    1;           0;   12;        deg_K; Virtual temperature
+  0;   12;    11;    1;           0;   12;        deg_K; Maximum temperature
+  0;   12;    12;    1;           0;   12;        deg_K; Minimum temperature (TnTnTn)
+  0;   12;    13;    1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;    14;    1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12
+  0;   12;    15;    1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12
+  0;   12;    16;    1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24
+  0;   12;    17;    1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24
+  0;   12;    30;    1;           0;   12;        deg_K; Soil temperature (ToTo)
+  0;   12;    51;    1;           0;   10;        deg_K; Standard deviation temperature
+  0;   12;    52;    1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;    53;    1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;    61;    1;           0;   12;        deg_K; Skin temperature
+  0;   12;    62;    1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;    63;    1;           0;   12;        deg_K; Brightness temperature
+  0;   12;    70;    2;           0;   16;        deg_K; Vertical polarization 19GHz brightness temperature
+  0;   12;    71;    1;           0;   12;        deg_K; Coldest cluster temperature
+  0;   12;    72;    2;           0;   16;        deg_K; Vertical polarization 22GHz brightness temperature
+  0;   12;    73;    2;           0;   16;        deg_K; Vertical polarization 37GHz brightness temperature
+  0;   12;    74;    2;           0;   16;        deg_K; Horizontal polarization 37GHz brightness temperature
+  0;   12;    75;    2;           0;   16;        deg_K; Vertical polarization 85GHz brightness temperature
+  0;   12;    76;    2;           0;   16;        deg_K; Horizontal polarization 85GHz brightness temperature
+  0;   12;   192;    0;           0;    4;   code_table; Wet bulb temperature indicator
+  0;   12;   193;    2;           0;   16;        deg_K; SSU brightness temperature
+  0;   12;   194;    2;           0;   16;        deg_K; Dewpoint
+  0;   12;   195;    0;           0;    4;   code_table; Dewpoint, aircraft altitude, air temperature indicator (id)
+  0;   12;   196;    2;           0;   16;        deg_K; Dewpoint difference
+  0;   12;   201;    0;           0;    4;   code_table; Air temperature QC ID
+  0;   12;   213;    0;           0;    4;   code_table; Dewpoint QC ID
+  0;   12;   215;    0;           0;    2;   code_table; Temperature precision flag
+  0;   12;   220;    2;           0;   16;        deg_K; HIRS brightness temperature
+  0;   12;   221;    2;           0;   16;        deg_K; MSU brightness temperature
+  0;   13;     1;    5;           0;   14;        kg/kg; Specific humidity
+  0;   13;     2;    5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;     3;    0;           0;    7;      percent; Relative humidity (U1>Un or U...U)
+  0;   13;     4;   -1;           0;   10;           Pa; Vapor pressure
+  0;   13;     5;    3;           0;    7;      kg/m**3; Vapor density (p1p1p1)
+  0;   13;     6;   -1;         -40;   16;            m; Mixing heights
+  0;   13;    11;    1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent (Aw or R...R)
+  0;   13;    12;    2;          -2;   12;            m; Depth of fresh snow
+  0;   13;    13;    2;          -2;   16;            m; Total snow depth (sss)
+  0;   13;    14;    4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;    15;    7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;    16;    0;           0;    7;      kg/m**2; Precipitable water (www)
+  0;   13;    19;    1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;    20;    1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;    21;    1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;    22;    1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;    23;    1;          -1;   14;      kg/m**2; Total precipitation past 24 hours (R24...R24)
+  0;   13;    31;    0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;    32;    1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;    33;    1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;    38;    0;           0;    2;   code_table; Superadiabatic indicator
+  0;   13;    39;    0;           0;    3;   code_table; Terrain type (ice/snow)
+  0;   13;    41;    0;           0;    4;   code_table; Pasquill-Gifford stability category
+  0;   13;    42;    0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;    43;    0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;    51;    0;           0;    4;   code_table; Frequency group, precipitation
+  0;   13;    52;    1;          -1;   14;      kg/m**2; Highest daily amount of precipiation
+  0;   13;    71;    1;           0;    7;      kg/m**2; Liquid water
+  0;   13;    75;    0;           0;    8;      percent; Land snow cloud
+  0;   13;    76;    2;           0;    6;            m; Snow-water equivalent
+  0;   13;   192;    0;           0;    4;   code_table; Precipitation identifier (iR)
+  0;   13;   193;    0;           0;   10;   code_table; Precipitation amount
+  0;   13;   194;    3;       -9210;   16;         g/kg; First guess mixing ratios
+  0;   13;   195;    0;           0;   10;      kg/m**3; Density (p1p1p1)
+  0;   13;   196;    0;           0;    7;           mm; Soil moisture
+  0;   13;   197;    0;           0;    3;   code_table; Rain indicator
+  0;   13;   198;    2;           0;   11;           cm; Total precipatable water
+  0;   13;   199;    0;           0;    2;      numeric; prcp_ind_id
+  0;   13;   203;    0;           0;    4;   code_table; Relative humidity QC ID
+  0;   13;   217;    0;           0;    8;      numeric; Precipitation flag (SSM/T)
+  0;   13;   218;    2;           0;   11;    kg/(m**2); Cloud water
+  0;   13;   219;    1;           0;   10;    kg/(m**2); Ocean water vapor
+  0;   13;   220;    1;           0;    9;        mm/hr; Rain rate
+  0;   13;   221;    2;           0;   14;    kg/(m**2); Cloud Liquid Water
+  0;   14;     1;   -3;       -2048;   12;       J/m**2; Longwave radiation, integrated over 24 hours (FLFLFL)
+  0;   14;     2;   -3;       -2048;   12;       J/m**2; Longwave radiation, integrated over period specififed
+  0;   14;     3;   -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over 24 hours (FiFiFi)
+  0;   14;     4;   -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over period specified (FsFsFs)
+  0;   14;    11;   -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;    12;   -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over period specified
+  0;   14;    13;   -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;    14;   -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;    15;   -4;      -16384;   15;       J/m**2; Net radiation, integrated over 24 hours
+  0;   14;    16;   -4;      -16384;   15;       J/m**2; Net radiation, integrated over period specified
+  0;   14;    17;   -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;    18;   -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;    19;    0;           0;    7;      percent; Surface albedo
+  0;   14;    20;   -4;           0;   15;       J/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;    21;   -4;           0;   15;       J/m**2; Global solar radiation, integrated over period specified
+  0;   14;    22;   -4;           0;   15;       J/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;    23;   -4;           0;   15;       J/m**2; Diffuse solar radiation, integrated over period specified
+  0;   14;    24;   -4;           0;   15;       J/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;    25;   -4;           0;   15;       J/m**2; Direct solar radiation, integrated over period specififed
+  0;   14;    26;    0;           0;    7;      percent; Albedo at top of clouds
+  0;   14;    31;    0;           0;   11;          min; Total sunshine
+  0;   14;    32;    0;           0;   10;           hr; Total sunshine
+  0;   14;    33;    0;           0;    9;      percent; Total sunshine (precentage)
+  0;   14;    42;    0;           0;    7;      percent; Bi-directional reflectance
+  0;   15;     1;    0;           0;   10;  dobson_unit; Ozone
+  0;   15;     2;    2;           0;   10;      numeric; Air-mass (slant path at 22 km)
+  0;   15;    11;    3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;    15;    0;           0;   31;      numeric; Maximum spectral composition before normalization
+  0;   19;     1;    0;           0;    6;   code_table; Type of synoptic features
+  0;   19;     2;   -2;           0;   12;            m; Effective radius of feature
+  0;   19;     3;    0;           0;    8;          m/s; Wind speed threshold
+  0;   19;     4;   -2;           0;   12;            m; Effective radius of feature with respect to
+  0;   19;     5;    0;           0;    9;     deg_true; Direction of motion of features (dsds)
+  0;   19;     6;    2;           0;   14;          m/s; Speed of motion of features
+  0;   19;     7;   -3;           0;   12;            m; Effective radius of features
+  0;   19;     8;    0;           0;    3;   code_table; Vertical extent of circulation
+  0;   19;     9;   -3;           0;   12;            m; Effective radiation with respect to FFF above
+  0;   20;     1;   -1;           0;   13;            m; Horizontal visibility (Dv, Vi, V...V, or VxVxVxVx)
+  0;   20;     2;   -1;           0;    7;            m; Vertical visibility
+  0;   20;     3;    0;           0;    9;   code_table; Present weather (ww or w'w')
+  0;   20;     4;    0;           0;    5;   code_table; Past weather (1) (Wa1Wa2 or W1W2)
+  0;   20;     5;    0;           0;    5;   code_table; Past weather (2) (wawa)
+  0;   20;     9;    0;           0;    4;   code_table; General Weather Indicator
+  0;   20;    10;    0;           0;    7;      percent; Cloud cover (total) (N, NcNc, or Ns...Ns)
+  0;   20;    11;    0;           0;    4;   code_table; Cloud amount (N or Ns...Ns)
+  0;   20;    12;    0;           0;    6;   code_table; Cloud type (C, Ct, CH, CL, or
+  0;   20;    13;   -1;         -40;   11;            m; Height of base of cloud (h, hshs,
+  0;   20;    14;   -1;         -40;   11;            m; Height of top of cloud (HfHfHf or
+  0;   20;    15;   -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;    16;   -1;           0;   14;           Pa; Pressure at the top of cloud (PcPcPc)
+  0;   20;    17;    0;           0;    4;   code_table; Cloud top description
+  0;   20;    18;    0;           0;    2;   code_table; Tendency of runway visual range
+  0;   20;    19;    0;           0;   72;    CCITT_IA5; Significant present or forecast weather
+  0;   20;    20;    0;           0;   32;    CCITT_IA5; Significant recent weather phenomena
+  0;   20;    31;    2;           0;    7;            m; Ice deposit (thickness) (EsEs)
+  0;   20;    32;    0;           0;    3;   code_table; Rate of ice accretion (Rs)
+  0;   20;    33;    0;           0;    4;   flag_table; Cause of ice accretion (Is)
+  0;   20;    34;    0;           0;    5;   code_table; Sea ice concentration (Ci)
+  0;   20;    35;    0;           0;    4;   code_table; Amount and type of ice (zii...zii)
+  0;   20;    36;    0;           0;    5;   code_table; Ice situation
+  0;   20;    37;    0;           0;    5;   code_table; Ice development (bi)
+  0;   20;    38;    0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;    39;   -1;           0;   13;            m; Ice distance
+  0;   20;    41;    0;           0;    4;   code_table; Rate of icing (Ir)
+  0;   20;    51;    0;           0;    7;      percent; Amount of low clouds
+  0;   20;    52;    0;           0;    7;      percent; Amount of middle clouds
+  0;   20;    53;    0;           0;    7;      percent; Amount of high clouds
+  0;   20;    61;    0;           0;   12;            m; Runway visual range (RVR) (VR...VR)
+  0;   20;    62;    0;           0;    5;   code_table; State of the ground (with or without
+  0;   20;    63;    0;           0;   10;   code_table; Special phenomena
+  0;   20;   192;    0;           0; 2040;    CCITT_IA5; Remark
+  0;   20;   193;    0;           0; 1024;    CCITT_IA5; 128 char plain language text remark
+  0;   20;   194;    0;           0;   11;      kg/m**2; cloud liquid water
+  0;   20;   196;    0;           0;    8;    CCITT_IA5; Runway visibility tendency
+  0;   20;   197;    0;           0;    2;   flag_table; Landing wind shear indicator
+  0;   20;   199;    0;           0;    9;     deg_true; Visibility direction
+  0;   20;   205;    0;           0;   24;    CCITT_IA5; Cloud significant convection
+  0;   20;   206;    0;           0;   64;    CCITT_IA5; Significant present weather conditions
+  0;   20;   207;    0;           0;    4;   code_table; Pressure and altitude significance
+  0;   20;   208;    0;           0;    4;   code_table; Significant weather changes (Ws)
+  0;   20;   209;    0;           0;    4;   code_table; Distance of weather changes (Ss)
+  0;   20;   210;    0;           0;    4;   code_table; Distant weather (Wd)
+  0;   20;   211;    0;           0;    4;   code_table; Bearing of distant weather (dw)
+  0;   20;   213;    0;           0;    4;   code_table; Icing and contrail types (It)
+  0;   20;   216;    0;           0;    7;   code_table; Altitude of layer base where icing occurred
+  0;   20;   219;    0;           0;    4;   code_table; Distance to center or line midpoint
+  0;   20;   220;    0;           0;    4;   code_table; Orientation of ellipse (Sr)
+  0;   20;   221;   -3;           0;   16;            m; Echo width or diameter (Ew)
+  0;   20;   222;   -3;           0;   16;            m; Echo axis length (El)
+  0;   20;   223;    0;           0;    8;   code_table; Echo CCITT_IA5 (ce)
+  0;   20;   224;    0;           0;    4;   code_table; Intensity of echo (Ie)
+  0;   20;   225;    0;           0;    3;   code_table; In flight horizontal visibility (Vi)
+  0;   20;   236;    0;           0;    8;    CCITT_IA5; Cloud base height
+  0;   20;   237;    0;           0;    7;   code_table; Horizontal visbility
+  0;   20;   240;    0;           0;    4;   code_table; Present weather (w)
+  0;   20;   242;    0;           0;    5;   code_table; Bearing of ice edge
+  0;   20;   244;    0;           0;    4;   code_table; cloud base height
+  0;   20;   245;    0;           0;  640;    CCITT_IA5; Remarks in plain language
+  0;   20;   246;    0;           0;    7;      percent; Ice coverage
+  0;   20;   247;    0;           0; 1656;    CCITT_IA5; Ice plain language text remarks
+  0;   20;   248;    0;           0;    2;   code_table; Ice age identifier
+  0;   20;   249;    0;           0;    2;   code_table; Ice edge identifier
+  0;   20;   254;    0;           0;    8;    CCITT_IA5; Extreme value indicator
+  0;   20;   255;    0;           0; 2040;    CCITT_IA5; Plain language text remarks
+  0;   21;     1;    0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;     2;    0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;     3;    1;          -5;    7;           dB; Differential reflectivity
+  0;   21;     5;    0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;     6;    0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;    11;    0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;    12;    0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;    13;    0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;    14;    1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;    17;    1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;    21;   -3;           0;    4;            m; Echo tops
+  0;   21;    30;    0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;    31;    0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;    36;    7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;    41;   -2;           0;    8;            m; Bright band height
+  0;   21;    51;    0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;    62;    2;       -5000;   13;           dB; Backscatter
+  0;   21;    63;    1;           0;   10;      percent; Radiometric resolution (noise value)
+  0;   21;    64;    0;           0;    8;      numeric; Clutter noise estimate
+  0;   21;    65;    0;        -127;    8;      numeric; Missing packet counter
+  0;   21;    66;    0;           0;   12;   flag_table; Wave scatterometer product confidence
+  0;   21;    67;    0;           0;   13;   flag_table; Wind product confidence data
+  0;   21;    68;    0;           0;    8;   flag_table; Radar altimeter product confidence data
+  0;   21;    69;    0;           0;   10;   flag_table; SST product confidence data
+  0;   21;    71;    0;           0;   16;      numeric; Peakiness
+  0;   21;    72;    0;           0;    4;   flag_table; Satellite altimeter calibration status
+  0;   21;    73;    0;           0;    9;   flag_table; Satellite altimeter instrument mode
+  0;   21;    75;    0;           0;    8;      numeric; Spectral intensity
+  0;   21;    76;    0;           0;    3;   code_table; Representation of intensities
+  0;   21;    77;    3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;    78;    3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;    79;    3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;    80;    3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;    81;    3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;    82;    3;       -3000;   14;           dB; Open loop correction (auto gain control)
+  0;   21;    85;    0;           0;    4;      numeric; ATSR sea surface temperature across-track band number
+  0;   21;   192;    0;           0;   14;            m; Heave sensor spectral peak length
+  0;   21;   193;    1;           0;   14;            s; Heave sensor spectral peak period
+  0;   21;   194;    2;           0;   14;      percent; AVHRR channel average
+  0;   21;   195;    2;           0;   14;      percent; Space view channel standard deviation
+  0;   21;   196;    2;           0;   15;        deg_K; Algorithm identifier
+  0;   21;   197;    2;           0;   15;        deg_K; AVHRR channel average
+  0;   21;   198;    2;       -5000;   13;           dB; Backscatter
+  0;   21;   199;    1;           0;   10;      percent; Noise figure percentage
+  0;   21;   200;    3;           0;   12;            m; aerosol_optical_depth
+  0;   22;     1;    0;           0;    9;     deg_true; Direction of waves (dddd, da1da1, or d1d1>dndn)
+  0;   22;     2;    0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;     3;    0;           0;    9;     deg_true; Direction of swell waves (dw1dw1 or dw2dw2)
+  0;   22;     4;    0;           0;    9;     deg_true; Direction of current (dodo>dndn or DcDc))
+  0;   22;    11;    0;           0;    6;            s; Period of waves (D'D'D'D', PaPaPaPa, or PwPw)
+  0;   22;    12;    0;           0;    6;            s; Period of wind waves
+  0;   22;    13;    0;           0;    6;            s; Period of swell waves (Pw1Pw1 or Pw2Pw2)
+  0;   22;    21;    1;           0;   10;            m; Height of waves (D'D'D'D' or HsHsHsHs)
+  0;   22;    22;    1;           0;   10;            m; Height of wind waves (HwHw)
+  0;   22;    23;    1;           0;   10;            m; Height of swell waves (Hw1Hw1 or Hw2Hw2)
+  0;   22;    25;    2;           0;   10;            m; Standard deviation wave height
+  0;   22;    26;    2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;    31;    2;           0;   13;          m/s; Speed of current (cococo>cncncn or VcVc)
+  0;   22;    37;    3;      -10000;   15;            m; Tidal elevation with respect to national land
+  0;   22;    38;    3;      -10000;   15;            m; Tidal elevation with respect to local chart
+  0;   22;    39;    3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;    40;    3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;    41;    1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;    42;    1;           0;   12;        deg_K; Sea temperature (T1T1T1>TnTnTn)
+  0;   22;    43;    2;           0;   15;        deg_K; Sea temperature (ToToToTo>TnTnTnTn)
+  0;   22;    44;    1;           0;   14;          m/s; Sound velocity
+  0;   22;    50;    2;           0;    8;        deg_K; Standard deviation sea surface temperature
+  0;   22;    61;    0;           0;    4;   code_table; State of sea
+  0;   22;    62;    2;           0;   14;          ppt; Salinity (SoSoSoSo>SnSnSnSn)
+  0;   22;    63;    0;           0;   14;            m; Total water depth (hhh or ZdZdZdZd)
+  0;   22;    67;    0;           0;   10;   code_table; Instrument type for water temperature profile measurement
+  0;   22;    68;    0;           0;    7;   code_table; Water temperature profile recorder types
+  0;   22;    70;    2;           0;   13;            m; Significant wave height (D'..D', Hm..Hm, Hs..Hs, or
+  0;   22;    71;    1;           0;    9;            s; Spectral peak wave period (Psp..Psp or Pw..Pw)
+  0;   22;    72;    0;           0;   13;            m; Spectral peak wave length (Pa..Pa, Pp..Pp, Psa..Psa,
+  0;   22;    73;    2;           0;   13;            m; Maximum wave height (D'..D', Hm..Hm, Hs..Hs, or
+  0;   22;    74;    1;           0;    9;            s; Average wave period (D'..D', Pa..Pa, Pp..Pp, Pp..Pp,
+  0;   22;    75;    0;           0;   13;            m; Average wave length (Pa..Pa, Pp..Pp, Psa..Psa, Psp..Psp,
+  0;   22;    76;    0;           0;    9;     deg_true; Direction from which dominant waves are comming
+  0;   22;    77;    0;           0;    9;          deg; Directional spread of dominant wave (dsds)
+  0;   22;    78;    0;           0;   12;            s; Duration of wave record (D'D'D'D')
+  0;   22;    79;    0;           0;   16;            m; Length of wave record (D'D'D'D')
+  0;   22;    80;    3;           0;   10;           Hz; Waveband central frequency (f1f1f1 ... fnfnfn)
+  0;   22;    81;    5;           0;   13;          1/m; Waveband central wave number (f1f1f1 ... fnfnfn)
+  0;   22;    82;    2;           0;   20;        m**2s; Sensor spectral density frequency (Cm..Cm or Csm..Csm)
+  0;   22;    83;    2;           0;   20;         m**3; Sensor spectral density number (Cm..Cm or Csm..Csm)
+  0;   22;    84;    0;           0;    7;      numeric; Sensor band number (nmnm or nsmmsm)
+  0;   22;    85;    0;           0;    7;      percent; Sensor ratio (c1c1..cnc or csncsnn)
+  0;   22;    86;    0;           0;    9;     deg_true; Mean direction from which waves are coming
+  0;   22;    87;    0;           0;    9;     deg_true; Principal direction from which waves are coming
+  0;   22;    88;    2;           0;    7;      numeric; First normalized polar coefficient (r1r1 or r2r2)
+  0;   22;    89;    2;           0;    7;      numeric; Second normalized polar coefficient (r1r1 or r2r2)
+  0;   22;    90;    2;           0;   20;        m**2s; Non-directional spectral estimate by wave frequency
+  0;   22;    91;    2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;    92;    2;           0;   20;    m**2s/rad; Directional spectral estimate by wave frequency
+  0;   22;    93;    2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;    94;    0;           0;    7;      numeric; Total number of wave bands described (BTBT)
+  0;   22;    95;    0;           0;    8;          deg; Directional spread of individual waves
+  0;   22;    96;    3;           0;    4;          1/s; Spectral band width
+  0;   22;   120;    0;           0;    5;   code_table; Tide station automated water level check
+  0;   22;   121;    0;           0;    5;   code_table; Tide station manual water level check
+  0;   22;   122;    0;           0;    5;   code_table; Tide station automated meteorological data check
+  0;   22;   123;    0;           0;    5;   code_table; Tide station manual meteorological data check
+  0;   22;   192;    6;   -10000000;   25;           cm; corrected sea sfc ht
+  0;   22;   194;    0;           0;    4;   code_table; Wave spectra exponent (x)
+  0;   22;   196;    0;           0;    7;      numeric; Number of wave bands affected by the
+  0;   22;   200;    0;           0;   14;            m; Distance sample interval (SSSS)
+  0;   22;   203;    3;           0;   10;           Hz; Frequency increment (fdfdfd)
+  0;   22;   204;    5;           0;   13;          1/m; Wave number increment (fdfdfd)
+  0;   22;   205;    3;           0;   20; m**2/(Hz*rad); Wave spectra
+  0;   22;   206;    4;           0;   10;      numeric; Drag coefficient
+  0;   22;   207;    2;           0;   16;            m; Maximum wave height
+  0;   22;   208;    2;           0;   16;            m; Significant wave height
+  0;   22;   209;    0;           0;    7;   code_table; directional spread
+  0;   22;   211;    0;           0;    8;   code_table; Bogus water mass classification
+  0;   22;   212;    0;           0;    8;   code_table; Discriminant water mass classification
+  0;   22;   213;    1;           0;   10;      percent; Classification probability
+  0;   22;   218;    0;           0;    7;      numeric; Slope sensor band number
+  0;   22;   219;    0;           0;    7;      percent; Slope sensor ratio
+  0;   22;   220;    0;           0;    8;   code_table; Front number
+  0;   22;   224;   -2;           0;   14;            m; Distance to front
+  0;   22;   232;    0;           0;    4;   code_table; Sea surface temperature method indicator
+  0;   22;   233;    0;           0;    3;   code_table; Sea temperature averaging period
+  0;   22;   236;    0;           0;    8;   code_table; Swell wave direction
+  0;   22;   237;   -2;           0;   14;            m; Significant wave height
+  0;   22;   238;   -2;           0;   14;            m; Maximum wave height
+  0;   22;   239;    0;           0;    6;      numeric; Wave spectra direction count
+  0;   22;   240;    0;           0;    6;      numeric; Wave spectra frequency count
+  0;   22;   241;    3;      -32768;   16;      Nt/m**2; Wave stress u-component
+  0;   22;   242;    3;      -32768;   16;      Nt/m**2; Wave stress v-component
+  0;   22;   243;    0;           0;    7;      percent; Whitecap probability
+  0;   22;   245;    2;           0;   16;        deg_K; Surface temperature
+  0;   22;   246;    3;      -32768;   16;      Nt/m**2; Wind stress u-component
+  0;   22;   247;    3;      -32768;   16;      Nt/m**2; Wind stress v-component
+  0;   22;   248;    0;           0;   16;     deg_true; Wind wave direction
+  0;   22;   249;    2;           0;   16;            m; Height of wind wave
+  0;   22;   250;    1;           0;   16;            s; Period of wind waves
+  0;   22;   251;    0;           0;    6;      numeric; Wave spectra direction
+  0;   22;   252;    0;           0;    6;      numeric; Wave spectra frequency
+  0;   22;   253;    0;           0;   16;     deg_true; Direction of swell waves
+  0;   22;   254;    2;           0;   16;            m; Height of swell waves
+  0;   22;   255;    1;           0;   16;            s; Period of swell waves
+  0;   23;     1;    0;           0;    3;   code_table; Accident early notification - article applicable
+  0;   23;     2;    0;           0;    5;   code_table; Activity or facility involved in incident
+  0;   23;     3;    0;           0;    3;   code_table; Type of release
+  0;   23;     4;    0;           0;    3;   code_table; Countermeasures taken near border
+  0;   23;     5;    0;           0;    2;   code_table; Cause of incident
+  0;   23;     6;    0;           0;    3;   code_table; Incident situation
+  0;   23;     7;    0;           0;    3;   code_table; Characteristic of release
+  0;   23;     8;    0;           0;    2;   code_table; State of current release
+  0;   23;     9;    0;           0;    2;   code_table; State of expected release
+  0;   23;    16;    0;           0;    2;   code_table; Possibility of significant chemical toxic health effect
+  0;   23;    17;    6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;    18;    0;           0;    3;   code_table; release behavior over time
+  0;   23;    19;    0;      -15000;   17;            m; Actual release height
+  0;   23;    21;    0;      -15000;   17;            m; Effective release height
+  0;   23;    22;    0;           0;   24;            m; Distance of relative point or site of
+  0;   23;    23;    1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;    24;    2;           0;   13;          m/s; Main transport speed in water
+  0;   23;    25;    2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;    27;    0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;    28;    0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;    29;    0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;    31;    0;           0;    2;   code_table; Possibility that plume will encounter precipitation in
+  0;   23;    32;    0;           0;    2;   code_table; Plume will encounter change in wind direction
+  0;   24;     1;  -11;           0;   28;           Bq; Estimate of radiatioactivity released up to specified
+  0;   24;     2;  -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;     3;    0;           0;    5;   code_table; Composition of release
+  0;   24;     4;    0;           0;   16;    CCITT_IA5; Element name
+  0;   24;     5;    0;           0;    9;      numeric; Isotope mass
+  0;   24;    11;    2;           0;   32;          mSv; Dose
+  0;   24;    12;    2;           0;   32;          mSv; Trajectory dose (defined location and expected time
+  0;   24;    13;    2;           0;   32;          mSv; Gamma dose in air along the main
+  0;   24;    21;    2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross
+  0;   24;    22;    2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   25;     1;   -1;           0;    6;            m; Range gate length
+  0;   25;     2;    0;           0;    4;      numeric; Number of gates averaged
+  0;   25;     3;    0;           0;    8;      numeric; Number of integrated pulses
+  0;   25;     4;    0;           0;    2;   code_table; Echo processing
+  0;   25;     5;    0;           0;    2;   code_table; Echo integration
+  0;   25;     6;    0;           0;    3;   code_table; Z to R conversion
+  0;   25;     7;    0;           0;   12;      numeric; Z to R conversion factor
+  0;   25;     8;    2;           0;    9;      numeric; Z to R conversion exponent
+  0;   25;     9;    0;           0;    4;   flag_table; Calibration method
+  0;   25;    10;    0;           0;    4;   code_table; Clutter treatment
+  0;   25;    11;    0;           0;    2;   code_table; Ground occultation correction (screening)
+  0;   25;    12;    0;           0;    2;   code_table; Range attenuation correction
+  0;   25;    13;    0;           0;    2;   flag_table; Bright band correction
+  0;   25;    15;    0;           0;    2;   flag_table; Radome attenuation correction
+  0;   25;    16;    5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;    17;    0;           0;    2;   flag_table; Precipitation attenuation correction
+  0;   25;    19;    2;           0;    7;      numeric; A to Z law for attenuation exponent
+  0;   25;    20;    0;           0;    2;   code_table; Mean speed estimation
+  0;   25;    21;    0;           0;    8;   flag_table; Wind computation enhancement
+  0;   25;    28;    7;           0;    6;      numeric; A to Z law for attenuation factor
+  0;   25;    30;    0;           0;    2;   code_table; SST usage
+  0;   25;    32;    0;           0;    2;   code_table; Wind profiler mode information
+  0;   25;    33;    0;           0;    2;   code_table; Wind profiler submode information
+  0;   25;    34;    0;           0;    4;   flag_table; Wind profiler Q/C test results
+  0;   25;    40;    0;           0;    4;   code_table; CO2 wind product derivation
+  0;   25;    41;    0;           0;    3;   code_table; Method of determining direction of moving platform
+  0;   25;    42;    0;           0;    3;   code_table; Method of determining speed of moving platform
+  0;   25;    43;    4;           0;   15;            s; Time sample interval (SSSS)
+  0;   25;    44;    2;           0;   14;            m; Distance sample interval (SSSS)
+  0;   25;    45;    0;           0;   21;   flag_table; HIRS channel combination
+  0;   25;    46;    0;           0;    5;   flag_table; MSU channel combination
+  0;   25;    47;    0;           0;    4;   flag_table; SSU channel combination
+  0;   25;    48;    0;           0;   16;   flag_table; AMSU-A channel combination
+  0;   25;    49;    0;           0;    6;   flag_table; AMSU-B channel combination
+  0;   25;    51;    0;           0;    7;   flag_table; AVHRR channel combination
+  0;   25;    53;    0;           0;   12;   flag_table; Observation quality
+  0;   25;    60;    0;           0;   14;      numeric; Software identification
+  0;   25;   192;    0;           0;    8;   code_table; Type of correction
+  0;   25;   193;    0;           0;    3;   code_table; Land/sea flag
+  0;   25;   194;    0;           0;    2;   code_table; Day/night flag
+  0;   25;   195;    0;           0;    6;      numeric; Surface model pressure
+  0;   25;   196;    0;           0;   16;      numeric; Scan line count
+  0;   25;   197;    0;           0;    5;      numeric; Box counter
+  0;   25;   198;    0;           0;    3;      numeric; Minibox counter
+  0;   25;   199;    0;           0;    3;   code_table; Water vapor flag
+  0;   25;   200;    0;           0;    3;   code_table; TOVS retrieval low 20
+  0;   25;   201;    0;           0;    3;   code_table; TOVS retrieval temps high 20
+  0;   25;   202;    0;           0;    2;   code_table; TOVS super adiabatic flag
+  0;   25;   203;    0;           0;    2;   code_table; TOVS skin temperature flag
+  0;   25;   204;    0;           0;    2;   code_table; Stratospheric sounding unit flag
+  0;   25;   205;    0;           0;    4;   code_table; Latitude zones
+  0;   25;   206;    0;           0;    4;   code_table; TOVS instrument combinations
+  0;   25;   207;    0;           0;    6;      numeric; HIRS scan position number
+  0;   25;   208;    0;           0;    8;   code_table; TARM flag
+  0;   25;   209;    0;           0;    4;   code_table; DMSP flag
+  0;   25;   211;    0;           0;   17;      numeric; B-scan start time
+  0;   25;   212;    0;           0;    7;      numeric; Counter (1-64)
+  0;   25;   213;    0;           0;    5;   code_table; Calculated surface type
+  0;   25;   214;    0;           0;    3;   code_table; Season flag
+  0;   25;   215;    0;        -127;    8;      numeric; Missing packet counter
+  0;   25;   216;    0;           0;    3;   code_table; Observation Quality Code
+  0;   26;     1;    1;           0;   12;           hr; Principle time of daily reading in UTC
+  0;   26;     2;    1;           0;   12;           hr; Principle time of daily reading in UTC
+  0;   26;     3;    0;       -1440;   12;          min; Time difference
+  0;   27;     1;    5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;     2;    2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;     3;    2;       -9000;   15;          deg; Alternate latitude
+  0;   27;    20;    0;           0;   16;      numeric; Satellite location counter
+  0;   27;    21;    0;           0;   16;      numeric; Satellite sub-location dimensions
+  0;   27;    31;    2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance
+  0;   28;     1;    5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;     2;    2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;     3;    2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;    31;    2; -1073741824;   31;            m; In direction 90 degrees East, distance from
+  0;   29;     1;    0;           0;    3;   code_table; Projection type
+  0;   29;     2;    0;           0;    3;   code_table; Coordinate grid type (Wr)
+  0;   30;     1;    0;           0;    4;      numeric; Pixel value (4 bits)
+  0;   30;     2;    0;           0;    8;      numeric; Pixel value (8 bits)
+  0;   30;     4;    0;           0;   16;      numeric; Pixel value (16 bits)
+  0;   30;    21;    0;           0;   12;      numeric; Number of pixels per row
+  0;   30;    22;    0;           0;   12;      numeric; Number of pixels per column
+  0;   30;    31;    0;           0;    4;   code_table; Picture type
+  0;   30;    32;    0;           0;   16;   flag_table; Combined picture
+  0;   31;     0;    0;           0;    1;      numeric; Short delayed descriptor replication factor
+  0;   31;     2;    0;           0;   16;      numeric; Extended delayed descriptor replication factor (65536 or
+  0;   31;    12;    0;           0;   16;      numeric; Extended delayed descriptor and data replication factor
+  0;   31;    21;    0;           0;    6;   code_table; Associated field significance
+  0;   31;    31;    0;           0;    1;   flag_table; Data present indicator
+  0;   31;   192;    0;           0;    8;   code_table; Associated QC indicator
+  0;   31;   193;    0;           0;    8;   code_table; QC description identifier, indicates why a value
+  0;   31;   194;    2;           0;    7;      numeric; Associated correlation
+  0;   31;   195;    2;           0;    7;      numeric; Associated probability of error
+  0;   31;   196;    0;           0;   13;   flag_table; UWI product confidence flag
+  0;   31;   197;    0;           0;   12;      numeric; Solution probability
+  0;   33;     2;    0;           0;    2;   code_table; Quality information
+  0;   33;     3;    0;           0;    3;   code_table; Quality information
+  0;   33;     7;    0;           0;    7;      percent; Per cent confidence
+  0;   33;    20;    0;           0;    3;   code_table; Quality control indication of following value
+  0;   33;    21;    0;           0;    2;   code_table; Quality of following value
+  0;   33;    22;    0;           0;    2;   code_table; Quality of buoy satellite transmission
+  0;   33;    23;    0;           0;    2;   code_table; Quality of buoy location
+  0;   33;    24;    0;           0;    4;   code_table; Station elevation quality mark (for mobile stations)
+  0;   33;    25;    0;           0;    3;   code_table; ACARS interpolated values table
+  0;   33;    26;    0;           0;    6;   code_table; Mixing ratio quality
+  0;   33;    35;    0;           0;    4;   code_table; manual/automatic quality control
+  0;   33;    36;    0;           0;    7;      percent; nominal confidence threshold wind dir
+  0;   48;     1;    0;           0;  128;    CCITT_IA5; Classification
+  0;   48;     2;    0;           0;  128;    CCITT_IA5; Classification modifier
+  0;   48;     3;    0;           0;  552;    CCITT_IA5; Release as
+  0;   48;     4;    0;           0;   12;           yr; Declassification - year
+  0;   48;     5;    0;           0;    4;           mo; Declassification - month
+  0;   48;     6;    0;           0;    6;          day; Declassification - day
+  0;   48;     7;    0;           0;  552;    CCITT_IA5; Release not
+  0;   48;     8;    0;           0;   64;    CCITT_IA5; Sender of original observation data
+  0;   48;     9;    0;           0;   80;    CCITT_IA5; Declassification instructions
+  0;   48;    10;    0;           0;   12;           yr; Send - year
+  0;   48;    11;    0;           0;    4;           mo; Send - month
+  0;   48;    12;    0;           0;    6;          day; Send - day
+  0;   48;    13;    0;           0;    4;           hr; Send - hour
+  0;   48;    14;    0;           0;    6;          min; Send - minutes
+  0;   48;    15;    0;           0;  552;    CCITT_IA5; Release to information
+  0;   48;    16;    0;           0;    5;           hr; Send - hour
+  0;   48;    17;    0;           0; 1104;    CCITT_IA5; Release to
+  0;   48;    18;    0;           0;  552;    CCITT_IA5; Release not
+  0;   48;    19;    0;           0;  552;    CCITT_IA5; Declassification instructions
+  0;   48;    20;    0;           0;  552;    CCITT_IA5; Classification modifier
+  0;   48;    21;    0;           0;  552;    CCITT_IA5; Sender of observational data
+  0;   48;    22;    0;           0;  160;    CCITT_IA5; Classification
+  0;   48;    27;    0;           0;   12;           yr; Receipt - year
+  0;   48;    28;    0;           0;    4;           mo; Receipt - month
+  0;   48;    29;    0;           0;    6;          day; Receipt - day
+  0;   48;    30;    0;           0;    5;           hr; Receipt - hour
+  0;   48;    31;    0;           0;    6;          min; Receipt - minutes
+  0;   48;    32;    0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;   48;    33;    0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;   48;    34;    0;           0;    6;      numeric; Near-duplicate combination count
+  0;   50;     1;    0;           0;    2;   code_table; Quality of measurement of pressure, sst, air
+  0;   50;     2;    0;           0;    2;   code_table; Quality of buoy satellite transmission (QN)
+  0;   50;     3;    0;           0;    4;   code_table; IGOSS quality codes (Qd, Qd1, Qd2, Q1,
+  0;   50;     6;    0;           0;    3;   code_table; Location quality codes (QL)
+  0;   50;    10;    2;           0;   15;        deg_K; GDEM temperature
+  0;   50;    14;    2;           0;   15;        deg_K; Feature model temperature
+  0;   50;    18;    0;           0;   16;      numeric; Reliability
+  0;   50;    33;    0;           0;    8;      numeric; Count of boundary points
+  0;   50;    34;    3;           0;   16;      numeric; Frequency ratio
+  0;   50;    35;    0;           0;   12;            s; Time step of data (time increment)
+  0;   50;    42;    2;           0;   12;      numeric; Mean wave direction
+  0;   50;    43;    3;           0;   12;      numeric; Mean wave frequency
+  0;   50;    44;    4;           0;   12;      numeric; First frequency
+  0;   50;   100;    0;           0;   12;           yr; Analysis DTG - year
+  0;   50;   101;    0;           0;    4;           mo; Analysis DTG - month
+  0;   50;   102;    0;           0;    6;          day; Analysis DTG - day
+  0;   50;   103;    0;           0;    5;           hr; Analysis DTG - hour
+  0;   50;   104;    0;           0;    6;      numeric; Last observed sea depth
+  0;   51;     3;    0;           0;    5;   flag_table; Processing status
+  0;   51;     6;    0;           0;    6;      numeric; Combination count
+  0;   51;     7;    0;           0;    2;   code_table; Quality control process status
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-008-B
@@ -0,0 +1,765 @@
+#
+# WMO source file name = BufrTabB-5-2000.txt
+# Master Table B Version 8
+#
+#                   Reference    Bit
+# F   X    Y Scale    Value     Width     Units     Comments
+#--------------------------------------------------------------
+# Class 00 - BUFR table entries
+  0;  0;   1;    0;           0;   24;   CCITT_IA5; Table A:  entry
+  0;  0;   2;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 1"
+  0;  0;   3;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 2"
+  0;  0;   5;    0;           0;   24;   CCITT_IA5; BUFR edition number
+  0;  0;  10;    0;           0;    8;   CCITT_IA5; F descriptor to be added or defined
+  0;  0;  11;    0;           0;   16;   CCITT_IA5; X descriptor to be added or defined
+  0;  0;  12;    0;           0;   24;   CCITT_IA5; Y descriptor to be added or defined
+  0;  0;  13;    0;           0;  256;   CCITT_IA5; "Element name, line 1"
+  0;  0;  14;    0;           0;  256;   CCITT_IA5; "Element name, line 2"
+  0;  0;  15;    0;           0;  192;   CCITT_IA5; Units name
+  0;  0;  16;    0;           0;    8;   CCITT_IA5; Units scale sign
+  0;  0;  17;    0;           0;   24;   CCITT_IA5; Units scale
+  0;  0;  18;    0;           0;    8;   CCITT_IA5; Units reference sign
+  0;  0;  19;    0;           0;   80;   CCITT_IA5; Units reference value
+  0;  0;  20;    0;           0;   24;   CCITT_IA5; Element data width
+  0;  0;  30;    0;           0;   48;   CCITT_IA5; Descriptor defining sequence
+# Class 01 - Identification
+  0;  1;   1;    0;           0;    7;     Numeric; WMO block number
+  0;  1;   2;    0;           0;   10;     Numeric; WMO station number
+  0;  1;   3;    0;           0;    3;  Code_Table; WMO Region number/geographical area
+  0;  1;   4;    0;           0;    3;     Numeric; WMO Region sub-area (see Note 9)
+  0;  1;   5;    0;           0;   17;     Numeric; Buoy/platform identifier
+  0;  1;   6;    0;           0;   64;   CCITT_IA5; Aircraft flight number
+  0;  1;   7;    0;           0;   10;  Code_Table; Satellite identifier
+  0;  1;   8;    0;           0;   64;   CCITT_IA5; Aircraft registration number
+  0;  1;   9;    0;           0;   64;   CCITT_IA5; Type of commercial aircraft
+  0;  1;  10;    0;           0;   64;   CCITT_IA5; Stationary buoy platform identifier; e.g. C-MAN buoys
+  0;  1;  11;    0;           0;   72;   CCITT_IA5; Ship or mobile land station identifier
+  0;  1;  12;    0;           0;    9; Degree_true; Direction of motion of moving observing platform
+  0;  1;  13;    0;           0;   10;       m s1; Speed of motion of moving observing platform
+  0;  1;  14;    2;           0;   10;       m s1; Platform drift speed (high precision)
+  0;  1;  15;    0;           0;  160;   CCITT_IA5; Station or site name
+  0;  1;  18;    0;           0;   40;   CCITT_IA5; Short station or site name
+  0;  1;  20;    0;           0;    4;     Numeric; WMO Region sub-area
+  0;  1;  21;    0;           0;   14;     Numeric; Synoptic feature identifier
+  0;  1;  22;    0;           0;  224;   CCITT_IA5; Name of feature (see Note 11)
+  0;  1;  25;    0;           0;   24;   CCITT_IA5; Storm identifier
+  0;  1;  26;    0;           0;   64;   CCITT_IA5; WMO storm name*
+  0;  1;  27;    0;           0;   80;   CCITT_IA5; WMO long storm name
+  0;  1;  31;    0;           0;   16;  Code_Table; Identification of originating/generating centre (see Note 10)
+  0;  1;  32;    0;           0;    8;  Code_Table; Generating application
+  0;  1;  33;    0;           0;    8;  Code_Table; Identification of originating/generating centre
+  0;  1;  34;    0;           0;    8;  Code_Table; Identification of originating/generating sub-centre
+  0;  1;  41;    5; -1073741824;   31;       m s-1; Absolute platform velocity - first component (see Note 6)
+  0;  1;  42;    5; -1073741824;   31;       m s-1; Absolute platform velocity - second component (see Note 6)
+  0;  1;  43;    5; -1073741824;   31;       m s-1; Absolute platform velocity - third component (see Note 6)
+  0;  1;  50;    0;           0;   17;     Numeric; Platform transmitter ID number
+  0;  1;  51;    0;           0;   96;   CCITT_IA5; Platform transmitter ID number
+  0;  1;  60;    0;           0;   64;   CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;  1;  62;    0;           0;   32;   CCITT_IA5; Short ICAO location indicator
+  0;  1;  63;    0;           0;   64;   CCITT_IA5; ICAO location indicator
+  0;  1;  64;    0;           0;   32;   CCITT_IA5; Runway designator
+  0;  1;  75;    0;           0;   40;   CCITT_IA5; Tide station identification
+# Class 02 - Instrumentation
+  0;  2;   1;    0;           0;    2;  Code_Table; Type of station
+  0;  2;   2;    0;           0;    4;  Flag_Table; Type of instrumentation for wind measurement
+  0;  2;   3;    0;           0;    4;  Code_Table; Type of measuring equipment used
+  0;  2;   4;    0;           0;    4;  Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;  2;   5;    2;           0;    7;           K; Precision of temperature observation
+  0;  2;  11;    0;           0;    8;  Code_Table; Radiosonde type
+  0;  2;  12;    0;           0;    4;  Code_Table; Radiosonde computational method
+  0;  2;  13;    0;           0;    4;  Code_Table; Solar and infrared radiation correction
+  0;  2;  14;    0;           0;    7;  Code_Table; Tracking technique/status of system used
+  0;  2;  15;    0;           0;    4;  Code_Table; Radiosonde completeness
+  0;  2;  19;    0;           0;   11;  Code_Table; Satellite instruments
+  0;  2;  20;    0;           0;    9;  Code_Table; Satellite classification
+  0;  2;  21;    0;           0;    9;  Flag_Table; Satellite instrument data used in processing*
+  0;  2;  22;    0;           0;    8;  Flag_Table; Satellite data-processing technique used
+  0;  2;  23;    0;           0;    4;  Code_Table; Satellite derived wind computation method
+  0;  2;  24;    0;           0;    4;  Code_Table; Integrated mean humidity computational method
+  0;  2;  25;    0;           0;   25;  Flag_Table; Satellite channel(s) used in computation
+  0;  2;  26;    2;           0;   12;           m; Cross track resolution
+  0;  2;  27;    2;           0;   12;           m; Along track resolution
+  0;  2;  28;    0;           0;   18;           m; Segment size at nadir in X direction
+  0;  2;  29;    0;           0;   18;           m; Segment size at nadir in Y direction
+  0;  2;  30;    0;           0;    3;  Code_Table; Method of current measurement
+  0;  2;  31;    0;           0;    5;  Code_Table; Duration and time of current measurement
+  0;  2;  32;    0;           0;    2;  Code_Table; Indicator for digitization
+  0;  2;  33;    0;           0;    3;  Code_Table; Method of salinity/depth measurement
+  0;  2;  34;    0;           0;    5;  Code_Table; Drogue type
+  0;  2;  35;    0;           0;    9;           m; Cable length
+  0;  2;  36;    0;           0;    2;  Code_Table; Buoy type
+  0;  2;  37;    0;           0;    3;  Code_Table; Method of tidal observation
+  0;  2;  38;    0;           0;    4;  Code_Table; Method of sea-surface temperature measurement
+  0;  2;  39;    0;           0;    3;  Code_Table; Method of wet-bulb temperature measurement
+  0;  2;  40;    0;           0;    4;  Code_Table; Method of removing velocity and motion of platform from current
+  0;  2;  41;    0;           0;    6;  Code_Table; Method for estimating reports related to synoptic features
+  0;  2;  44;    0;           0;    4;  Code_Table; Indicator for method of calculating spectral wave data
+  0;  2;  45;    0;           0;    4;  Code_Table; Indicator for type of platform
+  0;  2;  46;    0;           0;    4;  Code_Table; Wave measurement instrumentation
+  0;  2;  48;    0;           0;    4;  Code_Table; Satellite sensor indicator
+  0;  2;  49;    0;           0;    8;  Flag_Table; Geostationary satellite data-processing technique used
+  0;  2;  50;    0;           0;   20;  Flag_Table; Geostationary sounder satellite channels used
+  0;  2;  51;    0;           0;    4;  Code_Table; Indicator to specify observing method for extreme temperatures
+  0;  2;  52;    0;           0;    6;  Flag_Table; Geostationary imager satellite channels used
+  0;  2;  53;    0;           0;    4;  Code_Table; GOES-I/M brightness temperature characteristics
+  0;  2;  54;    0;           0;    4;  Code_Table; GOES-I/M soundings parameter characteristics
+  0;  2;  55;    0;           0;    4;  Code_Table; Geostationary soundings statistical parameters
+  0;  2;  56;    0;           0;    4;  Code_Table; Geostationary soundings accuracy statistics
+  0;  2;  57;    0;           0;    4;  Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;  2;  58;    0;           0;    4;  Valid times of first guess information for GOES-I/M soundings
+  0;  2;  59;    0;           0;    4;  Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;  2;  60;    0;           0;    4;  Code_Table; Origin of surface information for GOES-I/M soundings
+  0;  2;  61;    0;           0;    3;  Code_Table; Aircraft navigational system
+  0;  2;  62;    0;           0;    4;  Code_Table; Type of aircraft data relay system
+  0;  2;  63;    2;      -18000;   16;      Degree; Aircraft roll angle
+  0;  2;  64;    0;           0;    2;  Code_Table; Aircraft roll angle quality
+  0;  2;  65;    0;           0;   40;   CCITT_IA5; ACARS ground receiving station
+  0;  2;  70;    0;           0;    4;  Code_Table; Original specification of latitude/longitude
+  0;  2;  91;    0;           4;   10;           A; Entry sensor 4/20 mA
+  0;  2; 100;    1;           0;   12;          dB; Radar constant*
+  0;  2; 101;    0;           0;    4;  Code_Table; Type of antenna
+  0;  2; 102;    0;           0;    8;           m; Antenna height above tower base
+  0;  2; 103;    0;           0;    2;  Flag_Table; Radome
+  0;  2; 104;    0;           0;    4;  Code_Table; Antenna polarisation
+  0;  2; 105;    0;           0;    6;          dB; Maximum antenna gain
+  0;  2; 106;    1;           0;    6;      Degree; 3-dB beamwidth
+  0;  2; 107;    0;           0;    6;          dB; Sidelobe suppression
+  0;  2; 108;    0;           0;    6;          dB; Crosspol discrimination (on axis)
+  0;  2; 109;    2;           0;   12;  Degree s-1; Antenna speed (azimuth)
+  0;  2; 110;    2;           0;   12;  Degree s-1; Antenna speed (elevation)
+  0;  2; 111;    1;           0;   10;      Degree; Radar incidence angle
+  0;  2; 112;    1;           0;   12;      Degree; Radar look angle
+  0;  2; 113;    0;           0;    4;     Numeric; Number of azimuth looks
+  0;  2; 114;    0;           0;   15;          m2; Antenna effective surface area
+  0;  2; 121;   -8;           0;    7;          Hz; Mean frequency
+  0;  2; 122;   -6;        -128;    8;          Hz; Frequency agility range
+  0;  2; 123;   -4;           0;    7;           W; Peak power
+  0;  2; 124;   -1;           0;    7;           W; Average power
+  0;  2; 125;   -1;           0;    8;          Hz; Pulse repetition frequency
+  0;  2; 126;    7;           0;    6;           s; Pulse width
+  0;  2; 127;   -6;           0;    7;          Hz; Receiver intermediate frequency
+  0;  2; 128;   -5;           0;    6;          Hz; Intermediate frequency bandwidth
+  0;  2; 129;    0;        -150;    5;          dB; Minimum detectable signal
+  0;  2; 130;    0;           0;    7;          dB; Dynamic range
+  0;  2; 131;    0;           0;    2;  Flag_Table; Sensitivity time control (STC)
+  0;  2; 132;    2;           0;    6;      Degree; Azimuth pointing accuracy
+  0;  2; 133;    2;           0;    6;      Degree; Elevation pointing accuracy
+  0;  2; 134;    2;           0;   16;      Degree; Antenna beam azimuth
+  0;  2; 135;    2;       -9000;   15;      Degree; Antenna elevation
+  0;  2; 136;   -3;           0;   16;           m; Range processed by range attenuation correction
+  0;  2; 140;    0;           0;    9;      Degree; Satellite radar beam azimuth angle
+  0;  2; 141;    0;           0;   24;   CCITT_IA5; Measurement type
+  0;  2; 142;    0;           0;   32;   CCITT_IA5; Ozone instrument serial number/ identification
+  0;  2; 143;    0;           0;    7;  Code_Table; Ozone instrument type
+  0;  2; 144;    0;           0;    4;  Code_Table; Light source type for Brewer spectro photometer
+  0;  2; 145;    0;           0;    4;  Code_Table; Wave length setting for Dobson instruments
+  0;  2; 146;    0;           0;    4;  Code_Table; Source conditions for Dobson instruments
+  0;  2; 148;    0;           0;    5;  Code_Table; Data collection and/or location system
+  0;  2; 149;    0;           0;    6;  Code_Table; Type of data buoy
+  0;  2; 150;    0;           0;    6;  Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number
+  0;  2; 151;    0;           0;    4;  Code_Table; Radiometer identifier
+  0;  2; 152;    0;           0;   31;  Flag_Table; Satellite instrument used in data processing(6)
+  0;  2; 153;   -8;           0;   26;          Hz; Satellite channel centre frequency
+  0;  2; 154;   -8;           0;   26;          Hz; Satellite channel band width
+  0;  2; 163;    0;           0;    4;  Code_Table; Height assignment method
+  0;  2; 164;    0;           0;    3;  Code_Table; Tracer correlation method
+  0;  2; 166;    0;           0;    4;  Code_Table; Radiance type
+  0;  2; 167;    0;           0;    4;  Code_Table; Radiance computational method
+  0;  2; 168;   -3;           0;   16;          Pa; Hydrostatic pressure of lower end of cable (thermistor string)
+  0;  2; 169;    0;           0;    4;  Code_Table; Anemometer type
+# Class 04 - Location (time)
+  0;  4;   1;    0;           0;   12;        Year; Year
+  0;  4;   2;    0;           0;    4;       Month; Month
+  0;  4;   3;    0;           0;    6;         Day; Day
+  0;  4;   4;    0;           0;    5;        Hour; Hour
+  0;  4;   5;    0;           0;    6;      Minute; Minute
+  0;  4;   6;    0;           0;    6;      Second; Second
+  0;  4;  11;    0;       -1024;   11;        Year; Time increment
+  0;  4;  12;    0;       -1024;   11;       Month; Time increment
+  0;  4;  13;    0;       -1024;   11;         Day; Time increment
+  0;  4;  14;    0;       -1024;   11;        Hour; Time increment
+  0;  4;  15;    0;       -2048;   12;      Minute; Time increment
+  0;  4;  16;    0;       -4096;   13;      Second; Time increment
+  0;  4;  21;    0;       -1024;   11;        Year; Time period or displacement
+  0;  4;  22;    0;       -1024;   11;       Month; Time period or displacement
+  0;  4;  23;    0;       -1024;   11;         Day; Time period or displacement
+  0;  4;  24;    0;       -2048;   12;        Hour; Time period or displacement
+  0;  4;  25;    0;       -2048;   12;      Minute; Time period or displacement
+  0;  4;  26;    0;       -4096;   13;      Second; Time period or displacement
+  0;  4;  31;    0;           0;    8;        Hour; Duration of time relating to following value
+  0;  4;  32;    0;           0;    6;      Minute; Duration of time relating to following value
+  0;  4;  41;    0;       -1440;   12;      Minute; "Time difference, UTC -LMT (see Note 6)"
+  0;  4;  43;    0;           0;    9;         Day; Day of the year
+  0;  4;  53;    0;           0;    6;     Numeric; Number of days with precipitation equal to or more than 1 mm
+  0;  4;  65;    0;        -128;    8;      Minute; Short time increment
+  0;  4;  73;    0;        -128;    8;         Day; Short time period or displacement
+  0;  4;  74;    0;        -128;    8;        Hour; Short time period or displacement
+  0;  4;  75;    0;        -128;    8;      Minute; Short time period or displacement
+# Class 05 - Location (horizontal -1)
+  0;  5;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0;  5;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0;  5;  11;    5;    -9000000;   25;      Degree; Latitude increment (high accuracy)
+  0;  5;  12;    2;       -9000;   15;      Degree; Latitude increment (coarse accuracy)
+  0;  5;  21;    2;           0;   16; Degree_true; Bearing or azimuth
+  0;  5;  22;    2;           0;   16; Degree_true; Solar azimuth
+  0;  5;  30;    0;           0;   12;      Degree; Direction (spectral)
+  0;  5;  31;    0;           0;   12;     Numeric; Row number
+  0;  5;  33;   -1;           0;   16;           m; Pixel size on horizontal - 1
+  0;  5;  34;    0;           0;   11;     Numeric; Along track row number
+  0;  5;  40;    0;           0;   24;     Numeric; Orbit number
+  0;  5;  41;    0;           0;    8;     Numeric; Scan line number
+  0;  5;  42;    0;           0;    6;     Numeric; Channel number
+  0;  5;  43;    0;           0;    8;     Numeric; Field of view number
+  0;  5;  52;    0;           0;    5;     Numeric; Channel number increment
+  0;  5;  53;    0;           0;    5;     Numeric; Field of view number increment
+# Class 06 - Location (horizontal - 2)
+  0;  6;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0;  6;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0;  6;  11;    5;   -18000000;   26;      Degree; Longitude increment (high accuracy)
+  0;  6;  12;    2;      -18000;   16;      Degree; Longitude increment (coarse accuracy)
+  0;  6;  21;   -1;           0;   13;           m; Distance
+  0;  6;  30;    5;           0;   13;     rad m-1; Wave number (spectral)
+  0;  6;  31;    0;           0;   12;     Numeric; Column number
+  0;  6;  33;   -1;           0;   16;           m; Pixel size on horizontal - 2
+  0;  6;  34;    0;           0;    7;     Numeric; Cross-track cell number
+  0;  6;  40;    0;           0;   13;           m; Radius of confidence
+# Class 07 - Location (vertical)
+  0;  7;   1;    0;        -400;   15;           m; Height of station
+  0;  7;   2;   -1;         -40;   16;           m; Height or altitude
+  0;  7;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0;  7;   4;   -1;           0;   14;          Pa; Pressure
+  0;  7;   5;    0;        -400;   12;           m; Height increment
+  0;  7;   6;    0;           0;   15;           m; Height above station
+  0;  7;   7;    0;       -1000;   17;           m; Height
+  0;  7;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0;  7;   9;    0;           0;   17;         gpm; Geopotential height
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation (see Note 1)
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation
+  0;  7;  22;    2;       -9000;   15;      Degree; Solar elevation
+  0;  7;  24;    2;       -9000;   15;      Degree; Satellite zenith angle
+  0;  7;  25;    2;       -9000;   15;      Degree; Solar zenith angle
+  0;  7;  61;    2;           0;   14;           m; Depth below land surface
+  0;  7;  62;    1;           0;   17;           m; Depth below sea/water surface
+  0;  7;  64;    0;           0;    4;           m; Height above station (sensor height artificially corrected) (see Note 2)
+  0;  7;  70;    0;           0;   10;           m; Drogue depth
+# Class 08 - Significance qualifiers
+  0;  8;   1;    0;           0;    7;  Flag_Table; Vertical sounding significance
+  0;  8;   2;    0;           0;    6;  Code_Table; Vertical significance (surface observations)
+  0;  8;   3;    0;           0;    6;  Code_Table; Vertical significance (satellite observations)
+  0;  8;   4;    0;           0;    3;  Code_Table; Phase of aircraft flight
+  0;  8;   5;    0;           0;    4;  Code_Table; Meteorological attribute significance
+  0;  8;   6;    0;           0;    9;  Flag_Table; Ozone vertical sounding significance
+  0;  8;   7;    0;           0;    4;  Code_Table; Dimensional significance
+  0;  8;   8;    0;           0;    9;  Flag_Table; Radiation vertical sounding significance
+  0;  8;  11;    0;           0;    6;  Code_Table; Meteorological feature
+  0;  8;  12;    0;           0;    2;  Code_Table; Land/sea qualifier
+  0;  8;  13;    0;           0;    2;  Code_Table; Day/night qualifier
+  0;  8;  14;    0;           0;    4;  Code_Table; Qualifier for runway visual range
+  0;  8;  16;    0;           0;    3;  Code_Table; Change qualifier of a trend-type forecast or an aerodrome forecast
+  0;  8;  17;    0;           0;    2;  Code_Table; Qualifier of the time when the forecast change is expected
+  0;  8;  18;    0;           0;   17;  Flag_Table; SEAWINDS land/ice surface type
+  0;  8;  20;    0;           0;   16;     Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;  8;  21;    0;           0;    5;  Code_Table; Time significance
+  0;  8;  22;    0;           0;   16;     Numeric; Total number (with respect to accumulation or average)
+  0;  8;  23;    0;           0;    6;  Code_Table; First order statistics
+  0;  8;  24;    0;           0;    6;  Code_Table; Difference statistics
+  0;  8;  25;    0;           0;    4;  Code_Table; Time difference qualifier
+  0;  8;  30;    0;           0;   13;     Numeric; "Manual on Codes (Volume I.1, Section C) Code table from which data are derived"
+  0;  8;  31;    0;           0;    8;     Numeric; Data category CREX table A
+  0;  8;  35;    0;           0;    3;  Code_Table; Type of monitoring exercise
+  0;  8;  36;    0;           0;    3;  Code_Table; Type of centre or station performing monitoring
+  0;  8;  51;    0;           0;    3;  Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;  8;  52;    0;           0;    5;  Code_Table; Condition for which number of days of occurrence follows
+  0;  8;  53;    0;           0;    2;  Code_Table; Day of occurrence qualifier
+  0;  8;  60;    0;           0;    4;  Code_Table; Sample scanning mode significance
+  0;  8;  70;    0;           0;    4;  Code_Table; TOVS/ATOVS product qualifier
+  0;  8;  72;    0;           0;    3;  Code_Table; Pixel(s) type
+# Class 10 - Non-coordinate location (vertical)
+  0; 10;   1;    0;        -400;   15;           m; Height of land surface
+  0; 10;   2;   -1;         -40;   16;           m; Height
+  0; 10;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0; 10;   4;   -1;           0;   14;          Pa; Pressure
+  0; 10;   7;    0;       -1000;   17;           m; Height
+  0; 10;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0; 10;   9;    0;           0;   17;         gpm; Geopotential height
+  0; 10;  31;    2; -1073741824;   31;           m; "In direction of the North Pole, distance from the Earths centre"
+  0; 10;  50;    2;           0;   16;           m; Standard deviation altitude
+  0; 10;  51;   -1;           0;   14;          Pa; Pressure reduced to mean sea level
+  0; 10;  52;   -1;           0;   14;          Pa; Altimeter setting (QNH)
+  0; 10;  60;   -1;       -1024;   11;          Pa; Pressure change
+  0; 10;  61;   -1;        -500;   10;          Pa; 3-hour pressure change
+  0; 10;  62;   -1;       -1000;   11;          Pa; 24-hour pressure change
+  0; 10;  63;    0;           0;    4;  Code_Table; Characteristic of pressure tendency
+  0; 10;  70;    0;        -400;   16;           m; Indicated aircraft altitude
+# Class 11 - Wind and turbulence
+  0; 11;   1;    0;           0;    9; Degree_true; Wind direction
+  0; 11;   2;    1;           0;   12;       m s-1; Wind speed
+  0; 11;   3;    1;       -4096;   13;       m s-1; u-component
+  0; 11;   4;    1;       -4096;   13;       m s-1; v-component
+  0; 11;   5;    1;        -512;   10;      Pa s-1; w-component
+  0; 11;   6;    2;       -4096;   13;       m s-1; w-component
+  0; 11;  11;    0;           0;    9; Degree_true; Wind direction at 10 m
+  0; 11;  12;    1;           0;   12;       m s-1; Wind speed at 10 m
+  0; 11;  13;    0;           0;    9; Degree_true; Wind direction at 5 m
+  0; 11;  14;    1;           0;   12;       m s-1; Wind speed at 5 m
+  0; 11;  16;    0;           0;    9; Degree_true; Extreme counterclockwise wind direction of a variable wind
+  0; 11;  17;    0;           0;    9; Degree_true; Extreme clockwise wind direction of a variable wind
+  0; 11;  19;    0;           0;    7;           %; Steadiness of wind*
+  0; 11;  21;    9;      -65536;   17;         s-1; Relative vorticity
+  0; 11;  22;    9;      -65536;   17;         s-1; Divergence
+  0; 11;  23;   -2;      -65536;   17;      m2 s-1; Velocity potential
+  0; 11;  31;    0;           0;    4;  Code_Table; Degree of turbulence
+  0; 11;  32;   -1;         -40;   16;           m; Height of base of turbulence
+  0; 11;  33;   -1;         -40;   16;           m; Height of top of turbulence
+  0; 11;  34;    1;       -1024;   11;       m s-1; Vertical gust velocity
+  0; 11;  35;    2;       -8192;   14;       m s-2; Vertical gust acceleration
+  0; 11;  36;    1;           0;   10;       m s-1; Maximum derived equivalent vertical gust speed
+  0; 11;  40;    1;           0;   12;       m s-1; Maximum wind speed (mean wind)
+  0; 11;  41;    1;           0;   12;       m s-1; Maximum wind speed (gusts)
+  0; 11;  42;    1;           0;   12;       m s-1; Maximum wind speed (10-min mean wind)
+  0; 11;  43;    0;           0;    9; Degree_true; Maximum wind gust direction
+  0; 11;  44;    0;           0;    9; Degree_true; Mean wind direction for surface - 1500 m (5000 feet)
+  0; 11;  45;    1;           0;   12;       m s-1; Mean wind speed for surface - 1500 m (5000 feet)
+  0; 11;  49;    0;           0;    9; Degree_true; Standard deviation of wind direction
+  0; 11;  50;    1;           0;   12;       m s-1; Standard deviation of horizontal wind speed
+  0; 11;  51;    1;           0;    8;       m s-1; Standard deviation of vertical wind speed
+  0; 11;  52;    2;           0;   14;       m s-1; Formal uncertainty in wind speed
+  0; 11;  53;    2;           0;   15; Degree_true; Formal uncertainty in wind direction
+  0; 11;  61;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer below
+  0; 11;  62;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer above
+  0; 11;  70;    0;           0;   32;   CCITT_IA5; Designator of the runway affected by wind shear (including ALL)
+  0; 11;  71;    3;        -128;   14;      m2 s-2; Turbulent vertical momentum flux
+  0; 11;  72;    3;        -128;   11;     K m s-1; Turbulent vertical buoyancy flux
+  0; 11;  73;    2;       -1024;   13;      m2 s-2; Turbulent kinetic energy
+  0; 11;  74;    2;       -1024;   10;      m2 s-2; Dissipation energy
+  0; 11;  75;    2;           0;    8;    m2/3 s-1; Mean turbulence intensity (eddy dissipation rate)
+  0; 11;  76;    2;           0;    8;    m2/3 s-1; Peak turbulence intensity (eddy dissipation rate)
+  0; 11;  81;    2;           0;   16; Degree_true; Model wind direction at 10m
+  0; 11;  82;    2;           0;   13;       m s-1; Model wind speed at 10m
+# Class 12 - Temperature
+  0; 12;   1;    1;           0;   12;           K; Temperature/dry-bulb temperature
+  0; 12;   2;    1;           0;   12;           K; Wet-bulb temperature
+  0; 12;   3;    1;           0;   12;           K; Dew-point temperature
+  0; 12;   4;    1;           0;   12;           K; Dry-bulb temperature at 2 m
+  0; 12;   5;    1;           0;   12;           K; Wet-bulb temperature at 2 m
+  0; 12;   6;    1;           0;   12;           K; Dew-point temperature at 2 m
+  0; 12;   7;    1;           0;   12;           K; Virtual temperature
+  0; 12;  11;    1;           0;   12;           K; "Maximum temperature, at height and over period specified"
+  0; 12;  12;    1;           0;   12;           K; "Minimum temperature, at height and over period specified"
+  0; 12;  13;    1;           0;   12;           K; "Ground minimum temperature, past 12 hours"
+  0; 12;  14;    1;           0;   12;           K; "Maximum temperature at 2 m, past 12 hours"
+  0; 12;  15;    1;           0;   12;           K; "Minimum temperature at 2 m, past 12 hours"
+  0; 12;  16;    1;           0;   12;           K; "Maximum temperature at 2 m, past 24 hours"
+  0; 12;  17;    1;           0;   12;           K; "Minimum temperature at 2 m, past 24 hours"
+  0; 12;  30;    1;           0;   12;           K; Soil temperature
+  0; 12;  51;    1;           0;   10;           K; Standard deviation temperature
+  0; 12;  52;    1;           0;   12;           K; Highest daily mean temperature
+  0; 12;  53;    1;           0;   12;           K; Lowest daily mean temperature
+  0; 12;  61;    1;           0;   12;           K; Skin temperature
+  0; 12;  62;    1;           0;   12;           K; Equivalent black body temperature
+  0; 12;  63;    1;           0;   12;           K; Brightness temperature
+  0; 12;  64;    1;           0;   12;           K; Instrument temperature
+  0; 12;  71;    1;           0;   12;           K; Coldest cluster temperature
+  0; 12;  72;    6;           0;   31;  W m-2 sr-1; Radiance
+  0; 12;  75;   -3;           0;   16;  W m-3 sr-1; Spectral radiance
+  0; 12;  76;    3;           0;   16;  W m-2 sr-1; Radiance
+# Class 13 - Hygrographic and hydrological elements
+  0; 13;   1;    5;           0;   14;     kg kg-1; Specific humidity
+  0; 13;   2;    5;           0;   14;     kg kg-1; Mixing ratio
+  0; 13;   3;    0;           0;    7;           %; Relative humidity
+  0; 13;   4;   -1;           0;   10;          Pa; Vapour pressure
+  0; 13;   5;    3;           0;    7;      kg m-3; Vapour density
+  0; 13;   6;   -1;         -40;   16;           m; Mixing heights
+  0; 13;  11;    1;          -1;   14;      kg m-2; Total precipitation/total water equivalent
+  0; 13;  12;    2;          -2;   12;           m; Depth of fresh snow
+  0; 13;  13;    2;          -2;   16;           m; Total snow depth
+  0; 13;  14;    4;           0;   12;  kg m-2 s-1; Rainfall/water equivalent of snow (averaged rate)
+  0; 13;  15;    7;           0;   12;       m s-1; Snowfall  (averaged rate)
+  0; 13;  16;    0;           0;    7;      kg m-2; Precipitable water
+  0; 13;  19;    1;          -1;   14;      kg m-2; Total precipitation past 1 hour
+  0; 13;  20;    1;          -1;   14;      kg m-2; Total precipitation past 3 hours
+  0; 13;  21;    1;          -1;   14;      kg m-2; Total precipitation past 6 hours
+  0; 13;  22;    1;          -1;   14;      kg m-2; Total precipitation past 12 hours
+  0; 13;  23;    1;          -1;   14;      kg m-2; Total precipitation past 24 hours
+  0; 13;  31;    0;           0;    7;      kg m-2; Evapotranspiration
+  0; 13;  32;    1;           0;    8;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  33;    1;           0;   10;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  38;    0;           0;    2;  Code_Table; Superadiabatic indicator
+  0; 13;  39;    0;           0;    3;  Code_Table; Terrain type (ice/snow)
+  0; 13;  41;    0;           0;    4;  Code_Table; Pasquill-Gifford stability category
+  0; 13;  42;    0;         -20;    6;           K; Parcel lifted index (to 500 hPa)
+  0; 13;  43;    0;         -20;    6;           K; Best lifted index (to 500 hPa)
+  0; 13;  51;    0;           0;    4;  Code_Table; "Frequency group, precipitation"
+  0; 13;  52;    1;          -1;   14;      kg m-2; Highest daily amount of precipitation
+  0; 13;  60;    1;         -10;   17;      kg m-2; Total accumulated precipitation
+  0; 13;  71;    2;           0;   14;           m; Upstream water level
+  0; 13;  72;    2;           0;   14;           m; Downstream water level
+  0; 13;  73;    2;           0;   14;           m; Maximum water level
+  0; 13;  80;    1;           0;   10;     pH unit; Water pH
+  0; 13;  81;    3;           0;   14; Siemens m-1; Water conductivity
+  0; 13;  82;    1;           0;   12;           K; Water temperature
+  0; 13;  83;    6;           0;   15;      Kg m-3; Dissolved oxygen
+  0; 13;  84;    0;           0;   14;       Lumen; Turbidity
+  0; 13;  85;    3;           0;   14;           V; Oxydation Reduction Potential (ORP)
+# Class 14 - Radiation and radiance
+  0; 14;   1;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over 24 hours"
+  0; 14;   2;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over period specified"
+  0; 14;   3;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over 24 hours"
+  0; 14;   4;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over period specified"
+  0; 14;  11;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over 24 hours"
+  0; 14;  12;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over period specified"
+  0; 14;  13;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over 24 hours"
+  0; 14;  14;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over period specified"
+  0; 14;  15;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over 24 hours"
+  0; 14;  16;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over period specified"
+  0; 14;  17;   -3;       -2048;   12;       W m-2; Instantaneous long-wave radiation
+  0; 14;  18;   -3;       -2048;   12;       W m-2; Instantaneous short-wave radiation
+  0; 14;  19;    0;           0;    7;           %; Surface albedo
+  0; 14;  20;   -4;           0;   15;       J m-2; "Global solar radiation, integrated over 24 hours"
+  0; 14;  21;   -4;           0;   15;       J m-2; "Global radiation, integrated over period specified"
+  0; 14;  22;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over 24 hours"
+  0; 14;  23;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over period specified"
+  0; 14;  24;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over 24 hours"
+  0; 14;  25;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over period specified"
+  0; 14;  26;    0;           0;    7;           %; Albedo at the top of clouds
+  0; 14;  27;    0;           0;    7;           %; Albedo
+  0; 14;  31;    0;           0;   11;      Minute; Total sunshine
+  0; 14;  32;    0;           0;   10;        Hour; Total sunshine
+  0; 14;  33;    0;           0;    9;           %; Total sunshine
+  0; 14;  42;    0;           0;    7;           %; Bidirectional reflectance
+  0; 14;  45;    0;           0;   11;Wm-2 sr-1 cm-1; Channel radiance
+  0; 14;  51;   -3;           0;   14;       J m-2; Direct solar radiation integrated over last hour
+# Class 15 - Physical/chemical constituents
+  0; 15;   1;    0;           0;   10;      Dobson; Ozone
+  0; 15;   2;    2;           0;   10;     Numeric; Air mass (slant path at 22 km)
+  0; 15;   3;    4;           0;    9;      Pascal; Measured ozone partial pressure (sounding)
+  0; 15;   4;    3;           0;   11;     Numeric; Ozone sounding correction factor
+  0; 15;   5;    0;           0;   10;          DU; Ozone p
+  0; 15;  11;    3;       14000;   13;  log (1/m2); Log 10 of integrated electron density
+  0; 15;  15;    0;           0;   31;     Numeric; Maximum image spectral component before normalization
+# Class 19 - Synoptic features
+  0; 19;   1;    0;           0;    6;  Code_Table; Type of synoptic feature
+  0; 19;   2;   -2;           0;   12;           m; Effective radius of feature
+  0; 19;   3;    0;           0;    8;       m s-1; Wind speed threshold
+  0; 19;   4;   -2;           0;   12;           m; Effective radius with respect to wind speeds above threshold
+  0; 19;   5;    0;           0;    9; Degree_true; Direction of motion of feature
+  0; 19;   6;    2;           0;   14;       m s-1; Speed of motion of feature
+  0; 19;   7;   -3;           0;   12;           m; Effective radius of feature
+  0; 19;   8;    0;           0;    3;  Code_Table; Vertical extent of circulation
+  0; 19;   9;   -3;           0;   12;           m; Effective radius with respect to wind speeds above threshold (large storms)
+  0; 19;  10;    0;           0;    4;  Code_Table; Method for tracking the centre of synoptic feature
+# Class 20 - Observed phenomena
+  0; 20;   1;   -1;           0;   13;           m; Horizontal visibility
+  0; 20;   2;   -1;           0;    7;           m; Vertical visibility
+  0; 20;   3;    0;           0;    9;  Code_Table; Present weather
+  0; 20;   4;    0;           0;    5;  Code_Table; Past weather (1)
+  0; 20;   5;    0;           0;    5;  Code_Table; Past weather (2)
+  0; 20;   8;    0;           0;    5;  Code_Table; Cloud distribution for aviation
+  0; 20;   9;    0;           0;    4;  Code_Table; General Weather Indicator (TAF/METAR)
+  0; 20;  10;    0;           0;    7;           %; Cloud cover (total)
+  0; 20;  11;    0;           0;    4;  Code_Table; Cloud amount
+  0; 20;  12;    0;           0;    6;  Code_Table; Cloud type
+  0; 20;  13;   -1;         -40;   11;           m; Height of base of cloud
+  0; 20;  14;   -1;         -40;   11;           m; Height of top of cloud
+  0; 20;  15;   -1;           0;   14;          Pa; Pressure at base of cloud
+  0; 20;  16;   -1;           0;   14;          Pa; Pressure at top of cloud
+  0; 20;  17;    0;           0;    4;  Code_Table; Cloud top description
+  0; 20;  18;    0;           0;    2;  Code_Table; Tendency of runway visual range
+  0; 20;  19;    0;           0;   72;   CCITT_IA5; Significant present or forecast weather
+  0; 20;  20;    0;           0;   32;   CCITT_IA5; Significant recent weather phenomena
+  0; 20;  31;    2;           0;    7;           m; Ice deposit (thickness)
+  0; 20;  32;    0;           0;    3;  Code_Table; Rate of ice accretion
+  0; 20;  33;    0;           0;    4;  Flag_Table; Cause of ice accretion
+  0; 20;  34;    0;           0;    5;  Code_Table; Sea ice concentration
+  0; 20;  35;    0;           0;    4;  Code_Table; Amount and type of ice
+  0; 20;  36;    0;           0;    5;  Code_Table; Ice situation
+  0; 20;  37;    0;           0;    5;  Code_Table; Ice development
+  0; 20;  38;    0;           0;   12; Degree_true; Bearing of ice edge
+  0; 20;  39;   -1;           0;   13;           m; Ice distance
+  0; 20;  41;    0;           0;    4;  Code_Table; Airframe icing
+  0; 20;  51;    0;           0;    7;           %; Amount of low clouds
+  0; 20;  52;    0;           0;    7;           %; Amount of middle clouds
+  0; 20;  53;    0;           0;    7;           %; Amount of high clouds
+  0; 20;  61;    0;           0;   12;           m; Runway visual range (RVR)
+  0; 20;  62;    0;           0;    5;  Code_Table; State of the ground (with or without snow)
+  0; 20;  63;    0;           0;   10;  Code_Table; Special phenomena
+  0; 20;  70;    0;           0;    7;     Numeric; Minimum number of atmospherics
+  0; 20;  71;    0;           0;    4;  Code_Table; Accuracy of fix and rate of atmospherics
+  0; 20;  81;    0;           0;    7;           %; Cloud amount in segment
+  0; 20;  82;    0;           0;    7;           %; Amount segment cloud free
+  0; 20;  90;    0;           0;    4;  Code_Table; Special clouds
+# Class 21 - Radar data
+  0; 21;   1;    0;         -64;    7;          dB; Horizontal reflectivity
+  0; 21;   2;    0;         -64;    7;          dB; Vertical reflectivity
+  0; 21;   3;    1;          -5;    7;          dB; Differential reflectivity
+  0; 21;   5;    0;         -65;    6;          dB; Linear depolarisation ratio 
+  0; 21;   6;    0;         -65;    6;          dB; Circular depolarisation ratio 
+  0; 21;  11;    0;        -128;    8;       m s-1; Doppler mean velocity in X-direction
+  0; 21;  12;    0;        -128;    8;       m s-1; Doppler mean velocity in Y-direction
+  0; 21;  13;    0;        -128;    8;       m s-1; Doppler mean velocity in Z-direction
+  0; 21;  14;    1;       -4096;   13;       m s-1; Doppler mean velocity (radial)
+  0; 21;  17;    1;           0;    8;       m s-1; Doppler velocity spectral width
+  0; 21;  21;   -3;           0;    4;           m; Echo tops 
+  0; 21;  30;    0;         -32;    8;          dB; Signal to noise ratio
+  0; 21;  31;    0;           0;    7;      kg m-2; Vertically integrated liquid-water content
+  0; 21;  36;    7;           0;   12;       m s-1; Radar rainfall intensity 
+  0; 21;  41;   -2;           0;    8;           m; Bright-band height 
+  0; 21;  51;    0;        -256;    8;          dB; Signal power above 1 mW
+  0; 21;  62;    2;       -5000;   13;    Decibels; Backscatter
+  0; 21;  63;    1;           0;   10;           %; Radiometric resolution (noise value)
+  0; 21;  64;    0;           0;    8;     Numeric; Clutter noise estimate
+  0; 21;  65;    0;        -127;    8;     Numeric; Missing packet counter
+  0; 21;  66;    0;           0;   12;  Flag_Table; Wave scatterometer product confidence data
+  0; 21;  67;    0;           0;   13;  Flag_Table; Wind product confidence data
+  0; 21;  68;    0;           0;    8;  Flag_Table; Radar altimeter product confidence data
+  0; 21;  69;    0;           0;   10;  Flag_Table; SST product confidence data
+  0; 21;  71;    0;           0;   16;     Numeric; Peakiness
+  0; 21;  72;    0;           0;    4;  Flag_Table; Satellite altimeter calibration status
+  0; 21;  73;    0;           0;    9;  Flag_Table; Satelllite altimeter instrument mode
+  0; 21;  75;    0;           0;    8;     Numeric; Image spectrum intensity
+  0; 21;  76;    0;           0;    3;  Code_Table; Representation of intensities
+  0; 21;  77;    3;           0;   14;           m; Altitude correction (ionosphere)
+  0; 21;  78;    3;           0;    9;           m; Altitude correction (dry troposphere)
+  0; 21;  79;    3;        2000;   10;           m; Altitude correction (wet troposphere)
+  0; 21;  80;    3;           0;   11;           m; Altitude correction (calibration constant)
+  0; 21;  81;    3;           0;   10;           m; Open loop correction (height-time loop)
+  0; 21;  82;    3;       -3000;   14;    Decibels; Open loop correction (auto gain control)
+  0; 21;  85;    0;           0;    4;     Numeric; ATSR sea surface temperature across- track band number
+  0; 21; 101;    0;           0;    3;     Numeric; Number of vector ambiguities
+  0; 21; 102;    0;           0;    3;     Numeric; Index of selected wind vector
+  0; 21; 103;    0;           0;    5;     Numeric; Total number of sigma-0 measurements
+  0; 21; 104;    3;      -30000;   15;     Numeric; Likelihood computed for solution
+  0; 21; 105;    2;      -10000;   14;          dB; Normalized radar cross-section
+  0; 21; 106;    3;           0;   14;     Numeric; Kp variance coefficient (Alpha)
+  0; 21; 107;    8;           0;   16;     Numeric; Kp variance coefficient (Beta)
+  0; 21; 109;    0;           0;   17;  Flag_Table; SEAWINDS wind vector cell quality
+  0; 21; 110;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (forward of satellite)
+  0; 21; 111;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (forward of satellite)
+  0; 21; 112;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (aft of satellite)
+  0; 21; 113;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (aft of satellite)
+  0; 21; 114;    3;     -140000;   18;          dB; Kp variance coefficent (Gamma)
+  0; 21; 115;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 quality
+  0; 21; 116;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 mode
+  0; 21; 117;    2;           0;   16;     Numeric; Sigma-0 variance quality control
+  0; 21; 118;    2;      -10000;   14;          dB; Attenuation correction on sigma-0
+  0; 21; 119;    0;           0;    6;  Code_Table; Wind scatterometer geophysical model function
+# Class 22 - Oceanographic elements
+  0; 22;   1;    0;           0;    9; Degree_true; Direction of waves 
+  0; 22;   2;    0;           0;    9; Degree_true; Direction of wind waves 
+  0; 22;   3;    0;           0;    9; Degree_true; Direction of swell waves 
+  0; 22;   4;    0;           0;    9; Degree_true; Direction of current 
+  0; 22;  11;    0;           0;    6;           s; Period of waves 
+  0; 22;  12;    0;           0;    6;           s; Period of wind waves 
+  0; 22;  13;    0;           0;    6;           s; Period of swell waves 
+  0; 22;  21;    1;           0;   10;           m; Height of waves 
+  0; 22;  22;    1;           0;   10;           m; Height of wind waves 
+  0; 22;  23;    1;           0;   10;           m; Height of swell waves 
+  0; 22;  25;    2;           0;   10;           m; Standard deviation wave height
+  0; 22;  26;    2;           0;   10;           m; Standard deviation of significant wave height
+  0; 22;  31;    2;           0;   13;       m s-1; Speed of current 
+  0; 22;  35;    2;           0;   14;           m; Tidal elevation with respect to local chart datum
+  0; 22;  36;    2;           0;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  37;    3;      -10000;   15;           m; Tidal elevation with respect to national land datum
+  0; 22;  38;    3;      -10000;   15;           m; Tidal elevation with respect to local chart datum
+  0; 22;  39;    3;       -5000;   12;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  40;    3;       -5000;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  41;    1;           0;   12;           K; Sea-surface temperature (15-day running mean)
+  0; 22;  42;    1;           0;   12;           K; Sea/water temperature
+  0; 22;  43;    2;           0;   15;           K; Sea/water temperature
+  0; 22;  44;    1;           0;   14;       m s-1; Sound velocity 
+  0; 22;  50;    2;           0;    8;           K; Standard deviation sea-surface temperature
+  0; 22;  61;    0;           0;    4;  Code_Table; State of the sea 
+  0; 22;  62;    2;           0;   14;Part per thousand; Salinity
+  0; 22;  63;    0;           0;   14;           m; Total water depth 
+  0; 22;  67;    0;           0;   10;  Code_Table; Instrument type for water temperature profile measurement
+  0; 22;  68;    0;           0;    7;  Code_Table; Water temperature profile recorder types
+  0; 22;  70;    2;           0;   13;           m; Significant wave height
+  0; 22;  71;    1;           0;    9;           s; Spectral peak wave period
+  0; 22;  72;    0;           0;   13;           m; Spectral peak wave length
+  0; 22;  73;    2;           0;   13;           m; Maximum wave height
+  0; 22;  74;    1;           0;    9;           s; Average wave period
+  0; 22;  75;    0;           0;   13;           m; Average wave length
+  0; 22;  76;    0;           0;    9; Degree_true; Direction from which dominant waves are coming
+  0; 22;  77;    0;           0;    9;      Degree; Directional spread of dominant wave
+  0; 22;  78;    0;           0;   12;           s; Duration of wave record
+  0; 22;  79;    0;           0;   16;           m; Length of wave record
+  0; 22;  80;    3;           0;   10;          Hz; Waveband central frequency
+  0; 22;  81;    5;           0;   13;         m-1; Waveband central wave number
+  0; 22;  82;    2;           0;   20;        m2 s; Maximum non-directional spectral wave density
+  0; 22;  83;    2;           0;   20;          m3; Maximum non-directional spectral wave number
+  0; 22;  84;    0;           0;    7;     Numeric; Band containing maximum non- directional spectral wave density
+  0; 22;  85;    0;           0;    7;     Numeric; Spectral wave density ratio
+  0; 22;  86;    0;           0;    9; Degree_true; Mean direction from which waves are coming
+  0; 22;  87;    0;           0;    9; Degree_true; Principal direction from which waves are coming
+  0; 22;  88;    2;           0;    7;     Numeric; First normalized polar coordinate from Fourier coefficients
+  0; 22;  89;    2;           0;    7;     Numeric; Second normalized polar coordinate from Fourier coefficients
+  0; 22;  90;    2;           0;   20;        m2 s; Non-directional spectral estimate by wave frequency
+  0; 22;  91;    2;           0;   20;          m3; Non-directional spectral estimate by wave number
+  0; 22;  92;    2;           0;   20;  m2 rad-1 s; Directional spectral estimate by wave frequency
+  0; 22;  93;    2;           0;   20;          m4; Directional spectral estimate by wave number
+  0; 22;  94;    0;           0;    7;     Numeric; Total number of wave bands
+  0; 22;  95;    0;           0;    8;      Degree; Directional spread of individual waves
+  0; 22;  96;    3;           0;    4;         s-1; Spectral band width
+  0; 22;  97;    0;           0;   14;           m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0; 22;  98;    0;           0;   14;           m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0; 22;  99;    0;           0;    9; Degree_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0; 22; 100;    0;           0;    9;      Degree; Direction spread at low wave numbers(wavelength > 731 m)
+  0; 22; 101;    0;           0;   31;     Numeric; Total energy (wavelength > 731m) at low wave numbers
+  0; 22; 120;    0;           0;    5;  Code_Table; Tide station automated water level check
+  0; 22; 121;    0;           0;    5;  Code_Table; Tide station manual water level check
+  0; 22; 122;    0;           0;    5;  Code_Table; Tide station automated meteorological data check
+  0; 22; 123;    0;           0;    5;  Code_Table; Tide station manual meteorological data check
+# Class 23 - Dispersal and transport
+  0; 23;   1;    0;           0;    3;  Code_Table; Accident early notification  article applicable
+  0; 23;   2;    0;           0;    5;  Code_Table; Activity or facility involved in incident
+  0; 23;   3;    0;           0;    3;  Code_Table; Type of release 
+  0; 23;   4;    0;           0;    3;  Code_Table; Countermeasures taken near border
+  0; 23;   5;    0;           0;    2;  Code_Table; Cause of incident 
+  0; 23;   6;    0;           0;    3;  Code_Table; Incident situation 
+  0; 23;   7;    0;           0;    3;  Code_Table; Characteristics of release
+  0; 23;   8;    0;           0;    2;  Code_Table; State of current release 
+  0; 23;   9;    0;           0;    2;  Code_Table; State of expected release 
+  0; 23;  16;    0;           0;    2;  Code_Table; Possibility of significant chemical toxic health effect
+  0; 23;  17;    6;           0;   20;     m3 s-1 ; Flow discharge of major recipient
+  0; 23;  18;    0;           0;    3;  Code_Table; Release behaviour over time
+  0; 23;  19;    0;      -15000;   17;           m; Actual release height
+  0; 23;  21;    0;      -15000;   17;           m; Effective release height
+  0; 23;  22;    0;           0;   24;           m; Distance of release point or site of incident
+  0; 23;  23;    1;           0;   12;     m s-1  ; Main transport speed in the atmosphere
+  0; 23;  24;    2;           0;   13;     m s-1  ; Main transport speed in water
+  0; 23;  25;    2;           0;   13;     m s-1  ; Main transport speed in ground water
+  0; 23;  27;    0;           0;    9; Degree_true; Main transport direction in the atmosphere
+  0; 23;  28;    0;           0;    9; Degree_true; Main transport direction in water
+  0; 23;  29;    0;           0;    9; Degree_true; Main transport direction in ground water
+  0; 23;  31;    0;           0;    2;  Code_Table; Possibility that plume will encounter precipitation in State in which incident occurred
+  0; 23;  32;    0;           0;    2;  Code_Table; Plume will encounter change in wind direction and/or speed flag
+# Class 24 - Radiological elements
+  0; 24;   1;  -11;           0;   28;         Bq*; Estimate of amount of radioactivity released up to specified time
+  0; 24;   2;  -11;           0;   28;          Bq; Estimated maximum potential release
+  0; 24;   3;    0;           0;    5;  Code_Table; Composition of release
+  0; 24;   4;    0;           0;   16;   CCITT_IA5; Element name
+  0; 24;   5;    0;           0;    9;     Numeric; Isotope mass
+  0; 24;  11;    2;           0;   32;     mSv*/**; Dose
+  0; 24;  12;    2;           0;   32;         mSv; Trajectory dose (defined location and expected time of arrival)
+  0; 24;  13;    2;           0;   32;         mSv; Gamma dose in air along the main transport path (defined location and time period)
+  0; 24;  21;    2;           0;   32;      Bq m-3; Air concentration (of named isotope type including gross beta)
+  0; 24;  22;    2;           0;   32;      Bq 1-1; Concentration in precipitation (of names isotope type)
+  0; 24;  23;    1;           0;   14;         s-1; Pulse rate of beta radiation
+  0; 24;  24;    1;           0;   14;         s-1; Pulse rate of gamma radiation
+# Class 25 - Processing information
+  0; 25;   1;   -1;           0;    6;           m; Range-gate length
+  0; 25;   2;    0;           0;    4;     Numeric; Number of gates averaged
+  0; 25;   3;    0;           0;    8;     Numeric; Number of integrated pulses
+  0; 25;   4;    0;           0;    2;  Code_Table; Echo processing
+  0; 25;   5;    0;           0;    2;  Code_Table; Echo integration
+  0; 25;   6;    0;           0;    3;  Code_Table; Z to R conversion
+  0; 25;   7;    0;           0;   12;     Numeric; Z to R conversion factor
+  0; 25;   8;    2;           0;    9;     Numeric; Z to R conversion exponent
+  0; 25;   9;    0;           0;    4;  Flag_Table; Calibration method
+  0; 25;  10;    0;           0;    4;  Code_Table; Clutter treatment
+  0; 25;  11;    0;           0;    2;  Code_Table; Ground occultation correction (screening)
+  0; 25;  12;    0;           0;    2;  Code_Table; Range attenuation correction
+  0; 25;  13;    0;           0;    2;  Flag_Table; Bright-band correction
+  0; 25;  14;    0;           0;   12;     Numeric; Azimuth clutter cut-off (see Note)
+  0; 25;  15;    0;           0;    2;  Flag_Table; Radome attenuation correction
+  0; 25;  16;    5;           0;    6;      dB m-1; Clear-air attenuation correction
+  0; 25;  17;    0;           0;    2;  Flag_Table; Precipitation attenuation correction
+  0; 25;  18;    7;           0;    6;     Numeric; A to Z law for attenuation factor
+  0; 25;  19;    2;           0;    7;     Numeric; A to Z law for attenuation exponent
+  0; 25;  20;    0;           0;    2;  Code_Table; Mean speed estimation
+  0; 25;  21;    0;           0;    8;  Flag_Table; Wind computation enhancement
+  0; 25;  30;    0;           0;    2;  Code_Table; Running mean sea-surface temperature usage
+  0; 25;  32;    0;           0;    2;  Code_Table; Wind profiler mode information*
+  0; 25;  33;    0;           0;    2;  Code_Table; Wind profiler submode information*
+  0; 25;  34;    0;           0;    4;  Flag_Table; Wind profiler quality control test results* 
+  0; 25;  36;    0;           0;    4;  Code_Table; Atmospherics location method
+  0; 25;  40;    0;           0;    4;  Code_Table; CO2 wind product derivation
+  0; 25;  41;    0;           0;    2;  Code_Table; Moving platform direction reporting method
+  0; 25;  42;    0;           0;    2;  Code_Table; Moving platform speed reporting method
+  0; 25;  43;    4;           0;   15;           s; Wave sampling interval (time)
+  0; 25;  44;    2;           0;   14;           m; Wave sampling interval (space)
+  0; 25;  45;    0;           0;   21;  Flag_Table; HIRS channel combination
+  0; 25;  46;    0;           0;    5;  Flag_Table; MSU channel combination
+  0; 25;  47;    0;           0;    4;  Flag_Table; SSU channel combination
+  0; 25;  48;    0;           0;   16;  Flag_Table; AMSU-A channel combination
+  0; 25;  49;    0;           0;    6;  Flag_Table; AMSU-B channel combination
+  0; 25;  51;    0;           0;    7;  Flag_Table; AVHRR channel combination
+  0; 25;  53;    0;           0;   12;  Flag_Table; Observation quality
+  0; 25;  60;    0;           0;   14;     Numeric; Software identification
+  0; 25;  70;    0;           0;    4;     Numeric; Major frame count
+  0; 25;  71;    0;           0;    5;     Numeric; Frame count
+  0; 25;  75;    0;           0;    5;     Numeric; Satellite antenna corrections version number
+  0; 25;  76;    8;           0;   30;     Log m-1; Log-10 of (Temperature-radiance central wavenumber) for ATOVS
+  0; 25;  77;    5;     -100000;   18;     Numeric; Bandwidth correction coefficient 1 for ATOVS
+  0; 25;  78;    5;           0;   17;     Numeric; Bandwidth correction coefficient 2 for ATOVS
+  0; 25;  79;    4;           0;   24;       W m-2; Albedo-radiance solar filtered irradiance for ATOVS
+  0; 25;  80;   10;           0;   14;           m; Albedo-radiance equivalent filter width for ATOVS
+  0; 25;  85;    0;           0;    7;     Numeric; Fraction of clear pixels in HIRS FOV
+  0; 25;  86;    0;           0;    2;  Code_Table; Depth correction indicator
+# Class 26 - Non-coordinate location (time)
+  0; 26;   1;    1;           0;   12;        Hour; Principal time of daily reading in UTC of maximum temperature
+  0; 26;   2;    1;           0;   12;        Hour; Principal time of daily reading in UTC of minimum temperature
+  0; 26;   3;    0;       -1440;   12;      Minute; Time difference
+  0; 26;  10;    0;           0;   26;  Flag_Table; Hours included
+# Class 27 - Non-coordinate location (horizontal - 1)
+  0; 27;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0; 27;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0; 27;   3;    2;       -9000;   15;      Degree; Alternate latitude
+  0; 27;  20;    0;           0;   16;     Numeric; Satellite location counter
+  0; 27;  21;    0;           0;   16;     Numeric; Satellite sublocation dimension
+  0; 27;  31;    2; -1073741824;   31;           m; "In direction of 0 degrees longitude, distance from the Earths centre"
+# Class 28 - Non-coordinate location (horizontal - 2)
+  0; 28;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0; 28;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0; 28;   3;    2;      -18000;   16;      Degree; Alternate longitude
+  0; 28;  31;    2; -1073741824;   31;           m; "In direction 90 degrees East, distance from the Earths centre"
+# Class 29 - Map data
+  0; 29;   1;    0;           0;    3;  Code_Table; Projection type
+  0; 29;   2;    0;           0;    3;  Code_Table; Coordinate grid type
+# Class 30 - Image
+  0; 30;   1;    0;           0;    4;     Numeric; Pixel value (4 bits)
+  0; 30;   2;    0;           0;    8;     Numeric; Pixel value (8 bits)
+  0; 30;   4;    0;           0;   16;     Numeric; Pixel value (16 bits)
+  0; 30;  21;    0;           0;   12;     Numeric; Number of pixels per row
+  0; 30;  22;    0;           0;   12;     Numeric; Number of pixels per column
+  0; 30;  31;    0;           0;    4;  Code_Table; Picture type
+  0; 30;  32;    0;           0;   16;  Flag_Table; Combination with other data
+# Class 31 - Data description operator qualifiers
+  0; 31;   0;    0;           0;    1;     Numeric; Short delayed descriptor replication factor
+  0; 31;   1;    0;           0;    8;     Numeric; Delayed descriptor replication factor
+  0; 31;   2;    0;           0;   16;     Numeric; Extended delayed descriptor replication factor
+  0; 31;  11;    0;           0;    8;     Numeric; Delayed descriptor and data repetition factor
+  0; 31;  12;    0;           0;   16;     Numeric; Extended delayed descriptor and data repetition factor
+  0; 31;  21;    0;           0;    6;  Code_Table; Associated field significance
+  0; 31;  31;    0;           0;    1;  Flag_Table; Data present indicator
+# Class 33 - Quality information
+  0; 33;   2;    0;           0;    2;  Code_Table; Quality information
+  0; 33;   3;    0;           0;    3;  Code_Table; Quality information
+  0; 33;   7;    0;           0;    7;           %; Per cent confidence
+  0; 33;  20;    0;           0;    3;  Code_Table; Quality control indication of following value
+  0; 33;  21;    0;           0;    2;  Code_Table; Quality of following value
+  0; 33;  22;    0;           0;    2;  Code_Table; Quality of buoy satellite transmission
+  0; 33;  23;    0;           0;    2;  Code_Table; Quality of buoy location
+  0; 33;  24;    0;           0;    4;  Code_Table; Station elevation quality mark (for mobile stations)
+  0; 33;  25;    0;           0;    3;  Code_Table; ACARS interpolated values
+  0; 33;  26;    0;           0;    6;  Code_Table; Mixing ratio quality
+  0; 33;  27;    0;           0;    3;  Code_Table; Location quality class (range of radius of 66 % confidence)
+  0; 33;  30;    0;           0;   24;  Flag_Table; Scan line status flags for ATOVS
+  0; 33;  31;    0;           0;   24;  Flag_Table; Scan line quality flags for ATOVS
+  0; 33;  32;    0;           0;   24;  Flag_Table; Channel quality flags for ATOVS
+  0; 33;  33;    0;           0;   24;  Flag_Table; Field of view quality flags for ATOVS
+  0; 33;  35;    0;           0;    4;  Code_Table; Manual/automatic quality control
+  0; 33;  36;    0;           0;    7;           %; Nominal confidence threshold
+  0; 33;  37;    0;           0;   20;  Flag_Table; Wind correlation error
+  0; 33;  40;    0;           0;    7;           %; Confidence interval
+# Class 35 - Data monitoring information
+  0; 35;   0;    0;           0;   10;  Code_Table; FM regional code number
+  0; 35;   1;    0;           0;    3;  Code_Table; Time-frame for monitoring
+  0; 35;  11;    0;           0;   14;     Numeric; Number of reports actually received
+  0; 35;  21;    0;           0;   48;   Character; Bulletin being monitored (TTAAii)
+  0; 35;  22;    0;           0;   48;   Character; Bulletin being monitored (YYGGgg)
+  0; 35;  30;    0;           0;    4;  Code_Table; Discrepancies in the availability of expected data
+  0; 35;  31;    0;           0;    7;  Code_Table; Qualifier on monitoring results
+  0; 35;  32;    0;           0;    4;  Code_Table; Cause of missing data
+  0; 35;  33;    0;           0;    7;  Code_Table; Observation and collection deficiencies
+  0; 35;  34;    0;           0;    3;  Code_Table; Statistical trends for availability of data (during the survey period(s))
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-098-001-D
@@ -0,0 +1,1274 @@
+3     0    2
+      0   0    2
+      0   0    3
+     -1
+3     0    3
+      0   0   10
+      0   0   11
+      0   0   12
+     -1
+3     0    4
+      3   0    3
+      0   0   13
+      0   0   14
+      0   0   15
+      0   0   16
+      0   0   17
+      0   0   18
+      0   0   19
+      0   0   20
+     -1
+3     0   10
+      3   0    3
+      1   1    0
+      0  31    1
+      0   0   30
+     -1
+3     1    1
+      0   1    1
+      0   1    2
+     -1
+3     1    2
+      0   1    3
+      0   1    4
+      0   1    5
+     -1
+3     1    3
+      0   1   11
+      0   1   12
+      0   1   13
+     -1
+3     1   11
+      0   4    1
+      0   4    2
+      0   4    3
+     -1
+3     1   12
+      0   4    4
+      0   4    5
+     -1
+3     1   13
+      0   4    4
+      0   4    5
+      0   4    6
+     -1
+3     1   21
+      0   5    1
+      0   6    1
+     -1
+3     1   22
+      0   5    1
+      0   6    1
+      0   7    1
+     -1
+3     1   23
+      0   5    2
+      0   6    2
+     -1
+3     1   24
+      0   5    2
+      0   6    2
+      0   7    1
+     -1
+3     1   25
+      3   1   23
+      0   4    3
+      3   1   12
+     -1
+3     1   26
+      3   1   21
+      0   4    3
+      0   4    3
+      0   4    4
+      0   4    4
+      0   4    5
+      0   4    5
+     -1
+3     1   31
+      3   1    1
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   22
+     -1
+3     1   32
+      3   1    1
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   24
+     -1
+3     1   33
+      0   1    5
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   21
+     -1
+3     1   34
+      0   1    5
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   23
+     -1
+3     1   35
+      0   1    5
+      0   1   12
+      0   1   13
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   23
+     -1
+3     1   36
+      3   1    3
+      0   2    1
+      3   1   11
+      3   1   12
+      3   1   23
+     -1
+3     1   37
+      3   1    1
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   22
+     -1
+3     1   38
+      3   1    1
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   24
+     -1
+3     1   39
+      3   1    3
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   23
+     -1
+3     1   40
+      3   1    3
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   24
+     -1
+3     1   41
+      0   1    7
+      0   2   21
+      0   2   22
+      3   1   11
+      3   1   12
+     -1
+3     1   42
+      3   1   41
+      3   1   21
+     -1
+3     1   43
+      0   1    7
+      0   2   23
+      3   1   11
+      3   1   13
+      3   1   21
+     -1
+3     1   44
+      0   1    7
+      0   2   24
+      3   1   11
+      3   1   13
+      3   1   21
+     -1
+3     1   51
+      0   1    6
+      0   2   61
+      3   1   11
+      3   1   12
+      3   1   21
+      0   8    4
+     -1
+3     1   62
+      1   1    0
+      0  31    1
+      3   1    1
+     -1
+3     1  194
+      0   1  194
+      0   1   12
+      0   1   13
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   23
+      0   7    1
+     -1
+3     1  195
+      0   1  195
+      0   1   12
+      0   1   13
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   23
+      0   7    1
+     -1
+3     1  196
+      3   1    3
+      0   2   11
+      0   2   12
+      3   1   11
+      3   1   12
+      3   1   23
+      0   7    1
+     -1
+3     1  200
+      0   1   32
+      0  33  194
+     -1
+3     1  201
+      1   1    3
+      0  33  193
+     -1
+3     1  202
+      0   1   31
+      0   1   32
+     -1
+3     1  237
+      0   1    7
+      0   1   12
+      0   2   21
+      3   1   11
+      0   4    4
+      0   4    5
+      2   1  138
+      2   2  131
+      0   4    6
+      2   1    0
+      2   2    0
+      3   1   23
+     -1
+3     1  238
+      0   2  104
+      0   2  121
+      0   2  113
+      0   2   26
+      0   2   27
+      0   2  111
+      0   2  192
+      2   2  127
+      0   1   13
+      2   2  126
+      0   7    1
+      2   2    0
+      0  25   10
+      0  21  194
+     -1
+3     1  239
+      0   2  111
+      0   2  112
+      0  21  192
+      0  21  193
+      0  21  195
+     -1
+3     1  240
+      2   1  131
+      2   2  129
+      0  22   21
+      2   1    0
+      2   2    0
+     -1
+3     1  241
+      2   1  141
+      2   2  130
+      0   7    1
+      2   1    0
+      2   2    0
+     -1
+3     1  242
+      0  21  207
+      0  21  208
+      0  21  209
+      0  21  210
+      0  21  211
+      0  21  212
+     -1
+3     2    1
+      0  10    4
+      0  10   51
+      0  10   61
+      0  10   63
+     -1
+3     2    2
+      0  10    4
+      0   7    4
+      0  10    3
+      0  10   61
+      0  10   63
+     -1
+3     2    3
+      0  11   11
+      0  11   12
+      0  12    4
+      0  12    6
+      0  13    3
+      0  20    1
+      0  20    3
+      0  20    4
+      0  20    5
+     -1
+3     2    4
+      0  20   10
+      0   8    2
+      0  20   11
+      0  20   13
+      0  20   12
+      0  20   12
+      0  20   12
+     -1
+3     2    5
+      0   8    2
+      0  20   11
+      0  20   12
+      0  20   13
+     -1
+3     2   11
+      3   2    1
+      3   2    3
+      3   2    4
+     -1
+3     2   12
+      3   2    2
+      3   2    3
+      3   2    4
+     -1
+3     2   21
+      0  22    1
+      0  22   11
+      0  22   21
+     -1
+3     2   22
+      0  22    2
+      0  22   12
+      0  22   22
+     -1
+3     2   23
+      0  22    3
+      0  22   13
+      0  22   23
+     -1
+3     2   24
+      3   2   22
+      1   1    2
+      3   2   23
+     -1
+3     2   51
+      0  10    4
+      0  10   51
+      0   7    4
+      0  10    3
+      0  12    4
+      0  12   51
+      0  12   16
+      0  12   17
+      0  13    4
+      1   2    4
+      0   8   51
+      0   8   20
+     -1
+3     2  205
+      2   1  131
+      2   2  129
+      0  22   21
+      2   1    0
+      2   2    0
+     -1
+3     2  206
+      3   2  205
+      2   1  130
+      2   2  129
+      0  22   11
+      2   1    0
+      2   2    0
+      0  22    1
+      0  11    1
+      0  11    2
+     -1
+3     3    1
+      0   7    3
+      0  11    1
+      0  11    2
+     -1
+3     3    2
+      0   7    4
+      0  11    1
+      0  11    2
+     -1
+3     3    3
+      0   7    4
+      0  10    3
+      0  12    1
+      0  12    3
+     -1
+3     3    4
+      0   7    4
+      0  10    3
+      0  12    1
+      0  12    3
+      0  11    1
+      0  11    2
+     -1
+3     3   11
+      0   7    3
+      0   8    1
+      0  11    1
+      0  11    2
+     -1
+3     3   12
+      0   7    4
+      0   8    1
+      0  11    1
+      0  11    2
+     -1
+3     3   13
+      0   7    4
+      0   8    1
+      0  10    3
+      0  12    1
+      0  13    3
+      0  11    1
+      0  11    2
+     -1
+3     3   14
+      0   7    4
+      0   8    1
+      0  10    3
+      0  12    1
+      0  12    3
+      0  11    1
+      0  11    2
+     -1
+3     3   21
+      0   7    4
+      0   7    4
+      2   4    7
+      0  31   21
+     -1
+3     3   22
+      3   3   21
+      0  10    3
+      2   4    0
+     -1
+3     3   23
+      3   3   21
+      0  12    1
+      2   4    0
+     -1
+3     3   24
+      3   3   21
+      0  13   16
+      2   4    0
+     -1
+3     3   25
+      0   2   25
+      2   4    7
+      0  31   21
+      0  12   63
+      2   4    0
+     -1
+3     3   26
+      0   7    4
+      0   8    3
+      2   4    7
+      0  31   21
+      0  12    1
+      2   4    0
+     -1
+3     3   27
+      0   7    4
+      2   4    7
+      0  31   21
+      0  10    3
+      2   4    0
+     -1
+3     3   31
+      0   7    4
+      0   8    3
+      0   7   21
+      0   7   22
+      0   8   12
+      0  12   61
+     -1
+3     3   32
+      0  20   11
+      0  20   16
+     -1
+3     4    1
+      0   8    3
+      0  10    4
+      0  12    1
+      0  11    1
+      0  11    2
+     -1
+3     4    2
+      0   8    3
+      0  10    4
+      0  11    1
+      0  11    2
+     -1
+3     4    3
+      0   8    3
+      0  12    1
+     -1
+3     4    4
+      0   8    3
+      0  10    4
+      0  20   10
+      0  12    1
+     -1
+3     4    5
+      0   2   24
+      0   7    4
+      0   7    4
+      0  13    3
+     -1
+3     4    6
+      0  14    1
+      0  14    1
+      0  14    3
+     -1
+3     4  228
+      0   5  217
+      0   6  217
+      0   7  217
+     -1
+3     4  229
+      0   1  208
+      0   1  209
+      0   1  210
+     -1
+3     6    1
+      0   2   32
+      1   2    0
+      0  31    1
+      0   7   62
+      0  22   42
+     -1
+3     6    2
+      0   2   31
+      0  22    4
+      0  22   31
+     -1
+3     6    3
+      0   2    2
+      0  11   11
+      0  11   12
+      0  12    4
+     -1
+3     6    4
+      0   2   32
+      0   2   33
+      1   3    0
+      0  31    1
+      0   7   62
+      0  22   43
+      0  22   62
+     -1
+3     6    5
+      0   2   31
+      1   3    0
+      0  31    1
+      0   7   62
+      0  22    4
+      0  22   31
+     -1
+3     6    6
+      3   6    3
+      3   6    2
+      0  22   63
+     -1
+3     6    7
+      0   1   12
+      0   1   14
+      3   6    8
+      0   4   24
+      0  27    3
+      0  28    3
+     -1
+3     6    8
+      0   2   34
+      0   2   35
+      0   2   36
+     -1
+3     7    1
+      3   1   31
+      3   2   11
+     -1
+3     7    2
+      3   1   32
+      3   2   11
+     -1
+3     7    3
+      3   7    1
+      1   1    0
+      0  31    1
+      3   2    5
+     -1
+3     7    4
+      3   7    2
+      1   1    0
+      0  31    1
+      3   2    5
+     -1
+3     7    5
+      3   7    1
+      1   1    4
+      3   2    5
+     -1
+3     7    6
+      3   7    2
+      1   1    4
+      3   2    5
+     -1
+3     7    7
+      3   1   31
+      3   2   12
+     -1
+3     7    8
+      3   1   32
+      3   2   12
+     -1
+3     8    1
+      3   1   33
+      3   2   11
+      0  22   42
+     -1
+3     8    2
+      3   1   34
+      3   2   11
+      0  22   42
+     -1
+3     8    3
+      3   1   35
+      3   2   11
+      0  22   42
+     -1
+3     8    4
+      3   1   36
+      3   2   11
+      0  22   42
+     -1
+3     8    5
+      3   8    4
+      3   2   24
+     -1
+3     8    6
+      0  10    4
+      0  10   61
+      0  10   63
+      0  11    1
+      0  11    2
+      0  12    4
+      0  13    3
+      0  22   42
+     -1
+3     9    1
+      3   1   37
+      1   1    0
+      0  31    1
+      3   3   11
+     -1
+3     9    2
+      3   1   38
+      1   1    0
+      0  31    1
+      3   3   11
+     -1
+3     9    3
+      3   1   37
+      1   1    0
+      0  31    1
+      3   3   12
+     -1
+3     9    4
+      3   1   38
+      1   1    0
+      0  31    1
+      3   3   12
+     -1
+3     9    5
+      3   1   37
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   13
+     -1
+3     9    6
+      3   1   38
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   13
+     -1
+3     9    7
+      3   1   37
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9    8
+      3   1   38
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9   11
+      3   1   39
+      1   1    0
+      0  31    1
+      3   3   11
+     -1
+3     9   12
+      3   1   39
+      1   1    0
+      0  31    1
+      3   3   12
+     -1
+3     9   13
+      3   1   39
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   13
+     -1
+3     9   14
+      3   1   39
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9   15
+      3   1   40
+      1   1    0
+      0  31    1
+      3   3   11
+     -1
+3     9   16
+      3   1   40
+      1   1    0
+      0  31    1
+      3   3   12
+     -1
+3     9   17
+      3   1   40
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   13
+     -1
+3     9   18
+      3   1   31
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9   19
+      3   1   31
+      0   2    3
+      1   1    0
+      0  31    1
+      3   3   11
+     -1
+3     9   20
+      3   1   31
+      0   2    3
+      1   4    0
+      0  31    1
+      0   7    3
+      0  11    3
+      0  11    4
+      0  11    5
+     -1
+3     9  194
+      3   1  194
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9  195
+      3   1  195
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3     9  196
+      3   1  196
+      3   2    4
+      1   1    0
+      0  31    1
+      3   3   14
+     -1
+3    10    1
+      3   1   42
+      3   3   31
+      3   3   32
+      1   1   26
+      3   3   25
+     -1
+3    10    2
+      3   1   42
+      3   3   31
+      3   3   32
+      1   1    9
+      3   3   23
+     -1
+3    10    3
+      3   1   42
+      3   3   31
+      3   3   32
+      1   1    6
+      3   3   23
+     -1
+3    10    4
+      3   1   42
+      3   3   31
+      3   3   32
+      1   1    3
+      3   3   24
+     -1
+3    11    1
+      3   1   51
+      0   7    2
+      0  12    1
+      0  11    1
+      0  11    2
+      0  11   31
+      0  11   32
+      0  11   33
+      0  20   41
+     -1
+3    12    1
+      3   1   43
+      3   4    1
+     -1
+3    12    2
+      3   1   43
+      3   4    2
+     -1
+3    12    3
+      3   1   42
+      3   4    3
+     -1
+3    12    4
+      3   1   42
+      3   4    4
+     -1
+3    12    5
+      3   1   42
+      0  20   14
+     -1
+3    12    6
+      3   1   44
+      3   4    5
+     -1
+3    12    7
+      3   1   42
+      3   4    6
+     -1
+3    12   10
+      0   1    7
+      0   5   40
+      0   2   21
+      0   5   41
+      0   4    1
+      0   4   43
+     -1
+3    12   11
+      2   2  131
+      2   1  149
+      0   4    6
+      2   1    0
+      2   2  126
+      0  10    2
+      2   2    0
+      0   5   43
+      0   5   53
+     -1
+3    12   12
+      2   2  129
+      2   1  132
+      1   1   19
+      0  12   63
+      2   1    0
+      2   2    0
+     -1
+3    12   13
+      0   5   33
+      2   2  129
+      2   1  135
+      0  12   63
+      2   1    0
+      2   2    0
+     -1
+3    12   14
+      3  12   10
+      3  12   11
+      1   5   56
+      3   1   23
+      0   5   42
+      0   5   52
+      3  12   12
+      3  12   13
+     -1
+3    12   15
+      1   9   11
+      3   1   23
+      0   5   42
+      0   5   52
+      2   2  129
+      2   1  132
+      1   1    4
+      0  12   63
+      2   2    0
+      2   1    0
+     -1
+3    12   16
+      3  12   10
+      3  12   11
+      3  12   15
+     -1
+3    12   17
+      1   9    8
+      3   1   23
+      0   5   42
+      0   5   52
+      2   2  129
+      2   1  132
+      1   1    3
+      0  12   63
+      2   2    0
+      2   1    0
+     -1
+3    12   18
+      3  12   10
+      3  12   11
+      3  12   18
+     -1
+3    12  200
+      3   1  237
+      3   1  238
+      0  29    2
+      0  21  206
+      1   4   12
+      0   6  232
+      1   2   12
+      0   5  232
+      0  21  205
+      0  21  196
+     -1
+3    12  201
+      3   1  237
+      1   1    3
+      3   1  239
+      0  11   12
+      0  11   11
+      0  21  197
+     -1
+3    12  202
+      3   1  237
+      0   8   22
+      0  11   12
+      0  11   50
+      3   1  240
+      0  22  243
+      3   1  241
+      0  10   50
+      0  21  198
+      0  21  201
+      0  21  202
+      0  21  203
+      3   1  242
+     -1
+3    12  203
+      3   1  237
+      0   8   22
+      0  12   61
+      0  22   50
+      0  21  204
+      0  21  199
+      0  21  214
+      0  21  215
+     -1
+3    12  204
+      3  12  201
+      0   1   31
+      0  11   12
+      0  11   11
+      0  21  200
+      0  21  213
+      0   4    4
+      0   8   21
+      0   4   24
+      0  55    3
+      0  11   12
+      0  11   11
+     -1
+3    12  207
+      3  12  202
+      3   1  202
+      0  33  191
+     -1
+3    12  208
+      3   1  202
+      0   8   22
+      0   8   21
+      3   1   11
+      3   1   13
+      3   1   23
+      3   2  205
+      0  11    2
+      0   1    7
+      0   2   21
+      3   1   11
+      3   1   13
+      3   1   23
+      0   1   32
+      0   1  192
+      3   2  205
+      0  11    2
+     -1
+3    12  209
+      3   1  202
+      0   1  192
+      3   1   11
+      3   1   13
+      3   1   23
+      3   2  206
+      1   4    0
+      0  22  192
+      1   2    0
+      0   5  232
+      0  22  191
+     -1
+3    12  210
+      3  12  202
+      0  21  192
+      0  15  202
+      3   1   11
+      0   4    4
+      0   4    5
+      2   1  138
+      2   2  131
+      0   4    6
+      2   1    0
+      2   2    0
+      3   4  228
+      3   4  229
+     -1
+3    13    9
+      0  21    1
+      1   1    0
+      0  31    1
+      0  21    1
+     -1
+3    13   10
+      0  21   36
+      1   1    0
+      0  31    1
+      0  21   36
+     -1
+3    13   31
+      0   6    2
+      0   6   12
+      1   1    0
+      0  31    2
+      0  30    1
+     -1
+3    13   32
+      0   5    2
+      0   5   12
+      1   1    0
+      0  31    2
+      3  13   31
+     -1
+3    13   41
+      0   6    2
+      1  10    0
+      0  31    1
+      1   4    0
+      0  31    1
+      0   6   12
+      1   1    0
+      0  31   12
+      0  30    1
+      0   6   12
+      1   1    0
+      0  31    1
+      0  30    1
+     -1
+3    13   42
+      0   5    2
+      0   5   12
+      1   1    0
+      0  31    2
+      3  13   41
+     -1
+3    13   43
+      0   6    2
+      0   5    2
+      0   5   12
+      1  12    0
+      0  31    1
+      1  10    0
+      0  31    1
+      1   4    0
+      0  31    1
+      0   6   12
+      1   1    0
+      0  31   11
+      0  30    1
+      1   1    0
+      0  31    1
+      0  30    1
+     -1
+3    15    1
+      0   1   11
+      3   1   11
+      3   1   12
+      3   1   23
+      3   6    1
+     -1
+3    15    2
+      0   1   11
+      3   1   11
+      3   1   12
+      3   1   23
+      3   6    4
+     -1
+3    16    1
+      3   1   11
+      0   4    4
+      3   1   23
+      0   1   21
+      0   2   41
+      0  19    1
+      0  10   51
+      0  19    2
+      0  19    3
+      0  19    4
+     -1
+3    18    1
+      3   1   25
+      0  24   11
+     -1
+3    18    3
+      3   1   26
+      0  24    5
+      0  24    4
+      0  24   21
+     -1
+3    18    4
+      3   1   25
+      0   4   23
+      0  13   11
+      0  24    5
+      0  24    4
+      0  24   22
+     -1
+3    21    1
+      0   2  101
+      0   2  114
+      0   2  105
+      0   2  106
+      0   2  107
+      0   2  121
+     -1
+3    21    3
+      0  21   51
+      0  21   14
+      0  21   17
+      0  25   30
+     -1
+3    21    4
+      3   1   31
+      0   2    3
+      1   1    0
+      0  31    1
+      3  21    3
+     -1
+3    21    5
+      0  25    4
+      0   2  121
+      0   2  122
+      0   2  123
+      0   2  124
+      0   2  125
+      0   2  126
+      0   2  127
+      0   2  128
+      0   2  129
+      0   2  130
+      0   2  131
+     -1
+3    21    6
+      0  25    1
+      0  25    2
+      0  25    3
+      0  25    5
+     -1
+3    21    7
+      0  25    9
+      0  25   10
+      0  25   11
+      0  25   12
+      0  25   13
+      0  25   15
+      0  25   16
+      0  25   17
+     -1
+3    21    8
+      0  25    6
+      0  25    7
+      0  25    8
+     -1
+3    21    9
+      0  25   18
+      0  25   19
+     -1
+3    21   10
+      0   2  101
+      0   7    2
+      0   2  102
+      0   2  103
+      0   2  104
+      0   2  105
+      0   2  106
+      0   2  107
+      0   2  108
+      0   2  109
+      0   2  110
+      0   2  132
+      0   2  133
+     -1
+3    21   11
+      0  30   31
+      0  30   32
+      0  29    2
+     -1
+3    21   12
+      1   1    0
+      0  31    1
+      0   2  135
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-006-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-058-000-B
@@ -0,0 +1,520 @@
+#
+# BUFR Table B - Classification of Elements
+#
+# sccs keywords: @(#)Table_B.txt	1.1 05/07/97
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship's call sign
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;      Numeric; Generating center
+# Local descriptors?
+#0	1	50	0	0	48	CCITT_IA5	NMC report identifier
+#0	1	62	0	0	40	CCITT_IA5	National assigned station identifier
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;          deg; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Cloud motion computational method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+# Local descriptors?
+#0	2	28	0	0	32	Flag_Table	Geostationary sounder satellite channels used
+#0	2	29	0	0	8	Flag_Table	Geostationary sounder satellite channels used
+  0;    2;     30;      0;           0;    3;   Flag_Table; GOES I/M parameter calculation data source
+  0;    2;     31;      0;           0;    5;   Code_Table; Method of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to followinG value
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     50;      5;           0;   17;      Numeric; Sigma level
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;     11;      5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;      0;      0;           0;    4;   Code_Table; Vertical significance (forecast soundings)
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     31;      0;           0;    8;         BUFR; Table A	Data category
+  0;    8;     32;      0;           0;   14;   Code_Table; Data significance for simulated forecast
+  0;    8;     33;      0;           0;    3;   Code_Table; Data significance for corrected forecast
+  0;    8;     34;      0;           0;    3;   Code_Table; Data significance for simulated retrievals
+  0;    8;     35;      0;           0;    3;   Code_Table; Data significance for corrected retrievals
+  0;    8;     36;      0;           0;    3;   Code_Table; Data significance for simulated analysis
+  0;    8;     37;      0;           0;    3;   Code_Table; Data significance for corrected analysis
+  0;    8;     38;      0;           0;    3;   Code_Table; Data significance for sigma level data
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     21;      9;      -65536;   17;        s**-1; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;        s**-1; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;         m/si; Maximum derived equivalent vertical gust
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      1;           0;   12;          m/s; Surface - 5000 feet mean LYR wind speed
+  0;   11;     44;      0;           0;    9;     deg_true; Surface - 5000 feet mean LYR wind direction
+  0;   11;     45;      0;           0;    9;     deg_true; Maximum wind (gust) direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     20;      2;       -2000;   12;    deg_K/day; Radiative heating profile
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     40;     -3;       -2048;   12;       W/m**2; Sensible heat flux
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      4;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     40;     -3;       -2048;   12;       W/m**2; Latent heat flux
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; US NWS lifted index
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radiation with respect to FFF above threshold
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      9;     -1;         -40;   11;            m; Ceiling
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;     -1;          40;   11;            m; Low estimated height of cloud top
+  0;   20;     19;     -1;          40;   11;            m; High estimated height of cloud top
+  0;   20;     20;      0;           0;    4;   Code_Table; Low cloud amount
+  0;   20;     21;      0;           0;    4;   Code_Table; Middle cloud amount
+  0;   20;     22;      0;           0;    4;   Code_Table; High cloud amount
+  0;   20;     23;      0;           0;    7;      percent; Satellite sensed effective cloud amount
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     49;      0;           0;   10;   Code_Table; Type of stability measure
+  0;   20;     50;      0;           0;   10;      Numeric; Value of stability
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   12;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;    105;     -1;           0;    6;     deg_true; Direction of waves
+  0;   22;    143;      2;        2650;   13;        deg_K; Sea temperature
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;     -1;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;     -1;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     31;      0;           0;    2;   Code_Table; 15 day SST availability
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     35;      0;           0;    3;   Code_Table; First guess adjustment
+  0;   25;     36;      3;       -5000;   14;      Numeric; NSTAR average value
+  0;   25;     37;      0;           0;    2;   Code_Table; HIRS-8 surface air temperature
+  0;   25;     38;      0;           0;    3;   Code_Table; TOVS filter flags
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+
+#0	0	0	0	0	0	undef	undefined used for SSMI - temporary
+
+  0;   50;    200;      2;      636700;   24;           km; Altitude(km)
+  0;   50;    201;      6;           0;   24;  Rad(Si)/sec; Dosage
+  0;   50;    202;      6;           0;   24;        Gauss; B-Field
+  0;   50;    203;      3;      -20000;   24;           Re; Coordinate
+  0;   50;    204;      3;           0;   24;            -; L-Shell
+
+  0;   51;    200;     -2;           0;   24; KeV/(cm2-s-Sr); e-Energy Flux
+  0;   51;    201;     -2;           0;   24; #/(cm2-s-Sr); e-Number Flux
+  0;   51;    202;     -2;           0;   24; KeV/(cm2-s-Sr); i-Energy Flux
+  0;   51;    203;     -2;           0;   24; #/(cm2-s-Sr); i-Number Flux
+  0;   51;    204;      6;         -10;   24;         mhos; Ped Conduct.
+  0;   51;    205;      6;         -10;   24;         mhos; Hall Conduct.
+
+  0;   52;    200;      5;           0;   26;            -; S4
+  0;   52;    201;      5;           0;   25;            -; SI
+  0;   52;    202;      5;           0;   24;            -; PCT
+  0;   52;    203;      5;           0;   24;            -; PRMS
+
+  0;   53;    200;     -1;           0;   25;       cm**-3; Ne
+  0;   53;    201;      3;           0;   24;          MHz; FE
+  0;   53;    202;      3;           0;   24;          MHz; FoF2
+  0;   53;    203;      3;           0;   20;           km; HE
+  0;   53;    204;      3;           0;   20;           km; HF2
+#
+# Table definitions
+#
+#0	63	000	0	0	0	-	End of Table Descriptors
+#0	63	001	0	0	8	Numeric	Number of Dimensions
+#0	63	002	0	0	8	Numeric	Dimension Size
+#0	63	003	0	0	8	Code_Table	Object Type
+#0	63	004	0	0	8	Flag_Table	Flags
+#0	63	005	0	0	16	Numeric	Object Count
+#0	63	006	0	0	16	Numeric	Object Offset
+#0	63	007	0	0	8	Code_Table	Axis Label
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-005-D
@@ -0,0 +1,1760 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	45
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	01	0
+	2	2	0
+	3	4	30
+	3	4	31
+	-1
+
+3	1	47
+	0	1	7
+	0	25	60
+	0	1	33
+	0	1	34
+	0	1	12
+	3	1	45
+	0	2	21
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1 
+
+3	1	48
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	140
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	1
+	2	2	0
+	0	25	10
+	0	21	64
+	-1
+
+3	1	49
+	0	2	111
+	0	2	112
+	0	21	62
+	0	21	63
+	0	21	64
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	55
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	0	1	12
+	0	1	14
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	1	65
+	0	1	6
+	0	1	8
+	0	2	1
+	0	2	2
+	0	2	5
+	0	2	62
+	0	2	70
+	0	2	65
+	-1
+
+3	1	66
+	3	1	11
+	3	1	13
+	3	1	23
+	0	7	4
+	0	2	64
+	0	8	4
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	6
+	0	10	4
+	0	10	51
+	0	10	62
+	0	10	63
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	13
+	3	2	6
+	3	2	3
+	1	1	0
+	0	31	1
+	3	2	05
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	22
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	3	33
+	0	20	10
+	0	20	16
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	4	30
+	0	27	31
+	0	28	31
+	0	10	31
+	-1
+
+3	4	31
+	0	1	41
+	0	1	42
+	0	1	43
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	6	20
+	3	6	24
+	1	2	6
+	0	22	38
+	0	22	39
+	-1
+
+3	6	21
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	122
+	0	22	123
+	0	12	1
+	3	3	2
+	-1
+
+3	6	22
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	-1
+
+3	6	23
+	0	1	15
+	3	1	23
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	0	22	120
+	0	22	121
+	-1
+
+3	6	24
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	42
+	0	22	120
+	0	22	121
+	0	4	25
+	0	4	15
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	7	9
+	3	1	31
+	3	2	13
+	-1
+
+3	7	11
+	0	1	63
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	0	7	6
+	0	11	1
+	0	11	16
+	0	11	17
+	0	11	2
+	0	11	42
+	0	7	6
+	0	12	1
+	0	12	3
+	0	10	52
+	0	20	9
+	-1
+
+3	7	12
+	1	3	0
+	0	31	1
+	0	8	23
+	0	5	21
+	0	20	1
+	-1
+
+3	7	13
+	1	6	0
+	0	31	1
+	0	1	64
+	0	8	14
+	0	20	61
+	0	8	14
+	0	20	61
+	0	20	18
+	-1
+
+3	7	14
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	15
+	1	1	0
+	0	31	1
+	3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	0	20	2
+	-1
+
+3	7	16
+	1	1	0
+	0	31	1
+	0	20	20
+	-1
+
+3	7	17
+	1	1	0
+	0	31	1
+	0	11	70
+	-1
+
+3	7	18
+	0	8	16
+	1	2	0
+	0	31	1
+	0	8	17
+	3	1	12
+	1	4	0
+	0	31	1
+	0	7	6
+	0	11	1
+	0	11	2
+	0	11	41
+	0	20	9
+	1	1	0
+	0	31	1
+	0	20	1
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	20
+	3	7	11
+	3	7	14
+	3	7	16
+	-1
+
+3	7	21
+	3	7	11
+	3	7	12
+	3	7	13
+	3	7	14
+	3	7	15
+	3	7	16
+	3	7	17
+	3	7	18
+	3	7	15
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	8	7
+	3	1	55
+	3	2	11
+	0	7	62
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	10	5
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	03	25
+	-1
+
+3	10	6
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	23
+	-1
+
+3	10	7
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	24
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	11	2
+	3	1	65
+	3	1	66
+	3	11	3
+	3	11	4
+	-1
+
+3	11	3
+	0	10	70
+	0	11	1
+	0	11	2
+	0	12	1
+	0	13	2
+	-1
+
+3	11	4
+	1	1	0
+	0	31	0
+	0	11	34
+	1	1	0
+	0	31	0
+	0	11	35
+	1	1	0
+	0	31	0
+	0	11	75
+	1	1	0
+	0	31	0
+	0	11	76
+	1	1	0
+	0	31	0
+	0	33	25
+	1	1	0
+	0	31	0
+	0	33	26
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	1	2	32
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	12	20
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	4	12
+	0	6	30
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	21
+	3	1	47
+	1	1	3
+	3	1	49
+	0	11	12
+	0	11	11
+	0	21	67
+	-1
+
+3	12	22
+	3	1	47
+	0	8	22
+	0	11	12
+	0	11	50
+	0	22	70
+	0	22	26
+	3	12	41
+	0	10	50
+	0	21	68
+	0	21	71
+	0	21	72
+	0	21	73
+	3	12	42
+	0	21	62
+	0	15	11
+	-1
+
+3	12	23
+	3	1	47
+	1	3	3
+	0	8	22
+	0	12	61
+	0	22	50
+	0	21	69
+	0	21	85
+	-1
+
+3	12	24
+	3	12	20
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+
+3	12	41
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	00
+	2	2	00
+	-1
+
+3	12	42
+	0	21	77
+	0	21	78
+	0	21	79
+	0	21	80
+	0	21	81
+	0	21	82
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	16	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	1	33
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	7	2
+	0	7	2
+	-1
+
+3	16	3
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	11	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	4
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	11	31
+	0	8	7
+	0	8	11
+	-1
+
+3	16	5
+	1	8	0
+	0	31	1
+	0	8	5
+	0	8	7
+	0	5	2
+	0	6	2
+	0	1	26
+	0	19	1
+	0	8	7
+	0	8	5
+	-1
+
+3	16	6
+	1	12	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	11
+	0	20	12
+	0	8	7
+	0	8	11
+	-1
+
+3	16	7
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	19	5
+	0	19	6
+	0	8	7
+	0	8	11
+	-1
+
+3	16	8
+	1	11	0
+	0	31	1
+	0	8	1
+	0	8	7
+	0	8	23
+	1	3	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	8	23
+	0	8	7
+	0	8	1
+	-1
+
+3	16	9
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	41
+	0	8	7
+	0	8	11
+	-1
+
+3	16	10
+	1	7	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	1	22
+	0	5	2
+	0	6	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	11
+	1	16	0
+	0	31	1
+	0	8	11
+	0	1	22
+	0	8	7
+	0	1	2
+	0	31	1
+	0	5	2
+	0	6	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	20	90
+	0	8	21
+	0	8	7
+	0	8	11
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	0	2	135
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-128-001-D
@@ -0,0 +1,25 @@
+#
+# B2L-128-001-D.001 - Local BUFR Table D (Lists of Common Sequences)
+# for center 128 (NRL Monterey), Minor Local Version 1
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+
+# Phony local descriptor for debugging purposes
+#
+#3	5	1
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	0	2	104		# Antenna polarization            (4 bits)
+#	0	2	113		# Number of azimuth looks         (4 bits)
+#	-1
+#
+3	5	1
+	0	2	 11		# Radiosonde type                 (8 bits)
+	0	2	 22		# Satellite DP technique used     (8 bits)
+	0	2	102		# Antenna height above tower base (8 bits)
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-001-B
@@ -0,0 +1,779 @@
+#
+# B2L-058-001-B.001 - Local BUFR Table B for center 058 (FNMOC),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale (u)
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   40;    CCITT_IA5; Descriptor defining sequence
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number (II)
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number (iii)
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number) (Ia...Ia)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier (I1I2I2)
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship call sign (D...D)
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform (dBdB)
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision) (VBVB)
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;      Numeric; Generating center
+  0;    1;     50;      0;           0;   48;    CCITT_IA5; NMC report identifier
+  0;    1;     62;      0;           0;   40;    CCITT_IA5; National assigned station identifier
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator (CCCC)
+  0;    1;    192;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;    1;    193;      0;           0;    4;   Code_Table; global octant
+  0;    1;    195;      0;           0;   10;      Numeric; Marsden square number
+  0;    1;    197;      0;           0;    6;      Numeric; Runway number
+  0;    1;    198;      0;           0;   16;   Code_Table; Sea station type
+  0;    1;    200;      0;           0;    2;   Code_Table; Radar Capability indicator (XXX)
+  0;    1;    201;      0;           0;    8;   Code_Table; Country or agency that operates the satellite
+  0;    1;    203;      0;           0;   16;    CCITT_IA5; Satellite name
+  0;    1;    204;      0;           0;   16;    CCITT_IA5; Satellite series
+  0;    1;    206;      0;           0;   32;    CCITT_IA5; TOVS generating center name
+  0;    1;    207;      0;           0;   72;    CCITT_IA5; File name
+  0;    1;    208;      0;           0;    4;   Code_Table; Satellite data type
+  0;    1;    209;      0;           0;    8;   Code_Table; Observation type for MCSST
+  0;    1;    210;      0;           0;    7;   Code_Table; Observation source
+  0;    1;    211;      0;           0;    4;      Numeric; Beam position
+  0;    1;    212;      0;           0;   24;      Numeric; Data processing block number
+  0;    1;    213;      0;           0;    3;   Code_Table; Tip source type identifier
+  0;    1;    214;      0;           0;   32;    CCITT_IA5; Header originator
+  0;    1;    215;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;    1;    216;      0;           0;   14;      Numeric; Engineering status
+  0;    1;    217;      0;           0;    5;      Numeric; Satellite number
+  0;    1;    218;      0;           0;  176;    CCITT_IA5; Sequence (report) type
+  0;    1;    219;      0;           0;   40;    CCITT_IA5; Mission number
+  0;    1;    220;      0;           0;    7;      Numeric; Observation number
+  0;    1;    221;      0;           0;    8;   Code_Table; Surface type
+  0;    1;    222;      0;           0;   32;    CCITT_IA5; Report modifier
+  0;    1;    223;      0;           0;    3;   Code_Table; Runway parallel indicator
+  0;    1;    224;      0;           0;    5;   Code_Table; Terrain code identifier
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station (ix)
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement (ewew)
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used (a4, I3, or I4)
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measur
+  0;    2;      5;      2;           0;    7;        deg_K; Precision of temperature observed (s3)
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type (rara)
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction (Sr)
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system (sasa)
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Cloud motion computational method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     28;      0;           0;   32;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     29;      0;           0;    8;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement (k5)
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization (k1)
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement (k2)
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type (id)
+  0;    2;     35;      0;           0;    9;            m; Cable length (ZdZdZd)
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type (Ip or Vi...Vi)
+  0;    2;     38;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;    2;     39;      0;           0;    4;   Code_Table; Wet bulb temperature method indicator
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction (Qn)
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report (At or QL)
+  0;    2;     47;      0;           0;    4;   Code_Table; Method of removing ship velocity
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator to specify observing method for extreme temperatures
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system (s1)
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type serial number/identifier
+  0;    2;    142;      0;           0;    8;   Code_Table; Ozone instrument
+  0;    2;    143;      0;           0;    7;      Numeric; Instrument type
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+  0;    2;    194;      0;           0;    8;   Code_Table; Spectral calculation method
+  0;    2;    199;      0;           0;    4;      Numeric; grp_pos_ind
+  0;    2;    203;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;    2;    204;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;    2;    205;      0;           0;    3;   Code_Table; Ozone flag
+  0;    2;    206;      0;           0;    4;   Code_Table; Algorithm identifier
+  0;    2;    207;      0;           0;    5;   Code_Table; Equation identifier
+  0;    2;    208;      0;           0;    2;   Code_Table; Type of method for measuring pressure
+  0;    2;    209;      0;           0;   10;   Code_Table; Xbt instrument type (IxIxIx)
+  0;    2;    210;      0;           0;    7;   Code_Table; Recorder type (XRXR)
+  0;    2;    211;      0;           0;    8;   Flag_Table; Sensor status flag
+  0;    2;    212;      0;           0;    2;   Flag_Table; Maintenance Check flag
+  0;    4;      1;      0;           0;   12;           yr; Year (4-digit)
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;           yr; Time increment - year
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment - month
+  0;    4;     13;      0;       -1024;   11;          day; Time increment - day
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment - hour
+  0;    4;     15;      0;       -2048;   12;          min; Time increment - minutes
+  0;    4;     16;      0;       -4096;   13;            s; Time increment - seconds
+  0;    4;     21;      0;       -1024;   11;           yr; Time period or displacement - year
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement - month
+  0;    4;     23;      0;       -1024;   11;          day; Time period or displacement - month
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement - hour
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement - minutes
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement - seconds
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to following value (TT)
+  0;    4;     41;      0;       -1440;   12;          min; Time difference, UTC - LMT
+  0;    4;     43;      0;           0;    9;          day; Day of the year
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week (Y)
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipitation equal or more than 1 mm
+  0;    4;     70;      0;           0;    8;      Numeric; Sample number
+  0;    4;    192;      0;           0;    4;   Code_Table; Precipitation time period (tR)
+  0;    4;    193;      0;           0;   31;   Code_Table; Last time that this observation record was updated
+  0;    4;    200;      0;           0;   12;           yr; Time of receipt - year
+  0;    4;    201;      0;           0;    4;           mo; Time of receipt - month
+  0;    4;    202;      0;           0;    6;          day; Time of receipt - day
+  0;    4;    203;      0;           0;    5;           hr; Time of receipt - hour
+  0;    4;    204;      0;           0;    6;          min; Time of receipt - minute
+  0;    4;    206;      3;           0;   27;            s; GMT seconds
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy) (La...La)
+  0;    5;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     50;      5;           0;   17;      Numeric; Sigma level
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+  0;    5;    192;      0;           0;    3;      Numeric; Image line number
+  0;    5;    193;      0;           0;    4;      Numeric; Image sample number
+  0;    5;    194;      0;           0;   14;      Numeric; Orbit number
+  0;    5;    196;      0;           0;   16;      Numeric; Orbit number
+  0;    5;    197;      0;           0;    8;      Numeric; Frame number
+  0;    5;    199;      0;           0;   20;      Numeric; Orbit number
+  0;    6;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy) (Lo...Lo)
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;     11;      5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    7;      1;      0;        -400;   15;            m; Height of station (hohohoho)
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude (hahaha, hIhIhI, HmHmHm, HH, tnu2, or tnu3)
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure (Pa...Pa, Paob...Paob, Po...Po, PtPtPt, or PAPA)
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Geopotential height
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+  0;    7;    192;      2;           0;   13;          deg; Local zenith angle
+  0;    7;    196;      0;           0;    4;   Code_Table; Station height precision
+  0;    7;    197;      1;           0;   11;          deg; Solar zenith angle
+  0;    7;    198;      2;       -6000;   14;          deg; Satellite zenith angle
+  0;    7;    199;      1;           0;   11;          deg; Solar azimuth angle
+  0;    7;    223;      2;           0;   14;          deg; Solar zenith angle
+  0;    7;    224;      1;           0;   14;            m; Surface elevation
+  0;    8;      0;      0;           0;    4;   Code_Table; Vertical significance (forecast soundings)
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight (ipipip)
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     24;      0;           0;    8;   Code_Table; Type of difference
+  0;    8;     31;      0;           0;    8;    CCITT_IA5; Data category
+  0;    8;     32;      0;           0;   14;   Code_Table; Data significance for simulated forecast
+  0;    8;     33;      0;           0;    3;   Code_Table; Data significance for corrected forecast
+  0;    8;     34;      0;           0;    3;   Code_Table; Data significance for simulated retrievals
+  0;    8;     35;      0;           0;    3;   Code_Table; Data significance for corrected retrievals
+  0;    8;     36;      0;           0;    3;   Code_Table; Data significance for simulated analysis
+  0;    8;     37;      0;           0;    3;   Code_Table; Data significance for corrected analysis
+  0;    8;     38;      0;           0;    3;   Code_Table; Data significance for sigma level data
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurrence follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurrence qualifier
+  0;    8;     70;      0;           0;    8;   Code_Table; Surface Type Code ID
+  0;    8;    194;      0;           0;    4;   Code_Table; Flight condition (fc)
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height (HHH)
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Geopotential height
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level (PPPP)
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH) (PH...PH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change (ppp)
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency (a, w, or w'w')
+  0;   10;    103;      0;           0;    4;   Code_Table; Geopotential thickness QC ID
+  0;   10;    197;      0;           0;    4;   Code_Table; Index pertaining to geopotential height (j)
+  0;   10;    199;      0;       -1024;   16;            m; Geopotential height difference
+  0;   10;    200;      0;       -1024;   16;            m; Geopotental height correction
+  0;   10;    201;      0;           0;   14;   Code_Table; Pressure tendency QC ID
+  0;   10;    203;      0;           0;    4;   Code_Table; Geopotential height quality control flag
+  0;   10;    213;      0;       -1024;   16;            m; Geopotential height
+  0;   10;    224;      0;           0;    4;   Code_Table; Station level pressure QC ID
+  0;   10;    251;      0;           0;    4;   Code_Table; Mean sea level pressure QC ID
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction (dd, dodo>dndn, dmagdmag)
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed (ff, fff, or fofofo>fnfnfn)
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     21;      9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;          1/s; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence (B...B or BA)
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence (BabBabBab or B1B1B1)
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence (BatBatBat or B1B1B1)
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts) (fm...fm)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      1;           0;   12;          m/s; Surface - 5000 feet mean LYR wind speed (dmdm)
+  0;   11;     44;      0;           0;    9;     deg_true; Surface - 5000 feet mean LYR wind direction
+  0;   11;     45;      0;           0;    9;     deg_true; Maximum wind (gust) direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+  0;   11;    195;      0;           0;    2;   Code_Table; Wind type at flight altitude (dt)
+  0;   11;    200;      0;           0;    4;   Code_Table; Wind QC ID
+  0;   11;    203;      1;       -4096;   13;          m/s; Wind u-component difference
+  0;   11;    204;      1;       -4096;   13;          m/s; Wind v-component difference
+  0;   11;    205;      0;           0;    4;   Code_Table; Turbulence (B) (WMO code table 0300)
+  0;   11;    206;      0;           0;    2;   Code_Table; Flight level wind method (da)
+  0;   11;    207;      0;           0;    2;   Code_Table; Extreme wind speed ID
+  0;   11;    213;      1;       -4096;   13;          m/s; Wind u-component correction
+  0;   11;    214;      1;       -4096;   13;          m/s; Wind v-component correction
+  0;   11;    244;      0;           0;   16;     deg_true; Direction of wind
+  0;   11;    245;      2;           0;   16;          m/s; wnd_spd
+  0;   11;    246;      1;           0;    8;          m/s; Ocean surface wind speed
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature (Ta, TsTsTs, TtTt, or TxTxTx)
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature (TbTbTb)
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint (TdTdTd or T'dT'd)
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters (Tao>Tan, ToTo>tnTn, or TT)
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature (TnTnTn)
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     20;      2;       -2000;   12;    deg_K/day; Radiative heating profile
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature (ToTo)
+  0;   12;     40;     -3;       -2048;   12;       W/m**2; Sensible heat flux
+  0;   12;     48;      0;        -200;    8;        deg_K; Land/snow surface temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+  0;   12;     70;      2;           0;   16;        deg_K; Vertical polarization 19GHz brightness temperature
+  0;   12;     71;      2;           0;   16;        deg_K; Horizontal polarization 19GHz brightness temperature
+  0;   12;     72;      2;           0;   16;        deg_K; Vertical polarization 22GHz brightness temperature
+  0;   12;     73;      2;           0;   16;        deg_K; Vertical polarization 37GHz brightness temperature
+  0;   12;     74;      2;           0;   16;        deg_K; Horizontal polarization 37GHz brightness temperature
+  0;   12;     75;      2;           0;   16;        deg_K; Vertical polarization 85GHz brightness temperature
+  0;   12;     76;      2;           0;   16;        deg_K; Horizontal polarization 85GHz brightness temperature
+  0;   12;    192;      0;           0;    4;   Code_Table; Wet bulb temperature indicator
+  0;   12;    193;      2;           0;   16;        deg_K; SSU brightness temperature
+  0;   12;    194;      2;           0;   16;        deg_K; Dewpoint
+  0;   12;    195;      0;           0;    4;   Code_Table; Dewpoint, aircraft altitude, air temperature indicator (id)
+  0;   12;    196;      2;           0;   16;        deg_K; Dewpoint difference
+  0;   12;    201;      0;           0;    4;   Code_Table; Air temperature QC ID
+  0;   12;    213;      0;           0;    4;   Code_Table; Dewpoint QC ID
+  0;   12;    215;      0;           0;    2;   Code_Table; Temperature precision flag
+  0;   12;    220;      2;           0;   16;        deg_K; HIRS brightness temperature
+  0;   12;    221;      2;           0;   16;        deg_K; MSU brightness temperature
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity (U1>Un or U...U)
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density (p1p1p1)
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent (Aw or R...R)
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth (sss)
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water (www)
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours (R24...R24)
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     40;     -3;       -2048;   12;       W/m**2; Latent heat flux
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipitation
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipiation
+  0;   13;     71;      1;           0;    7;      kg/m**2; Liquid water
+  0;   13;     75;      0;           0;    8;      percent; Land snow cloud
+  0;   13;     76;      2;           0;    6;            m; Snow-water equivalent
+  0;   13;    176;      0;           0;    7;   Code_Table; Precipitable water precision flag
+  0;   13;    192;      0;           0;    4;   Code_Table; Precipitation identifier (iR)
+  0;   13;    193;      0;           0;   10;   Code_Table; Precipitation amount
+  0;   13;    194;      3;           0;   16;         g/kg; First guess mixing ratios
+  0;   13;    197;      0;           0;    3;   Code_Table; Rain indicator
+  0;   13;    203;      0;           0;    4;   Code_Table; Relative hunidity QC ID
+  0;   13;    217;      0;           0;    8;      Numeric; Precipitation flag (SSM/T)
+  0;   13;    218;      2;           0;   11;    kg/(m**2); Cloud water
+  0;   13;    219;      2;           0;   10;           cm; Total precipitable water
+  0;   13;    220;      1;           0;    9;        mm/hr; Rain rate
+  0;   13;    221;      2;           0;   14;    kg/(m**2); Cloud Liquid Water
+  0;   14;      1;     -3;       -2048;   12;       J/m**2; Longwave radiation, integrated over 24 hours (FLFLFL)
+  0;   14;      3;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over 24 hours (FiFiFi)
+  0;   14;      4;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over period specified (FsFsFs)
+  0;   14;     11;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;       J/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;       J/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine (precentage)
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+  0;   15;      1;      0;           0;   10;  dobson_unit; Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air-mass (slant path at 22 km)
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features (dsds)
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radiation with respect to FFF above threshold
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility (Dv, Vi, V...V, or VxVxVxVx)
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather (ww or w'w')
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1) (Wa1Wa2 or W1W2)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2) (wawa)
+  0;   20;      9;     -1;         -40;   11;            m; Ceiling
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total) (N, NcNc, or Ns...Ns)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount (N or Ns...Ns)
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type (C, Ct, CH, CL, or CM)
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud (h, hshs, hshshs, or H'H')
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud (HfHfHf or HtHt)
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud (PcPcPc)
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;     -1;          40;   11;            m; Low estimated height of cloud top
+  0;   20;     19;     -1;          40;   11;            m; High estimated height of cloud top (H1>Hn)
+  0;   20;     21;      0;           0;    4;   Code_Table; Middle cloud amount
+  0;   20;     22;      0;           0;    4;   Code_Table; High cloud amount
+  0;   20;     23;      0;           0;    7;      percent; Satellite sensed effective cloud amount
+  0;   20;     30;      0;           0;    4;   Code_Table; Total ice concentration
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness) (EsEs)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion (Rs)
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion (Is)
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration (Ci)
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice (zii...zii)
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development (bi)
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Rate of icing (Ir)
+  0;   20;     49;      0;           0;   10;   Code_Table; Type of stability measure
+  0;   20;     50;      0;           0;   10;      Numeric; Value of stability
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR) (VR...VR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground (with or without snow) (E')
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     71;      0;           0;    2;   Code_Table; Ice age code ID
+  0;   20;     72;      0;           0;    2;   Code_Table; Ice edge code ID
+  0;   20;    196;      0;           0;    8;    CCITT_IA5; Runway visibility tendency
+  0;   20;    197;      0;           0;    2;   Flag_Table; Landing wind shear indicator
+  0;   20;    199;      0;           0;    8;     deg_true; Visibility direction
+  0;   20;    205;      0;           0;   24;    CCITT_IA5; Cloud significant convection
+  0;   20;    206;      0;           0;   64;    CCITT_IA5; Significant present weather conditions
+  0;   20;    207;      0;           0;    4;   Code_Table; Pressure and altitude significance
+  0;   20;    208;      0;           0;    4;   Code_Table; Significant weather changes (Ws)
+  0;   20;    209;      0;           0;    4;   Code_Table; Distance of weather changes (Ss)
+  0;   20;    210;      0;           0;    4;   Code_Table; Distant weather (Wd)
+  0;   20;    211;      0;           0;    4;   Code_Table; Bearing of distant weather (dw)
+  0;   20;    213;      0;           0;    4;   Code_Table; Icing and contrail types (It)
+  0;   20;    216;      0;           0;    7;   Code_Table; Altitude of layer base where icing occurred (hihi)
+  0;   20;    219;      0;           0;    4;   Code_Table; Distance to center or line midpoint
+  0;   20;    220;      0;           0;    4;   Code_Table; Orientation of ellipse (Sr)
+  0;   20;    221;     -3;           0;   16;            m; Echo width or diameter (Ew)
+  0;   20;    222;     -3;           0;   16;            m; Echo axis length (El)
+  0;   20;    223;      0;           0;    8;   Code_Table; Echo character (ce)
+  0;   20;    224;      0;           0;    4;   Code_Table; Intensity of echo (Ie)
+  0;   20;    225;      0;           0;    3;   Code_Table; In flight horizontal visibility (Vi)
+  0;   20;    236;      0;           0;    8;    CCITT_IA5; Cloud base height
+  0;   20;    237;      0;           0;    7;   Code_Table; Horizontal visbility
+  0;   20;    240;      0;           0;    4;   Code_Table; Present weather (w)
+  0;   20;    242;      0;           0;    5;   Code_Table; Bearing of ice edge
+  0;   20;    244;      0;           0;    4;   Code_Table; cloud base height
+  0;   20;    245;      0;           0;  640;    CCITT_IA5; Remarks in plain language
+  0;   20;    246;      0;           0;    7;      percent; Ice coverage
+  0;   20;    247;      0;           0; 1656;    CCITT_IA5; Ice plain language text remarks
+  0;   20;    248;      0;           0;    7;   Code_Table; Height of base of cloud (hshs)
+  0;   20;    249;      0;           0;    7;   Code_Table; Height of top of cloud (HtHt)
+  0;   20;    254;      0;           0;    8;    CCITT_IA5; Extreme value indicator
+  0;   20;    255;      0;           0; 2040;    CCITT_IA5; Plain language text remarks
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;    192;      0;           0;   14;            m; Heave sensor spectral peak length
+  0;   21;    193;      1;           0;   14;            s; Heave sensor spectral peak period
+  0;   21;    194;      2;           0;   14;      percent; AVHRR channel average
+  0;   21;    195;      2;           0;   14;      percent; Space view channel standard deviation
+  0;   21;    196;      2;           0;   15;        deg_K; Algorithm identifier
+  0;   21;    197;      2;           0;   15;        deg_K; AVHRR channel average
+  0;   21;    198;      2;       -5000;   13;           dB; Backscatter
+  0;   21;    199;      1;           0;   10;      percent; Noise figure percentage
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves (dddd, da1da1, or d1d1>dndn)
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves (dw1dw1 or dw2dw2)
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current (dodo>dndn or DcDc))
+  0;   22;     11;      0;           0;    6;            s; Period of waves (D'D'D'D', PaPaPaPa, or PwPw)
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves (Pw1Pw1 or Pw2Pw2)
+  0;   22;     21;      1;           0;   10;            m; Height of waves (D'D'D'D' or HsHsHsHs)
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves (HwHw)
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves (Hw1Hw1 or Hw2Hw2)
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current (cococo>cncncn or VcVc)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature (T1T1T1>TnTnTn)
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature (ToToToTo>TnTnTnTn)
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;        deg_K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity (SoSoSoSo>SnSnSnSn)
+  0;   22;     63;      0;           0;   14;            m; Total water depth (hhh or ZdZdZdZd)
+  0;   22;    105;     -1;           0;    6;     deg_true; Direction of waves (da2da2)
+  0;   22;    143;      2;           0;   13;        deg_K; Sea temperature
+  0;   22;    192;      0;           0;   14;            m; Wave length
+  0;   22;    193;      2;           0;   14;            m; Slope sensor significant wave height
+  0;   22;    194;      0;           0;   14;            m; Slope sensor spectral peak length
+  0;   22;    195;      1;           0;   14;            s; Slope sensor spectral peak period
+  0;   22;    196;      1;           0;   14;            s; Slope sensor mean wave period
+  0;   22;    197;      0;           0;   14;            m; Slope sensor mean wave length
+  0;   22;    198;      0;           0;    7;     deg_true; Wave directional spread
+  0;   22;    199;      1;           0;   14;            s; Time sample interval
+  0;   22;    200;      0;           0;   14;            m; Distance sample interval
+  0;   22;    201;      1;           0;   14;            s; Recorded wave duration
+  0;   22;    202;      0;           0;   14;            m; Recorded wave length
+  0;   22;    203;      0;           0;    7;      Numeric; Count of bands described
+  0;   22;    204;      0;           0;    4;   Code_Table; Wave expiration
+  0;   22;    205;      3;           0;   20; m**2/(Hz*rad); Wave spectra
+  0;   22;    206;      4;           0;   10;      Numeric; Drag coefficient
+  0;   22;    207;      2;           0;   16;            m; Maximum wave height
+  0;   22;    208;      2;           0;   16;            m; Significant wave height
+  0;   22;    209;      0;           0;    7;   Code_Table; directional spread
+  0;   22;    211;      0;           0;    8;   Code_Table; Bogus water mass classification
+  0;   22;    212;      0;           0;    8;   Code_Table; Discriminant water mass classification
+  0;   22;    213;      1;           0;   10;      percent; Classification probability
+  0;   22;    214;      0;           0;   10;      m**2/Hz; Heave sensor spectral density frequency
+  0;   22;    215;      0;           0;   10;         m**3; Heave sensor spectral density number
+  0;   22;    216;      0;           0;    7;      Numeric; Heave sensor band number
+  0;   22;    217;      0;           0;    7;      percent; Heave sensor ratio
+  0;   22;    218;      0;           0;    7;      Numeric; Slope sensor band number
+  0;   22;    219;      0;           0;    7;      percent; Slope sensor ratio
+  0;   22;    220;      0;           0;    8;   Code_Table; Front number
+  0;   22;    224;     -2;           0;   14;            m; Distance to front
+  0;   22;    229;      0;           0;    7;   Code_Table; Wave direction
+  0;   22;    232;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;   22;    233;      0;           0;    3;   Code_Table; Sea temperature averaging period
+  0;   22;    236;      0;           0;    8;   Code_Table; Swell wave direction
+  0;   22;    237;     -2;           0;   14;            m; Significant wave height
+  0;   22;    238;     -2;           0;   14;            m; Maximum wave height
+  0;   22;    239;      0;           0;    6;      Numeric; Wave spectra direction count
+  0;   22;    240;      0;           0;    6;      Numeric; Wave spectra frequency count
+  0;   22;    241;      3;      -32768;   16;      Nt/m**2; Wave stress u-component
+  0;   22;    242;      3;      -32768;   16;      Nt/m**2; Wave stress v-component
+  0;   22;    243;      0;           0;    7;      percent; Whitecap probability
+  0;   22;    244;      0;           0;    7;   Code_Table; Estimated wave direction of spectral wave
+  0;   22;    245;      2;           0;   16;        deg_K; Surface temperature
+  0;   22;    246;      3;      -32768;   16;      Nt/m**2; Wind stress u-component
+  0;   22;    247;      3;      -32768;   16;      Nt/m**2; Wind stress v-component
+  0;   22;    248;      0;           0;   16;     deg_true; Wind wave direction
+  0;   22;    249;      2;           0;   16;            m; Height of wind wave
+  0;   22;    250;      1;           0;   16;            s; Period of wind waves
+  0;   22;    251;      0;           0;    6;      Numeric; Wave spectra direction
+  0;   22;    252;      0;           0;    6;      Numeric; Wave spectra frequency
+  0;   22;    253;      0;           0;   16;     deg_true; Direction of swell waves
+  0;   22;    254;      2;           0;   16;            m; Height of swell waves
+  0;   22;    255;      1;           0;   16;            s; Period of swell waves
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precip
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter change in wind direction and/or speed flag
+  0;   24;      1;    -11;           0;   28;           Bq; Estimate of radioactivity released up to specified time
+  0;   24;      2;    -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     31;      0;           0;    2;   Code_Table; 15 day SST availability
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     35;      0;           0;    3;   Code_Table; First guess adjustment
+  0;   25;     36;      3;       -5000;   14;      Numeric; NSTAR average value
+  0;   25;     37;      0;           0;    2;   Code_Table; HIRS-8 surface air temperature
+  0;   25;     38;      0;           0;    3;   Code_Table; TOVS filter flags
+  0;   25;     41;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;   25;     42;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;   25;    192;      0;           0;    8;   Code_Table; Type of correction
+  0;   25;    193;      0;           0;    3;   Code_Table; Land/sea flag
+  0;   25;    194;      0;           0;    2;   Code_Table; Day/night flag
+  0;   25;    195;      0;           0;    6;      Numeric; Surface model pressure
+  0;   25;    196;      0;           0;   16;      Numeric; Scan line count
+  0;   25;    197;      0;           0;    5;      Numeric; Box counter
+  0;   25;    198;      0;           0;    3;      Numeric; Minibox counter
+  0;   25;    199;      0;           0;    3;   Code_Table; Water vapor flag
+  0;   25;    200;      0;           0;    3;   Code_Table; TOVS retrieval low 20
+  0;   25;    201;      0;           0;    3;   Code_Table; TOVS retrieval temps high 20
+  0;   25;    202;      0;           0;    2;   Code_Table; TOVS super adiabatic flag
+  0;   25;    203;      0;           0;    2;   Code_Table; TOVS skin temperature flag
+  0;   25;    204;      0;           0;    2;   Code_Table; Stratospheric sounding unit flag
+  0;   25;    205;      0;           0;    4;   Code_Table; Latitude zones
+  0;   25;    206;      0;           0;    4;   Code_Table; TOVS instrument combinations
+  0;   25;    208;      0;           0;    8;   Code_Table; TARM flag
+  0;   25;    209;      0;           0;    4;   Code_Table; DMSP flag
+  0;   25;    211;      0;           0;   17;      Numeric; B-scan start time
+  0;   25;    212;      0;           0;    7;      Numeric; Counter (1-64)
+  0;   25;    213;      0;           0;    5;   Code_Table; Calculated surface type
+  0;   25;    214;      0;           0;    3;   Code_Table; Season flag
+  0;   25;    215;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   25;    216;      0;           0;    3;   Code_Table; Observation Quality Code
+  0;   26;      1;      1;           0;   12;           hr; Principle time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;           hr; Principle time of daily reading in UTC of minimum temperature
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite location counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-location dimensions
+  0;   28;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type (Wr)
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch (1 bit)
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor (255 or less)
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor (65536 or less)
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data replication factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data replication factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;    192;      0;           0;    8;   Code_Table; Associated QC indicator
+  0;   31;    193;      0;           0;    8;   Code_Table; QC description identifier, indicates why a value is bad
+  0;   31;    194;      2;           0;    7;      Numeric; Associated correlation
+  0;   31;    195;      2;           0;    7;      Numeric; Associated probability of error
+  0;   31;    196;      0;           0;   13;   Flag_Table; UWI product confidence flag
+  0;   31;    197;      0;           0;   12;      Numeric; Solution probability
+  0;   31;    201;      0;           0;   10;      Numeric; Delayed replication factor (1023 or less)
+  0;   31;    211;      0;           0;    3;      Numeric; Delayed replication factor (15 or less)
+  0;   31;    221;      0;           0;    5;      Numeric; Delayed replication count (31 or less)
+  0;   31;    231;      0;           0;    6;      Numeric; Delayed replication factor (63 or less)
+  0;   31;    241;      0;           0;    4;      Numeric; Delayed replication factor (15 or less)
+  0;   48;      1;      0;           0;  128;    CCITT_IA5; Classification
+  0;   48;      2;      0;           0;  128;    CCITT_IA5; Classification modifier
+  0;   48;      3;      0;           0;  552;    CCITT_IA5; Release as
+  0;   48;      4;      0;           0;   12;           yr; Declassification - year
+  0;   48;      5;      0;           0;    4;           mo; Declassification - month
+  0;   48;      6;      0;           0;    6;          day; Declassification - day
+  0;   48;      7;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;      8;      0;           0;   64;    CCITT_IA5; Sender of original observation data
+  0;   48;      9;      0;           0;   80;    CCITT_IA5; Declassification instructions
+  0;   48;     10;      0;           0;   12;           yr; Send - year
+  0;   48;     11;      0;           0;    4;           mo; Send - month
+  0;   48;     12;      0;           0;    6;          day; Send - day
+  0;   48;     13;      0;           0;    4;           hr; Send - hour
+  0;   48;     14;      0;           0;    6;          min; Send - minutes
+  0;   48;     15;      0;           0;  552;    CCITT_IA5; Release to information
+  0;   48;     16;      0;           0;    5;           hr; Send - hour
+  0;   48;     17;      0;           0; 1104;    CCITT_IA5; Release to
+  0;   48;     18;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;     19;      0;           0;  552;    CCITT_IA5; Declassification instructions
+  0;   48;     20;      0;           0;  552;    CCITT_IA5; Classification modifier
+  0;   48;     21;      0;           0;  552;    CCITT_IA5; Sender of observational data
+  0;   48;     22;      0;           0;  160;    CCITT_IA5; Classification
+  0;   48;     27;      0;           0;   12;           yr; Receipt - year
+  0;   48;     28;      0;           0;    4;           mo; Receipt - month
+  0;   48;     29;      0;           0;    6;          day; Receipt - day
+  0;   48;     30;      0;           0;    5;           hr; Receipt - hour
+  0;   48;     31;      0;           0;    6;          min; Receipt - minutes
+  0;   48;     32;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;   48;     33;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;   48;     34;      0;           0;    6;      Numeric; Near-duplicate combination count
+  0;   50;      1;      0;           0;    2;   Code_Table; Quality of measurement of pressure, sst,
+  0;   50;      2;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission (QN)
+  0;   50;      3;      0;           0;    4;   Code_Table; IGOSS quality codes (Qd, Qd1, Qd2, Q1, Qt)
+  0;   50;      6;      0;           0;    3;   Code_Table; Location quality codes (QL)
+  0;   50;     10;      2;           0;   15;        deg_K; GDEM temperature
+  0;   50;     14;      2;           0;   15;        deg_K; Feature model temperature
+  0;   50;     18;      0;           0;   16;      Numeric; Reliability
+  0;   50;     33;      0;           0;    8;      Numeric; Count of boundary points
+  0;   50;     34;      3;           0;   16;      Numeric; Frequency ratio
+  0;   50;     35;      0;           0;   12;            s; Time step of data (time increment)
+  0;   50;     42;      2;           0;   12;      Numeric; Mean wave direction
+  0;   50;     43;      3;           0;   12;      Numeric; Mean wave frequency
+  0;   50;     44;      4;           0;   12;      Numeric; First frequency
+  0;   50;    100;      0;           0;   12;           yr; Analysis DTG - year
+  0;   50;    101;      0;           0;    4;           mo; Analysis DTG - month
+  0;   50;    102;      0;           0;    6;          day; Analysis DTG - day
+  0;   50;    103;      0;           0;    5;           hr; Analysis DTG - hour
+  0;   50;    104;      0;           0;    6;      Numeric; Last observed sea depth
+  0;   51;      3;      0;           0;    5;   Flag_Table; Processing status
+  0;   51;      6;      0;           0;    6;      Numeric; Combination count
+  0;   51;      7;      0;           0;    2;   Code_Table; Quality control process status
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-000001-B-forHDGOES
@@ -0,0 +1,52 @@
+#
+# BUFR Table B - Local table for ECMWF encode/decode of 
+# High Density Winds from GOES, ref. IPD-1008 release 3 Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+
+0	1	7	0	0	10	Code_Table	Satellite identifier
+0	1	31	0	0	16	Code_Table	Identification of originating/generating center
+0	1	32	0	0	8	Code_Table	Generating application
+
+0	2	23	0	0	4	Code_Table	Satellite derived wind computation method
+0	2	57	0	0	4	Code_Table	Origin of first guess information for GOES-I/M soundings
+
+0	2	196	0	0	9	Code_Table	Satellite Classification
+0	2	197	8	0	26	Hz	Satellite Channel Center Frequency
+0	2	198	8	0	26	Hz	Satellite Channel Band Width
+0	2	221	0	0	18	M	Segment Size At Nadir In X Direction
+0	2	222	0	0	18	M	Segment Size At Nadir In Y Direction
+0	2	231	0	0	4	Code_Table	Height Assignment Method
+0	2	232	0	0	3	Code_Table	Tracer Correlation Method
+0	2	252	0	0	31	Flag_Table	Satellite Instrument Data Used In Processing
+
+0	4	1	0	0	12	Year	Year
+0	4	2	0	0	4	mo	Month
+0	4	3	0	0	6	Day	Day
+0	4	4	0	0	5	hr	Hour
+0	4	5	0	0	6	min	Minute
+0	4	6	0	0	6	s	Second
+0	4	24	0	-2048	12	hr	Time period or displacement
+
+0	5	1	5	-9000000	25	deg	Latitude (high accuracy)
+
+0	6	1	5	-18000000	26	deg	Longitude (high accuracy)
+
+0	7	4	-1	0	14	Pa	Pressure
+0	7	24	2	-9000	15	deg	Satellite zenith angle
+
+0	8	12	0	0	2	Code_Table	land/sea qualifier
+0	8	21	0	0	5	Code_Table	Time significance
+
+0	11	1	0	0	9	deg_true	Wind direction
+0	11	2	1	0	12	m/s	Wind speed
+
+0	12	1	1	0	12	deg_K	Temperature/dry bulb temperature
+0	12	193	1	0	12	deg_K	Coldest Cluster Temperature
+
+
+0	31	31	0	0	1	Flag_Table	Data present indicator
+
+0	33	7	0	0	7	Percent	Per cent confidence 
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-002-D
@@ -0,0 +1,1878 @@
+3	0	2 
+	0	0	2 
+	0	0	3 
+	-1 
+ 
+3	0	3 
+	0	0	10 
+	0	0	11 
+	0	0	12 
+	-1 
+ 
+3	0	4 
+	3	0	3 
+	0	0	13 
+	0	0	14 
+	0	0	15 
+	0	0	16 
+	0	0	17 
+	0	0	18 
+	0	0	19 
+	0	0	20 
+	-1 
+ 
+3	0	10 
+	3	0	3 
+	1	1	0 
+	0	31	1 
+	0	0	30 
+	-1 
+ 
+3	1	1 
+	0	1	1 
+	0	1	2 
+	-1 
+ 
+3	1	2 
+	0	1	3 
+	0	1	4 
+	0	1	5 
+	-1 
+ 
+3	1	3 
+	0	1	11 
+	0	1	12 
+	0	1	13 
+	-1 
+ 
+3	1	11 
+	0	4	1 
+	0	4	2 
+	0	4	3 
+	-1 
+ 
+3	1	12 
+	0	4	4 
+	0	4	5 
+	-1 
+ 
+3	1	13 
+	3	1	12 
+	0	4	6 
+	-1 
+ 
+3	1	21 
+	0	5	1 
+	0	6	1 
+	-1 
+ 
+3	1	22 
+	3	1	21 
+	0	7	1 
+	-1 
+ 
+3	1	23 
+	0	5	2 
+	0	6	2 
+	-1 
+ 
+3	1	24 
+	3	1	23 
+	0	7	1 
+	-1 
+ 
+3	1	25 
+	3	1	23 
+	0	4	3 
+	3	1	12 
+	-1 
+ 
+3	1	26 
+	3	1	21 
+	0	4	3 
+	0	4	3 
+	0	4	4 
+	0	4	4 
+	0	4	5 
+	0	4	5 
+	-1 
+ 
+3	1	31 
+	3	1	1 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	22 
+	-1 
+ 
+3	1	32 
+	3	1	1 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	33 
+	0	1	5 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	21 
+	-1 
+ 
+3	1	34 
+	0	1	5 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	35 
+	0	1	5 
+	0	1	12 
+	0	1	13 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	36 
+	3	1	3 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	37 
+	3	1	1 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	22 
+	-1 
+ 
+3	1	38 
+	3	1	1 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	39 
+	3	1	3 
+	0	1	11 
+	0	1	12 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	40 
+	3	1	3 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	41 
+	0	1	7 
+	0	2	21 
+	0	2	22 
+	3	1	11 
+	3	1	12 
+	-1 
+ 
+3	1	42 
+	3	1	41 
+	3	1	21 
+	-1 
+ 
+3	1	43 
+	0	1	7 
+	0	2	23 
+	3	1	11 
+	3	1	13 
+	3	1	21 
+	-1 
+ 
+3	1	44 
+	0	1	7 
+	0	2	24 
+	3	1	11 
+	3	1	13 
+	3	1	21 
+	-1 
+ 
+3	1	51 
+	0	1	6 
+	0	2	61 
+	3	1	11 
+	3	1	12 
+	3	1	21 
+	0	8	4 
+	-1 
+ 
+3	1	62 
+	1	1	0 
+	0	31	1 
+	3	1	1 
+	-1 
+ 
+3	1	190 
+	0	4	192 
+	0	4	193 
+	-1 
+ 
+3	1	191 
+	0	8	192 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	-1 
+ 
+3	1	192 
+	3	1	11 
+	0	4	4 
+	3	1	23 
+	-1 
+ 
+3	2	1 
+	0	10	4 
+	0	10	51 
+	0	10	61 
+	0	10	63 
+	-1 
+ 
+3	2	2 
+	0	10	4 
+	0	7	4 
+	0	10	3 
+	0	10	61 
+	0	10	63 
+	-1 
+ 
+3	2	3 
+	0	11	11 
+	0	11	12 
+	0	12	4 
+	0	12	6 
+	0	13	3 
+	0	20	1 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	-1 
+ 
+3	2	4 
+	0	20	10 
+	0	8	2 
+	0	20	11 
+	0	20	13 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	-1 
+ 
+3	2	5 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	2	11 
+	3	2	1 
+	3	2	3 
+	3	2	4 
+	-1 
+ 
+3	2	12 
+	3	2	2 
+	3	2	3 
+	3	2	4 
+	-1 
+ 
+3	2	21 
+	0	22	1 
+	0	22	11 
+	0	22	21 
+	-1 
+ 
+3	2	22 
+	0	22	2 
+	0	22	12 
+	0	22	22 
+	-1 
+ 
+3	2	23 
+	0	22	3 
+	0	22	13 
+	0	22	23 
+	-1 
+ 
+3	2	24 
+	3	2	22 
+	3	2	23 
+	3	2	23 
+	-1 
+ 
+3	2	190 
+	0	10	51 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	2	191 
+	0	12	11 
+	0	12	12 
+	0	20	62 
+	0	20	63 
+	-1 
+ 
+3	2	192 
+	0	20	1 
+	3	2	193 
+	-1 
+ 
+3	2	193 
+	0	20	1 
+	3	2	197 
+	-1 
+ 
+3	2	194 
+	0	4	31 
+	0	13	11 
+	-1 
+ 
+3	2	195 
+	0	2	2 
+	0	11	41 
+	0	10	52 
+	0	4	31 
+	0	13	12 
+	0	13	13 
+	0	10	192 
+	0	10	62 
+	-1 
+ 
+3	2	196 
+	0	10	4 
+	3	2	193 
+	-1 
+ 
+3	2	197 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	-1 
+ 
+3	2	199 
+	3	1	32 
+	3	1	190 
+	3	1	191 
+	3	2	190 
+	-1 
+ 
+3	3	1 
+	0	7	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	2 
+	0	7	4 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	3 
+	0	7	4 
+	0	10	3 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	3	4 
+	3	3	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	11 
+	0	7	3 
+	0	8	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	12 
+	0	7	4 
+	0	8	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	13 
+	0	7	4 
+	0	8	1 
+	0	10	3 
+	0	12	1 
+	0	13	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	14 
+	0	7	4 
+	0	8	1 
+	0	10	3 
+	0	12	1 
+	0	12	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	21 
+	0	7	4 
+	0	7	4 
+	2	4	7 
+	0	31	21 
+	-1 
+ 
+3	3	22 
+	3	3	21 
+	0	10	3 
+	2	4	0 
+	-1 
+ 
+3	3	23 
+	3	3	21 
+	0	12	1 
+	2	4	0 
+	-1 
+ 
+3	3	24 
+	3	3	21 
+	0	13	16 
+	2	4	0 
+	-1 
+ 
+3	3	25 
+	0	2	25 
+	2	4	7 
+	0	31	21 
+	0	12	63 
+	2	4	0 
+	-1 
+ 
+3	3	26 
+	0	7	4 
+	0	8	3 
+	2	4	7 
+	0	31	21 
+	0	12	1 
+	2	4	0 
+	-1 
+ 
+3	3	27 
+	0	7	4 
+	2	4	7 
+	0	31	21 
+	0	10	3 
+	2	4	0 
+	-1 
+ 
+3	3	31 
+	0	7	4 
+	0	8	3 
+	0	7	21 
+	0	7	22 
+	0	8	12 
+	0	12	61 
+	-1 
+ 
+3	3	32 
+	0	20	11 
+	0	20	16 
+	-1 
+ 
+3	3	192 
+	0	1	7 
+	3	1	11 
+	3	1	13 
+	3	1	23 
+	3	3	193 
+	3	3	194 
+	3	3	195 
+	3	3	196 
+	3	3	197 
+	-1 
+ 
+3	3	193 
+	0	5	22 
+	0	8	12 
+	0	12	61 
+	0	8	3 
+	0	7	4 
+	0	2	22 
+	0	27	20 
+	0	22	42 
+	0	8	3 
+	-1 
+ 
+3	3	194 
+	1	3	15 
+	0	7	4 
+	0	7	4 
+	0	12	7 
+	0	8	3 
+	1	3	3 
+	0	7	4 
+	0	7	4 
+	0	13	16 
+	0	8	3 
+	-1 
+ 
+3	3	195 
+	0	7	4 
+	0	12	7 
+	0	8	3 
+	0	15	1 
+	0	8	3 
+	0	7	4 
+	0	20	10 
+	0	2	21 
+	-1 
+ 
+3	3	196 
+	1	1	20 
+	0	12	62 
+	0	2	21 
+	1	1	4 
+	0	12	62 
+	0	2	21 
+	-1 
+ 
+3	3	197 
+	1	1	3 
+	0	12	62 
+	1	3	20 
+	0	10	4 
+	0	12	7 
+	0	10	2 
+	1	2	5 
+	0	10	4 
+	0	12	3 
+	-1 
+ 
+3	4	1 
+	0	8	3 
+	0	10	4 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	4	2 
+	0	8	3 
+	0	10	4 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	4	3 
+	0	8	3 
+	0	12	1 
+	-1 
+ 
+3	4	4 
+	0	8	3 
+	0	10	4 
+	0	20	10 
+	0	12	1 
+	-1 
+ 
+3	4	5 
+	0	2	24 
+	0	7	4 
+	0	7	4 
+	0	13	3 
+	-1 
+ 
+3	4	6 
+	0	14	1 
+	0	14	1 
+	0	14	3 
+	-1 
+ 
+3	6	1 
+	0	2	32 
+	1	2	0 
+	0	31	1 
+	0	7	62 
+	0	22	42 
+	-1 
+ 
+3	6	2 
+	0	2	31 
+	0	22	4 
+	0	22	31 
+	-1 
+ 
+3	6	3 
+	0	2	2 
+	0	11	11 
+	0	11	12 
+	0	12	4 
+	-1 
+ 
+3	6	4 
+	0	2	32 
+	0	2	33 
+	1	3	0 
+	0	31	1 
+	0	7	62 
+	0	22	42 
+	0	22	62 
+	-1 
+ 
+3	6	5 
+	0	2	31 
+	1	3	0 
+	0	31	1 
+	0	7	62 
+	0	22	4 
+	0	22	31 
+	-1 
+ 
+3	6	6 
+	3	6	3 
+	3	6	2 
+	0	22	63 
+	-1 
+ 
+3	6	7 
+	0	1	12 
+	0	1	14 
+	3	6	8 
+	0	4	24 
+	0	27	3 
+	0	28	3 
+	-1 
+ 
+3	6	8 
+	0	2	34 
+	0	2	35 
+	0	2	36 
+	-1 
+ 
+3	6	9 
+	0	10	4 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	4 
+	0	13	3 
+	0	22	42 
+	-1 
+ 
+3	7	1 
+	3	1	31 
+	3	2	11 
+	-1 
+ 
+3	7	2 
+	3	1	32 
+	3	2	11 
+	-1 
+ 
+3	7	3 
+	3	7	1 
+	1	1	0 
+	0	31	1 
+	3	2	5 
+	-1 
+ 
+3	7	4 
+	3	7	2 
+	1	1	0 
+	0	31	1 
+	3	2	5 
+	-1 
+ 
+3	7	5 
+	3	7	1 
+	1	1	4 
+	3	2	5 
+	-1 
+ 
+3	7	6 
+	3	7	2 
+	1	1	4 
+	3	2	5 
+	-1 
+ 
+3	7	7 
+	3	1	31 
+	3	2	12 
+	-1 
+ 
+3	7	8 
+	3	1	32 
+	3	2	12 
+	-1 
+ 
+3	7	192 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	7	193 
+	3	2	199 
+	0	20	1 
+	0	20	10 
+	0	12	11 
+	0	12	12 
+	0	20	62 
+	3	2	194 
+	-1 
+ 
+3	7	194 
+	3	2	199 
+	0	20	1 
+	3	2	4 
+	3	2	5 
+	3	2	191 
+	3	2	194 
+	-1 
+ 
+3	7	195 
+	3	2	199 
+	0	10	4 
+	3	2	193 
+	3	2	4 
+	1	1	2 
+	3	2	5 
+	3	2	191 
+	3	2	194 
+	-1 
+ 
+3	7	196 
+	3	2	199 
+	3	2	196 
+	3	2	4 
+	1	1	4 
+	3	2	5 
+	3	2	191 
+	1	1	2 
+	3	2	194 
+	3	2	195 
+	-1 
+ 
+3	7	197 
+	3	2	199 
+	3	2	194 
+	-1 
+ 
+3	8	1 
+	3	1	33 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	2 
+	3	1	34 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	3 
+	3	1	35 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	4 
+	3	1	36 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	5 
+	3	8	4 
+	3	2	24 
+	-1 
+ 
+3	8	6 
+	0	10	4 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	4 
+	0	13	3 
+	0	22	42 
+	-1 
+ 
+3	9	1 
+	3	1	37 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	2 
+	3	1	38 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	3 
+	3	1	37 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	4 
+	3	1	38 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	5 
+	3	1	37 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	6 
+	3	1	38 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	7 
+	3	1	4 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	8 
+	3	1	38 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	11 
+	3	1	39 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	12 
+	3	1	39 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	13 
+	3	1	39 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	14 
+	3	1	39 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	15 
+	3	9	16 
+	3	9	17 
+	3	9	18 
+	-1 
+ 
+3	9	16 
+	3	1	40 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	17 
+	3	1	40 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	18 
+	3	1	40 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	19 
+	3	1	31 
+	0	2	3 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	20 
+	3	1	31 
+	0	2	3 
+	1	4	0 
+	0	31	1 
+	0	7	3 
+	0	11	3 
+	0	11	4 
+	0	11	5 
+	-1 
+ 
+3	10	1 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	26 
+	3	3	25 
+	-1 
+ 
+3	10	2 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	9 
+	3	3	23 
+	-1 
+ 
+3	10	3 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	6 
+	3	3	23 
+	-1 
+ 
+3	10	4 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	3 
+	3	3	24 
+	-1 
+ 
+3	11	1 
+	3	1	51 
+	0	7	2 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	0	20	41 
+	-1 
+ 
+3	12	1 
+	3	1	43 
+	3	4	1 
+	-1 
+ 
+3	12	2 
+	3	1	43 
+	3	4	2 
+	-1 
+ 
+3	12	3 
+	3	1	42 
+	3	4	3 
+	-1 
+ 
+3	12	4 
+	3	1	42 
+	3	4	4 
+	-1 
+ 
+3	12	5 
+	3	1	42 
+	0	20	14 
+	-1 
+ 
+3	12	6 
+	3	1	42 
+	3	4	5 
+	-1 
+ 
+3	12	7 
+	3	1	42 
+	3	4	6 
+	-1 
+ 
+3	12	10 
+	0	1	7 
+	0	5	40 
+	0	2	21 
+	0	5	41 
+	0	4	1 
+	0	4	43 
+	-1 
+ 
+3	12	11 
+	2	2	131 
+	2	1	149 
+	0	4	6 
+	2	1	0 
+	2	2	132 
+	0	10	2 
+	2	2	0 
+	0	5	43 
+	0	5	53 
+	-1 
+ 
+3	12	12 
+	2	2	130 
+	2	1	132 
+	1	1	19 
+	0	12	63 
+	2	1	0 
+	2	2	0 
+	-1 
+ 
+3	12	13 
+	0	5	42 
+	2	2	130 
+	2	1	135 
+	0	12	63 
+	2	1	0 
+	2	2	0 
+	-1 
+ 
+3	12	14 
+	3	12	10 
+	3	12	11 
+	1	5	56 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	3	12	12 
+	3	12	13 
+	-1 
+ 
+3	12	15 
+	1	9	11 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	2	2	129 
+	2	1	132 
+	1	1	4 
+	0	12	63 
+	2	2	0 
+	2	1	0 
+	-1 
+ 
+3	12	16 
+	3	12	10 
+	3	12	11 
+	3	12	15 
+	-1 
+ 
+3	12	17 
+	1	9	8 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	2	2	129 
+	2	1	132 
+	1	1	3 
+	0	12	63 
+	2	2	0 
+	2	1	0 
+	-1 
+ 
+3	12	18 
+	3	12	10 
+	3	12	11 
+	3	12	17 
+	-1 
+ 
+3	13	9 
+	0	21	1 
+	1	1	0 
+	0	31	1 
+	0	21	1 
+	-1 
+ 
+3	13	10 
+	0	21	36 
+	1	1	0 
+	0	31	1 
+	0	21	36 
+	-1 
+ 
+3	13	31 
+	0	6	2 
+	0	6	12 
+	1	1	0 
+	0	31	2 
+	0	30	1 
+	-1 
+ 
+3	13	32 
+	0	5	2 
+	0	5	12 
+	1	1	0 
+	0	31	2 
+	3	13	31 
+	-1 
+ 
+3	13	41 
+	0	6	2 
+	0	6	12 
+	1	6	0 
+	0	31	1 
+	1	1	0 
+	0	31	11 
+	0	30	1 
+	1	1	0 
+	0	31	1 
+	0	30	1 
+	-1 
+ 
+3	13	42 
+	0	5	2 
+	0	5	12 
+	1	1	0 
+	0	31	2 
+	3	13	41 
+	-1 
+ 
+3	15	1 
+	0	8	3 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	3	6	1 
+	-1 
+ 
+3	15	2 
+	0	8	3 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	3	6	4 
+	-1 
+ 
+3	16	1 
+	3	1	192 
+	0	1	21 
+	0	2	41 
+	0	19	1 
+	0	10	51 
+	0	19	2 
+	0	19	3 
+	0	19	4 
+	-1 
+ 
+3	18	1 
+	3	1	25 
+	0	24	11 
+	-1 
+ 
+3	18	3 
+	3	1	26 
+	0	24	5 
+	0	24	4 
+	0	24	21 
+	-1 
+ 
+3	18	4 
+	3	1	25 
+	0	4	31 
+	0	13	11 
+	0	24	5 
+	0	24	4 
+	0	24	22 
+	-1 
+ 
+3	21	1 
+	0	2	101 
+	0	2	114 
+	0	2	105 
+	0	2	106 
+	0	2	107 
+	0	2	121 
+	-1 
+ 
+3	21	3 
+	0	21	51 
+	0	21	14 
+	0	21	17 
+	0	21	30 
+	-1 
+ 
+3	21	4 
+	3	1	31 
+	0	2	3 
+	1	1	0 
+	0	31	1 
+	3	21	3 
+	-1 
+ 
+3	21	5 
+	0	25	4 
+	0	2	121 
+	0	2	122 
+	0	2	123 
+	0	2	124 
+	0	2	125 
+	0	2	126 
+	0	2	127 
+	3	21	192 
+	-1 
+ 
+3	21	6 
+	0	25	1 
+	0	25	2 
+	0	25	3 
+	0	25	5 
+	-1 
+ 
+3	21	7 
+	0	25	9 
+	0	25	10 
+	0	25	11 
+	0	25	12 
+	0	25	13 
+	0	25	15 
+	0	25	16 
+	0	25	17 
+	-1 
+ 
+3	21	8 
+	0	25	6 
+	0	25	7 
+	0	25	8 
+	-1 
+ 
+3	21	9 
+	0	25	18 
+	0	25	19 
+	-1 
+ 
+3	21	10 
+	0	2	101 
+	0	7	2 
+	0	2	102 
+	0	2	103 
+	0	2	104 
+	0	2	105 
+	0	2	106 
+	0	2	107 
+	0	2	108 
+	3	21	193 
+	-1 
+ 
+3	21	11 
+	0	30	31 
+	0	30	32 
+	0	29	2 
+	-1 
+ 
+3	21	12 
+	1	1	0 
+	0	31	1 
+	0	2	135 
+	-1 
+ 
+3	21	192 
+	0	2	128 
+	0	2	129 
+	0	2	130 
+	0	2	131 
+	-1 
+ 
+3	21	193 
+	0	2	109 
+	0	2	110 
+	0	2	132 
+	0	2	133 
+	-1 
+ 
+3	55	1 
+	3	55	4 
+	3	55	5 
+	0	12	192 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	2	61 
+	0	10	194 
+	-1 
+ 
+3	55	2 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	-1 
+ 
+3	55	3 
+	0	20	41 
+	0	58	3 
+	0	58	4 
+	-1 
+ 
+3	55	4 
+	0	58	1 
+	0	58	2 
+	0	1	8 
+	0	1	6 
+	3	1	11 
+	3	1	12 
+	0	4	192 
+	0	4	193 
+	3	1	23 
+	-1 
+ 
+3	55	5 
+	0	2	43 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	42 
+	0	7	192 
+	0	7	4 
+	-1 
+ 
+3	58	1 
+	0	58	1 
+	0	1	11 
+	0	1	8 
+	0	1	6 
+	3	1	11 
+	3	1	12 
+	0	4	192 
+	0	4	193 
+	3	58	2 
+	3	58	3 
+	-1 
+ 
+3	58	2 
+	0	2	43 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	42 
+	0	7	192 
+	0	7	4 
+	0	8	4 
+	0	12	192 
+	-1 
+ 
+3	58	3 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	2	61 
+	0	10	194 
+	-1 
+ 
+3	58	4 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	-1 
+ 
+3	58	5 
+	0	20	41 
+	0	58	3 
+	0	58	4 
+	-1 
+ 
+3	59	1 
+	3	59	2 
+	3	59	3 
+	3	59	4 
+	3	59	5 
+	3	59	6 
+	3	59	7 
+	3	59	8 
+	-1 
+ 
+3	59	2 
+	0	58	1 
+	0	1	11 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	0	7	1 
+	-1 
+ 
+3	59	3 
+	0	4	192 
+	0	4	193 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	2 
+	-1 
+ 
+3	59	4 
+	0	1	12 
+	0	1	13 
+	0	10	4 
+	0	10	51 
+	0	4	31 
+	0	10	63 
+	0	10	61 
+	0	10	62 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	59	5 
+	0	11	1 
+	0	11	2 
+	0	4	31 
+	0	11	41 
+	0	12	11 
+	0	12	12 
+	0	4	31 
+	0	13	11 
+	0	4	31 
+	0	13	11 
+	-1 
+ 
+3	59	6 
+	0	20	1 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	0	20	10 
+	0	20	63 
+	0	20	63 
+	0	8	2 
+	0	20	11 
+	0	10	13 
+	-1 
+ 
+3	59	7 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	1	4	4 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	59	8 
+	0	22	42 
+	0	22	12 
+	0	22	22 
+	1	1	2 
+	3	2	23 
+	0	20	31 
+	0	20	32 
+	0	20	32 
+	-1 
+ 
+3	60	1 
+	1       1       0
+        0       31      2
+	-1 
+ 
+3	60	2 
+	1       1       0
+        0       31      1
+	-1 
+ 
+3	60	3 
+	1       1       0
+        0       31      1 
+	-1 
+ 
+3	60	4 
+	1       1       0
+        0       31      0
+	-1 
+ 
+3	60	5 
+	0	4	31 
+	0	13	11 
+	0	40	31 
+	0	13	11 
+	0	40	31 
+	0	13	12 
+	0	13	13 
+	-1 
+ 
+3	60	6 
+	0	20	62 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	0	20	10 
+	0	20	63 
+	0	20	63 
+	-1 
+ 
+3	60	7 
+	0	20	1 
+	0	8	2 
+	0	20	11 
+	0	20	13 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	-1 
+ 
+3	60	8 
+	1	4	4 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	0	22	42 
+	0	22	12 
+	0	22	22 
+	3	2	23 
+	0	2	1 
+	-1
+	
+3       62      61
+        0       4       1
+	0       4       2
+	0       4       3
+	0       4       4
+	0       4       5
+	-1
+
+3       62      62
+        0       5       2
+	0       6       2
+	0       7       4
+	0       12      1
+	0       11      1
+	0       11      2
+	0       10      7
+	0       33      216
+	0       1       204
+	-1
+	
+3       62      63
+        0       5       2
+	0       6       2
+	0       7       4
+	0       12      1
+	0       11      1
+	0       11      2
+        -1        
+
+3       63      1
+        0       1       164
+	0       1       194
+	0       1       63
+	0       58      6
+	0       58      7
+	-1
+	
+3       63      3
+        0       8       202
+	0       4       200
+	0       4       201
+	0       4       202
+	0       4       203
+	0       4       204
+	-1
+
+3       63      236
+        0       4       1
+        0       4       2
+        0       4       3
+        0       4       4
+        0       5       2
+        0       6       2
+        0       1       198
+	0       2       23
+	0       1       204
+	0       1       7
+	0       7       4
+	0       10      7
+	0       12      1
+	0       11      1
+	0       11      2
+	0       33      216
+	0       4       5
+	-1
+	
+3       63      237
+        0       4       1
+        0       4       2
+        0       4       3
+        0       4       4
+        0       5       2
+        0       6       2
+        0       1       198
+	0       2       23
+	0       12      4
+	0       1       7
+	0       7       4
+	0       10      7
+	0       12      1
+	0       11      1
+	0       11      2
+	0       33      216
+	0       4       5
+	-1
+
+3      63       238
+        0       4       1
+        0       4       2
+        0       4       3
+        0       4       4
+        0       5       2
+        0       6       2
+        0       1       198
+	0       2       23
+	0       12      4
+	0       1       7
+	0       7       4
+	0       10      7
+	0       12      1
+	0       11      1
+	0       11      2
+	0       33      216
+	0       4       5
+	-1
+
+3      63       239
+        0       4       1
+        0       4       2
+        0       4       3
+        0       4       4
+        0       5       2
+        0       6       2
+        0       1       198
+	0       2       23
+	0       12      4
+	0       1       7
+	0       7       4
+	0       10      7
+	0       12      1
+	0       11      1
+	0       11      2
+	0       33      216
+	0       4       5
+	-1
+	
+3       63      240
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+	
+3       63      241
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      242
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+	
+3       63      243
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      244
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      245
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      246
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      247
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      248
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      249
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      250
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
+
+3       63      251
+        3       63      1
+	3       60      2
+	3       63      3
+	0       1       198
+	0       1       7
+	0       1       195
+	0       1       196
+	3       62      61
+	0       8       199
+	0       2       23
+	3       62      63
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-010-0
@@ -0,0 +1,121 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################		
+		
+		
+#01-09: WMCs		
+0	1	Melbourne
+0	2	Melbourne
+0	3	Melbourne
+0	4	Moscow
+0	5	Moscow
+0	6	Moscow
+0	7	"US National Weather Service, National Centres for Environmental Prediction(NCEP)"
+0	8	US National Weather Service TelecommunicationsGateway (NWSTG)
+0	9	US National Weather Service - Other
+#10-25: Centres in Region I		
+0	10	Cairo (RSMC/RAFC)
+0	11	Cairo (RSMC/RAFC)
+0	12	Dakar (RSMC/RAFC)
+0	13	Dakar (RSMC/RAFC)
+0	14	Nairobi (RSMC/RAFC)
+0	15	Nairobi (RSMC/RAFC)
+0	18	Tunis Casablanca (RSMC)
+0	19	Tunis Casablanca (RSMC)
+0	20	Las Palmas (RAFC)
+0	21	Algiers (RSMC)
+0	24	Pretoria (RSMC)
+0	25	La Runion (RSMC)
+#26-40: Centres in Region II		
+0	26	Khabarovsk (RSMC)
+0	27	Khabarovsk (RSMC)
+0	28	New Delhi (RSMC/RAFC)
+0	29	New Delhi (RSMC/RAFC)
+0	30	Novosibirsk (RSMC)
+0	31	Novosibirsk (RSMC)
+0	32	Tashkent (RSMC)
+0	33	Jeddah (RSMC)
+0	34	"Tokyo (RSMC), Japan Meteorological Agency"
+0	35	"Tokyo (RSMC), Japan Meteorological Agency"
+0	36	Bangkok
+0	37	Ulan Bator
+0	38	Beijing (RSMC)
+0	39	Beijing (RSMC)
+0	40	Seoul
+#41-50: Centres in Region III		
+0	41	Buenos Aires (RSMC/RAFC)
+0	42	Buenos Aires (RSMC/RAFC)
+0	43	Brasilia (RSMC/RAFC)
+0	44	Brasilia (RSMC/RAFC)
+0	45	Santiago
+0	46	Brazilian Space Agency  INPE
+#51-63: Centres in Region IV		
+0	51	Miami (RSMC/RAFC)
+0	52	"Miami RSMC, National Hurricane Center"
+0	53	Montreal (RSMC)
+0	54	Montreal (RSMC)
+0	55	San Francisco
+0	57	U.S. Air Force Air Force Global Weather Central 
+0	58	"Fleet Numerical Meteorology and Oceanography Center, Monterey, CA"
+0	59	"The NOAA Forecast Systems Laboratory, Boulder, CO, USA"
+0	60	United States National Centre for Atmospheric Research (NCAR)
+0	61	Service ARGOS - Landover
+#64-73: Centres in Region V		
+0	64	Honolulu
+0	65	Darwin (RSMC)
+0	66	Darwin (RSMC)
+0	67	Melbourne (RSMC)
+0	69	Wellington (RSMC/RAFC)
+0	70	Wellington (RSMC/RAFC)
+0	71	Nadi (RSMC)
+#74-99: Centres in Region VI		
+0	74	UK Meteorological Office  Bracknell (RSMC)
+0	75	UK Meteorological Office  Bracknell (RSMC)
+0	76	Moscow (RSMC/RAFC)
+0	78	Offenbach (RSMC)
+0	79	Offenbach (RSMC)
+0	80	Rome (RSMC)
+0	81	Rome (RSMC)
+0	82	Norrkping
+0	83	Norrkping
+0	84	Toulouse (RSMC)
+0	85	Toulouse (RSMC)
+0	86	Helsinki
+0	87	Belgrade
+0	88	Oslo
+0	89	Prague
+0	90	Episkopi
+0	91	Ankara
+0	92	Frankfurt/Main (RAFC)
+0	93	London (WAFC)
+0	94	Copenhagen
+0	95	Rota
+0	96	Athens
+0	97	European Space Agency (ESA)
+0	98	"ECMWF, RSMC"
+0	99	De Bilt
+0	110	Hong-Kong
+0	160	US NOAA/NESDIS
+0	210	Frascati (ESA/ESRIN)
+0	211	Lanion
+0	212	Lisboa
+0	213	Reykjavik
+0	214	Reykjavik
+0	215	Madrid
+0	216	Zrich
+0	254	EUMETSAT Operation Centre
+0	255	Missing value
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-058000-005000-B
@@ -0,0 +1,908 @@
+#
+# B2L-058-001-B.001 - Local BUFR Table B for center 058 (FNMOC),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale (u)
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   40;    CCITT_IA5; Descriptor defining sequence
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number (II)
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number (iii)
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number) (Ia...Ia)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier (I1I2I2)
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier (D...D)
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform (dBdB)
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision) (VBVB)
+  0;    1;     15;      0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;     20;      0;           0;    4;      Numeric; WMO Region sub-area
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+  0;    1;     33;      0;           0;    8;   Code_Table; Generating center
+  0;    1;     34;      0;           0;    8;   Code_Table; Generating sub-center
+  0;    1;     41;      5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;     42;      5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;     43;      5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;     60;      0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator (CCCC)
+  0;    1;     64;      0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;     75;      0;           0;   40;    CCITT_IA5; Tide station identification
+  0;    1;    192;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;    1;    193;      0;           0;    4;   Code_Table; global octant
+  0;    1;    194;      0;           0;    4;      Numeric; Beam position
+  0;    1;    195;      0;           0;    4;      Numeric; Decimal point value (dp)
+  0;    1;    196;      0;           0;   64;    CCITT_IA5; Observation number
+  0;    1;    197;      0;           0;    6;      Numeric; Runway number
+  0;    1;    198;      0;           0;   10;   Code_Table; Marsden square number
+  0;    1;    199;      0;           0;   64;    CCITT_IA5; nature of mission
+  0;    1;    200;      0;           0;    2;   Code_Table; Radar Capability indicator (XXX)
+  0;    1;    201;      0;           0;    8;   Code_Table; Country or agency that operates the satellite
+  0;    1;    203;      0;           0;   16;    CCITT_IA5; Satellite name
+  0;    1;    204;      0;           0;   16;    CCITT_IA5; Satellite series
+  0;    1;    206;      0;           0;   32;    CCITT_IA5; TOVS generating center name
+  0;    1;    207;      0;           0;   72;    CCITT_IA5; File name
+  0;    1;    208;      0;           0;    4;   Code_Table; Satellite data type
+  0;    1;    209;      0;           0;    8;   Code_Table; Observation type for MCSST
+  0;    1;    210;      0;           0;    7;   Code_Table; Observation source
+  0;    1;    211;      0;           0;    5;      Numeric; Beam position
+  0;    1;    212;      0;           0;   24;      Numeric; Data processing block number
+  0;    1;    213;      0;           0;    3;   Code_Table; Tip source type identifier
+  0;    1;    214;      0;           0;   32;    CCITT_IA5; Header originator
+  0;    1;    215;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;    1;    216;      0;           0;   14;      Numeric; Engineering status
+  0;    1;    217;      0;           0;    5;      Numeric; Satellite number
+  0;    1;    218;      0;           0;  176;    CCITT_IA5; Sequence (report) type
+  0;    1;    219;      0;           0;   40;    CCITT_IA5; Mission number
+  0;    1;    220;      0;           0;    7;      Numeric; Observation number
+  0;    1;    221;      0;           0;    8;   Code_Table; Surface type
+  0;    1;    222;      0;           0;   32;    CCITT_IA5; Report modifier
+  0;    1;    223;      0;           0;    3;   Code_Table; Runway parallel indicator
+  0;    1;    224;      0;           0;    5;   Code_Table; Terrain code identifier
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station (ix)
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement (ewew)
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used (a4, I3, or I4)
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measur
+  0;    2;      5;      2;           0;    7;        deg_K; Precision of temperature observed (s3)
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type (rara)
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction (Sr)
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system (sasa)
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     20;      0;           0;    9;   Code_Table; satellite classification
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Cloud motion computational method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     28;      0;           0;   18;            m; segment size at nadir in X direction
+  0;    2;     29;      0;           0;   18;            m; segment size at nadir in Y direction
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement (k5)
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization (k1)
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement (k2)
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type (id)
+  0;    2;     35;      0;           0;    9;            m; Cable length (ZdZdZd)
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type (Ip or Vi...Vi)
+  0;    2;     37;      0;           0;    2;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;    2;     39;      0;           0;    3;   Code_Table; Wet bulb temperature method indicator
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     44;      0;           0;    4;   Code_Table; Spectral calculation method (Im)
+  0;    2;     45;      0;           0;    4;   Code_Table; Platform type (Ip)
+  0;    2;     46;      0;           0;    4;   Code_Table; Wave measurement instrument (no symbol letters)
+  0;    2;     48;      0;           0;    4;   Code_Table; Satellite sensor indicator
+  0;    2;     49;      0;           0;    8;   Code_Table; Geostationary satellite data-processing technique used
+  0;    2;     50;      0;           0;   20;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator to specify observing method for extreme temperatures
+  0;    2;     52;      0;           0;    6;   Flag_Table; Geostationary imager satellite channels used
+  0;    2;     53;      0;           0;    4;   Code_Table; GOES-I/M brightness temperature characteristics
+  0;    2;     54;      0;           0;    4;   Code_Table; GOES-I/M soundings parameter characteristics
+  0;    2;     55;      0;           0;    4;   Code_Table; Geostationary_soundings statistical parameters
+  0;    2;     56;      0;           0;    4;   Code_Table; Geostationary soundings accuracy statistics
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;    2;     58;      0;           0;    4;   Code_Table; Valid times of first guess information for GOES-I/M sounding
+  0;    2;     59;      0;           0;    4;   Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;    2;     60;      0;           0;    4;   Code_Table; Origin of surface information for GOES-I/M soundings
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system (s1)
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     64;      0;           0;    2;   Code_Table; Roll angle quality
+  0;    2;     65;      0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    100;      1;           0;   12;           db; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    140;      0;           0;    9;          deg; Satellite radar beam azimuth angle
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type serial number/identifier
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument
+  0;    2;    143;      0;           0;    7;   Code_Table; Instrument type
+  0;    2;    145;      0;           0;    4;   code_table; Wave length setting for Dobson instruments
+  0;    2;    146;      0;           0;    4;   code_table; Source conditions for Dobson instruments
+  0;    2;    152;      0;           0;   31;   flag_table; satellite instrument used in data processing
+  0;    2;    153;     -8;           0;   26;           Hz; satellite channel centre frequency
+  0;    2;    154;     -8;           0;   26;           Hz; satellite channel band width
+  0;    2;    163;      0;           0;    4;   code_table; height assignment method
+  0;    2;    164;      0;           0;    3;   code_table; tracer correlation method0	2	167	0	0	4	code_table	radiance computational method
+  0;    2;    167;      0;           0;    4;   code_table; radiance computational method
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+  0;    2;    192;      0;           0;    2;   code_table; Wind units source ID
+  0;    2;    193;      0;           0;   20;      numeric; satellite channels used in computation
+  0;    2;    194;      0;           0;   15;      numeric; satellite channels used in computation
+  0;    2;    195;      0;           0;    4;   code_table; Reason for no report OR ground equipment used (a1)
+  0;    2;    196;      0;           0;    7;   code_table; Type of thermodynamic sensing equipment (eTeT)
+  0;    2;    197;      0;           0;    3;   code_table; Correction technique (cT, cw)
+  0;    2;    198;      0;           0;    4;   code_table; Data reduction method (mr)
+  0;    2;    199;      0;           0;    4;      Numeric; grp_pos_ind
+  0;    2;    200;      0;           0;    3;   code_table; Indicator for frequency or wave number (Ia)
+  0;    2;    201;      0;           0;    3;   code_table; Type of rocket motor (rm)
+  0;    2;    202;      0;           0;    7;   code_table; Type of wind sensing equipment (ewew)
+  0;    2;    203;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;    2;    204;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;    2;    205;      0;           0;    3;   Code_Table; Ozone flag
+  0;    2;    206;      0;           0;    4;   Code_Table; Algorithm identifier
+  0;    2;    207;      0;           0;    5;   Code_Table; Equation identifier
+  0;    2;    208;      0;           0;    2;   Code_Table; Type of method for measuring pressure
+  0;    2;    209;      0;           0;   10;   Code_Table; Xbt instrument type (IxIxIx)
+  0;    2;    210;      0;           0;    7;   Code_Table; Recorder type (XRXR)
+  0;    2;    211;      0;           0;    8;   Flag_Table; Sensor status flag
+  0;    2;    212;      0;           0;    2;   Flag_Table; Maintenance Check flag
+  0;    2;    213;      0;           0;    5;      numeric; satellite channels used in computation
+  0;    4;      1;      0;           0;   12;           yr; Year (4-digit)
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;           yr; Time increment - year
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment - month
+  0;    4;     13;      0;       -1024;   11;          day; Time increment - day
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment - hour
+  0;    4;     15;      0;       -2048;   12;          min; Time increment - minutes
+  0;    4;     16;      0;       -4096;   13;            s; Time increment - seconds
+  0;    4;     21;      0;       -1024;   11;           yr; Time period or displacement - year
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement - month
+  0;    4;     23;      0;       -1024;   11;          day; Time period or displacement - month
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement - hour
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement - minutes
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement - seconds
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to following value (TT)
+  0;    4;     32;      0;           0;    6;          min; Duration of time relating to following value
+  0;    4;     41;      0;       -1440;   12;          min; Time difference, UTC - LMT
+  0;    4;     43;      0;           0;    9;          day; Day of the year
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week (Y)
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipitation equal or more than 1 mm
+  0;    4;    192;      0;           0;    4;   Code_Table; Precipitation time period (tR)
+  0;    4;    193;      0;           0;   31;   Code_Table; Last time that this observation record was updated
+  0;    4;    200;      0;           0;   12;           yr; Time of receipt - year
+  0;    4;    201;      0;           0;    4;           mo; Time of receipt - month
+  0;    4;    202;      0;           0;    6;          day; Time of receipt - day
+  0;    4;    203;      0;           0;    5;           hr; Time of receipt - hour
+  0;    4;    204;      0;           0;    6;          min; Time of receipt - minute
+  0;    4;    206;      3;           0;   27;            s; GMT seconds
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy) (La...La)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+  0;    5;    192;      0;           0;    3;      Numeric; Image line number
+  0;    5;    193;      0;           0;    4;      Numeric; Image sample number
+  0;    5;    194;      0;           0;   14;      Numeric; Orbit number
+  0;    5;    195;      6;   -90000000;   28;          deg; six decimal pt latitude
+  0;    5;    196;      0;           0;   16;      Numeric; Orbit number
+  0;    5;    197;      0;           0;    8;      Numeric; Frame number
+  0;    5;    199;      0;           0;   20;      Numeric; Orbit number
+  0;    6;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy) (Lo...Lo)
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;     11;      5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    6;    192;      6;  -180000000;   29;          deg; six decimal pt longitude
+  0;    7;      1;      0;        -400;   15;            m; Height of station (hohohoho)
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude (hahaha, hIhIhI, HmHmHm, HH, tnu2, or tnu3)
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure (Pa...Pa, Paob...Paob, Po...Po, PtPtPt, or PAPA)
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Geopotential height
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+  0;    7;    192;      2;           0;   13;          deg; Local zenith angle
+  0;    7;    196;      0;           0;    4;   Code_Table; Station height precision
+  0;    7;    197;      1;           0;   11;          deg; Solar zenith angle
+  0;    7;    198;      2;       -6000;   14;          deg; Satellite zenith angle
+  0;    7;    199;      1;           0;   11;          deg; Solar azimuth angle
+  0;    7;    200;      2;           0;   17;           Pa; Geopotential height
+  0;    7;    223;      2;           0;   14;          deg; Solar zenith angle
+  0;    7;    224;      1;           0;   14;            m; Surface elevation
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight (ipipip)
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     14;      0;           0;    4;   code_table; Qualification for runway visual range
+  0;    8;     16;      0;           0;    3;   code_table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;    8;     17;      0;           0;    2;   code_table; Qualifier of the time when the forecast change is expected
+  0;    8;     20;      0;           0;   16;      numeric; Qualification for runway visual range
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     23;      0;           0;    6;   code_table; First order statistics
+  0;    8;     24;      0;           0;    6;   code_table; Difference statistics
+  0;    8;     25;      0;           0;    4;   code_table; Time difference qualifier
+  0;    8;     30;      0;           0;   13;      numeric; Manual on Codes (Volume I.1, Section C) Code table from which data are derived
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurrence follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurrence qualifier
+  0;    8;    194;      0;           0;    4;   Code_Table; Flight condition (fc)
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height (HHH)
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Geopotential height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;     31;      2; -1073741824;   31;    deg_K*m/s; In direction of the North Pole, distance from the Earth's center
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level (PPPP)
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH) (PH...PH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change (ppp)
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency (a, w, or w'w')
+  0;   10;     70;      0;        -400;   16;            m; Indicated aircraft altitude
+  0;   10;    197;      0;           0;    4;   Code_Table; Index pertaining to geopotential height (j)
+  0;   10;    199;      0;       -1024;   16;            m; Geopotential height difference
+  0;   10;    200;      0;       -1024;   16;            m; Geopotental height correction
+  0;   10;    201;      0;           0;   14;   Code_Table; Pressure tendency QC ID
+  0;   10;    203;      0;           0;    4;   Code_Table; Geopotential height quality control flag
+  0;   10;    213;      0;       -1024;   16;            m; Geopotential height
+  0;   10;    224;      0;           0;    4;   Code_Table; Station level pressure QC ID
+  0;   10;    251;      0;           0;    4;   Code_Table; Mean sea level pressure QC ID
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction (dd, dodo>dndn, dmagdmag)
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed (ff, fff, or fofofo>fnfnfn)
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     16;      0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable wind
+  0;   11;     17;      0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable wind
+  0;   11;     21;      9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;          1/s; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence (B...B or BA)
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence (BabBabBab or B1B1B1)
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence (BatBatBat or B1B1B1)
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts) (fm...fm)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     44;      0;           0;    9;     deg_true; Surface - 5000 feet mean LYR wind direction
+  0;   11;     45;      1;           0;   12;          m/s; Mean wind speed for surface -- 1500 m (5000 ft)	m/s
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+  0;   11;     70;      0;           0;   32;    character; Designator of the runway affected by wind shear (including ALL)
+  0;   11;     71;      3;        -128;   14;    m**2/s**2; Turbulent vertical momentum flux
+  0;   11;     72;      3;        -128;   11;         km/s; Turbulent vertical buoyancy flux
+  0;   11;     73;      2;       -1024;   13;    m**2/s**2; Turbulent kinetic energy
+  0;   11;     74;      2;       -1024;   10;    m**2/s**2; Dissipitation energy
+  0;   11;     75;      2;           0;    8;   (m**2/3)/s; Mean turbulence intensity
+  0;   11;     76;      2;           0;    8;   (m**2/3)/s; Peak turbulence intensity
+  0;   11;    195;      0;           0;    2;   Code_Table; Wind type at flight altitude (dt)
+  0;   11;    200;      0;           0;    4;   Code_Table; Wind QC ID
+  0;   11;    203;      1;       -4096;   13;          m/s; Wind u-component difference
+  0;   11;    204;      1;       -4096;   13;          m/s; Wind v-component difference
+  0;   11;    205;      0;           0;    4;   Code_Table; Turbulence (B) (WMO code table 0300)
+  0;   11;    206;      0;           0;    2;   Code_Table; Flight level wind method (da)
+  0;   11;    207;      0;           0;    2;   Code_Table; Extreme wind speed ID
+  0;   11;    213;      1;       -4096;   13;          m/s; Wind u-component correction
+  0;   11;    214;      1;       -4096;   13;          m/s; Wind v-component correction
+  0;   11;    244;      0;           0;   16;     deg_true; Direction of wind
+  0;   11;    245;      2;           0;   16;          m/s; wnd_spd
+  0;   11;    246;      1;           0;    8;          m/s; Ocean surface wind speed
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature (Ta, TsTsTs, TtTt, or TxTxTx)
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature (TbTbTb)
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint (TdTdTd or T'dT'd)
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters (Tao>Tan, ToTo>tnTn, or TT)
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature (TnTnTn)
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature (ToTo)
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+  0;   12;     70;      2;           0;   16;        deg_K; Vertical polarization 19GHz brightness temperature
+  0;   12;     71;      1;           0;   12;        deg_K; Coldest cluster temperaturee
+  0;   12;     72;      2;           0;   16;        deg_K; Vertical polarization 22GHz brightness temperature
+  0;   12;     73;      2;           0;   16;        deg_K; Vertical polarization 37GHz brightness temperature
+  0;   12;     74;      2;           0;   16;        deg_K; Horizontal polarization 37GHz brightness temperature
+  0;   12;     75;      2;           0;   16;        deg_K; Vertical polarization 85GHz brightness temperature
+  0;   12;     76;      2;           0;   16;        deg_K; Horizontal polarization 85GHz brightness temperature
+  0;   12;    192;      0;           0;    4;   Code_Table; Wet bulb temperature indicator
+  0;   12;    193;      2;           0;   16;        deg_K; SSU brightness temperature
+  0;   12;    194;      2;           0;   16;        deg_K; Dewpoint
+  0;   12;    195;      0;           0;    4;   Code_Table; Dewpoint, aircraft altitude, air temperature indicator (id)
+  0;   12;    196;      2;           0;   16;        deg_K; Dewpoint difference
+  0;   12;    201;      0;           0;    4;   Code_Table; Air temperature QC ID
+  0;   12;    213;      0;           0;    4;   Code_Table; Dewpoint QC ID
+  0;   12;    215;      0;           0;    2;   Code_Table; Temperature precision flag
+  0;   12;    220;      2;           0;   16;        deg_K; HIRS brightness temperature
+  0;   12;    221;      2;           0;   16;        deg_K; MSU brightness temperature
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity (U1>Un or U...U)
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density (p1p1p1)
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent (Aw or R...R)
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth (sss)
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water (www)
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours (R24...R24)
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     33;      1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     38;      0;           0;    2;   code_table; Superadiabatic indicator
+  0;   13;     39;      0;           0;    3;   code_table; Terrain type (ice/snow)
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipitation
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipiation
+  0;   13;     71;      1;           0;    7;      kg/m**2; Liquid water
+  0;   13;     75;      0;           0;    8;      percent; Land snow cloud
+  0;   13;     76;      2;           0;    6;            m; Snow-water equivalent
+  0;   13;    192;      0;           0;    4;   Code_Table; Precipitation identifier (iR)
+  0;   13;    193;      0;           0;   10;   Code_Table; Precipitation amount
+  0;   13;    194;      3;           0;   16;         g/kg; First guess mixing ratios
+  0;   13;    195;      0;           0;   10;      kg/m**3; 0	Density (p1p1p1)
+  0;   13;    196;      0;           0;    7;           mm; Soil moisture
+  0;   13;    197;      0;           0;    3;   Code_Table; Rain indicator
+  0;   13;    198;      2;           0;   11;           cm; Total precipatable water
+  0;   13;    199;      0;           0;    2;      numeric; prcp_ind_id
+  0;   13;    203;      0;           0;    4;   Code_Table; Relative hunidity QC ID
+  0;   13;    217;      0;           0;    8;      Numeric; Precipitation flag (SSM/T)
+  0;   13;    218;      2;           0;   11;    kg/(m**2); Cloud water
+  0;   13;    219;      1;           0;   10;    kg/(m**2); Ocean water vapo
+  0;   13;    220;      1;           0;    9;        mm/hr; Rain rate
+  0;   13;    221;      2;           0;   14;    kg/(m**2); Cloud Liquid Water
+  0;   14;      1;     -3;       -2048;   12;       J/m**2; Longwave radiation, integrated over 24 hours (FLFLFL)
+  0;   14;      3;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over 24 hours (FiFiFi)
+  0;   14;      4;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over period specified (FsFsFs)
+  0;   14;     11;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;       J/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;       J/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     26;      0;           0;    7;      percent; Albedo at top of clouds
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine (precentage)
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+  0;   15;      1;      0;           0;   10;  dobson_unit; Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air-mass (slant path at 22 km)
+  0;   15;     11;      3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;     15;      0;           0;   31;      numeric; Maximum spectral composition before normalization
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features (dsds)
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radiation with respect to FFF above threshold
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility (Dv, Vi, V...V, or VxVxVxVx)
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather (ww or w'w')
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1) (Wa1Wa2 or W1W2)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2) (wawa)
+  0;   20;      9;      0;           0;    4;   Code_Table; General Weather Indicator
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total) (N, NcNc, or Ns...Ns)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount (N or Ns...Ns)
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type (C, Ct, CH, CL, or CM)
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud (h, hshs, hshshs, or H'H')
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud (HfHfHf or HtHt)
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud (PcPcPc)
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;      0;           0;    2;   Code_Table; Tendency of runway visual range	code_table
+  0;   20;     19;      0;           0;   72;    character; Significant present or forecast weather	character
+  0;   20;     20;      0;           0;   32;    character; Significant recent weather phenomena
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness) (EsEs)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion (Rs)
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion (Is)
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration (Ci)
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice (zii...zii)
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development (bi)
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Rate of icing (Ir)
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR) (VR...VR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground (with or without snow) (E')
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;    192;      0;           0; 2040;    character; Remark
+  0;   20;    193;      0;           0; 1024;    character; 128 char plain language text remark
+  0;   20;    194;      0;           0;   11;      kg/m**2; cloud liquid water
+  0;   20;    196;      0;           0;    8;    CCITT_IA5; Runway visibility tendency
+  0;   20;    197;      0;           0;    2;   Flag_Table; Landing wind shear indicator
+  0;   20;    199;      0;           0;    9;     deg_true; Visibility direction
+  0;   20;    205;      0;           0;   24;    CCITT_IA5; Cloud significant convection
+  0;   20;    206;      0;           0;   64;    CCITT_IA5; Significant present weather conditions
+  0;   20;    207;      0;           0;    4;   Code_Table; Pressure and altitude significance
+  0;   20;    208;      0;           0;    4;   Code_Table; Significant weather changes (Ws)
+  0;   20;    209;      0;           0;    4;   Code_Table; Distance of weather changes (Ss)
+  0;   20;    210;      0;           0;    4;   Code_Table; Distant weather (Wd)
+  0;   20;    211;      0;           0;    4;   Code_Table; Bearing of distant weather (dw)
+  0;   20;    213;      0;           0;    4;   Code_Table; Icing and contrail types (It)
+  0;   20;    216;      0;           0;    7;   Code_Table; Altitude of layer base where icing occurred (hihi)
+  0;   20;    219;      0;           0;    4;   Code_Table; Distance to center or line midpoint
+  0;   20;    220;      0;           0;    4;   Code_Table; Orientation of ellipse (Sr)
+  0;   20;    221;     -3;           0;   16;            m; Echo width or diameter (Ew)
+  0;   20;    222;     -3;           0;   16;            m; Echo axis length (El)
+  0;   20;    223;      0;           0;    8;   Code_Table; Echo character (ce)
+  0;   20;    224;      0;           0;    4;   Code_Table; Intensity of echo (Ie)
+  0;   20;    225;      0;           0;    3;   Code_Table; In flight horizontal visibility (Vi)
+  0;   20;    236;      0;           0;    8;    CCITT_IA5; Cloud base height
+  0;   20;    237;      0;           0;    7;   Code_Table; Horizontal visbility
+  0;   20;    240;      0;           0;    4;   Code_Table; Present weather (w)
+  0;   20;    242;      0;           0;    5;   Code_Table; Bearing of ice edge
+  0;   20;    244;      0;           0;    4;   Code_Table; cloud base height
+  0;   20;    245;      0;           0;  640;    CCITT_IA5; Remarks in plain language
+  0;   20;    246;      0;           0;    7;      percent; Ice coverage
+  0;   20;    247;      0;           0; 1656;    CCITT_IA5; Ice plain language text remarks
+  0;   20;    248;      0;           0;    2;   Code_Table; Ice age identifier
+  0;   20;    249;      0;           0;    2;   Code_Table; Ice edge identifier
+  0;   20;    254;      0;           0;    8;    CCITT_IA5; Extreme value indicator
+  0;   20;    255;      0;           0; 2040;    CCITT_IA5; Plain language text remarks
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;     62;      2;       -5000;   13;           dB; Backscatter
+  0;   21;     63;      1;           0;   10;      percent; Radiometric resolution (noise value)
+  0;   21;     64;      0;           0;    8;      numeric; Clutter noise estimate
+  0;   21;     65;      0;        -127;    8;      numeric; Missing packet counter
+  0;   21;     66;      0;           0;   12;   flag_table; Wave scatterometer product confidence
+  0;   21;     67;      0;           0;   13;   flag_table; Wind product confidence data
+  0;   21;     68;      0;           0;    8;   flag_table; Radar altimeter product confidence data
+  0;   21;     69;      0;           0;   10;   flag_table; SST product confidence data
+  0;   21;     71;      0;           0;   16;      numeric; Peakiness
+  0;   21;     72;      0;           0;    4;   flag_table; Satellite altimeter calibration status
+  0;   21;     73;      0;           0;    9;   flag_table; Satellite altimeter instrument mode
+  0;   21;     75;      0;           0;    8;      numeric; Spectral intensity
+  0;   21;     76;      0;           0;    3;   code_table; Representation of intensities
+  0;   21;     77;      3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;     78;      3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;     79;      3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;     80;      3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;     81;      3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;     82;      3;       -3000;   14;           dB; Open loop correction (auto gain control)
+  0;   21;     85;      0;           0;    4;      numeric; ATSR sea surface temperature across-track band number
+  0;   21;    192;      0;           0;   14;            m; Heave sensor spectral peak length
+  0;   21;    193;      1;           0;   14;            s; Heave sensor spectral peak period
+  0;   21;    194;      2;           0;   14;      percent; AVHRR channel average
+  0;   21;    195;      2;           0;   14;      percent; Space view channel standard deviation
+  0;   21;    196;      2;           0;   15;        deg_K; Algorithm identifier
+  0;   21;    197;      2;           0;   15;        deg_K; AVHRR channel average
+  0;   21;    198;      2;       -5000;   13;           dB; Backscatter
+  0;   21;    199;      1;           0;   10;      percent; Noise figure percentage
+  0;   21;    200;      3;           0;   12;            m; aerosol_optical_depth
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves (dddd, da1da1, or d1d1>dndn)
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves (dw1dw1 or dw2dw2)
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current (dodo>dndn or DcDc))
+  0;   22;     11;      0;           0;    6;            s; Period of waves (D'D'D'D', PaPaPaPa, or PwPw)
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves (Pw1Pw1 or Pw2Pw2)
+  0;   22;     21;      1;           0;   10;            m; Height of waves (D'D'D'D' or HsHsHsHs)
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves (HwHw)
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves (Hw1Hw1 or Hw2Hw2)
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     26;      2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current (cococo>cncncn or VcVc)
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national land datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset
+  0;   22;     40;      3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature (T1T1T1>TnTnTn)
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature (ToToToTo>TnTnTnTn)
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;        deg_K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity (SoSoSoSo>SnSnSnSn)
+  0;   22;     63;      0;           0;   14;            m; Total water depth (hhh or ZdZdZdZd)
+  0;   22;     67;      0;           0;   10;   code_table; Instrument type for water temperature profile measurement
+  0;   22;     68;      0;           0;    7;   code_table; Water temperature profile recorder types
+  0;   22;     70;      2;           0;   13;            m; Significant wave height (D'..D', Hm..Hm, Hs..Hs, or Hse..Hse)
+  0;   22;     71;      1;           0;    9;            s; Spectral peak wave period (Psp..Psp or Pw..Pw)
+  0;   22;     72;      0;           0;   13;            m; Spectral peak wave length (Pa..Pa, Pp..Pp, Psa..Psa, or Psp..Psp)
+  0;   22;     73;      2;           0;   13;            m; Maximum wave height (D'..D', Hm..Hm, Hs..Hs, or Hse..Hse)
+  0;   22;     74;      1;           0;    9;            s; Average wave period (D'..D', Pa..Pa, Pp..Pp, Pp..Pp, Psa..Psa, Psp..Psp, or Pw..Pw)
+  0;   22;     75;      0;           0;   13;            m; Average wave length (Pa..Pa, Pp..Pp, Psa..Psa, Psp..Psp, or Pw..Pw)
+  0;   22;     76;      0;           0;    9;     deg_true; Direction from which dominant waves are comming (dddd)
+  0;   22;     77;      0;           0;    9;          deg; Directional spread of dominant wave (dsds)
+  0;   22;     78;      0;           0;   12;            s; Duration of wave record (D'D'D'D')
+  0;   22;     79;      0;           0;   16;            m; Length of wave record (D'D'D'D')
+  0;   22;     80;      3;           0;   10;           Hz; Waveband central frequency (f1f1f1 ... fnfnfn)
+  0;   22;     81;      5;           0;   13;          1/m; Waveband central wave number (f1f1f1 ... fnfnfn)
+  0;   22;     82;      2;           0;   20;        m**2s; Sensor spectral density frequency (Cm..Cm or Csm..Csm)
+  0;   22;     83;      2;           0;   20;         m**3; Sensor spectral density number (Cm..Cm or Csm..Csm)
+  0;   22;     84;      0;           0;    7;      numeric; Sensor band number (nmnm or nsmmsm)
+  0;   22;     85;      0;           0;    7;      percent; Sensor ratio (c1c1..cnc or csncsnn)
+  0;   22;     86;      0;           0;    9;     deg_true; Mean direction from which waves are coming (dddd)
+  0;   22;     87;      0;           0;    9;     deg_true; Principal direction from which waves are coming (dddd)
+  0;   22;     88;      2;           0;    7;      numeric; First normalized polar coefficient (r1r1 or r2r2)
+  0;   22;     89;      2;           0;    7;      numeric; Second normalized polar coefficient (r1r1 or r2r2)
+  0;   22;     90;      2;           0;   20;        m**2s; Non-directional spectral estimate by wave frequency
+  0;   22;     91;      2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;     92;      2;           0;   20;    m**2s/rad; Directional spectral estimate by wave frequency
+  0;   22;     93;      2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;     94;      0;           0;    7;      numeric; Total number of wave bands described (BTBT)
+  0;   22;     95;      0;           0;    8;          deg; Directional spread of individual waves
+  0;   22;     96;      3;           0;    4;          1/s; Spectral band width
+  0;   22;    120;      0;           0;    5;   code_table; Tide station automated water level check
+  0;   22;    121;      0;           0;    5;   code_table; Tide station manual water level check
+  0;   22;    122;      0;           0;    5;   code_table; Tide station automated meteorological data check
+  0;   22;    123;      0;           0;    5;   code_table; Tide station manual meteorological data check
+  0;   22;    192;      6;   -10000000;   25;           cm; corrected sea sfc ht
+  0;   22;    194;      0;           0;    4;   code_table; Wave spectra exponent (x)
+  0;   22;    196;      0;           0;    7;      numeric; Number of wave bands affected by the center frequency (or center wave number) (BB)
+  0;   22;    200;      0;           0;   14;            m; Distance sample interval
+  0;   22;    203;      3;           0;   10;           Hz; Frequency increment (fdfdfd)
+  0;   22;    204;      5;           0;   13;          1/m; Wave number increment (fdfdfd)
+  0;   22;    205;      3;           0;   20; m**2/(Hz*rad); Wave spectra
+  0;   22;    206;      4;           0;   10;      Numeric; Drag coefficient
+  0;   22;    207;      2;           0;   16;            m; Maximum wave height
+  0;   22;    208;      2;           0;   16;            m; Significant wave height
+  0;   22;    209;      0;           0;    7;   Code_Table; directional spread
+  0;   22;    211;      0;           0;    8;   Code_Table; Bogus water mass classification
+  0;   22;    212;      0;           0;    8;   Code_Table; Discriminant water mass classification
+  0;   22;    213;      1;           0;   10;      percent; Classification probability
+  0;   22;    218;      0;           0;    7;      Numeric; Slope sensor band number
+  0;   22;    219;      0;           0;    7;      percent; Slope sensor ratio
+  0;   22;    220;      0;           0;    8;   Code_Table; Front number
+  0;   22;    224;     -2;           0;   14;            m; Distance to front
+  0;   22;    232;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;   22;    233;      0;           0;    3;   Code_Table; Sea temperature averaging period
+  0;   22;    236;      0;           0;    8;   Code_Table; Swell wave direction
+  0;   22;    237;     -2;           0;   14;            m; Significant wave height
+  0;   22;    238;     -2;           0;   14;            m; Maximum wave height
+  0;   22;    239;      0;           0;    6;      Numeric; Wave spectra direction count
+  0;   22;    240;      0;           0;    6;      Numeric; Wave spectra frequency count
+  0;   22;    241;      3;      -32768;   16;      Nt/m**2; Wave stress u-component
+  0;   22;    242;      3;      -32768;   16;      Nt/m**2; Wave stress v-component
+  0;   22;    243;      0;           0;    7;      percent; Whitecap probability
+  0;   22;    245;      2;           0;   16;        deg_K; Surface temperature
+  0;   22;    246;      3;      -32768;   16;      Nt/m**2; Wind stress u-component
+  0;   22;    247;      3;      -32768;   16;      Nt/m**2; Wind stress v-component
+  0;   22;    248;      0;           0;   16;     deg_true; Wind wave direction
+  0;   22;    249;      2;           0;   16;            m; Height of wind wave
+  0;   22;    250;      1;           0;   16;            s; Period of wind waves
+  0;   22;    251;      0;           0;    6;      Numeric; Wave spectra direction
+  0;   22;    252;      0;           0;    6;      Numeric; Wave spectra frequency
+  0;   22;    253;      0;           0;   16;     deg_true; Direction of swell waves
+  0;   22;    254;      2;           0;   16;            m; Height of swell waves
+  0;   22;    255;      1;           0;   16;            s; Period of swell waves
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precip
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter change in wind direction and/or speed flag
+  0;   24;      1;    -11;           0;   28;           Bq; Estimate of radioactivity released up to specified time
+  0;   24;      2;    -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   code_table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;   25;     42;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;   25;     43;      4;           0;   15;            s; Time sample interval (SSSS)
+  0;   25;     44;      2;           0;   14;            m; Distance sample interval (SSSS)
+  0;   25;     45;      0;           0;   21;   flag_table; HIRS channel combination
+  0;   25;     46;      0;           0;    5;   flag_table; MSU channel combination
+  0;   25;     47;      0;           0;    4;   flag_table; SSU channel combination
+  0;   25;     48;      0;           0;   16;   flag_table; AMSU-A channel combination
+  0;   25;     49;      0;           0;    6;   flag_table; AMSU-B channel combination
+  0;   25;     51;      0;           0;    7;   flag_table; AVHRR channel combination
+  0;   25;     53;      0;           0;   12;   flag_table; Observation quality
+  0;   25;     60;      0;           0;   14;      numeric; Software identification
+  0;   25;    192;      0;           0;    8;   Code_Table; Type of correction
+  0;   25;    193;      0;           0;    3;   Code_Table; Land/sea flag
+  0;   25;    194;      0;           0;    2;   Code_Table; Day/night flag
+  0;   25;    195;      0;           0;    6;      Numeric; Surface model pressure
+  0;   25;    196;      0;           0;   16;      Numeric; Scan line count
+  0;   25;    197;      0;           0;    5;      Numeric; Box counter
+  0;   25;    198;      0;           0;    3;      Numeric; Minibox counter
+  0;   25;    199;      0;           0;    3;   Code_Table; Water vapor flag
+  0;   25;    200;      0;           0;    3;   Code_Table; TOVS retrieval low 20
+  0;   25;    201;      0;           0;    3;   Code_Table; TOVS retrieval temps high 20
+  0;   25;    202;      0;           0;    2;   Code_Table; TOVS super adiabatic flag
+  0;   25;    203;      0;           0;    2;   Code_Table; TOVS skin temperature flag
+  0;   25;    204;      0;           0;    2;   Code_Table; Stratospheric sounding unit flag
+  0;   25;    205;      0;           0;    4;   Code_Table; Latitude zones
+  0;   25;    206;      0;           0;    4;   Code_Table; TOVS instrument combinations
+  0;   25;    207;      0;           0;    6;      numeric; HIRS scan position number
+  0;   25;    208;      0;           0;    8;   Code_Table; TARM flag
+  0;   25;    209;      0;           0;    4;   Code_Table; DMSP flag
+  0;   25;    211;      0;           0;   17;      Numeric; B-scan start time
+  0;   25;    212;      0;           0;    7;      Numeric; Counter (1-64)
+  0;   25;    213;      0;           0;    5;   Code_Table; Calculated surface type
+  0;   25;    214;      0;           0;    3;   Code_Table; Season flag
+  0;   25;    215;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   25;    216;      0;           0;    3;   Code_Table; Observation Quality Code
+  0;   26;      1;      1;           0;   12;           hr; Principle time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;           hr; Principle time of daily reading in UTC of minimum temperature
+  0;   26;      3;      0;       -1440;   12;          min; Time difference
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite location counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-location dimensions
+  0;   27;     31;      2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance from the Earth's center
+  0;   28;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;     31;      2; -1073741824;   31;            m; In direction 90 degrees East, distance from the Earth's center
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    3;   Code_Table; Coordinate grid type (Wr)
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch (1 bit)
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor (255 or less)
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor (65536 or less)
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data replication factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data replication factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;     31;      0;           0;    1;   flag_table; Data present indicator
+  0;   31;    192;      0;           0;    8;   Code_Table; Associated QC indicator
+  0;   31;    193;      0;           0;    8;   Code_Table; QC description identifier, indicates why a value is bad
+  0;   31;    194;      2;           0;    7;      Numeric; Associated correlation
+  0;   31;    195;      2;           0;    7;      Numeric; Associated probability of error
+  0;   31;    196;      0;           0;   13;   Flag_Table; UWI product confidence flag
+  0;   31;    197;      0;           0;   12;      Numeric; Solution probability
+  0;   31;    201;      0;           0;   10;      Numeric; Delayed replication factor (1023 or less)
+  0;   31;    211;      0;           0;    3;      Numeric; Delayed replication factor (15 or less)
+  0;   31;    221;      0;           0;    5;      Numeric; Delayed replication count (31 or less)
+  0;   31;    231;      0;           0;    6;      Numeric; Delayed replication factor (63 or less)
+  0;   31;    241;      0;           0;    4;      Numeric; Delayed replication factor (15 or less)
+  0;   33;      2;      0;           0;    2;   code_table; Quality information
+  0;   33;      3;      0;           0;    3;   code_table; Quality information
+  0;   33;      7;      0;           0;    7;      percent; Per cent confidence
+  0;   33;     20;      0;           0;    3;   code_table; Quality control indication of following value
+  0;   33;     21;      0;           0;    2;   code_table; Quality of following value
+  0;   33;     22;      0;           0;    2;   code_table; Quality of buoy satellite transmission
+  0;   33;     23;      0;           0;    2;   code_table; Quality of buoy location
+  0;   33;     24;      0;           0;    4;   code_table; Station elevation quality mark (for mobile stations)
+  0;   33;     25;      0;           0;    3;   code_table; ACARS interpolated values table
+  0;   33;     26;      0;           0;    6;   code_table; Mixing ratio quality
+  0;   33;     35;      0;           0;    4;   code_table; manual/automatic quality control
+  0;   33;     36;      0;           0;    7;      percent; nominal confidence threshold wind dir
+  0;   48;      1;      0;           0;  128;    CCITT_IA5; Classification
+  0;   48;      2;      0;           0;  128;    CCITT_IA5; Classification modifier
+  0;   48;      3;      0;           0;  552;    CCITT_IA5; Release as
+  0;   48;      4;      0;           0;   12;           yr; Declassification - year
+  0;   48;      5;      0;           0;    4;           mo; Declassification - month
+  0;   48;      6;      0;           0;    6;          day; Declassification - day
+  0;   48;      7;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;      8;      0;           0;   64;    CCITT_IA5; Sender of original observation data
+  0;   48;      9;      0;           0;   80;    CCITT_IA5; Declassification instructions
+  0;   48;     10;      0;           0;   12;           yr; Send - year
+  0;   48;     11;      0;           0;    4;           mo; Send - month
+  0;   48;     12;      0;           0;    6;          day; Send - day
+  0;   48;     13;      0;           0;    4;           hr; Send - hour
+  0;   48;     14;      0;           0;    6;          min; Send - minutes
+  0;   48;     15;      0;           0;  552;    CCITT_IA5; Release to information
+  0;   48;     16;      0;           0;    5;           hr; Send - hour
+  0;   48;     17;      0;           0; 1104;    CCITT_IA5; Release to
+  0;   48;     18;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;     19;      0;           0;  552;    CCITT_IA5; Declassification instructions
+  0;   48;     20;      0;           0;  552;    CCITT_IA5; Classification modifier
+  0;   48;     21;      0;           0;  552;    CCITT_IA5; Sender of observational data
+  0;   48;     22;      0;           0;  160;    CCITT_IA5; Classification
+  0;   48;     27;      0;           0;   12;           yr; Receipt - year
+  0;   48;     28;      0;           0;    4;           mo; Receipt - month
+  0;   48;     29;      0;           0;    6;          day; Receipt - day
+  0;   48;     30;      0;           0;    5;           hr; Receipt - hour
+  0;   48;     31;      0;           0;    6;          min; Receipt - minutes
+  0;   48;     32;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;   48;     33;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;   48;     34;      0;           0;    6;      Numeric; Near-duplicate combination count
+  0;   50;      1;      0;           0;    2;   Code_Table; Quality of measurement of pressure, sst, air temperature, and housekeeping parameters (Qp, Q2, QTW, Q4)
+  0;   50;      2;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission (QN)
+  0;   50;      3;      0;           0;    4;   Code_Table; IGOSS quality codes (Qd, Qd1, Qd2, Q1, Qt)
+  0;   50;      6;      0;           0;    3;   Code_Table; Location quality codes (QL)
+  0;   50;     10;      2;           0;   15;        deg_K; GDEM temperature
+  0;   50;     14;      2;           0;   15;        deg_K; Feature model temperature
+  0;   50;     18;      0;           0;   16;      Numeric; Reliability
+  0;   50;     33;      0;           0;    8;      Numeric; Count of boundary points
+  0;   50;     34;      3;           0;   16;      Numeric; Frequency ratio
+  0;   50;     35;      0;           0;   12;            s; Time step of data (time increment)
+  0;   50;     42;      2;           0;   12;      Numeric; Mean wave direction
+  0;   50;     43;      3;           0;   12;      Numeric; Mean wave frequency
+  0;   50;     44;      4;           0;   12;      Numeric; First frequency
+  0;   50;    100;      0;           0;   12;           yr; Analysis DTG - year
+  0;   50;    101;      0;           0;    4;           mo; Analysis DTG - month
+  0;   50;    102;      0;           0;    6;          day; Analysis DTG - day
+  0;   50;    103;      0;           0;    5;           hr; Analysis DTG - hour
+  0;   50;    104;      0;           0;    6;      Numeric; Last observed sea depth
+  0;   51;      3;      0;           0;    5;   Flag_Table; Processing status
+  0;   51;      6;      0;           0;    6;      Numeric; Combination count
+  0;   51;      7;      0;           0;    2;   Code_Table; Quality control process status
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-010-D
@@ -0,0 +1,2397 @@
+#
+# WMO source file name = BufrTabD-11-2001.txt
+# Master Table D Version 10
+#
+#-----------------------------------------------------
+# F X Y --> Table D descriptor being defined
+#      F X Y --> 
+#      F X Y --> descriptors defining sequence for
+#      F X Y --> corresponding Table D descriptor
+#      -1 --> end of sequence designator
+#------------------------------------------------------
+#  Category 00 - BUFR table entries sequences
+  3   0   2
+      0   0   2  "Table A category, line 1"
+      0   0   3  "Table A category, line 2"
+     -1
+  3   0   3
+      0   0  10  "F,  part descriptor"
+      0   0  11  "X,  part descriptor"
+      0   0  12  "Y,  part descriptor"
+     -1
+  3   0   4
+      3   0   3
+      0   0  13  "Element name, line 1"
+      0   0  14  "Element name, line 2"
+      0   0  15  Units name
+      0   0  16  Units scale sign
+      0   0  17  Units scale
+      0   0  18  Units reference sign
+      0   0  19  Units reference value
+      0   0  20  Element data width
+     -1
+  3   0  10
+      3   0   3  Table D descriptor to be defined
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      0   0  30  Descriptor defining sequence
+     -1
+#  Category 01 - Location and Identification sequences
+  3   1   1
+      0   1   1  WMO block number
+      0   1   2  WMO station number
+     -1
+  3   1   2
+      0   1   3  WMO Region number
+      0   1   4  WMO Region sub-area
+      0   1   5  Buoy/platform identifier
+     -1
+  3   1   3
+      0   1  11  Ship's call sign
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+     -1
+  3   1  11
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+     -1
+  3   1  12
+      0   4   4  Hour
+      0   4   5  Minute
+     -1
+  3   1  13
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+     -1
+  3   1  21
+      0   5   1  Latitude- high accuracy
+      0   6   1  Longitude - high accuracy
+     -1
+  3   1  22
+      0   5   1  Latitude- high accuracy
+      0   6   1  Longitude- high accuracy
+      0   7   1  Height of station
+     -1
+  3   1  23
+      0   5   2  Latitude- coarse accuracy
+      0   6   2  Longitude- coarse accuracy
+     -1
+  3   1  24
+      0   5   2  Latitude- coarse accuracy
+      0   6   2  Longitude - coarse accuracy
+      0   7   1  Height of station
+     -1
+  3   1  25
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   4   3  Day
+      3   1  12  Time
+     -1
+  3   1  26
+      3   1  21  Latitude and longitude (high accuracy)
+      0   4   3
+      0   4   3  (Time period in days)
+      0   4   4
+      0   4   4  (Time period in hours)
+      0   4   5
+      0   4   5  (Time period in minutes)
+     -1
+  3   1  31
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high  accuracy), height of station"
+     -1
+  3   1  32
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Buoy/platform  fixed)
+  3   1  33
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  34
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  moving)
+  3   1  35
+      0   1   5  Buoy/platform identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Ship)
+  3   1  36
+      3   1   3  Ship's call sign and motion
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Land station for vertical soundings)
+  3   1  37
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high accuracy), height of station"
+     -1
+#  (Land station for vertical soundings)
+  3   1  38
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Ship for vertical soundings)
+  3   1  39
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+  3   1  40
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+  3   1  41
+      0   1   7  Satellite identifier
+      0   2  21  Satellite instrument data used in processing
+      0   2  22  Satellite data processing technique used
+      3   1  11  Date
+      3   1  12  Time
+     -1
+  3   1  42
+      3   1  41  "Satellite identifier, data used, and data processing technique; date/time"
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  43
+      0   1   7  Satellite identifier
+      0   2  23  Cloud motion computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  44
+      0   1   7  Satellite identifier
+      0   2  24  Integrated mean humidity computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  (Satellite location and velocity)
+  3   1  45
+      3   1  11  "Year, month, day"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   4  30  Location relative to the Earths centre
+      3   4  31  Velocity relative to the Earths centre
+     -1
+  3   1  46
+      0   1   7  Satellite identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   2  48  Satellite sensor indicator
+      0  21 119  Wind scatterometer geophysical model function
+      0  25  60  Software identification
+      2   2 124  Change scale
+      0   2  26  Cross-track resolution
+      0   2  27  Along-tract resolution
+      2   2   0  Change scale back to Table B
+      0   5  40  Orbit number
+     -1
+#  (ERS product header)
+  3   1  47
+      0   1   7  Satellite identifier
+      0  25  60  Software identification
+      0   1  33  Originating/generating centre
+      0   1  34  Originating/generating sub-centre
+      0   1  12  Direction of motion of moving observation platform
+      3   1  45  Satellite location and velocity
+      0   2  21  Satellite instrument data used in processing
+      3   1  11  "Date (year, month, day)"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change bit width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   1  23  "Location (latitude, longitude)"
+     -1
+#  (Radar parameters)
+  3   1  48
+      0   2 104  Antenna polarization
+      0   2 121  Mean frequency
+      0   2 113  Number of azimuth looks
+      0   2  26  Cross-track resolution
+      0   2  27  Along-track resolution
+      0   2 111  Radar incidence angle
+      0   2 140  Satellite radar beam azimuth angle
+      2   2 127  Change scale to 1
+      0   1  13  Radar platform velocity
+      2   2 126  Change scale to 2
+      0   7   1  Radar platform altitude
+      2   2   0  Change scale to Table B
+      0  25  10  Clutter treatment
+      0  21  64  Clutter noise estimate
+     -1
+#  (Radar beam data)
+  3   1  49
+      0   2 111  Radar incidence angle
+      0   2 112  Radar look angle
+      0  21  62  Backscatter
+      0  21  63  Radiometric resolution (Noise value)
+      0  21  65  Missing packet counter
+     -1
+  3   1  51
+      0   1   6  Aircraft identifier
+      0   2  61  Navigational system
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  "Latitude, longitude"
+      0   8   4  Phase of aircraft flight
+     -1
+  3   1  55
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+     -1
+#  (Radar location(s))
+  3   1  62
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   1   1  WMO block and station number
+     -1
+#  (ACARS identification)
+  3   1  65
+      0   1   6  Aircraft flight number (see Note)
+      0   1   8  Aircraft registration number (see Note)
+      0   2   1  Type of station
+      0   2   2  Type of instrumentation for wind measurement
+      0   2   5  Precision of temperature observation
+      0   2  62  Type of aircraft data relay system
+      0   2  70  Original specification of latitude/longitude
+      0   2  65  ACARS ground receiving station
+     -1
+#  (ACARS location)
+  3   1  66
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   7   4  Pressure
+      0   2  64  Aircraft roll angle quality
+      0   8   4  Phase of aircraft flight
+     -1
+#  (Satellite identifier/Generating resolution)
+  3   1  71
+      0   1   7  Satellite identifier
+      0   1  31  Generating centre
+      0   2  20  Satellite classification
+      0   2  28  Segment size at nadir in X direction
+      0   2  29  Segment size at nadir in Y direction
+     -1
+#  (Satellite identification)
+  3   1  72
+      3   1  71  "Satellite identification, Generation resolution"
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  Category 02 - Meteorological sequences common to surface data
+  3   2   1
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (High altitude station)
+  3   2   2
+      0  10   4  Pressure (at station level)
+      0   7   4  Pressure level
+      0  10   3  Geopotential of pressure level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+  3   2   3
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Temperature (2 m)
+      0  12   6  Dew point (2 m)
+      0  13   3  Relative humidity
+      0  20   1  Horizontal visibility
+      0  20   3  Present weather
+      0  20   4  Past weather (1)
+      0  20   5  Past weather (2)
+     -1
+#  (General cloud information)
+  3   2   4
+      0  20  10  Cloud cover (total)
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  13  Height of base of cloud
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+     -1
+  3   2   5
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0  20  13  Height of base of cloud
+     -1
+  3   2   6
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  62  24-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (Low altitude station)
+  3   2  11
+      3   2   1  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud layer
+     -1
+#  (High altitude station)
+  3   2  12
+      3   2   2  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud information
+     -1
+  3   2  13
+      3   2   6  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   2   5  Cloud layer information
+     -1
+  3   2  21
+      0  22   1  Direction of waves
+      0  22  11  Period of waves
+      0  22  21  Height of waves
+     -1
+  3   2  22
+      0  22   2  Direction of wind waves
+      0  22  12  Period of wind waves
+      0  22  22  Height of wind waves
+     -1
+  3   2  23
+      0  22   3  Direction of swell waves
+      0  22  13  Period of swell waves
+      0  22  23  Height of swell waves
+     -1
+  3   2  24
+      3   2  22  Wind waves
+      1   1   2  Replicate 1 descriptor 2 times
+      3   2  23  Swell waves (2 systems of swell)
+     -1
+  3   2  51
+      0  10   4  Pressure
+      0  10  51  Pressure reduced to mean sea level
+      0   7   4  Pressure (vertical location)
+      0  10   3  Geopotential
+      0  12   4  Dry-bulb temperature at 2 m
+      0  12  51  Standard deviation temperature
+      0  12  16  "Maximum temperature at 2 m, past 24 hours"
+      0  12  17  "Minimum temperature at 2 m, past 24 hours"
+      0  13   4  Vapour pressure
+      1   2   4  Replicate 2 descriptors 4 times
+      0   8  51  Qualifier for number of missing values in calculation of statistic
+      0   8  20  Total number of missing entities (with respect to accumulation or average)
+     -1
+#  Category 03 - Meteorological sequences common to vertical soundings data
+  3   3   1
+      0   7   3  Geopotential
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   2
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   3
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+     -1
+  3   3   4
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  11
+      0   7   3  Geopotential
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  12
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  13
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  13   3  Relative humidity
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  14
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  21
+      0   7   4  Pressure (1)
+      0   7   4  Pressure (2)     defines layer
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+     -1
+  3   3  22
+      3   3  21  "Layer, quality"
+      0  10   3  Geopotential (layer mean thickness)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  23
+      3   3  21  "Layer, quality"
+      0  12   1  Temperature (layer mean)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  24
+      3   3  21  "Layer, quality"
+      0  13  16  Precipitation water
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  25
+      0   2  25  Satellite channel
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12  63  Brightness temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  26
+      0   7   4  Pressure
+      0   8   3  Vertical significance
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12   1  Temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  27
+      0   7   4  Pressure
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  10   3  Geopotential
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  31
+      0   7   4  Pressure
+      0   8   3  Vertical significance (base of sounding)
+      0   7  21  Elevation (local zenith)
+      0   7  22  Solar elevation (solar zenith)
+      0   8  12  Land/sea qualifier
+      0  12  61  Skin temperature
+     -1
+  3   3  32
+      0  20  11  Cloud amount
+      0  20  16  Pressure at top of cloud
+     -1
+  3   3  33
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at the top of cloud
+     -1
+#  (Wind sequence)
+  3   3  41
+      0   2 152  Geostationary satellite instrument used
+      0   2  23  Cloud motion computational method
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  71  Coldest cluster T
+     -1
+  3   3  23
+      3   3  21  "Layer, quality"
+      0  12   1  Temperature (layer mean)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  24
+      3   3  21  "Layer, quality"
+      0  13  16  Precipitation water
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  25
+      0   2  25  Satellite channel
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12  63  Brightness temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  26
+      0   7   4  Pressure
+      0   8   3  Vertical significance
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12   1  Temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  27
+      0   7   4  Pressure
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  10   3  Geopotential
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  31
+      0   7   4  Pressure
+      0   8   3  Vertical significance (base of sounding)
+      0   7  21  Elevation (local zenith)
+      0   7  22  Solar elevation (solar zenith)
+      0   8  12  Land/sea qualifier
+      0  12  61  Skin temperature
+     -1
+  3   3  32
+      0  20  11  Cloud amount
+      0  20  16  Pressure at top of cloud
+     -1
+  3   3  33
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at the top of cloud
+     -1
+#  (Wind sequence)
+  3   3  41
+      0   2 152  Geostationary satellite instrument used
+      0   2  23  Cloud motion computational method
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  71  Coldest cluster T
+     -1
+#  Category 04 - Meteorological sequences common to satellite observations
+  3   4   1
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   2
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   3
+      0   8   3  Vertical significance
+      0  12   1  Temperature
+     -1
+  3   4   4
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  20  10  Cloud cover (total)
+      0  12   1  Temperature
+     -1
+  3   4   5
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure(1)
+      0   7   4  Pressure (2)    defines layer
+      0  13   3  Relative humidity
+     -1
+  3   4   6
+      0  14   1  Outgoing long-wave radiation
+      0  14   1  Incoming long-wave radiation
+      0  14   3  Outgoing short-wave radiation
+     -1
+#  (GOES-I/M info)
+  3   4  11
+      0   2 163  Height assignment method
+      0   2 164  Tracer correlation method
+      0   8  12  Land/sea qualifier
+      0   7  24  Satellite zenith angle
+      0   2  57  Origin of first guess information
+      0   8  21  Time significance
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   8  21  Time significance
+      0   4  24  Time period or displacement
+      1  10   4  Replicate 10 descriptors 4 times
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      1   3  10  Replicate 3 descriptors 10 times
+      0   2 163  Height assignment method
+      0   7   4  Pressure
+      0  12   1  Temperature
+     -1
+#  (Location of platform)
+  3   4  30
+      0  27  31  "In direction of 0 degree longitude, distance from the Earths centre"
+      0  28  31  "In direction of 90 degrees East longitude, distance from the Earths centre"
+      0  10  31  "In direction of North Pole, distance from Earths centre"
+     -1
+#  (Speed of platform)
+  3   4  31
+      0   1  41  Absolute platform velocity  first component
+      0   1  42  Absolute platform velocity  second component
+      0   1  43  Absolute platform velocity  third component
+     -1
+#  (Cloud fraction)
+  3   4  32
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  20  81  Cloud amount in segment
+      0  20  82  Amount segment cloud free
+      0  20  12  Cloud type
+     -1
+#  (Clear sky radiance)
+  3   4  33
+      0   2 152  Satellite instrument used in data processing
+      0   2 166  Radiance type
+      0   2 167  Radiance computational method
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  75  Spectral radiance
+      0  12  76  Radiance
+      0  12  63  Brightness temperature
+     -1
+#  0
+  3   4  34
+      1   2   4  Replicating next two descriptors 4 times
+      0  27   1  Latitude (high accuracy)
+      0  28   1  Longitude (high accuracy)
+      0   7  22  Solar elevation
+      0   5  43  Field of view number
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at top of cloud
+      0  33   3  Quality information table
+      0  10  40  Number of retrieved layers
+     -1
+#  Category 05 - Meteorological or hydrological sequences common to hydrological observations
+#  (SADC-HYCOS measurement array definition)
+  3   5   3
+      3   1  12  "Hour, minute of first single measurement minus increment"
+      0   4  65  Short time increment - time interval between measuremens
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   5   1  Single measurement
+     -1
+#  3
+#  (MEDHYCOS measurement)
+  3   5   6
+      0  13  72  Downstream water level
+      0  13  82  Water temperature
+      0  13  19  Precipitation last hour
+      0  12   1  Air temperature
+      0  13  73  Maximum water height observed
+      0  13  60  Total accumulated precipitation
+     -1
+#  0
+#  (MEDHYCOS report)
+  3   5   7
+      3   1  29  Identification
+      3   1  12  "Hour, minute (time of first measurement)"
+      0   4  65  Short time increment - time interval between measurements
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   5   6  Single measurement
+     -1
+#  3
+#  (AOCHYCOS - Chad measurement)
+  3   5   8
+      3   5   6  Same as MEDHYCOS type measurement
+      0  12  30  Soil temperature at -50 cm
+     -1
+#  0
+#  (AOCHYCOS-Chad report)
+  3   5   9
+      3   1  29  Identification
+      3   1  12  "Hour, minute (time of first measurement)"
+      0   4  65  Short time increment - time interval between measurements
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   5   8  Single measurement
+     -1
+#  3
+#  (MEDHYCOS report type 2)
+  3   5  11
+      3   1  29  Identification
+      3   1  12  "Hour, minute (time of first measurement)"
+      0   4  65  Short time increment - time interval between measurements
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   5  10  Single measurement
+     -1
+#  3
+#  (MEDHYCOS report with meteorology and water quality data)
+  3   5  18
+      3   1  29  Identification
+      3   1  12  "Hour, minute (time) of first measurement"
+      0   4  65  Hour increment
+      1   3   0  Delayed replications of 3 descriptors
+      0  31   1  Replication factor
+      3   5   8  Same as AOCHYCOS type measurement
+      3   5  16  Meteorological parameters associated to hydrological data
+      3   5  17  Water quality measurement
+     -1
+#  Category 06 - Meteorological or oceanographic sequences common to oceanographic observations
+  3   6   1
+      0   2  32  Indicator for digitization
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  42  Subsurface sea temperature
+     -1
+  3   6   2
+      0   2  31  Method of current measurement
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+  3   6   3
+      0   2   2  Wind instrumentation
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Dry-bulb temperature (2 m)
+     -1
+  3   6   4
+      0   2  32  Indicator for digitization
+      0   2  33  Method of salinity/depth measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  43  Subsurface sea temperature
+      0  22  62  Salinity
+     -1
+  3   6   5
+      0   2  31  Method of current measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+#  (Under water sounding (optional) parameters)
+  3   6   6
+      3   6   3  Surface wind and temperature
+      3   6   2  Current
+      0  22  63  Total water depth
+     -1
+#  (Buoy spare block parameters)
+  3   6   7
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+      3   6   8  Buoy instrumentation
+      0   4  24  Time period
+      0  27   3  Alternate latitude
+      0  28   3  Alternate longitude
+     -1
+#  (Buoy instrumentation parameters)
+  3   6   8
+      0   2  34  Drogue type
+      0   2  35  Cable length
+      0   2  36  Buoy type
+     -1
+  3   6  23
+      0   1  15  Station or site name
+      3   1  23  "Latitude, longitude"
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal level with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+     -1
+#  Category 07 - Surface report sequences (land)
+#  (Low altitude station)
+  3   7   1
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   2
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   3
+      3   7   1  Location (high accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   4
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   5
+      3   7   1  Location (high accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (Low altitude station)
+  3   7   6
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (High altitude station)
+  3   7   7
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  12  Basic surface report
+     -1
+#  (High altitude station)
+  3   7   8
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  12  Basic surface report
+     -1
+  3   7   9
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  13  Basic surface report
+     -1
+#  (Main part of data for representation of METAR/SPECI code in BUFR)
+  3   7  11
+      0   1  63  ICAO location indicator
+      0   2   1  Type of station
+      3   1  11  "Year, month, day (YY)"
+      3   1  12  "GG, gg"
+      3   1  24  "Latitude-longitude (coarse accuracy), height of station"
+      0   7   6  Height above station (= height of an anemometer)
+      0  11   1  Wind direction
+      0  11  16  Extreme counterclockwise wind direction of a variable wind
+      0  11  17  Extreme clockwise wind direction of a variable wind
+      0  11   2  Wind speed
+      0  11  41  Maximum wind speed (gusts)
+      0   7   6  Height above station (= height of a thermometer)
+      0  12   1  Temperature
+      0  12   3  Dew-point temperature
+      0  10  52  Altimeter setting (QNH)
+      0  20   9  General Weather Indicator TAF/METAR
+     -1
+#  (DvVVVV)
+  3   7  12
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Number of replication (up to 3)
+      0   8  23  First order statistics
+      0   5  21  Direction of visibility observed
+      0  20   1  Horizontal visibility
+     -1
+#  (DRDRVRVRVRVR)
+  3   7  13
+      1   6   0  Delayed replication of 6 descriptors
+      0  31   1  Number of replication (up to 4)
+      0   1  64  Runway designator
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range
+      0  20  18  Tendency of runway visual range
+     -1
+#  (ww)
+  3   7  14
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  19  Significant present weather
+     -1
+#  (Clouds group(s))
+  3   7  15
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      3   2   5  "(NsNsNs, CC, hshshs)"
+      0  20   2  Vertical visibility
+     -1
+#  (REww)
+  3   7  16
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  20  Significant recent weather phenomena
+     -1
+#  (Wind shear on runways(s))
+  3   7  17
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      0  11  70  Runway designator of the runway affected by wind shear (including ALL)
+     -1
+#  (Trend-type landing forecast)
+  3   7  18
+      0   8  16  Change qualifier of a trend-type
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Number of replication (up to 2)
+      0   8  17  Qualifier of the time when the forecast
+      3   1  12  "GG, gg"
+      1   4   0  Delayed replication of 4 descriptor
+      0  31   1  Number of replication (up to 1)
+      0   7   6  Height above station
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  11  41  Maximum wind speed (gusts)
+      0  20   9  General Weather Indicator
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 1)
+      0  20   1  Horizontal visibility
+      3   7  14  ww
+     -1
+#  (Short METAR/SPECI)
+  3   7  20
+      3   7  11  Main part of data
+      3   7  14  ww
+      3   7  16  REww
+     -1
+#  (Total sequence for representation of METAR/SPECI code in BUFR)
+  3   7  21
+      3   7  11  Main part of data
+      3   7  12  DvVVVV
+      3   7  13  DRDRVRVRVRVR
+      3   7  14  ww
+      3   7  15  Clouds group(s)
+      3   7  16  REww
+      3   7  17  Wind shear on runway(s)
+      3   7  18  Trend-type landing forecast
+      3   7  15  Clouds group(s)
+     -1
+#  Category 08 - Surface report sequences (sea)
+#  (Buoy/platform  fixed)
+  3   8   1
+      3   1  33  "Identification, type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  fixed)
+  3   8   2
+      3   1  34  "Identification, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  moving)
+  3   8   3
+      3   1  35  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Ship)
+  3   8   4
+      3   1  36  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+  3   8   5
+      3   8   4  Basic ship report
+      3   2  24  Wind waves and swell waves
+     -1
+#  (Buoy Section 1 optional parameters)
+  3   8   6
+      0  10   4  Pressure
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   4  Dry-bulb temperature at 2 m
+      0  13   3  Relative humidity
+      0  22  42  Sea temperature
+     -1
+  3   8   7
+      3   1  55  "Identification, movement type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0   7  62  Depth below sea/water surface
+      0  22  42  Sea/water temperature
+     -1
+#  Category 09 - Vertical sounding sequences (conventional data)
+#  (Vertical wind profile)
+  3   9   1
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   2
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   3
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical wind profile)
+  3   9   4
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   5
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   6
+      3   1  38  "Identification, etc. (land station, coarse  accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   7
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   8
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  11
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  12
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  13
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  14
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  15
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  16
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  17
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  18
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Wind profiler  wind data sounding)
+  3   9  19
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Wind profiler  Cartesian coordinates)
+  3   9  20
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   7   3  Geopotential
+      0  11   3  u-component
+      0  11   4  v-component
+      0  11   5  w-component
+     -1
+#  (Ozone sonde flight data)
+  3   9  30
+      0  15   4  Ozone sounding correction factor
+      0  15   5  Ozone p
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   4  15  "Time increment since launch time, if needed; in minutes"
+      0   8   6  Ozone vertical sounding significance
+      0   7   4  Pressure
+      0  15   3  Measured ozone partial pressure
+     -1
+#  Category 10 - Vertical sounding sequences (satellite data)
+#  (Satellite  brightness temperature)
+  3  10   1
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1  26  Replicate 1 descriptor 26 times
+      3   3  25  Satellite channel and brightness temperature
+     -1
+#  (Satellite  low level)
+  3  10   2
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   9  Replicate 1 descriptor 9 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  high level)
+  3  10   3
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   6  Replicate 1 descriptor 6 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  precipitable water)
+  3  10   4
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   3  Replicate 1 descriptor 3 times
+      3   3  24  Precipitable water
+     -1
+#  3
+  3  10   5
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  25  Satellite channel and brightness temperature
+     -1
+#  3
+  3  10   6
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  23  Layer mean temperature
+     -1
+#  3
+  3  10   7
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  24  Precipitable water
+     -1
+#  3
+#  3
+#  (ATOVS HIRS report)
+  3  10   8
+      3  10  11  ATOVS field of view variables
+      1   1  19  Replicate 1 descriptor 19 times
+      3  10  12  ATOVS channel variables
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  79  Albedo-radiance solar filtered irradiance for ATOVS
+      0  25  80  Albedo-radiance equivalent filter width for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      0  14  45  Channel radiance
+     -1
+#  (ATOVS AMSU-A report)
+  3  10   9
+      3  10  11  ATOVS field of view variables
+      1   1  15  Replicate 1 descriptor 15 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS AMSU-B report)
+  3  10  10
+      3  10  11  ATOVS field of view variables
+      1   1   5  Replicate 1 descriptor 5 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS field of view variables)
+  3  10  11
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   1   7  Satellite identification
+      0   2  48  Satellite sensor indicator
+      0   5  40  Orbit number
+      0  25  75  Satellite antenna corrections version number
+      2   1 133  Change width
+      0   5  41  Scan line number
+      2   1   0  Change width
+      0   5  43  Field of view number
+      0  25  70  Major frame count
+      0  33  30  Scan line status flags for ATOVS
+      0  33  31  Scan line quality flags for ATOVS
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      2   2 131  Change scale
+      2   1 138  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2   0  Change scale
+      0   5   1  Latitude
+      0   6   1  Longitude
+      2   2 126  Change scale
+      0   7   1  Height of station
+      2   2   0  Change scale
+      0   7  24  Satellite zenith angle
+      0   5  21  Satellite azimuth
+      0   7  25  Solar zenith angle
+      0   5  22  Solar azimuth
+      0  33  33  Field of view quality flags for ATOVS
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+     -1
+#  (ATOVS channel variables)
+  3  10  12
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  76  Log10 of (temperature-radiance central wavenumber) for ATOVS
+      0  25  77  Bandwidth correction coefficient 1 for ATOVS
+      0  25  78  Bandwidth correction coefficient 2 for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      2   1 132  Change width
+      2   2 129  Change scale
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (AVHRR (GAC) report)
+  3  10  13
+      0   1   7  Satellite ID
+      0   5  40  Orbit number
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   5   1  Latitude
+      0   6   1  Longitude
+      0   7  25  Solar zenith angle
+      0   5  43  Field of view number
+      0  25  85  Fraction of clear pixels in HIRS field of view
+      2   1 131  Change width
+      2   2 129  Change scale
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      2   2   0  Change scale
+      2   1   0  Change width
+      2   1 132  Change width
+      2   2 129  Change scale
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (Satellite  geostationnary wind data)
+  3  10  14
+      3   1  72  "Satellite identification, date, time, latitude, longitude"
+      3   3  41  Wind sequence
+      3   4  11  GOES-I/M information
+     -1
+#  (Meteosat radiace data)
+  3  10  15
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1   3  Replicate next descriptor 3 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1   3  Replicate next descriptor 3 times
+      3   4  33  Clear sky radiance
+     -1
+#  (Meteosat Second Generation (MSG) radiance data)
+  3  10  16
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1  12  Replicate next descriptor 12 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1  12  Replicate next descriptor 12 times
+      3   4  33  Clear sky radiance
+     -1
+#  (Retrieved ozone data)
+  3  10  20
+      3  10  22
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  21  "Lat., long. (high accuracy)"
+      3   4  34
+      3  10  21
+     -1
+#  3
+  3  10  21
+      1   8   0  Delayed replication of 8 next descriptors
+      0  31   1  Delayed descriptor replication factor
+      2   1 131  Change data width
+      2   2 129  Change scale
+      0   7   4  Pressure
+      0   7   4  Pressure
+      2   2   0  Change scale to Table B
+      2   1   0  Change data width to Table B
+      0  15  20  Integrated 03 density
+      0  10   2  Height
+     -1
+#  0
+  3  10  22
+      0   1   7  Satellite identifier
+      0   2  19  Satellite instrument used
+      0   1  33  Identification of originating/generating centre
+      0   2 172  Product type for retrieved atmospheric gases
+     -1
+#  Category 11 - Single level report sequences (conventional data)
+#  (Aircraft reports)
+  3  11   1
+      3   1  51  "ASDAR aircraft identifier, navigational system, date/time, position, phase of aircraft flight"
+      0   7   2  Altitude
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  11  31  Degree of turbulence
+      0  11  32  Height of base of turbulence
+      0  11  33  Height of top of turbulence
+      0  20  41  Airframe icing
+     -1
+#  (ACARS reports)
+  3  11   2
+      3   1  65  ACARS identification
+      3   1  66  ACARS location
+      3  11   3  ACARS standard reported variables
+      3  11   4  ACARS supplementary reported variables
+     -1
+#  (ACARS standard reported variables)
+  3  11   3
+      0  10  70  Indicated aircraft altitude
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   1  Temperature/dry-bulb temperature
+      0  13   2  Mixing ratio
+     -1
+#  (ACARS supplementary reported variables)
+  3  11   4
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  34  Vertical gust velocity
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  35  Vertical gust acceleration
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  75  Mean turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  76  Peak turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  25  ACARS interpolated values
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  26  Mixing ratio quality
+     -1
+#  Category 12 - Single level report sequences (satellite data)
+  3  12   1
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   1  "Cloud top pressure, temperature, wind"
+     -1
+  3  12   2
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   2  "Cloud top pressure, wind"
+     -1
+  3  12   3
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   3  Surface temperature
+     -1
+  3  12   4
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   4  Cloud cover
+     -1
+  3  12   5
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      0  20  14  Height of top of cloud
+     -1
+  3  12   6
+      3   1  44  "Satellite identifier, instrumentation, location, date/time"
+      3   4   5  Layer mean relative humidity
+     -1
+  3  12   7
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   6  Radiation
+     -1
+#  "(Orbital information, Part I)"
+  3  12  10
+      0   1   7  Satellite identifier
+      0   5  40  Orbit number
+      0   2  21  Satellite instrumentation
+      0   5  41  Scan line number
+      0   4   1  Year
+      0   4  43  Day of year
+     -1
+#  "(Orbital information, Part II)"
+  3  12  11
+      2   2 131  Change scale
+      2   1 149  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2 126  Change scale
+      0  10   2  Height
+      2   2   0  Change scale
+      0   5  43  Field of view number
+      0   5  53  Field of view number increment
+     -1
+#  (HIRS brightness temperatures  channels 119)
+  3  12  12
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1  19  Replicate 1 descriptor 19 times
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS brightness temperatures  channel 20)
+  3  12  13
+      0   5  42  Channel number
+      2   2 129  Change scale
+      2   1 135  Change width
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS satellite data)
+  3  12  14
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      1   5  56  Replicate 5 descriptors 56 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      3  12  12  HIRS brightness temperatures  channels 119
+      3  12  13  HIRS brightness temperature  channel 20
+     -1
+#  (MSU brightness temperatures  channels 14)
+  3  12  15
+      1   9  11  Replicate 9 descriptors 11 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   4  Replicate 1 descriptor 4 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (MSU satellite data)
+  3  12  16
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  15  MSU brightness temperatures  channels 14
+     -1
+#  (SSU brightness temperatures  channels 13)
+  3  12  17
+      1   9   8  Replicate 9 descriptors 8 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   3  Replicate 1 descriptor 3 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (SSU satellite data)
+  3  12  18
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  17  SSU brightness temperatures  channels 13
+     -1
+#  (Wave scatterometer product with width change for wave number (spectral))
+  3  12  19
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalisation
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   6  12  Repeat next 6 descriptors 12 times
+      2   1 129  Change width to 14 bits
+      0   6  30  Wave number (spectral)
+      2   1   0  Change width to Table B
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Image spectrum intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wave scatterometer product)
+  3  12  20
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalization
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   4  12  Repeat next 4 descriptors 12 times
+      0   6  30  Wave number (spectral)
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Spectral intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wind scatterometer product)
+  3  12  21
+      3   1  47  Product header
+      1   1   3  Repeat 1 descriptor 3 times
+      3   1  49  Radar beam data
+      0  11  12  Wind speed at 10 m
+      0  11  11  Wind direction at 10 m
+      0  21  67  Wind product confidence data
+     -1
+#  (Radar altimeter product)
+  3  12  22
+      3   1  47  Product header
+      0   8  22  Number in average
+      0  11  12  Wind speed
+      0  11  50  Standard deviation of horizontal wind speed
+      0  22  70  Significant wave height
+      0  22  26  Standard deviation of significant wave height
+      3  12  41  Altitude
+      0  10  50  Standard deviation of altitude
+      0  21  68  Radar altimeter product confidence data
+      0  21  71  Peakiness
+      0  21  72  Altimeter calibration status
+      0  21  73  Altimeter instrument mode
+      3  12  42  Altitude corrections
+      0  21  62  Backscatter
+      0  15  11  Log 10 of integrated electron density
+     -1
+#  (ATSR sea surface temperature product)
+  3  12  23
+      3   1  47  Product header
+      1   3   3  Repeat 3 descriptors 3 times
+      0   8  22  Number in average
+      0  12  61  Skin temperature
+      0  22  50  Standard deviation of sea surface temperature
+      0  21  69  SST product confidence data
+      0  21  85  ATSR sea surface temperature across-track band number
+     -1
+#  (Wave scatterometer product enhanced)
+  3  12  24
+      3  12  20  (Wave scatterometer product)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode signification  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Wave scatterometer enhanced product (with change of width for wave number (spectral))
+  3  12  25
+      3  12  19  Wave scatterometer product with width change for wave number (spectral)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode significance  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (QUIKSCAT data)
+  3  12  26
+      3   1  46
+      3   1  11  Data
+      3   1  13  Time
+      3   1  23  Location
+      3  12  31
+      1   1   4  Replicate 1 descriptor 4 times
+      3  12  30
+      0  21 110  Number of inner-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 111  Number of outer-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 112  Number of inner-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 113  Number of outer-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+     -1
+#  (ATSR SST Product (SADIST-2))
+  3  12  27
+      3   1  47  ERS product header
+      1   5   9  Repeat next 5 descriptors 9 times
+      3   1  23  Location (coarse Latitude + Longitude) of 10-arcmin cell
+      0   7  21  Elevation: Incidence angle Nadir view [set to zero]
+      0  12  61  Skin temperature: SST [Nadir-only view]
+      0   7  21  Elevation: Incidence angle Dual view [set to 'missing']
+      0  12  61  Skin temperature: SST [Dual view]
+      0  21  85  ATSR SST across-track band number [0-9]
+      0  21  70  SST product confidence data (SADIST-2) [23-bit flag]
+     -1
+#  (SEAWINDS QUIKSCAT data)
+  3  12  28
+      3   1  46
+      3   1  11
+      3   1  13
+      3   1  23
+      0   8  25  Time difference qualifier
+      2   1 136  Change data width
+      0   4   6  Second
+      2   1   0  Change data width back to Table B
+      3  12  31
+      3  12  32
+      1   1   4  Next descriptor replicated four times
+      3  12  30
+      1   1   2  Next descriptor replicated two times
+      3  12  33
+      0  21 110  Number of inner-beam sigma-0 (forward of satellite)
+      3   1  23
+      3  21  28
+      0  21 111  Number of outer-beam sigma-0 (forward of satellite)
+      3   1  23
+      3  21  28
+      0  21 112  Number of inner-beam sigma-0 (aft of satellite)
+      3   1  23
+      3  21  28
+      0  21 113  Number of outer-beam sigma-0 (aft of satellite)
+      3   1  23
+      3  21  28
+     -1
+  3  12  30
+      2   1 130  Change data width
+      2   2 129  Change scale
+      0  11  12  Wind speed at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  52  Formal uncertainty in wind speed
+      2   1 135  Change data width
+      2   2 130  Change scale
+      0  11  11  Wind direction at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  53  Formal uncertainty in wind direction
+      0  21 104  Likelihood computed for solution
+     -1
+ 3  12  31
+      0   5  34  Along-track row number
+      0   6  34  Cross-track cell number
+      0  21 109  SEAWINDS wind vector cell quality
+      0  11  81  Model wind direction at 10 m
+      0  11  82  Model wind speed at 10 m
+      0  21 101  Number of vector ambiguities
+      0  21 102  Index of selected wind vector
+      0  21 103  Total number of sigma-0 measurements
+     -1
+  3  12  32
+      0  21 120  Probability of rain
+      0  21 121  SEAWINDS NOF rain index
+      0  13  55  Intensity of precipitation
+      0  21 122  Attenuation correction on sigma-0 (from tB)
+     -1
+ 3  12  33
+      0   2 104  Antenna polarisation
+      0   8  22  Total number (with respect to accumulation)
+      0  12  63  Brightness temperature
+      0  12  65  Standard deviation brightness temperature
+     -1
+#  (Altitude)
+  3  12  41
+      2   1 141  Change width to 28 bits
+      2   2 130  Change scale to 2
+      0   7   1  Altitude
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+     -1
+#  (Altitude corrections)
+  3  12  42
+      0  21  77  "Altitude correction, ionosphere"
+      0  21  78  "Altitude correction, dry troposphere"
+      0  21  79  "Altitude correction, wet troposphere"
+      0  21  80  "Altitude correction, calibration constant"
+      0  21  81  Open loop height-time loop calibration correction
+      0  21  82  Open loop automatic gain control calibration correction
+     -1
+#  Category 13 - Sequences common to image data
+#  (Radar reflectivity values)
+  3  13   9
+      0  21   1  Horizontal reflectivity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21   1  Horizontal reflectivity
+     -1
+#  (Radar rainfall intensities)
+  3  13  10
+      0  21  36  Radar rainfall intensity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21  36  Radar rainfall intensity
+     -1
+#  (Non run-length encoded row for Pixel value (4 bits))
+  3  13  31
+      0   6   2  First longitude location minus one increment
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Non run-length encoded picture data for Pixel value (4 bits))
+  3  13  32
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  31  Non run-length encoded row
+     -1
+#  (Run-length encoded row for Pixel value (4 bits))
+  3  13  41
+      0   6   2  First longitude location minus one increment
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  12  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Run-length encoded picture data for Pixel value (4 bits))
+  3  13  42
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  41  Run-length encoded row
+     -1
+#  "(Run-length encoded picture data for Pixel value (4 bits), regular grid)"
+  3  13  43
+      0   6   2  First longitude location minus one increment
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment
+      1  12   0  Delayed replication of 12 descriptors
+      0  31   1  Replication factor
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  11  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  Category 15 - Oceanographic report sequences
+#  (Typically reported underwater sounding without optional fields)
+  3  15   1
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   1  "Depth, temperature"
+     -1
+#  (Typically reported underwater sounding without optional fields)
+  3  15   2
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   4  "Depth, temperature, salinity"
+     -1
+#  Category 16 - Synoptic feature sequences
+  3  16   1
+      3   1  11  "Year, month, day"
+      0   4   4  Hour
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   1  21  Synoptic feature identifier
+      0   2  41  Method for estimating reports related to synoptic features
+      0  19   1  Type of synoptic feature
+      0  10  51  Pressure reduced to mean sea level
+      0  19   2  Effective radius of feature
+      0  19   3  Wind speed threshold (15 m s1 typically)
+      0  19   4  Effective radius with respect to wind speeds above threshold
+     -1
+#  (Header)
+  3  16   2
+      0   8  21  Data time (analysis)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   1  33  Originating/generating centre
+      0   8  21  Validity time (fcst)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   7   2  Flight level (altitude) (base of chart layer)
+      0   7   2  Flight level (altitude) (top of chart layer)
+     -1
+#  (Jet stream)
+  3  16   3
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (jet stream value)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Flight level (altitude)
+      0  11   2  Wind speed
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Turbulence)
+  3  16   4
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for turbulence)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  11  31  Degree of turbulence
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Storm)
+  3  16   5
+      1   8   0  Delayed replication
+      0  31   1  Replication
+      0   8   5  Meteorological attribute significance (storm centre)
+      0   8   7  Dimensional significance (value for point)
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   1  26  WMO storm name (use unknown for a sandstorm)
+      0  19   1  Synoptic features (value for type of storm)
+      0   8   7  Dimensional significance (cancel)
+      0   8   5  Meteorological attribute significance (cancel/end of object)
+     -1
+#  (Cloud)
+  3  16   6
+      1  12   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for cloud)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Front)
+  3  16   7
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for type of front)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  19   5  Direction of feature
+      0  19   6  Speed of feature
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Tropopause)
+  3  16   8
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8   1  Vertical significance (bit 3 set for tropopause)
+      0   8   7  Dimensional significance (value for point)
+      0   8  23  Statistic (type of tropopause value)
+      1   3   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Height/altitude
+      0   8  23  Statistic (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8   1  Vertical significance (cancel/end of object)
+     -1
+#  (Airframe icing area)
+  3  16   9
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for airframe icing)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  41  Airframe icing (type of airframe icing)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Name of feature)
+  3  16  10
+      1   7   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature
+      0   8   7  Dimensional significance (value for point)
+      0   1  22  Name of feature
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Volcano erupting)
+  3  16  11
+      1  16   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for special clouds)
+      0   1  22  Name of feature (volcano name)
+      0   8   7  Dimensional significance (value for point)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8  21  Time significance (eruption starting time)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0  20  90  Special clouds (clouds from volcanic eruptions)
+      0   8  21  Time significance (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Forecast data)
+  3  16  22
+      0   1  32  "Generating application (NWP model name, etc. code table defined by originating/generating centre)"
+      0   2  41  Method for estimating reports related to synoptic feature
+      0  19   1  Type of synoptic feature
+      0  19  10  Method for tracing of the centre of synoptic feature
+      1  18   0  Delayed replication of 18 descriptors
+      0  31   1  Replication factor
+      0   8  21  Time significance (forecast)
+      0   4  14  Time increment (hour)
+      0   8   5  Surface synoptic feature significance
+      3   1  23  "Latitude (coarse accuracy), longitude (coarse accuracy)"
+      0  19   5  Direction of motion of feature
+      0  19   6  Speed of motion of feature
+      0  10   4  Pressure
+      0  11  41  Maximum wind speed (gust: e.g. used in US)
+      0   8  21  Time significance (forecast time averaged)
+      0   4  75  Time period (minutes)
+      0  11  40  Maximum wind speed (mean wind)
+      0  19   8  Vertical extent of feature
+      1   5   4  Replicate 5 descriptors 4 times
+      0   5  21  Starting bearing or azimuth
+      0   5  21  Ending bearing or azimuth
+      1   2   2  Replicate 2 descriptors 2 times
+      0  19   3  Wind speed threshold
+      0  19   4  Effective radius with respect to wind speed above threshold
+     -1
+#  Category 18 - Radiological report sequences
+  3  18   1
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0  24  11  Dose
+     -1
+  3  18   3
+      3   1  26  "Latitude and longitude (high accuracy), time periods in days," hours and minutes
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  21  Air concentration
+     -1
+  3  18   4
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0   4  23  Time period or displacement
+      0  13  11  Total precipitation/total water equivalent
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  22  Concentration in precipitation
+     -1
+#  Category 21 - Radar report sequences
+#  (Wind profiler  antenna characteristics)
+  3  21   1
+      0   2 101  Type of antenna
+      0   2 114  Antenna effective surface area
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 121  Mean frequency
+     -1
+#  (Wind profiler  moment data)
+  3  21   3
+      0  21  51  Signal power above 1 mW
+      0  21  14  Doppler mean velocity (radial)
+      0  21  17  Doppler velocity spectral width
+      0  21  30  Signal to noise ratio
+     -1
+#  (Wind profiler  moment data sounding)
+  3  21   4
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3  21   3  Wind profiler  moment data
+     -1
+#  (Transmitter-receiver characteristics)
+  3  21   5
+      0  25   4  Echo processing
+      0   2 121  Mean frequency
+      0   2 122  Frequency agility range
+      0   2 123  Peak power
+      0   2 124  Average power
+      0   2 125  Pulse repetition frequency
+      0   2 126  Pulse width
+      0   2 127  Receiver intermediate frequency
+      0   2 128  Intermediate frequency bandwidth
+      0   2 129  Minimum detectable signal
+      0   2 130  Dynamic range
+      0   2 131  Sensitivity time control
+     -1
+#  (Integration characteristics)
+  3  21   6
+      0  25   1  Range-gate length
+      0  25   2  Number of gates averaged
+      0  25   3  Number of integrated pulses
+      0  25   5  Echo integration
+     -1
+#  (Corrections)
+  3  21   7
+      0  25   9  Calibration method
+      0  25  10  Clutter treatment
+      0  25  11  Ground occultation correction
+      0  25  12  Range attenuation correction
+      0  25  13  Bright-band correction
+      0  25  15  Radome attenuation correction
+      0  25  16  Clear-air attenuation correction
+      0  25  17  Precipitation attenuation correction
+     -1
+#  (Z to R conversion)
+  3  21   8
+      0  25   6  Z to R conversion
+      0  25   7  Z to R conversion factor
+      0  25   8  Z to R conversion exponent
+     -1
+#  (A to Z law)
+  3  21   9
+      0  25  18  A to Z law for attenuation factor
+      0  25  19  A to Z law for attenuation exponent
+     -1
+#  (Antenna characteristics)
+  3  21  10
+      0   2 101  Type of antenna
+      0   7   2  Altitude of the tower base
+      0   2 102  Antenna height above tower base
+      0   2 103  Radome
+      0   2 104  Antenna polarisation
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 108  Crosspol discrimination (on axis)
+      0   2 109  Antenna speed (azimuth)
+      0   2 110  Antenna speed (elevation)
+      0   2 132  Azimuth pointing accuracy
+      0   2 133  Elevation pointing accuracy
+     -1
+#  (General characteristics)
+  3  21  11
+      0  30  31  Picture type
+      0  30  32  Combination with other data
+      0  29   2  Coordinate grid type
+     -1
+#  (Antenna elevations)
+  3  21  12
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0   2 135  Antenna elevation
+     -1
+#  (Basic information (System/site header) on Wind profiler/RASS)
+  3  21  21
+      0   2   3  Type of measuring equipment used
+      0   2 101  Type of antenna
+      2   1 130  Change width to 8 bits
+      0   2 106  3-dB beam width
+      2   1   0  Change width to table B
+      2   1 132  Change width to 11 bits
+      2   2 130  Change scale to -6
+      0   2 121  Mean frequency
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+      2   1 133  Change width to 11 bits
+      2   2 129  Change scale to 0
+      0  25   1  Range-gate length
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (Wind profiler: Processed-data winds)
+  3  21  22
+      0   7   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  11   1  Wind direction
+      2   4   0  Cancel add associated field
+      0  11   2  Wind speed
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  11   6  w-component
+      2   4   0  Cancel add associated field
+      0  21  30  Signal to noise ratio
+     -1
+#  Wind profiler: Raw-data winds)
+  3  21  23
+      0   7   7  Height
+      0  21  91  Radar signal Doppler spectrum 0th moment
+      0  21  30  Signal to noise ratio
+      2   2 129  Change scale to 2
+      0  21  14  Doppler mean velocity (radial)
+      2   1 129  Change width to 9 bits
+      0  21  17  Doppler velocity spectral width
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (RASS-Mode: Processed-data RASS)
+  3  21  24
+      0   7   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  12   7  Virtual temperature
+      0  11   6  w-component
+      2   4   0  Cancel add associated field
+      0  21  30  Signal to noise ratio
+     -1
+#  (RASS-Mode: Raw-data RASS)
+  3  21  25
+      0   7   7  Height
+      0  21  91  Radar signal Doppler spectrum 0th moment
+      0  21  30  Signal to noise ratio
+      2   2 129  Change scale to 2
+      0  21  14  Doppler mean velocity (radial)
+      2   1 129  Change width to 9 bits
+      0  21  17  Doppler velocity spectral width
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+      0  21  92  "RASS signal Doppler spectrum 0th moment, referring to RASS signal"
+      0  21  30  "Signal to noise ratio, referring to RASS signal "
+      0  25  92  Acoustic propagation velocity
+      2   1 129  Change width to 9 bits
+      2   2 129  Change scale to 2
+      0  21  17  "Doppler velocity spectral width, referring to RASS signal"
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (RASS data - fluxes)
+  3  21  26
+      0   7   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  12   7  Virtual temperature
+      0  25  91  Structure constant of the refraction index (Cn2)
+      0  11  71  Turbulent vertical momentum flux
+      0  11  72  Turbulent vertical buoyancy flux
+      0  11  73  Turbulent kinetic energy
+      0  11  74  Dissipation energy
+      2   4   0  Cancel add associated field
+     -1
+  3  21  27
+      0  21 118  Attenuation correction on sigma-0
+      2   2 129  Change scale
+      2   1 132  Change data width
+      0   2 112  Radar look angle
+      2   1   0  Change data width to Table B
+      2   1 131  Change data width
+      0   2 111  Radar incidence angle
+      2   1   0  Change data width to Table B
+      2   2   0  Change scale back to Table B
+      0   2 104  Antenna polarization
+      0  21 105  Normalized radar cross-section
+      0  21 106  Kp variance coefficient (alpha)
+      0  21 107  Kp variance coefficient (beta)
+      0  21 114  Kp variance coefficient (gamma)
+      0  21 115  SEAWINDS sigma-0 quality
+      0  21 116  SEAWINDS sigma-0 mode
+      0   8  18  SEAWINDS land/ice surface type
+      0  21 117  Sigma-0 variance quality control
+     -1
+  3  21  28
+      0  21 118  Attenuation correction on sigma-0
+      2   2 129  Change scale
+      2   1 132  Change data width
+      0   2 112  Radar look angle
+      2   1   0  Data width back to Table B
+      2   1 131  Change data width
+      0   2 111  Radar incidence angle
+      2   1   0  Data width back to Table B
+      2   2   0  Scale back  to table B
+      0   2 104  Antenna polarization
+      0  21 123  SEAWINDS normalized radar cross section
+      0  21 106  Kp variance coefficient (alpha)
+      0  21 107  Kp variance coefficient (beta)
+      0  21 114  Kp variance coefficient (gamma)
+      0  21 115  SEAWINDS sigma-0 quality flag
+      0  21 116  SEAWINDS sigma-0 mode flag
+      0   8  18  SEAWINDS land/ice surface flag
+      0  21 117  Sigma-0 variance quality control
+     -1
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-003-B
@@ -0,0 +1,520 @@
+#
+# BUFR Table B - Classification of Elements
+#
+# sccs keywords: @(#)Table_B.txt	1.1 05/07/97
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship's call sign
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;      Numeric; Generating center
+# Local descriptors?
+#0	1	50	0	0	48	CCITT_IA5	NMC report identifier
+#0	1	62	0	0	40	CCITT_IA5	National assigned station identifier
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;          deg; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Cloud motion computational method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+# Local descriptors?
+#0	2	28	0	0	32	Flag_Table	Geostationary sounder satellite channels used
+#0	2	29	0	0	8	Flag_Table	Geostationary sounder satellite channels used
+  0;    2;     30;      0;           0;    3;   Flag_Table; GOES I/M parameter calculation data source
+  0;    2;     31;      0;           0;    5;   Code_Table; Method of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to followinG value
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     50;      5;           0;   17;      Numeric; Sigma level
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;     11;      5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;      0;      0;           0;    4;   Code_Table; Vertical significance (forecast soundings)
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     31;      0;           0;    8;         BUFR; Table A	Data category
+  0;    8;     32;      0;           0;   14;   Code_Table; Data significance for simulated forecast
+  0;    8;     33;      0;           0;    3;   Code_Table; Data significance for corrected forecast
+  0;    8;     34;      0;           0;    3;   Code_Table; Data significance for simulated retrievals
+  0;    8;     35;      0;           0;    3;   Code_Table; Data significance for corrected retrievals
+  0;    8;     36;      0;           0;    3;   Code_Table; Data significance for simulated analysis
+  0;    8;     37;      0;           0;    3;   Code_Table; Data significance for corrected analysis
+  0;    8;     38;      0;           0;    3;   Code_Table; Data significance for sigma level data
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     21;      9;      -65536;   17;        s**-1; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;        s**-1; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;         m/si; Maximum derived equivalent vertical gust
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      1;           0;   12;          m/s; Surface - 5000 feet mean LYR wind speed
+  0;   11;     44;      0;           0;    9;     deg_true; Surface - 5000 feet mean LYR wind direction
+  0;   11;     45;      0;           0;    9;     deg_true; Maximum wind (gust) direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     20;      2;       -2000;   12;    deg_K/day; Radiative heating profile
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     40;     -3;       -2048;   12;       W/m**2; Sensible heat flux
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      4;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     40;     -3;       -2048;   12;       W/m**2; Latent heat flux
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; US NWS lifted index
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radiation with respect to FFF above threshold
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      9;     -1;         -40;   11;            m; Ceiling
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;     -1;          40;   11;            m; Low estimated height of cloud top
+  0;   20;     19;     -1;          40;   11;            m; High estimated height of cloud top
+  0;   20;     20;      0;           0;    4;   Code_Table; Low cloud amount
+  0;   20;     21;      0;           0;    4;   Code_Table; Middle cloud amount
+  0;   20;     22;      0;           0;    4;   Code_Table; High cloud amount
+  0;   20;     23;      0;           0;    7;      percent; Satellite sensed effective cloud amount
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     49;      0;           0;   10;   Code_Table; Type of stability measure
+  0;   20;     50;      0;           0;   10;      Numeric; Value of stability
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   12;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;    105;     -1;           0;    6;     deg_true; Direction of waves
+  0;   22;    143;      2;        2650;   13;        deg_K; Sea temperature
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;     -1;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;     -1;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     31;      0;           0;    2;   Code_Table; 15 day SST availability
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     35;      0;           0;    3;   Code_Table; First guess adjustment
+  0;   25;     36;      3;       -5000;   14;      Numeric; NSTAR average value
+  0;   25;     37;      0;           0;    2;   Code_Table; HIRS-8 surface air temperature
+  0;   25;     38;      0;           0;    3;   Code_Table; TOVS filter flags
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+
+#0	0	0	0	0	0	undef	undefined used for SSMI - temporary
+
+  0;   50;    200;      2;      636700;   24;           km; Altitude(km)
+  0;   50;    201;      6;           0;   24;  Rad(Si)/sec; Dosage
+  0;   50;    202;      6;           0;   24;        Gauss; B-Field
+  0;   50;    203;      3;      -20000;   24;           Re; Coordinate
+  0;   50;    204;      3;           0;   24;            -; L-Shell
+
+  0;   51;    200;     -2;           0;   24; KeV/(cm2-s-Sr); e-Energy Flux
+  0;   51;    201;     -2;           0;   24; #/(cm2-s-Sr); e-Number Flux
+  0;   51;    202;     -2;           0;   24; KeV/(cm2-s-Sr); i-Energy Flux
+  0;   51;    203;     -2;           0;   24; #/(cm2-s-Sr); i-Number Flux
+  0;   51;    204;      6;         -10;   24;         mhos; Ped Conduct.
+  0;   51;    205;      6;         -10;   24;         mhos; Hall Conduct.
+
+  0;   52;    200;      5;           0;   26;            -; S4
+  0;   52;    201;      5;           0;   25;            -; SI
+  0;   52;    202;      5;           0;   24;            -; PCT
+  0;   52;    203;      5;           0;   24;            -; PRMS
+
+  0;   53;    200;     -1;           0;   25;       cm**-3; Ne
+  0;   53;    201;      3;           0;   24;          MHz; FE
+  0;   53;    202;      3;           0;   24;          MHz; FoF2
+  0;   53;    203;      3;           0;   20;           km; HE
+  0;   53;    204;      3;           0;   20;           km; HF2
+#
+# Table definitions
+#
+#0	63	000	0	0	0	-	End of Table Descriptors
+#0	63	001	0	0	8	Numeric	Number of Dimensions
+#0	63	002	0	0	8	Numeric	Dimension Size
+#0	63	003	0	0	8	Code_Table	Object Type
+#0	63	004	0	0	8	Flag_Table	Flags
+#0	63	005	0	0	16	Numeric	Object Count
+#0	63	006	0	0	16	Numeric	Object Offset
+#0	63	007	0	0	8	Code_Table	Axis Label
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-000001-D-forHDGOES
@@ -0,0 +1,83 @@
+#
+# BUFR Table D (Lists of High Density Wind Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	10	195
+	3	1	250
+	3	3	250
+	3	4	250
+	-1
+
+3	1	250
+	3	1	193
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	193
+	0	1	7
+	0	1	31
+	0	2	196
+	0	2	221
+	0	2	222
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	3	250
+	0	2	252
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	197
+	0	2	198
+	0	12	193
+	-1
+
+3	4	250
+	0	2	231
+	0	2	232
+	0	8	12
+	0	7	24
+	0	2	57
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	30	10
+	0	2	231
+	0	7	4
+	0	12	1
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-006001-B.txt
@@ -0,0 +1,817 @@
+#
+# BUFR Table B - Classification of Elements (edited by Mr. Spurlin last on April 12, 2001)
+#
+#						Data
+#F	X	Y	Scale	RefVal		Width	Units		Element Name
+0	0	1	0	0		24	CCITT_IA5	Table A: entry
+0	0	2	0	0		256	CCITT_IA5	Table A: data category description, line 1
+0	0	3	0	0		256	CCITT_IA5	Table A: data category description, line 2
+0	0	5	0	0		24	CCITT_IA5	BUFR edition number
+0	0	10	0	0		8	CCITT_IA5	F descriptor to be added or defined
+0	0	11	0	0		16	CCITT_IA5	X descriptor to be added or defined
+0	0	12	0	0		24	CCITT_IA5	Y descriptor to be added or defined
+0	0	13	0	0		256	CCITT_IA5	Element name, line 1
+0	0	14	0	0		256	CCITT_IA5	Element name, line 2
+0	0	15	0	0		192	CCITT_IA5	Units name
+0	0	16	0	0		8	CCITT_IA5	Units scale sign
+0	0	17	0	0		24	CCITT_IA5	Units scale
+0	0	18	0	0		8	CCITT_IA5	Units reference sign
+0	0	19	0	0		80	CCITT_IA5	Units reference value
+0	0	20	0	0		24	CCITT_IA5	Element data width
+0	0	30	0	0		48	CCITT_IA5	Descriptor defining sequence
+
+0	1	1	0	0		7	Numeric		WMO block number
+0	1	2	0	0		10	Numeric		WMO station number
+0	1	3	0	0		3	Code_Table	WMO region number
+0	1	4	0	0		3	Numeric		WMO region sub-area
+0	1	5	0	0		17	Numeric		Buoy/platform identifier
+0	1	6	0	0		64	CCITT_IA5	Aircraft identifier (flight number)
+0	1	7	0	0		10	Code_Table	Satellite identifier
+0	1	8	0	0		64	CCITT_IA5	Aircraft registration number (tail number)
+0	1	9	0	0		64	CCITT_IA5	Type of commerical aircraft
+0	1	10	0	0		64	CCITT_IA5	Stationary buoy platform identifier
+0	1	11	0	0		72	CCITT_IA5	Ship or mobile land station identifier
+0	1	12	0	0		9	deg_true	Direction of motion of moving observing platform
+0	1	13	0	0		10	m/s		Speed of motion of moving observing platform
+0	1	14	2	0		10	m/s		Platform drift speed (high precision)
+0	1	15	0	0		160	CCITT_IA5	Station or site name
+0	1	18	0	0		40	CCITT_IA5	Short station or site name
+0	1	20	0	0		4	Numeric		WMO Region sub-area
+0	1	21	0	0		14	Numeric		Synoptic feature identifier
+0	1	22	0	0		224	CCITT_IA5	Name of feature
+0	1	25	0	0		24	CCITT_IA5	Storm identifier
+0	1	26	0	0		64	CCITT_IA5	WMO storm name
+0	1	31	0	0		16	Code_Table	Identification of originating/generating center
+0	1	32	0	0		8	Code_Table	Generating application
+0	1	33	0	0		8	Code_Table	Identification of originating/generating center 
+0	1	34	0	0		8	Code_Table	Identification of originating/generating sub-center
+0	1	41	5	-1073741824	31	m/s		Absolute platform velocity - first component
+0	1	42	5	-1073741824	31	m/s		Absolute platform velocity - second component
+0	1	43	5	-1073741824	31	m/s		Absolute platform velocity - third component
+0	1	50	0	0		17	Numeric		Platform transmitter ID number
+0	1	51	0	0		96	CCITT_IA5	Platform transmitter ID nubmer
+0	1	60	0	0		64	CCITT_IA5	Aircraft reporting point (Beacon identifier)
+0	1	62	0	0		32	CCITT_IA5	Aircraft reporting point (Beacon idnetifier)
+0	1	63	0	0		64	CCITT_IA5	ICAO location indicator
+0	1	64	0	0		32	CCITT_IA5	Runway designator
+0	1	75	0	0		40	CCITT_IA5	Ride station identification
+
+0	2	1	0	0		2	Code_Table	Type of station
+0	2	2	0	0		4	Flag_Table	Type of instrumentation for wind measurement
+0	2	3	0	0		4	Code_Table	Type of measuring instrumentation used
+0	2	4	0	0		4	Code_Table	Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+0	2	5	2	0		7	deg_K		Precision of temperature observed
+0	2	11	0	0		8	Code_Table	Radiosonde type
+0	2	12	0	0		4	Code_Table	Radiosonde computational method
+0	2	13	0	0		4	Code_Table	Solar and infrared radiation correction
+0	2	14	0	0		7	Code_Table	Tracking technique/status of system
+0	2	15	0	0		4	Code_Table	Radiosonde completeness
+0	2	19	0	0		11	Code_Table	Satellite instruments
+0	2	20	0	0		9	Code_Table	Satellite classification
+0	2	21	0	0		9	Flag_Table	Satellite instrumentation data used in processing
+0	2	22	0	0		8	Flag_Table	Satellite data processing technique used
+0	2	23	0	0		4	Code_Table	Satellite derived wind computation method
+0	2	24	0	0		4	Code_Table	Integrated mean humidity computational method
+0	2	25	0	0		25	Flag_Table	Satellite channel(s) used in computation
+0	2	26	2	0		12	m		Cross track resolution
+0	2	27	2	0		12	m		Along track resolution
+0	2	28	0	0		18	m		Segment size at nadir in X direction
+0	2	29	0	0		18	m		Segment size at nadir in Y direction
+0	2	30	0	0		3	Code_Table	Method of current measurement
+0	2	31	0	0		5	Code_Table	Duration and time of current measurement
+0	2	32	0	0		2	Code_Table	Indicator for digitization
+0	2	33	0	0		3	Code_Table	Method of salinity/depth measurement
+0	2	34	0	0		5	Code_Table	Drogue type
+0	2	35	0	0		9	m		Cable length
+0	2	36	0	0		2	Code_Table	Buoy type
+0	2	37	0	0		3	Code_Table	Method of tidal observation
+0	2	38	0	0		4	Code_Table	Method of sea-surface temperature measurement
+0	2	39	0	0		3	Code_Table	Method of wet-buld temperature measurement
+0	2	40	0	0		4	Code_Table	Method of removing velocity and motion of platform from current
+0	2	41	0	0		6	Code_Table	Method for estimating reports related to synoptic features
+0	2	44	0	0		4	Code_Table	Inicator for method of calculating spectral wave data
+0	2	45	0	0		4	Code_Table	Indicator for type of platform
+0	2	46	0	0		4	Code_Table	Wave measurement instrumentation
+0	2	48	0	0		4	Code_Table	Satellite sensor indicator
+0	2	49	0	0		8	Flag_Table	Geostationary satellite data-processing technique used
+0	2	50	0	0		20	Flag_Table	Geostationary sounder satellite channels used
+0	2	51	0	0		4	Code_Table	Indicator ro specify observing method for extreme temperatures
+0	2	52	0	0		6	Flag_Table	Geostationary imager satellite channels used
+0	2	53	0	0		4	Code_Table	GOES-I/M  brightness temperature characteristics
+0	2	54	0	0		4	Code_Table	GOES-I/M  soundings parameter characteristics
+0	2	55	0	0		4	Code_Table	Geostationary soundings statistical parameters
+0	2	56	0	0		4	Code_Table	Geostationary soundings accuracy statistics
+0	2	57	0	0		4	Code_Table	Origin of first guess information for GOES-I/M soundings
+0	2	58	0	0		4	Code_Table	Valid times of first guess information for GOES-I/M soundings
+0	2	59	0	0		4	Code_Table	Origin of analysis information for GOES-I/M soundings
+0	2	60	0	0		4	Code_Table	Origin of surface information for GOES-I/M soundings
+0	2	61	0	0		3	Code_Table	Aircraft navigation system
+0	2	62	0	0		4	Code_Table	Type of aircraft data relay system
+0	2	63	2	-18000		16	deg		Aircraft roll angle
+0	2	64	0	0		2	Code_Table	Aircraft roll angle quality
+0	2	65	0	0		40	CCITT_IA5	ACARS ground receiving station
+0	2	70	0	0		4	Code_Table	Original specification of latitude/longitude
+0	2	91	0	4		10	A		Entry sensor 4/20 mA
+0	2	100	1	0		12	dB		Radar constant
+0	2	101	0	0		4	Code_Table	Type of antenna
+0	2	102	0	0		8	m		Antenna height above tower
+0	2	103	0	0		2	Flag_Table	Radome
+0	2	104	0	0		4	Code_Table	Antenna polarisation
+0	2	105	0	0		6	dB		Maximum antenna gain
+0	2	106	1	0		6	deg		3-dB bandwidth
+0	2	107	0	0		6	dB		Sidelobe suppression
+0	2	108	0	0		6	dB		Crosspol discrimination (on axis)
+0	2	109	2	0		12	deg/s		Antenna speed (azimuth)
+0	2	110	2	0		12	deg/s		Antenna speed (elevation)
+0	2	111	1	0		10	deg		Radar incidence angle
+0	2	112	1	0		12	deg		Radar azimuth angle
+0	2	113	0	0		4	Numeric		Number of azimuth looks
+0	2	114	0	0		15	m**2		Antenna effective surface area
+0	2	121	-8	0		7	Hz		Mean frequency
+0	2	122	-6	-128		8	Hz		Frequency agility range
+0	2	123	-4	0		7	W		Peak power
+0	2	124	-1	0		7	W		Average power
+0	2	125	-1	0		8	Hz		Pulse repetition frequency
+0	2	126	7	0		6	s		Pulse width
+0	2	127	-6	0		7	Hz		Receiver intermediate frequency
+0	2	128	-5	0		6	Hz		Intermediate frequency bandwidth
+0	2	129	0	-150		5	dB		Minimum detectable signal
+0	2	130	0	0		7	dB		Dynamic range
+0	2	131	0	0		2	Flag_Table	Sensitivity time control
+0	2	132	2	0		6	deg		Azimuth pointing accuracy
+0	2	133	2	0		6	deg		Elevation pointing accuracy
+0	2	134	2	0		16	deg		Antenna beam azimuth
+0	2	135	2	-9000		15	deg		Antenna elevation
+0	2	136	-3	0		16	m		Range processed by range attenuation correction
+0	2	140	0	0		9	deg		Satellite radar beam azimuth
+0	2	141	0	0		24	CCITT_IA5	Measurement type
+0	2	142	0	0		32	CCITT_IA5	Ozone instrument serial number/identification
+0	2	143	0	0		7	Code_Table	Ozone instrument type
+0	2	144	0	0		4	Code_Table	Light source type for Brewer spectrophotometer
+0	2	145	0	0		4	Code_Table	Wave length setting for Dobson instruments
+0	2	146	0	0		4	Code_Table	Source conditions for Dobson instruments
+0	2	148	0	0		5	Code_Table	Data collection and/or location system
+0	2	149	0	0		6	Code_Table	Type of data buoy
+0	2	150	0	0		6	Code_Table	TOVS/ATOVS/AVHRR instrumentation channel number
+0	2	151	0	0		4	Code_Table	Radiometer identifier
+0	2	152	0	0		31	Flag_Table	Satellite instrument used in data processing
+0	2	153	-8	0		26	Hz		Satellite channel center frequency
+0	2	154	-8	0		26	Hz		Satellite channel band width
+0	2	163	0	0		4	Code_Table	Height assignment method
+0	2	164	0	0		3	Code_Table	Tracer correlation method
+0	2	166	0	0		4	Code_Table	Radiance type
+0	2	167	0	0		4	Code_Table	Radiance computational method
+0	2	168	-3	0		16	Pa		Hydrostatic pressure of lower end of cable (thermistor string)
+0	2	169	0	0		4	Code_Table	Anemometer type
+0	2	172	0	0		8	Code_Table	Product type for retrieved atmospheric gases
+0	2	196	0	0		9	Code_Table	Satellite Classification
+0	2	197	8	0		26	Hz		Satellite Channel Center Frequency
+0	2	198	8	0		26	Hz		Satellite Channel Band Width
+0	2	221	0	0		18	M		Segment Size At Nadir In X Direction
+0	2	222	0	0		18	M		Segment Size At Nadir In Y Direction
+0	2	231	0	0		4	Code_Table	Height Assignment Method
+0	2	232	0	0		3	Code_Table	Tracer Correlation Method
+0	2	252	0	0		31	Flag_Table	Satellite Instrument Data Used In Processing
+	
+0	4	1	0	0		12	Year		Year
+0	4	2	0	0		4	mo		Month
+0	4	3	0	0		6	Day		Day
+0	4	4	0	0		5	hr		Hour
+0	4	5	0	0		6	min		Minute
+0	4	6	0	0		6	s		Second
+0	4	11	0	-1024		11	Year		Time increment
+0	4	12	0	-1024		11	mo		Time increment
+0	4	13	0	-1024		11	Days		Time increment
+0	4	14	0	-1024		11	hr		Time increment
+0	4	15	0	-2048		12	min		Time increment
+0	4	16	0	-4096		13	s		Time increment
+0	4	17	0	-1440		12	min		Reference time period for accumulated or extreme data
+0	4	21	0	-1024		11	Year		Time period or displacement
+0	4	22	0	-1024		11	mo		Time period or displacement
+0	4	23	0	-1024		11	Days		Time period or displacement
+0	4	24	0	-2048		12	hr		Time period or displacement
+0	4	25	0	-2048		12	min		Time period or displacement
+0	4	26	0	-4096		13	s		Time period or displacement
+0	4	31	0	0		8	hr		Duration of time relative to following value
+0	4	32	0	0		6	Minute		Duration of time relating to following value
+0	4	41	0	-1440		12	Minute		Time Difference, UTC-LMT
+0	4	43	0	0		9	Day		Day of the year
+0	4	53	0	0		6	Numeric		Number of days with precipition equal to or more than 1mm
+0	4	65	0	-128		8	min		Short time increment
+0	4	73	0	-128		8	Day		Short time period or displacement
+0	4	74	0	-128		8	Hour		Short time period or displacement
+0	4	75	0	-128		8	Minute		Short time period or displacement
+0	4	192	0	0		3	Code_Table	Season
+	
+0	5	1	5	-9000000	25	deg		Latitude (high accuracy)
+0	5	2	2	-9000		15	deg		Latitude (coarse accuracy)
+0	5	11	5	-9000000	25	deg		Latitude increment (high accuracy)
+0	5	12	2	-9000		15	deg		Latitude increment (coarse accuracy)
+0	5	21	2	0		16	deg_true	Bearing or azimuth
+0	5	22	2	0		16	deg_true	Solar azimuth
+0	5	30	0	0		12	deg		Direction (spectral)
+0	5	31	0	0		12	Numeric		Row number
+0	5	33	-1	0		16	m		Pixel size on horizontal - 1
+0	5	34	0	0		11	Numeric		Along Track row number
+0	5	40	0	0		24	Numeric		Orbit number
+0	5	41	0	0		8	Numeric		Scan line number
+0	5	42	0	0		6	Numeric		Channel number
+0	5	43	0	0		8	Numeric		Field of view number
+0	5	52	0	0		5	Numeric		Channel number increment
+0	5	53	0	0		5	Numeric		Field of view number increment
+
+0	6	1	5	-18000000	26	deg		Longitude (high accuracy)
+0	6	2	2	-18000		16	deg		Longitude (coarse accuracy)
+0	6	11	5	-18000000	26	deg		Longitude increment (high accuracy)
+0	6	12	2	-18000		16	deg		Longitude increment (coarse accuracy)
+0	6	21	-1	0		13	m		Distance
+0	6	30	5	0		13	rad/m		Wavenumber (spectral)
+0	6	31	0	0		12	Numeric		Column number
+0	6	33	-1	0		16	m		Pixel size on horizontal - 2
+0	6	34	0	0		7	Numeric		Cross-track cell number
+0	6	40	0	0		13	m		Radius of confidence
+
+0	7	1	0	-400		15	m		Height of station
+0	7	2	-1	-40		16	m		Height or altitude
+0	7	3	-1	-400		17	m**2/s**2	Geopotential
+0	7	4	-1	0		14	Pa		Pressure
+0	7	5	0	-400		12	m		Height increment
+0	7	6	0	0		15	m		Height above station
+0	7	7	0	-1000		17	m		Height
+0	7	8	0	-10000		20	m**2/s**2	Geopotential
+0	7	9	0	-1000		17	gpm		Geopotential height
+0	7	21	2	-9000		15	deg		Elevation
+0	7	22	2	-9000		15	deg		Solar elevation
+0	7	24	2	-9000		15	deg		Satellite zenith angle
+0	7	25	2	-9000		15	deg		Solar zenith angle
+0	7	61	2	0		14	m		Depth below land surface
+0	7	62	1	0		17	m		Depth below sea/water surface
+0	7	64	0	0		4	m		Height above station (sensor height artificially corrected)
+0	7	70	0	0		10	m		Drogue depth
+
+0	8	1	0	0		7	Flag_Table	Vertical sounding significance
+0	8	2	0	0		6	Code_Table	Vertical significance (surface observations)
+0	8	3	0	0		6	Code_Table	Vertical significance (satellite observations)
+0	8	4	0	0		3	Code_Table	Phase of aircraft flight
+0	8	5	0	0		4	Code_Table	Meteorological attribute significance
+0	8	6	0	0		9	Flag_Table	Ozone vertical sounding significance
+0	8	7	0	0		4	Code_Table	Dimensional significance
+0	8	8	0	0		9	Flag_Table	Radiation vertical sounding significance
+0	8	11	0	0		6	Code_Table	Meteorological feature
+0	8	12	0	0		2	Code_Table	land/sea qualifier
+0	8	13	0	0		2	Code_Table	Day/night qualifier
+0	8	14	0	0		4	Code_Table	Qualification for runway visual range
+0	8	16	0	0		3	Code_Table	Change indicator of a trend-type forecast or an aerodrome forecast
+0	8	17	0	0		2	Code_Table	Qualifier of the time when the forecast change is expected
+0	8	18	0	0		17	Flag_Table	SEAWINDS land/ice surface type
+0	8	20	0	0		16	Numeric		Total number of missing entities (with respect to accumulation or average)
+0	8	21	0	0		5	Code_Table	Time significance
+0	8	22	0	0		16	Numeric		Total number (with respect to accumulation or average)
+0	8	23	0	0		6	Code_Table	First order statistics
+0	8	24	0	0		6	Code_Table	Difference statistics
+0	8	25	0	0		4	Code_Table	Time difference qualifier
+0	8	30	0	0		13	Numeric		Manual on Codes Volume I.1 Section C table identifier
+0	8	31	0	0		8	Numeric		Data category CREX table A
+0	8	35	0	0		3	Code_Table	Type of monitoring exercise
+0	8	36	0	0		3	Code_Table	Type of center or station performing monitoring
+0	8	51	0	0		3	Code_Table	Qualifier for number of missing values in calculation of statistic
+0	8	52	0	0		5	Code_Table	Condition for which number of days of occurrence follows
+0	8	53	0	0		2	Code_Table	Day of occurance qualifier
+0	8	60	0	0		4	Code_Table	Sample scanning mode significance
+0	8	70	0	0		4	Code_Table	TOVS/ATOVS product qualifier
+0	8	72	0	0		3	Code_table	Pixel(s) type
+
+0	10	1	0	-400		15	m		Height of land surface
+0	10	2	-1	-40		16	m		Height
+0	10	3	-1	-400		17	m**2/s**2	Geopotential
+0	10	4	-1	0		14	Pa		Pressure
+0	10	7	0	-1000		17	m		Height
+0	10	8	0	-10000		20	m**2/s**2	Geopotential
+0	10	9	0	-1000		17	gpm		Geopotential height
+0	10	10	-1	0		14	Pa		Minimum pressure reduced to mean sea level
+0	10	11	-1	0		14	Pa		Maximum pressure reduced to mean sea level
+0	10	31	2	-1073741824	31	m		In direction of the North Pole, distance from the Earth's centre
+0	10	40	0	0		10	Numeric		Number of retrieved layer
+0	10	50	2	0		16	m		Standard deviation altitude
+0	10	51	-1	0		14	Pa		Pressure reduced to mean sea level
+0	10	52	-1	0		14	Pa		Altimeter setting (QNH)
+0	10	60	-1	-1024		11	Pa		Pressure change
+0	10	61	-1	-500		10	Pa		3 hour pressure change
+0	10	62	-1	-1000		11	Pa		24 hour pressure change
+0	10	63	0	0		4	Code_Table	Characteristic of pressure tendency
+0	10	70	0	-400		16	m		Indicated aircraft altitude
+	
+0	11	1	0	0		9	deg_true	Wind direction
+0	11	2	1	0		12	m/s		Wind speed
+0	11	3	1	-4096		13	m/s		U-component
+0	11	4	1	-4096		13	m/s		V-component
+0	11	5	1	-512		10	Pa/s		W-component
+0	11	6	2	-4096		13	m/s		W-component
+0	11	10	0	0		9	deg true	Wind direction associated with wind speed which follows
+0	11	11	0	0		9	deg_true	Wind direction at 10 m
+0	11	12	1	0		12	m/s		Wind speed at 10 m
+0	11	13	0	0		9	deg_true	Wind direction at 5 m
+0	11	14	1	0		12	m/s		Wind speed at 5 m
+0	11	16	0	0		9	deg_true	Extreme counterclockwise wind direction of a variable wind
+0	11	17	0	0		9	deg_true	Extreme clockwise wind direction of a variable wind
+0	11	19	0	0		7	Percent		Steadiness of wind
+0	11	21	9	-65536		17	1/s		Relative vorticity
+0	11	22	9	-65536		17	1/s		Divergence
+0	11	23	-2	-65536		17	m**2/s		Velocity potential
+0	11	31	0	0		4	Code_Table	Degree of turbulence
+0	11	32	-1	-40		16	m		Height of base of turbulence
+0	11	33	-1	-40		16	m		Height of top of turbulence
+0	11	34	1	-1024		11	m/s		Vertical gust velocity
+0	11	35	2	-8192		14	m/s**2		Vertical gust acceleration
+0	11	36	1	0		10	m/s		Maximum derived equivalent vertical gust speed
+0	11	37	0	0		6	Code_Table	Turbulence Index
+0	11	38	0	0		5	Code_Table	Time of occurrence of Peak Eddy Dissipation Rate
+0	11	40	1	0		12	m/s		Maximum wind speed (mean wind)
+0	11	41	1	0		12	m/s		Maximum wind speed (gusts)
+0	11	42	1	0		12	m/s		Maximum wind speed (10 minute mean wind)
+0	11	43	0	0		9	deg_true	Maximum wind gust direction
+0	11	44	0	0		9	deg_true	Mean wind direction for surface - 1500m (5000 feet)
+0	11	45	1	0		12	m/s		Mean wind speed for surface - 1500m (5000 feet)
+0	11	46	1	0		12	m/s		Maximum instantaneous wind speed
+0	11	47	1	0		12	m/s		Maximum instantaneous wind speed over 10 minutes
+0	11	49	0	0		9	deg_true	Standard deviation of wind direction
+0	11	50	1	0		12	m/s		Standard deviation horizontal wind speed
+0	11	51	1	0		8	m/s		Standard deviation vertical wind speed
+0	11	52	2	0		13	m/s		Formal uncertainty in wind speed
+0	11	53	2	0		15	deg true	Formal uncertainty in wind direction
+0	11	61	1	0		12	m/s		Absolute wind shear in 1 kilometer layer below
+0	11	62	1	0		12	m/s		Absolute wind shear in1 kilometer layer above
+0	11	70	0	0		32	CCITT_IA5	Designator of the runway affected by wind shear
+0	11	71	3	-128		14	m**2/s**2	Turbulent vertical momentum flux
+0	11	72	3	-128		11	K m/s		Turbulent vertical buoyancy flux
+0	11	73	2	-1024		13	m**2/s**2	Turbulent kinetic energy
+0	11	74	2	-1024		10	m**2/s**2	Dissipation energy
+0	11	75	2	0		8	m**(2/3)/s	Mean turbulence intensity
+0	11	76	2	0		8	m**(2/3)/s	Peak turbulence intensity
+0	11	81	2	0		16	deg true	Model wind direction at 10m
+0	11	82	2	0		14	m/s		Model wind speed at 10 m
+
+0	12	1	1	0		12	deg_K		Temperature/dry bulb temperature
+0	12	2	1	0		12	deg_K		Wet bulb temperature
+0	12	3	1	0		12	deg_K		Dewpoint temperature
+0	12	4	1	0		12	deg_K		Dry bulb temperature at 2 meters
+0	12	5	1	0		12	deg_K		Wet bulb temperature at 2 meters
+0	12	6	1	0		12	deg_K		Dewpoint temperature at 2 meters
+0	12	7	1	0		12	deg_K		Virtual temperature
+0	12	11	1	0		12	deg_K		Maximum temperature
+0	12	12	1	0		12	deg_K		Minimum temperature
+0	12	13	1	0		12	deg_K		Ground minimum temperature past 12 hours
+0	12	14	1	0		12	deg_K		Maximum temperature at 2 meters, past 12 hours
+0	12	15	1	0		12	deg_K		Minimum temperature at 2 meters, past 12 hours
+0	12	16	1	0		12	deg_K		Maximum temperature at 2 meters, past 24 hours
+0	12	17	1	0		12	deg_K		Minimum temperature at 2 meters, past 24 hours
+0	12	21	2	0		16	deg K		Maximum temperature at 2m
+0	12	22	2	0		16	deg K		Minimum temperature at 2m
+0	12	30	1	0		12	deg_K		Soil temperature
+0	12	51	1	0		10	deg_K		Standard deviation of temperature
+0	12	52	1	0		12	deg_K		Highest daily mean temperature
+0	12	53	1	0		12	deg_K		Lowest daily mean temperature
+0	12	61	1	0		12	deg_K		Skin temperature
+0	12	62	1	0		12	deg_K		Equivalent black body temperature
+0	12	63	1	0		12	deg_K		Brightness temperature
+0	12	64	1	0		12	deg_K		Instrument temperature
+0	12	65	1	0		12	deg K		Standard deviation brightness temperature
+0	12	71	1	0		12	deg_K		Coldest cluster temperature
+0	12	72	6	0		31	W/m**2/sr	Radiance
+0	12	075	-3	0		16	W m-3 sr-1	Spectral radiance
+0	12	076	3	0		16	W m-2 sr-1	Radiance
+0	12	101	2	0		16	deg_K		Temperature/dry-bulb temperature
+0	12	102	2	0		16	deg_K		Wet-bulb temperature
+0	12	103	2	0		16	deg_K		Dew-point temperature
+0	12	104	2	0		16	deg_K		Dry-bulb temperature at 2m
+0	12	105	2	0		16	deg_K		Web-bulb temperature at 2m
+0	12	106	2	0		16	deg_K		Dew-point temperature at 2m
+0	12	107	2	0		16	deg_K		Virtual temperature
+0	12	111	2	0		16	deg_K		Maximum temperature, at height and over period specified
+0	12	112	2	0		16	deg_K		Minimum temperature, at height and over period specified
+0	12	113	2	0		16	deg_K		Ground minimum temperature, past 12 hours
+0	12	114	2	0		16	deg_K		Maximum temperature at 2m, past 12 hours
+0	12	115	2	0		16	deg_K		Minimum temperature at 2m, past 12 hours
+0	12	116	2	0		16	deg_K		Maximum temperature at 2m, past 24 hours
+0	12	117	2	0		16	deg_K		Minimum temperature at 2m, past 24 hours
+0	12	130	2	0		16	deg_K		Soil temperature
+0	12	152	2	0		16	deg_K		Highest daily mean temperature
+0	12	153	2	0		16	deg_K		Lowest daily mean temperature
+0	12	161	2	0		16	deg_K		Skin temperature
+0	12	162	2	0		16	deg_K		Equivalent black body temperature
+0	12	163	2	0		16	deg_K		Brightness temperature
+0	12	164	2	0		16	deg_K		Instrument temperature
+0	12	171	2	0		16	deg_K		Coldest cluster temperature
+0	12	193	1	0		12	deg_K		Coldest Cluster Temperature
+
+
+0	13	1	5	0		14	kg/kg		Specific humidity
+0	13	2	5	0		14	kg/kg		Mixing ratio
+0	13	3	0	0		7	percent		Relative humidity
+0	13	4	-1	0		10	Pa		Vapor pressure
+0	13	5	3	0		7	kg/m**3		Vapor density
+0	13	6	-1	-40		16	m		Mixing heights
+0	13	7	0	0		7	percent		Minimum relative humidity
+0	13	8	0	0		7	percent		Maximum relative humidity
+0	13	11	1	-1		14	kg/m**2		Total precipitation/total water equivalent
+0	13	12	2	-2		12	m		Depth of fresh snow
+0	13	13	2	-2		16	m		Total snow depth
+0	13	14	4	0		12	kg/m**2/s	Rainfall/water equivalent of snow (average rate)
+0	13	15	7	0		12	m/s		Snowfall (averaged rate)
+0	13	16	0	0		7	kg/m**2		Precipitable water
+0	13	19	1	-1		14	kg/m**2		Total precipitation past 1 hour
+0	13	20	1	-1		14	kg/m**2		Total precipitation past 3 hours
+0	13	21	1	-1		14	kg/m**2		Total precipitation past 6 hours
+0	13	22	1	-1		14	kg/m**2		Total precipitation past 12 hours
+0	13	23	1	-1		14	kg/m**2		Total precipitation past 24 hours
+0	13	31	0	0		7	kg/m**2		Evapotranspiration
+0	13	32	1	0		8	kg/m**2		Evaporation/evapotranspiration
+0	13	33	1	0		10	kg/m**2		Evaporation/evapotranspiration
+0	13	38	0	0		2	Code_Table	Superadiabatic indicator
+0	13	39	0	0		3	Code_Table	Terrain type (ice/snow)
+0	13	41	0	0		4	Code_Table	Pasquill-Gifford stability category
+0	13	42	0	-20		6	deg_K		Parcel lifted index (to 500 hPa)
+0	13	43	0	-20		6	deg_K		Best lifted index (to 500 hPa)
+0	13	51	0	0		4	Code_Table	Frequency group, precipition
+0	13	52	1	-1		14	kg/m**2		Highest daily amount of precipition
+0	13	55	4	0		8	KG/M**2*S	INTENSITY OF PRECIPITATION
+0	13	60	1	-10		17	kg m-2		Total accumulated precipitation
+0	13	71	2	0		14	m		Upstream water level
+0	13	72	2	0		14	m		Downstream water level
+0	13	73	2	0		14	m		Maximum water level
+0	13	80	1	0		10	pH unit		Water pH
+0	13	81	3	0		14	Siemens m-1	Water conductivity
+0	13	82	1	0		12	deg K		Water temperature
+0	13	83	6	0		15	Kg m-3		Dissolved oxygen
+0	13	84	0	0		14	Lumen		Turbidity
+0	13	85	3	0		14	V		Oxydation Reduction Potential (ORP)
+
+0	14	1	-3	-2048		12	Joules/m**2	Longwave radiation, integrated over 24 hours
+0	14	2	-3	-2048		12	Joules/m**2	Longwave radiation, integrated over period specified
+0	14	3	-3	-2048		12	Joules/m**2	Shortwave radiation, integrated over 24 hours
+0	14	4	-3	-2048		12	Joules/m**2	Shortwave radiation, integrated over period specified
+0	14	11	-3	-2048		12	Joules/m**2	Net longwave radiation, integrated over 24 hours
+0	14	12	-3	-2048		12	Joules/m**2	Net longwave radiation, integrated over period specified
+0	14	13	-3	-2048		12	Joules/m**2	Net shortwave radiation, integrated over 24 hours
+0	14	14	-3	-2048		12	Joules/m**2	Net shortwave radiation, integrated over period specified
+0	14	15	-4	-16384		15	Joules/m**2	Net radiation, integrated over 24 hours
+0	14	16	-4	-16384		15	Joules/m**2	Net radiation, integrated over period specified
+0	14	17	-3	-2048		12	W/m**2		Instantaneous long wave radiation
+0	14	18	-3	-2048		12	W/m**2		Instantaneous short wave radiation
+0	14	19	0	0		7	percent		Surface albedo
+0	14	20	-4	0		15	Joules/m**2	Global solar radiation, integrated over 24 hours
+0	14	21	-4	0		15	Joules/m**2	Global radiation, integrated over period specified
+0	14	22	-4	0		15	Joules/m**2	Diffuse solar radiation, integrated over 24 hours
+0	14	23	-4	0		15	Joules/m**2	Diffuse solar radiation, integratedi over period specified
+0	14	24	-4	0		15	Joules/m**2	Direct solar radiation, integrated over 24 hours
+0	14	25	-4	0		15	Joules/m**2	Direct solar radiation, integrated over period specified
+0	14	26	0	0		7	percent		Albedo at the top of clouds
+0	14	27	0	0		7	percent		Albedo
+0	14	28	-2	0		16	J/m**2		Global solar radiation (high accuracy, integrated over period specified
+0	14	29	-2	0		16	J/m**2		Diffuse solar radiation (high accuracy, integrated over period specified
+0	14	30	-2	0		16	J/m**2		Direct solar radiation (high accuracy, integrated over period specified
+0	14	31	0	0		11	min		Total sunshine
+0	14	32	0	0		10	hr		Total sunshine
+0	14	33	0	0		9	percent		Total sunshine
+0	14	34	0	0		11	min		Sunshine of period specified
+0	14	42	0	0		7	percent		Bi-directional reflectance
+0	14	45	0	0		11	W/m**2/sr/cm	Channel radiance
+0	14	51	-3	0		14	j/m**2		Direct solar radiation integrated over last hour
+
+0	15	1	0	0		10	Dobson units	Ozone
+0	15	2	2	0		10	Numeric		Air mass (slant path at 22km)
+0	15	3	4	0		9	Pascal		Measured ozone partial pressure
+0	15	4	3	0		11	Numeric		Ozone sounding correction factor
+0	15	5	0	0		10	DU		Ozone p
+0	15	11	3	14000		13	log(1/m**2)	Log 10 of integrated electron density
+0	15	15	0	0		31	Numeric		Maximum image spectral composition before normalization
+0	15	20	8	0		21	kg/m**2		Integrated Ozone density
+
+0	19	1	0	0		6	Code_Table	Type of synoptic features
+0	19	2	-2	0		12	m		Effective radius of feature
+0	19	3	0	0		8	m/s		Wind speed threshold
+0	19	4	-2	0		12	m		Effective radius of feature with respect to wind speeds above threshold
+0	19	5	0	0		9	deg_true	Direction of motion of features
+0	19	6	2	0		14	m/s		Speed of motion of features
+0	19	7	-3	0		12	m		Effective radius of features
+0	19	8	0	0		3	Code_Table	Vertical extent of circulation
+0	19	9	-3	0		12	m		Effective radius with respect to wind speed above threshold (large storms)
+0	19	10	0	0		4	Code_Table	Method for tracking the center of synoptic feature
+
+0	20	1	-1	0		13	m		Horizontal visibility
+0	20	2	-1	0		7	m		Vertical visibility
+0	20	3	0	0		9	Code_Table	Present weather
+0	20	4	0	0		5	Code_Table	Past weather (1)
+0	20	5	0	0		5	Code_Table	Past weather (2)
+0	20	8	0	0		5	Code_Table	Cloud distribution for aviation
+0	20	9	0	0		4	Code_Table	General Weather Indicator
+0	20	10	0	0		7	percent		Cloud cover (total)
+0	20	11	0	0		4	Code_Table	Cloud amount
+0	20	12	0	0		6	Code_Table	Cloud type
+0	20	13	-1	-40		11	m		Height of base of cloud
+0	20	14	-1	-40		11	m		Height of top of cloud
+0	20	15	-1	0		14	Pa		Pressure at the base of cloud
+0	20	16	-1	0		14	Pa		Pressure at the top of cloud
+0	20	17	0	0		4	Code_Table	Cloud top description
+0	20	18	0	0		2	Code_Table	Tendency of runway visual range
+0	20	19	0	0		72	CCITT_IA5	Significant present or forecast weather
+0	20	20	0	0		32	CCITT_IA5	Significant recent weather phenomena
+0	20	31	2	0		7	m		Ice deposit (thickness)
+0	20	32	0	0		3	Code_Table	Rate of ice accretion
+0	20	33	0	0		4	Flag_Table	Cause of ice accretion
+0	20	34	0	0		5	Code_Table	Sea ice concentration
+0	20	35	0	0		4	Code_Table	Amount and type of ice
+0	20	36	0	0		5	Code_Table	Ice situation
+0	20	37	0	0		5	Code_Table	Ice development
+0	20	38	0	0		12	deg_true	Bearing of ice edge
+0	20	39	-1	0		13	m		Ice distance
+0	20	41	0	0		4	Code_Table	Airframe icing
+0	20	51	0	0		7	percent		Amount of low clouds
+0	20	52	0	0		7	percent		Amount of middle clouds
+0	20	53	0	0		7	percent		Amount of high clouds
+0	20	61	0	0		12	m		Runway visual range (RVR)
+0	20	62	0	0		5	Code_Table	State of the ground(with or without snow)
+0	20	63	0	0		10	Code_Table	Special phenomena
+0	20	70	0	0		7	Numeric		Minimum number of atmospherics
+0	20	71	0	0		4	Code_Table	Accuracy of fix and rate of atmospherics
+0	20	81	0	0		7	percent		Cloud amount in segment
+0	20	82	0	0		7	percent		Amount segment cloud free
+0	20	90	0	0		4	Code_Table	Special clouds
+
+0	21	1	0	-64		7	dB		Horizontal reflectivity
+0	21	2	0	-64		7	dB		Vertical reflectivity
+0	21	3	1	-5		7	dB		Differential reflectivity
+0	21	5	0	-65		6	dB		Circular depolarization ratio
+0	21	6	0	-65		6	dB		Circular depolarization ratio
+0	21	11	0	-128		8	m/s		Doppler mean velocity in X direction
+0	21	12	0	-128		8	m/s		Doppler mean velocity in Y direction
+0	21	13	0	-128		8	m/s		Doppler mean velocity in Z direction
+0	21	14	1	-4096		13	m/s		Doppler mean velocity (radiational)
+0	21	17	1	0		8	m/s		Doppler velocity spectral width
+0	21	21	-3	0		4	m		Echo tops
+0	21	30	0	-32		8	dB		Signal to noise ratio
+0	21	31	0	0		7	kg/m**2		Vertical integrated liquid water content
+0	21	36	7	0		12	m/s		Radar rainfall intensity
+0	21	41	-2	0		8	m		Bright band height
+0	21	51	0	-256		8	dB		Signal power above 1 MW
+0	21	62	2	-5000		13	Decibels	Backscatter
+0	21	63	1	0		10	Percent		Radiometric resolution (noise value)
+0	21	64	0	0		8	Numeric		Clutter noise estimate
+0	21	65	0	-127		8	Numeric		Missing packet counter
+0	21	66	0	0		12	Flag_Table	Wave scatterometer product confidence
+0	21	67	0	0		13	Flag_Table	Wind product confidence data 
+0	21	68	0	0		8	Flag_Table	Radar altimeter product confidence data 
+0	21	69	0	0		10	Flag_Table	SST product confidence data 
+0	21	70	0	0		23	Flag_Table	SST product confidence data (SADIST-2)
+0	21	71	0	0		16	Numeric		Peakiness 
+0	21	72	0	0		4	Flag_Table	Satellite altimeter calibration status 
+0	21	73	0	0		9	Flag_Table	Satellite altimeter instrument mode 
+0	21	75	0	0		8	Numeric		Spectral intensity
+0	21	76	0	0		3	Code_Table	Representation of intensities
+0	21	77	3	0		14	m		Altitude correction (ionosphere)
+0	21	78	3	0		9	m		Altitude correction (dry troposphere)
+0	21	79	3	2000		10	m		Altitude correction (wet troposphere)
+0	21	80	3	0		11	m		Altitude correction (calibration constant)
+0	21	81	3	0		10	m		Open loop correction (height-time loop)
+0	21	82	3	-3000		14	Decibels	Open loop correction (auto gain control)
+0	21	85	0	-3000		4	Numeric		ATSR sea surface temperature across-track band number
+0	21	91	0	-100		8	dB		Radar signal Doppler spectrum 0th moment
+0	21	092	0	-100		8	dB		RASS signal Doppler spectrum 0th moment, referring to RASS signal
+0	21	101	0	0		3	Numeric		Number of vector ambiguities
+0	21	102	0	0		3	Numeric		Index of selected wind vector
+0	21	103	0	0		5	Numeric		Total number of sigma-0 measurements
+0	21	104	3	-30000		15	Numeric		Likelihood computed for solution
+0	21	105	2	-10000		14	dB		Normalized radar cross-section
+0	21	106	3	0		14	Numeric		Kp variance coefficient (Alpha)
+0	21	107	8	0		16	Numeric		Kp variance coefficient (Beta)
+0	21	109	0	0		17	Flag table	SEAWINDS wind vector cell quality
+0	21	110	0	0		6	Numeric		Number of inner-beam Sigma-0 (forward of satellite)
+0	21	111	0	0		6	Numeric		Number of outer-beam Sigma-0 (forward of satellite)
+0	21	112	0	0		6	Numeric		Number of inner-beam Sigma-0 (aft of satellite)
+0	21	113	0	0		6	Numeric		Number of outer-beam Sigma-0 (aft of satellite)
+0	21	114	3	-140000		18	dB		Kp variance coefficent (Gamma)
+0	21	115	0	0		17	Flag table	SEAWINDS sigma-0 quality
+0	21	116	0	0		17	Flag table	SEAWINDS sigma-0 mode
+0	21	117	2	0		16	Numeric		Sigma-0 variance quality control
+0	21	118	2	-10000		14	dB		Attenuation correction on sigma-0
+0	21	119	0	0		6	Code table	Wind scatterometer geophysical model function
+0	21	120	3	0		10	Numeric		Probability of rain
+0	21	121	0	0		8	Numeric		SEAWINDS NOF* rain index
+0	21	122	2	-10000		14	dB		Attenuation correction of sigma-0 (from tB)
+0	21	123	2	-30000		15	dB		SEAWINDS normalized radar cross section
+
+
+0	22	1	0	0		9	deg_true	Direction of waves
+0	22	2	0	0		9	deg_true	Direction of wind waves
+0	22	3	0	0		9	deg_true	Direction of swell waves
+0	22	4	0	0		9	deg_true	Direction of current waves
+0	22	11	0	0		6	s		Period of waves
+0	22	12	0	0		6	s		Period of wind waves
+0	22	13	0	0		6	s		Period of swell waves
+0	22	21	1	0		10	m		Height of waves
+0	22	22	1	0		10	m		Height of wind waves
+0	22	23	1	0		10	m		Height of swell waves
+0	22	25	2	0		10	m		Standard deviation wave height
+0	22	26	2	0		10	m		Standard deviation of significant wave height
+0	22	31	2	0		13	m/s		Speed of current
+0	22	35	2	0		14	m		Tidal elevation with respect to local chart datum
+0	22	36	2	0		14	m		Meteorological residual tida elevation (surge or offset)
+0	22	37	3	-10000		15	m		Tidal elevation with respect to national chart datum
+0	22	38	3	-10000		15	m		Tidal elevation with respect to local chart datum
+0	22	39	3	-5000		12	m		Meteorological residual tidal elevation (surge or offset)
+0	22	40	3	-5000		14	m		Meteorological residual tidal elevation (surge or offset)
+0	22	41	1	0		12	deg_K		Sea surface temperature (15 day running mean)
+0	22	42	1	0		12	deg_K		Sea/water temperature
+0	22	43	2	0		15	deg_K		Sea/water temperature
+0	22	44	1	0		14	m/s		Sound velocity
+0	22	50	2	0		8	K		Standard deviation sea surface temperature
+0	22	61	0	0		4	Code_Table	State of sea
+0	22	62	2	0		14	ppt		Salinity
+0	22	63	0	0		14	m		Total water depth
+0	22	67	0	0		10	Code_Table	Instrument type for water temperature profile measurement
+0	22	68	0	0		7	Code_Table	Water temperature profile recorder types
+0	22	70	2	0		13	m		Significant wave height
+0	22	71	1	0		9	s		Spectral peak wave period
+0	22	72	0	0		13	m		Spectral peak wave length
+0	22	73	2	0		13	m		Maximum wave height
+0	22	74	1	0		9	s		Average wave period
+0	22	75	0	0		13	m		Average wave length
+0	22	76	0	0		9	Degree_True	Direction from which dominant waves are coming
+0	22	77	0	0		9	Degree		Directional spred of dominant wave
+0	22	78	0	0		12	s		Duration of wave record
+0	22	79	0	0		16	m		Length of wave record
+0	22	80	3	0		10	Hz		Waveband central frequency
+0	22	81	5	0		13	m**-1		Waveband central wave number
+0	22	82	2	0		20	m**2/s		Maximum non-directional spectral wave density
+0	22	83	2	0		20	m**3		Maximum non-directional spectral wave number
+0	22	84	0	0		7	Numeric		Band containing maximum non-directional spectral wave density
+0	22	85	0	0		7	Numeric		Spectral wave density ratio
+0	22	86	0	0		9	Degree_True	Mean direction from which waves are coming
+0	22	87	0	0		9	Degree_True	Principal direction from which waves are coming
+0	22	88	2	0		7	Numeric		First normalized polar coordinate from Fourier coefficients
+0	22	89	2	0		7	Numeric		Second normalized polar coordinate from Fourier coefficients
+0	22	90	2	0		20	m**2/s		Non-directional spectral estimate by wave frequency
+0	22	91	2	0		20	m**3		Non-directional spectral estimate by wave number
+0	22	92	2	0		20	m**2/rad**-1/s	Directional spectral estimate by wave frequency
+0	22	93	2	0		20	m**4		Directional spectral estimate by wave number
+0	22	94	0	0		7	Numeric		Total number of wave bands
+0	22	95	0	0		8	Degree		Directional spread of individual waves
+0	22	96	3	0		4	s**-1		Spectral band width 
+0	22	97	0	0		14	m		Mean wavelength > 731 m of image spectrum at low wave numbers
+0	22	98	0	0		14	m		Wavelength spread (wavelength > 731 m) at low wave numbers
+0	22	99	0	0		9	deg_true	Mean direction at low wave numbers (wavelength > 731 m)
+0	22	100	0	0		9	Degree		Direction spread at low wave numbers (wavelength > 731 m)
+0	22	101	0	0		31	Numberic	Total energy (wavelength > 731 m) at low wave numbers
+0	22	120	0	0		5	Code_Table	Tide station automated water level check
+0	22	121	0	0		5	Code_Table	Tide station manual water level check
+0	22	122	0	0		5	Code_Table	Tide station automated Meteorological data check
+0	22	123	0	0		5	Code_Table	Tide station manual Meteorological data check
+0	22	141	2	0		15	Code_Table	Sea-surface temperature (15-day running mean)
+
+0	23	1	0	0		3	Code_Table	Accident early notification - article applicable
+0	23	2	0	0		5	Code_Table	Activity or facility involved in incident
+0	23	3	0	0		3	Code_Table	Type of release
+0	23	4	0	0		3	Code_Table	Countermeasures taken near border
+0	23	5	0	0		2	Code_Table	Cause of incident
+0	23	6	0	0		3	Code_Table	Incident situation
+0	23	7	0	0		3	Code_Table	Characteristic of release
+0	23	8	0	0		2	Code_Table	State of current release
+0	23	9	0	0		2	Code_Table	State of expected release
+0	23	16	0	0		2	Code_Table	Possibility of significant chemical toxic health effect
+0	23	17	6	0		20	m**3/s		Flow discharge of major recipient
+0	23	18	0	0		3	Code_Table	release behavior over time
+0	23	19	0	-15000		17	m		Actual release height
+0	23	21	0	-15000		17	m		Effective release height
+0	23	22	0	0		24	m		Distance of relative point or site of incident
+0	23	23	1	0		12	m/s		Main transport speed in atmosphere
+0	23	24	2	0		13	m/s		Main transport speed in water
+0	23	25	2	0		13	m/s		Main transport speed in ground water
+0	23	27	0	0		9	deg_true	Main transport direction in atmosphere
+0	23	28	0	0		9	deg_true	Main transport direction in water
+0	23	29	0	0		9	deg_true	Main transport direction in ground water
+0	23	31	0	0		2	Code_Table	Possibility that plume will encounter precipitation cwin state in which incident occurred
+0	23	32	0	0		2	Code_Table	Plume will encounter ichange in wind direction and/or speed flag
+
+0	24	1	-11	0		28	Bq		Estimate of radiatioactivity released up to specified time
+0	24	2	-11	0		28	Bq		Estimated maximum potential release
+0	24	3	0	0		5	Code_Table	Composition of release
+0	24	4	0	0		16	CCITT_IA5	Element name
+0	24	5	0	0		9	Numeric		Isotope mass
+0	24	11	2	0		32	mSv		Dose
+0	24	12	2	0		32	mSv		Trajectory dose (defined location and expected time of arrival)
+0	24	13	2	0		32	mSv		Gamma dose in air along the main transport path (defined location and time period
+0	24	21	2	0		32	Bq/m**3		Air concentration (named isotope type including gross beta)
+0	24	22	2	0		32	Bq/l		Concentration in precipitation (of named isotope type)
+0	24	23	1	0		14	pulse/sec	Pulse rate of beta radiation
+0	24	24	1	0		14	pulse/sec	Pulse rate of beta radiation
+
+0	25	1	-1	0		6	m		Range gate length
+0	25	2	0	0		4	Numeric		Number of gates averaged
+0	25	3	0	0		8	Numeric		Number of integrated pulses
+0	25	4	0	0		2	Code_Table	Echo processing
+0	25	5	0	0		2	Code_Table	Echo integration
+0	25	6	0	0		3	Code_Table	Z to R conversion
+0	25	7	0	0		12	Numeric		Z to R conversion factor
+0	25	8	2	0		9	Numeric		Z to R conversion exponent
+0	25	9	0	0		4	Flag_Table	Calibration method
+0	25	10	0	0		4	Code_Table	Clutter treatment
+0	25	11	0	0		2	Code_Table	Ground occultation correction (screening)
+0	25	12	0	0		2	Code_Table	Range attenuation correction
+0	25	13	0	0		2	Flag_Table	Bright band correction
+0	25	14	0	0		12	Numeric		Azimuth clutter cut-off
+0	25	15	0	0		2	Flag_Table	Radome attenuation correction
+0	25	16	5	0		6	dB/m		Clear air attenuation correction
+0	25	17	0	0		2	Flag_Table	Precipitation attenuation correction
+0	25	18	7	0		6	Numeric		A to Z law for attenuation factor
+0	25	19	2	0		7	Numeric		A to Z law for attenuation exponent
+0	25	20	0	0		2	Code_Table	Mean speed estimation
+0	25	21	0	0		8	Flag_Table	Wind computation enhancement
+0	25	30	0	0		2	Code_Table	SST usage
+0	25	32	0	0		2	Code_Table	NOAA wind profiler high/low mode data
+0	25	33	0	0		2	Code_Table	NOAA wind profiler submode
+0	25	34	0	0		4	Code_Table	NOAA wind profiler Q/C test results
+0	25	40	0	0		4	Code_Table	CO2 wind product derivation
+0	25	41	0	0		2	Code_Table	Moving platform direction reporting method
+0	25	42	0	0		2	Code_Table	Moving platform speed reporting method
+0	25	43	4	0		15	s		Wave sampling interval (time)
+0	25	44	2	0		14	m		Wave sampling interval (space)
+0	25	45	0	0		21	Flag_Table	HIRS channel combination 
+0	25	46	0	0		5	Flag_Table	MSU channel combination 
+0	25	47	0	0		4	Flag_Table	SSU channel combination 
+0	25	48	0	0		16	Flag_Table	AMSU-A channel combination 
+0	25	49	0	0		6	Flag_Table	AMSU-B channel combination 
+0	25	50	0	0		7	Flag_Table	AVHRR channel combination 
+0	25	51	0	0		12	Flag_Table	Observation quality
+0	25	53	0	0		12	Flag_Table	Observation quality
+0	25	60	0	0		14	Numeric		Software identification 
+0	25	70	0	0		4	Numeric		Major frame count 
+0	25	71	0	0		5	Numeric		Frame count 
+0	25	75	0	0		5	Numeric		Satellite antenna corrections version number 
+0	25	76	8	0		30	Log/m		Log-10 of (Temperature-radiance central wavenumber) for ATOVS 
+0	25	77	5	-100000		18	Numeric		Bandwidth correction coefficient 1 for ATOVS 
+0	25	78	5	0		17	Numeric		Bandwidth correction coefficient 2 for ATOVS 
+0	25	79	4	0		24	W/m**2		Albedo-radiance solar filtered irradiance for ATOVS 
+0	25	80	10	0		14	m		Albedo-radiance equivalent filter width for ATOVS 
+0	25	85	0	0		7	Numeric		Fraction of clear pixels in HIRS FOV 
+0	25	86	0	0		2	Code table	Depth correction indicator
+0	25	91	3	-18192		13	dB		Structure constant of the refraction index (cn2)
+0	25	92	2	28000		14	m s-1		Acoustic propagation velocity
+0	25	93	0	0		8	Flag table	RASS computation correction
+
+
+0	26	1	1	0		12	Hour		Principal time of daily reading in UTC of maximum temperature
+0	26	2	1	0		12	Hour		Principal time of daily reading in UTC of minimum temperature
+0	26	3	0	-1440		12	Minute		Time difference
+0	26	10	0	0		26	Flag_Table	Hours included
+
+0	27	1	5	-9000000	25	deg		Latitude (high accuracy)
+0	27	2	2	-9000		15	deg		Latitude (coarse accuracy)
+0	27	3	2	-9000		15	deg		Alternate latitude
+0	27	20	0	0		16	Numeric		Satellite locationon counter
+0	27	21	0	0		16	Numeric		Satellite sub-locationon dimensions
+0	27	31	2	-1073741824	31	m		In direction of 0 degrees longitude, distance from the Earth's centre
+
+0	28	1	5	-18000000	26	deg		Longitude (high accuracy)
+0	28	2	2	-18000		16	deg		Longitude (coarse accuracy)
+0	28	3	2	-18000		16	deg		Alternate longtiude
+0	28	31	2	-1073741824	31	m		In direction of 90 degrees East, distance from the Earth's centre
+
+0	29	1	0	0		3	Code_Table	Projection type
+0	29	2	0	0		3	Code_Table	Coordinate grid type
+
+0	30	1	0	0		4	Numeric		Pixel value (4 bits)
+0	30	2	0	0		8	Numeric		Pixel value (8 bits)
+0	30	4	0	0		16	Numeric		Pixel value (16 bits)
+0	30	21	0	0		12	Numeric		Number of pixels per row
+0	30	22	0	0		12	Numeric		Number of pixels per column
+0	30	31	0	0		4	Code_Table	Picture type
+0	30	32	0	0		16	Flag_Table	Combined picture
+
+0	31	0	0	0		1	Numeric		Short delayed descriptor replication factor
+0	31	1	0	0		8	Numeric		Delayed descriptor replication factor
+0	31	2	0	0		16	Numeric		Extended delayed descriptor replication factor
+0	31	11	0	0		8	Numeric		Delayed descriptor and data repetion factor
+0	31	12	0	0		16	Numeric		Extended delayed descriptor and data repitition factor
+0	31	21	0	0		6	Code_Table	Associated field significance
+0	31	31	0	0		1	Flag_Table	Data present indicator
+
+0	33	2	0	0		2	Code_Table	Quality information
+0	33	3	0	0		3	Code_Table	Quality information
+0	33	7	0	0		7	Percent		Per cent confidence 
+0	33	20	0	0		3	Code_Table	Quality control indication of following value
+0	33	21	0	0		2	Code_Table	Quality of following value
+0	33	22	0	0		2	Code_Table	Quality of buoy satellite transmission
+0	33	23	0	0		2	Code_Table	Quality of buoy location 
+0	33	24	0	0		4	Code_Table	Station elevation quality mark (for mobile stations)
+0	33	25	0	0		3	Code_Table	ACARS interpolated values
+0	33	26	0	0		6	Code_Table	Mixing ratio quality
+0	33	27	0	0		3	Code_Table	Location quality class (range of radius of 66% confidence)
+0	33	30	0	0		24	Flag_Table	Scan line status flags for ATOVS
+0	33	31	0	0		24	Flag_Table	Scan line quality flags for ATOVS
+0	33	32	0	0		24	Flag_Table	Channel quality flags for ATOVS
+0	33	33	0	0		24	Flag_Table	Field of view quality flags for ATOVS
+0	33	35	0	0		4	Code_Table	Manual/automatic quality control
+0	33	36	0	0		7	Percent		Nominal confidence threshold
+0	33	37	0	0		20	Flag_Table	Wind correlation error
+0	33	40	0	0		7	percent		Confidence interval
+0	33	41	0	0		2	Code_Table	Attribute of following value
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-003-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-003-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-001-D.001
@@ -0,0 +1,25 @@
+#
+# B2L-058-001-D.001 - Local BUFR Table D (Lists of Common Sequences)
+# for Center 058 (FNMOC), Minor Local Version 1
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+
+# Phony local descriptor for debugging purposes
+#
+#3	5	1
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	0	2	104		# Antenna polarization            (4 bits)
+#	0	2	113		# Number of azimuth looks         (4 bits)
+#	-1
+#
+3	5	1
+	0	2	 11		# Radiosonde type                 (8 bits)
+	0	2	 22		# Satellite DP technique used     (8 bits)
+	0	2	102		# Antenna height above tower base (8 bits)
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-010-B
@@ -0,0 +1,848 @@
+#
+# WMO source file name = BufrTabB-11-2001.txt
+# Master Table B Version 10
+#
+#                   Reference    Bit
+# F   X    Y Scale    Value     Width     Units     Comments
+#--------------------------------------------------------------
+# Class 00 - BUFR/CREX(*) table entries
+  0;  0;   1;    0;           0;   24;   CCITT_IA5; Table A:  entry
+  0;  0;   2;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 1"
+  0;  0;   3;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 2"
+  0;  0;   5;    0;           0;   24;   CCITT_IA5; BUFR/CREX edition number
+  0;  0;  10;    0;           0;    8;   CCITT_IA5; F descriptor to be added or defined
+  0;  0;  11;    0;           0;   16;   CCITT_IA5; X descriptor to be added or defined
+  0;  0;  12;    0;           0;   24;   CCITT_IA5; Y descriptor to be added or defined
+  0;  0;  13;    0;           0;  256;   CCITT_IA5; "Element name, line 1"
+  0;  0;  14;    0;           0;  256;   CCITT_IA5; "Element name, line 2"
+  0;  0;  15;    0;           0;  192;   CCITT_IA5; Units name
+  0;  0;  16;    0;           0;    8;   CCITT_IA5; Units scale sign
+  0;  0;  17;    0;           0;   24;   CCITT_IA5; Units scale
+  0;  0;  18;    0;           0;    8;   CCITT_IA5; Units reference sign
+  0;  0;  19;    0;           0;   80;   CCITT_IA5; Units reference value
+  0;  0;  20;    0;           0;   24;   CCITT_IA5; Element data width
+  0;  0;  30;    0;           0;   48;   CCITT_IA5; Descriptor defining sequence
+# Class 01 - Identification
+  0;  1;   1;    0;           0;    7;     Numeric; WMO block number
+  0;  1;   2;    0;           0;   10;     Numeric; WMO station number
+  0;  1;   3;    0;           0;    3;  Code_Table; WMO Region number/geographical area
+  0;  1;   4;    0;           0;    3;     Numeric; WMO Region sub-area (see Note 9)
+  0;  1;   5;    0;           0;   17;     Numeric; Buoy/platform identifier
+  0;  1;   6;    0;           0;   64;   CCITT_IA5; Aircraft flight number
+  0;  1;   7;    0;           0;   10;  Code_Table; Satellite identifier
+  0;  1;   8;    0;           0;   64;   CCITT_IA5; Aircraft registration number
+  0;  1;   9;    0;           0;   64;   CCITT_IA5; Type of commercial aircraft
+  0;  1;  10;    0;           0;   64;   CCITT_IA5; Stationary buoy platform identifier; e.g. C-MAN buoys
+  0;  1;  11;    0;           0;   72;   CCITT_IA5; Ship or mobile land station identifier
+  0;  1;  12;    0;           0;    9; Degree_true; Direction of motion of moving observing platform
+  0;  1;  13;    0;           0;   10;       m s1; Speed of motion of moving observing platform
+  0;  1;  14;    2;           0;   10;       m s1; Platform drift speed (high precision)
+  0;  1;  15;    0;           0;  160;   CCITT_IA5; Station or site name
+  0;  1;  18;    0;           0;   40;   CCITT_IA5; Short station or site name
+  0;  1;  19;    0;           0;  256;   CCITT_IA5; Long Station or site name
+  0;  1;  20;    0;           0;    4;     Numeric; WMO Region sub-area
+  0;  1;  21;    0;           0;   14;     Numeric; Synoptic feature identifier
+  0;  1;  22;    0;           0;  224;   CCITT_IA5; Name of feature (see Note 11)
+  0;  1;  25;    0;           0;   24;   CCITT_IA5; Storm identifier
+  0;  1;  26;    0;           0;   64;   CCITT_IA5; WMO storm name*
+  0;  1;  27;    0;           0;   80;   CCITT_IA5; WMO long storm name
+  0;  1;  31;    0;           0;   16;  Code_Table; Identification of originating/generating centre (see Note 10)
+  0;  1;  32;    0;           0;    8;  Code_Table; Generating application
+  0;  1;  33;    0;           0;    8;  Code_Table; Identification of originating/generating centre
+  0;  1;  34;    0;           0;    8;  Code_Table; Identification of originating/generating sub-centre
+  0;  1;  36;    0;           0;   20;  Code_Table; Agency in charge of operating the Observing platform
+  0;  1;  41;    5; -1073741824;   31;       m s-1; Absolute platform velocity - first component (see Note 6)
+  0;  1;  42;    5; -1073741824;   31;       m s-1; Absolute platform velocity - second component (see Note 6)
+  0;  1;  43;    5; -1073741824;   31;       m s-1; Absolute platform velocity - third component (see Note 6)
+  0;  1;  50;    0;           0;   17;     Numeric; Platform transmitter ID number
+  0;  1;  51;    0;           0;   96;   CCITT_IA5; Platform transmitter ID number
+  0;  1;  60;    0;           0;   64;   CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;  1;  62;    0;           0;   32;   CCITT_IA5; Short ICAO location indicator
+  0;  1;  63;    0;           0;   64;   CCITT_IA5; ICAO location indicator
+  0;  1;  64;    0;           0;   32;   CCITT_IA5; Runway designator
+  0;  1;  75;    0;           0;   40;   CCITT_IA5; Tide station identification
+  0;  1;  80;    0;           0;   32;   CCITT_IA5; Ship line number according to SOOP
+  0;  1;  85;    0;           0;  160;   CCITT_IA5; Observing platform manufacturer's model
+  0;  1;  86;    0;           0;  256;   CCITT_IA5; Observing platform manufacturer's serial number
+# Class 02 - Instrumentation
+  0;  2;   1;    0;           0;    2;  Code_Table; Type of station
+  0;  2;   2;    0;           0;    4;  Flag_Table; Type of instrumentation for wind measurement
+  0;  2;   3;    0;           0;    4;  Code_Table; Type of measuring equipment used
+  0;  2;   4;    0;           0;    4;  Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;  2;   5;    2;           0;    7;           K; Precision of temperature observation
+  0;  2;  11;    0;           0;    8;  Code_Table; Radiosonde type
+  0;  2;  12;    0;           0;    4;  Code_Table; Radiosonde computational method
+  0;  2;  13;    0;           0;    4;  Code_Table; Solar and infrared radiation correction
+  0;  2;  14;    0;           0;    7;  Code_Table; Tracking technique/status of system used
+  0;  2;  15;    0;           0;    4;  Code_Table; Radiosonde completeness
+  0;  2;  19;    0;           0;   11;  Code_Table; Satellite instruments
+  0;  2;  20;    0;           0;    9;  Code_Table; Satellite classification
+  0;  2;  21;    0;           0;    9;  Flag_Table; Satellite instrument data used in processing*
+  0;  2;  22;    0;           0;    8;  Flag_Table; Satellite data-processing technique used
+  0;  2;  23;    0;           0;    4;  Code_Table; Satellite derived wind computation method
+  0;  2;  24;    0;           0;    4;  Code_Table; Integrated mean humidity computational method
+  0;  2;  25;    0;           0;   25;  Flag_Table; Satellite channel(s) used in computation
+  0;  2;  26;    2;           0;   12;           m; Cross track resolution
+  0;  2;  27;    2;           0;   12;           m; Along track resolution
+  0;  2;  28;    0;           0;   18;           m; Segment size at nadir in X direction
+  0;  2;  29;    0;           0;   18;           m; Segment size at nadir in Y direction
+  0;  2;  30;    0;           0;    3;  Code_Table; Method of current measurement
+  0;  2;  31;    0;           0;    5;  Code_Table; Duration and time of current measurement
+  0;  2;  32;    0;           0;    2;  Code_Table; Indicator for digitization
+  0;  2;  33;    0;           0;    3;  Code_Table; Method of salinity/depth measurement
+  0;  2;  34;    0;           0;    5;  Code_Table; Drogue type
+  0;  2;  35;    0;           0;    9;           m; Cable length
+  0;  2;  36;    0;           0;    2;  Code_Table; Buoy type
+  0;  2;  37;    0;           0;    3;  Code_Table; Method of tidal observation
+  0;  2;  38;    0;           0;    4;  Code_Table; Method of sea-surface temperature measurement
+  0;  2;  39;    0;           0;    3;  Code_Table; Method of wet-bulb temperature measurement
+  0;  2;  40;    0;           0;    4;  Code_Table; Method of removing velocity and motion of platform from current
+  0;  2;  41;    0;           0;    6;  Code_Table; Method for estimating reports related to synoptic features
+  0;  2;  44;    0;           0;    4;  Code_Table; Indicator for method of calculating spectral wave data
+  0;  2;  45;    0;           0;    4;  Code_Table; Indicator for type of platform
+  0;  2;  46;    0;           0;    4;  Code_Table; Wave measurement instrumentation
+  0;  2;  48;    0;           0;    4;  Code_Table; Satellite sensor indicator
+  0;  2;  49;    0;           0;    8;  Flag_Table; Geostationary satellite data-processing technique used
+  0;  2;  50;    0;           0;   20;  Flag_Table; Geostationary sounder satellite channels used
+  0;  2;  51;    0;           0;    4;  Code_Table; Indicator to specify observing method for extreme temperatures
+  0;  2;  52;    0;           0;    6;  Flag_Table; Geostationary imager satellite channels used
+  0;  2;  53;    0;           0;    4;  Code_Table; GOES-I/M brightness temperature characteristics
+  0;  2;  54;    0;           0;    4;  Code_Table; GOES-I/M soundings parameter characteristics
+  0;  2;  55;    0;           0;    4;  Code_Table; Geostationary soundings statistical parameters
+  0;  2;  56;    0;           0;    4;  Code_Table; Geostationary soundings accuracy statistics
+  0;  2;  57;    0;           0;    4;  Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;  2;  58;    0;           0;    4;  Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;  2;  59;    0;           0;    4;  Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;  2;  60;    0;           0;    4;  Code_Table; Origin of surface information for GOES-I/M soundings
+  0;  2;  61;    0;           0;    3;  Code_Table; Aircraft navigational system
+  0;  2;  62;    0;           0;    4;  Code_Table; Type of aircraft data relay system
+  0;  2;  63;    2;      -18000;   16;      Degree; Aircraft roll angle
+  0;  2;  64;    0;           0;    2;  Code_Table; Aircraft roll angle quality
+  0;  2;  65;    0;           0;   40;   CCITT_IA5; ACARS ground receiving station
+  0;  2;  70;    0;           0;    4;  Code_Table; Original specification of latitude/longitude
+  0;  2;  91;    0;           4;   10;           A; Entry sensor 4/20 mA
+  0;  2; 100;    1;           0;   12;          dB; Radar constant*
+  0;  2; 101;    0;           0;    4;  Code_Table; Type of antenna
+  0;  2; 102;    0;           0;    8;           m; Antenna height above tower base
+  0;  2; 103;    0;           0;    2;  Flag_Table; Radome
+  0;  2; 104;    0;           0;    4;  Code_Table; Antenna polarisation
+  0;  2; 105;    0;           0;    6;          dB; Maximum antenna gain
+  0;  2; 106;    1;           0;    6;      Degree; 3-dB beamwidth
+  0;  2; 107;    0;           0;    6;          dB; Sidelobe suppression
+  0;  2; 108;    0;           0;    6;          dB; Crosspol discrimination (on axis)
+  0;  2; 109;    2;           0;   12;  Degree s-1; Antenna speed (azimuth)
+  0;  2; 110;    2;           0;   12;  Degree s-1; Antenna speed (elevation)
+  0;  2; 111;    1;           0;   10;      Degree; Radar incidence angle
+  0;  2; 112;    1;           0;   12;      Degree; Radar look angle
+  0;  2; 113;    0;           0;    4;     Numeric; Number of azimuth looks
+  0;  2; 114;    0;           0;   15;          m2; Antenna effective surface area
+  0;  2; 121;   -8;           0;    7;          Hz; Mean frequency
+  0;  2; 122;   -6;        -128;    8;          Hz; Frequency agility range
+  0;  2; 123;   -4;           0;    7;           W; Peak power
+  0;  2; 124;   -1;           0;    7;           W; Average power
+  0;  2; 125;   -1;           0;    8;          Hz; Pulse repetition frequency
+  0;  2; 126;    7;           0;    6;           s; Pulse width
+  0;  2; 127;   -6;           0;    7;          Hz; Receiver intermediate frequency
+  0;  2; 128;   -5;           0;    6;          Hz; Intermediate frequency bandwidth
+  0;  2; 129;    0;        -150;    5;          dB; Minimum detectable signal
+  0;  2; 130;    0;           0;    7;          dB; Dynamic range
+  0;  2; 131;    0;           0;    2;  Flag_Table; Sensitivity time control (STC)
+  0;  2; 132;    2;           0;    6;      Degree; Azimuth pointing accuracy
+  0;  2; 133;    2;           0;    6;      Degree; Elevation pointing accuracy
+  0;  2; 134;    2;           0;   16;      Degree; Antenna beam azimuth
+  0;  2; 135;    2;       -9000;   15;      Degree; Antenna elevation
+  0;  2; 136;   -3;           0;   16;           m; Range processed by range attenuation correction
+  0;  2; 140;    0;           0;    9;      Degree; Satellite radar beam azimuth angle
+  0;  2; 141;    0;           0;   24;   CCITT_IA5; Measurement type
+  0;  2; 142;    0;           0;   32;   CCITT_IA5; Ozone instrument serial number/ identification
+  0;  2; 143;    0;           0;    7;  Code_Table; Ozone instrument type
+  0;  2; 144;    0;           0;    4;  Code_Table; Light source type for Brewer spectro photometer
+  0;  2; 145;    0;           0;    4;  Code_Table; Wave length setting for Dobson instruments
+  0;  2; 146;    0;           0;    4;  Code_Table; Source conditions for Dobson instruments
+  0;  2; 148;    0;           0;    5;  Code_Table; Data collection and/or location system
+  0;  2; 149;    0;           0;    6;  Code_Table; Type of data buoy
+  0;  2; 150;    0;           0;    6;  Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number
+  0;  2; 151;    0;           0;   11;  Code_Table; Radiometer identifier
+  0;  2; 152;    0;           0;   31;  Flag_Table; Satellite instrument used in data processing(6)
+  0;  2; 153;   -8;           0;   26;          Hz; Satellite channel centre frequency
+  0;  2; 154;   -8;           0;   26;          Hz; Satellite channel band width
+  0;  2; 163;    0;           0;    4;  Code_Table; Height assignment method
+  0;  2; 164;    0;           0;    3;  Code_Table; Tracer correlation method
+  0;  2; 166;    0;           0;    4;  Code_Table; Radiance type
+  0;  2; 167;    0;           0;    4;  Code_Table; Radiance computational method
+  0;  2; 168;   -3;           0;   16;          Pa; Hydrostatic pressure of lower end of cable (thermistor string)
+  0;  2; 169;    0;           0;    4;  Code_Table; Anemometer type
+  0;  2; 172;    0;           0;    8;  Code_Table; Product type for retrieved atmospheric gases
+  0;  2; 190;    0;           0;    7;           %; Lagrangian drifter submergence (% time submerged)
+# Class 04 - Location (time)
+  0;  4;   1;    0;           0;   12;        Year; Year
+  0;  4;   2;    0;           0;    4;       Month; Month
+  0;  4;   3;    0;           0;    6;         Day; Day
+  0;  4;   4;    0;           0;    5;        Hour; Hour
+  0;  4;   5;    0;           0;    6;      Minute; Minute
+  0;  4;   6;    0;           0;    6;      Second; Second
+  0;  4;  11;    0;       -1024;   11;        Year; Time increment
+  0;  4;  12;    0;       -1024;   11;       Month; Time increment
+  0;  4;  13;    0;       -1024;   11;         Day; Time increment
+  0;  4;  14;    0;       -1024;   11;        Hour; Time increment
+  0;  4;  15;    0;       -2048;   12;      Minute; Time increment
+  0;  4;  16;    0;       -4096;   13;      Second; Time increment
+  0;  4;  17;    0;       -1440;   12;      Minute; Reference time period for accumulated or extreme data
+  0;  4;  21;    0;       -1024;   11;        Year; Time period or displacement
+  0;  4;  22;    0;       -1024;   11;       Month; Time period or displacement
+  0;  4;  23;    0;       -1024;   11;         Day; Time period or displacement
+  0;  4;  24;    0;       -2048;   12;        Hour; Time period or displacement
+  0;  4;  25;    0;       -2048;   12;      Minute; Time period or displacement
+  0;  4;  26;    0;       -4096;   13;      Second; Time period or displacement
+  0;  4;  31;    0;           0;    8;        Hour; Duration of time relating to following value
+  0;  4;  32;    0;           0;    6;      Minute; Duration of time relating to following value
+  0;  4;  41;    0;       -1440;   12;      Minute; "Time difference, UTC -LMT (see Note 6)"
+  0;  4;  43;    0;           0;    9;         Day; Day of the year
+  0;  4;  53;    0;           0;    6;     Numeric; Number of days with precipitation equal to or more than 1 mm
+  0;  4;  65;    0;        -128;    8;      Minute; Short time increment
+  0;  4;  73;    0;        -128;    8;         Day; Short time period or displacement
+  0;  4;  74;    0;        -128;    8;        Hour; Short time period or displacement
+  0;  4;  75;    0;        -128;    8;      Minute; Short time period or displacement
+# Class 05 - Location (horizontal -1)
+  0;  5;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0;  5;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0;  5;  11;    5;    -9000000;   25;      Degree; Latitude increment (high accuracy)
+  0;  5;  12;    2;       -9000;   15;      Degree; Latitude increment (coarse accuracy)
+  0;  5;  21;    2;           0;   16; Degree_true; Bearing or azimuth
+  0;  5;  22;    2;           0;   16; Degree_true; Solar azimuth
+  0;  5;  30;    0;           0;   12;      Degree; Direction (spectral)
+  0;  5;  31;    0;           0;   12;     Numeric; Row number
+  0;  5;  33;   -1;           0;   16;           m; Pixel size on horizontal - 1
+  0;  5;  34;    0;           0;   11;     Numeric; Along track row number
+  0;  5;  36;    0;           0;    7;     Numeric; Ship transect number according to SOOP
+  0;  5;  40;    0;           0;   24;     Numeric; Orbit number
+  0;  5;  41;    0;           0;    8;     Numeric; Scan line number
+  0;  5;  42;    0;           0;    6;     Numeric; Channel number
+  0;  5;  43;    0;           0;    8;     Numeric; Field of view number
+  0;  5;  52;    0;           0;    5;     Numeric; Channel number increment
+  0;  5;  53;    0;           0;    5;     Numeric; Field of view number increment
+# Class 06 - Location (horizontal - 2)
+  0;  6;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0;  6;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0;  6;  11;    5;   -18000000;   26;      Degree; Longitude increment (high accuracy)
+  0;  6;  12;    2;      -18000;   16;      Degree; Longitude increment (coarse accuracy)
+  0;  6;  21;   -1;           0;   13;           m; Distance
+  0;  6;  30;    5;           0;   13;     rad m-1; Wave number (spectral)
+  0;  6;  31;    0;           0;   12;     Numeric; Column number
+  0;  6;  33;   -1;           0;   16;           m; Pixel size on horizontal - 2
+  0;  6;  34;    0;           0;    7;     Numeric; Cross-track cell number
+  0;  6;  40;    0;           0;   13;           m; Radius of confidence
+# Class 07 - Location (vertical
+  0;  7;   1;    0;        -400;   15;           m; Height of station
+  0;  7;   2;   -1;         -40;   16;           m; Height or altitude
+  0;  7;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0;  7;   4;   -1;           0;   14;          Pa; Pressure
+  0;  7;   5;    0;        -400;   12;           m; Height increment
+  0;  7;   6;    0;           0;   15;           m; Height above station
+  0;  7;   7;    0;       -1000;   17;           m; Height
+  0;  7;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0;  7;   9;    0;       -1000;   17;         gpm; Geopotential height
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation (see Note 1)
+  0;  7;  22;    2;       -9000;   15;      Degree; Solar elevation
+  0;  7;  24;    2;       -9000;   15;      Degree; Satellite zenith angle
+  0;  7;  25;    2;       -9000;   15;      Degree; Solar zenith angle
+  0;  7;  61;    2;           0;   14;           m; Depth below land surface
+  0;  7;  62;    1;           0;   17;           m; Depth below sea/water surface
+  0;  7;  64;    0;           0;    4;           m; Height above station (sensor height artificially corrected) (see Note 2)
+  0;  7;  70;    0;           0;   10;           m; Drogue depth
+# Class 08 - Significance qualifiers
+  0;  8;   1;    0;           0;    7;  Flag_Table; Vertical sounding significance
+  0;  8;   2;    0;           0;    6;  Code_Table; Vertical significance (surface observations)
+  0;  8;   3;    0;           0;    6;  Code_Table; Vertical significance (satellite observations)
+  0;  8;   4;    0;           0;    3;  Code_Table; Phase of aircraft flight
+  0;  8;   5;    0;           0;    4;  Code_Table; Meteorological attribute significance
+  0;  8;   6;    0;           0;    9;  Flag_Table; Ozone vertical sounding significance
+  0;  8;   7;    0;           0;    4;  Code_Table; Dimensional significance
+  0;  8;   8;    0;           0;    9;  Flag_Table; Radiation vertical sounding significance
+  0;  8;  11;    0;           0;    6;  Code_Table; Meteorological feature
+  0;  8;  12;    0;           0;    2;  Code_Table; Land/sea qualifier
+  0;  8;  13;    0;           0;    2;  Code_Table; Day/night qualifier
+  0;  8;  14;    0;           0;    4;  Code_Table; Qualifier for runway visual range
+  0;  8;  16;    0;           0;    3;  Code_Table; Change qualifier of a trend-type forecast or an aerodrome forecast
+  0;  8;  17;    0;           0;    2;  Code_Table; Qualifier of the time when the forecast change is expected
+  0;  8;  18;    0;           0;   17;  Flag_Table; SEAWINDS land/ice surface type
+  0;  8;  20;    0;           0;   16;     Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;  8;  21;    0;           0;    5;  Code_Table; Time significance
+  0;  8;  22;    0;           0;   16;     Numeric; Total number (with respect to accumulation or average)
+  0;  8;  23;    0;           0;    6;  Code_Table; First order statistics
+  0;  8;  24;    0;           0;    6;  Code_Table; Difference statistics
+  0;  8;  25;    0;           0;    4;  Code_Table; Time difference qualifier
+  0;  8;  30;    0;           0;   13;     Numeric; "Manual on Codes (Volume I.1, Section C) Code table from which data are derived"
+  0;  8;  31;    0;           0;    8;     Numeric; Data category CREX table A
+  0;  8;  33;    0;           0;    7;  Code_Table; Method of derivation of percentage confidence
+  0;  8;  35;    0;           0;    3;  Code_Table; Type of monitoring exercise
+  0;  8;  36;    0;           0;    3;  Code_Table; Type of centre or station performing monitoring
+  0;  8;  51;    0;           0;    3;  Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;  8;  52;    0;           0;    5;  Code_Table; Condition for which number of days of occurrence follows
+  0;  8;  53;    0;           0;    2;  Code_Table; Day of occurrence qualifier
+  0;  8;  60;    0;           0;    4;  Code_Table; Sample scanning mode significance
+  0;  8;  70;    0;           0;    4;  Code_Table; TOVS/ATOVS product qualifier
+  0;  8;  72;    0;           0;    3;  Code_Table; Pixel(s) type
+  0;  8;  75;    0;           0;    2;  Code_Table; Ascending/Descending Orbit Qualifier
+# Class 10 - Non-coordinate location (vertical)
+  0; 10;   1;    0;        -400;   15;           m; Height of land surface
+  0; 10;   2;   -1;         -40;   16;           m; Height
+  0; 10;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0; 10;   4;   -1;           0;   14;          Pa; Pressure
+  0; 10;   7;    0;       -1000;   17;           m; Height
+  0; 10;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0; 10;   9;    0;       -1000;   17;         gpm; Geopotential height
+  0; 10;  10;   -1;           0;   14;          Pa; Minimum pressure reduced to mean sea level
+  0; 10;  11;   -1;           0;   14;          Pa; Maximum pressure reduced to mean sea level
+  0; 10;  31;    2; -1073741824;   31;           m; "In direction of the North Pole, distance from the Earths centre"
+  0; 10;  40;    0;           0;   10;     Numeric; Number of retrieved layers
+  0; 10;  50;    2;           0;   16;           m; Standard deviation altitude
+  0; 10;  51;   -1;           0;   14;          Pa; Pressure reduced to mean sea level
+  0; 10;  52;   -1;           0;   14;          Pa; Altimeter setting (QNH)
+  0; 10;  60;   -1;       -1024;   11;          Pa; Pressure change
+  0; 10;  61;   -1;        -500;   10;          Pa; 3-hour pressure change
+  0; 10;  62;   -1;       -1000;   11;          Pa; 24-hour pressure change
+  0; 10;  63;    0;           0;    4;  Code_Table; Characteristic of pressure tendency
+  0; 10;  70;    0;        -400;   16;           m; Indicated aircraft altitude
+# Class 11 - Wind and turbulence
+  0; 11;   1;    0;           0;    9; Degree_true; Wind direction
+  0; 11;   2;    1;           0;   12;       m s-1; Wind speed
+  0; 11;   3;    1;       -4096;   13;       m s-1; u-component
+  0; 11;   4;    1;       -4096;   13;       m s-1; v-component
+  0; 11;   5;    1;        -512;   10;      Pa s-1; w-component
+  0; 11;   6;    2;       -4096;   13;       m s-1; w-component
+  0; 11;  10;    0;           0;    9; Degree_true; Wind direction associated with wind speed which follows
+  0; 11;  11;    0;           0;    9; Degree_true; Wind direction at 10 m
+  0; 11;  12;    1;           0;   12;       m s-1; Wind speed at 10 m
+  0; 11;  13;    0;           0;    9; Degree_true; Wind direction at 5 m
+  0; 11;  14;    1;           0;   12;       m s-1; Wind speed at 5 m
+  0; 11;  16;    0;           0;    9; Degree_true; Extreme counterclockwise wind direction of a variable wind
+  0; 11;  17;    0;           0;    9; Degree_true; Extreme clockwise wind direction of a variable wind
+  0; 11;  19;    0;           0;    7;           %; Steadiness of wind (6)
+  0; 11;  21;    9;      -65536;   17;         s-1; Relative vorticity
+  0; 11;  22;    9;      -65536;   17;         s-1; Divergence
+  0; 11;  23;   -2;      -65536;   17;      m2 s-1; Velocity potential
+  0; 11;  31;    0;           0;    4;  Code_Table; Degree of turbulence
+  0; 11;  32;   -1;         -40;   16;           m; Height of base of turbulence
+  0; 11;  33;   -1;         -40;   16;           m; Height of top of turbulence
+  0; 11;  34;    1;       -1024;   11;       m s-1; Vertical gust velocity
+  0; 11;  35;    2;       -8192;   14;       m s-2; Vertical gust acceleration
+  0; 11;  36;    1;           0;   10;       m s-1; Maximum derived equivalent vertical gust speed
+  0; 11;  37;    0;           0;    6;  Code_Table; Turbulence Index
+  0; 11;  38;    0;           0;    5;  Code_Table; Time of occurrence of Peak Eddy Dissipation Rate
+  0; 11;  40;    1;           0;   12;       m s-1; Maximum wind speed (mean wind)
+  0; 11;  41;    1;           0;   12;       m s-1; Maximum wind speed (gusts)
+  0; 11;  42;    1;           0;   12;       m s-1; Maximum wind speed (10-min mean wind)
+  0; 11;  43;    0;           0;    9; Degree_true; Maximum wind gust direction
+  0; 11;  44;    0;           0;    9; Degree_true; Mean wind direction for surface - 1500 m (5000 feet)
+  0; 11;  45;    1;           0;   12;       m s-1; Mean wind speed for surface - 1500 m (5000 feet)
+  0; 11;  46;    1;           0;   12;       m s-1; Maximum instantaneous wind speed
+  0; 11;  47;    1;           0;   12;       m s-1; Maximum instantaneous wind speed over 10 minutes
+  0; 11;  49;    0;           0;    9; Degree_true; Standard deviation of wind direction
+  0; 11;  50;    1;           0;   12;       m s-1; Standard deviation of horizontal wind speed
+  0; 11;  51;    1;           0;    8;       m s-1; Standard deviation of vertical wind speed
+  0; 11;  52;    2;           0;   13;       m s-1; Formal uncertainty in wind speed
+  0; 11;  53;    2;           0;   15; Degree_true; Formal uncertainty in wind direction
+  0; 11;  61;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer below
+  0; 11;  62;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer above
+  0; 11;  70;    0;           0;   32;   CCITT_IA5; Designator of the runway affected by wind shear (including ALL)
+  0; 11;  71;    3;        -128;   14;      m2 s-2; Turbulent vertical momentum flux
+  0; 11;  72;    3;        -128;   11;     K m s-1; Turbulent vertical buoyancy flux
+  0; 11;  73;    2;       -1024;   13;      m2 s-2; Turbulent kinetic energy
+  0; 11;  74;    2;       -1024;   10;      m2 s-2; Dissipation energy
+  0; 11;  75;    2;           0;    8;    m2/3 s-1; Mean turbulence intensity (eddy dissipation rate)
+  0; 11;  76;    2;           0;    8;    m2/3 s-1; Peak turbulence intensity (eddy dissipation rate)
+  0; 11;  81;    2;           0;   16; Degree_true; Model wind direction at 10m
+  0; 11;  82;    2;           0;   14;       m s-1; Model wind speed at 10m
+# Class 12 - Temperature
+  0; 12;   1;    1;           0;   12;           K; Temperature/dry-bulb temperature
+  0; 12;   2;    1;           0;   12;           K; Wet-bulb temperature
+  0; 12;   3;    1;           0;   12;           K; Dew-point temperature
+  0; 12;   4;    1;           0;   12;           K; Dry-bulb temperature at 2 m
+  0; 12;   5;    1;           0;   12;           K; Wet-bulb temperature at 2 m
+  0; 12;   6;    1;           0;   12;           K; Dew-point temperature at 2 m
+  0; 12;   7;    1;           0;   12;           K; Virtual temperature
+  0; 12;  11;    1;           0;   12;           K; "Maximum temperature, at height and over period specified"
+  0; 12;  12;    1;           0;   12;           K; "Minimum temperature, at height and over period specified"
+  0; 12;  13;    1;           0;   12;           K; "Ground minimum temperature, past 12 hours"
+  0; 12;  14;    1;           0;   12;           K; "Maximum temperature at 2 m, past 12 hours"
+  0; 12;  15;    1;           0;   12;           K; "Minimum temperature at 2 m, past 12 hours"
+  0; 12;  16;    1;           0;   12;           K; "Maximum temperature at 2 m, past 24 hours"
+  0; 12;  17;    1;           0;   12;           K; "Minimum temperature at 2 m, past 24 hours"
+  0; 12;  21;    2;           0;   16;           K; Maximum temperature at 2m
+  0; 12;  22;    2;           0;   16;           K; Minimum temperature at 2m
+  0; 12;  30;    1;           0;   12;           K; Soil temperature
+  0; 12;  51;    1;           0;   10;           K; Standard deviation temperature
+  0; 12;  52;    1;           0;   12;           K; Highest daily mean temperature
+  0; 12;  53;    1;           0;   12;           K; Lowest daily mean temperature
+  0; 12;  61;    1;           0;   12;           K; Skin temperature
+  0; 12;  62;    1;           0;   12;           K; Equivalent black body temperature
+  0; 12;  63;    1;           0;   12;           K; Brightness temperature
+  0; 12;  64;    1;           0;   12;           K; Instrument temperature
+  0; 12;  65;    1;           0;   12;           K; Standard deviation brightness temperature
+  0; 12;  71;    1;           0;   12;           K; Coldest cluster temperature
+  0; 12;  72;    6;           0;   31;  W m-2 sr-1; Radiance
+  0; 12;  75;   -3;           0;   16;  W m-3 sr-1; Spectral radiance
+  0; 12;  76;    3;           0;   16;  W m-2 sr-1; Radiance
+  0; 12; 101;    2;           0;   16;           K; Temperature/dry-bulb temperature
+  0; 12; 102;    2;           0;   16;           K; Wet-bulb temperature
+  0; 12; 103;    2;           0;   16;           K; Dew-point temperature
+  0; 12; 104;    2;           0;   16;           K; Dry-bulb temperature at 2m
+  0; 12; 105;    2;           0;   16;           K; Web-bulb temperature at 2m
+  0; 12; 106;    2;           0;   16;           K; Dew-point temperature at 2m
+  0; 12; 107;    2;           0;   16;           K; Virtual temperature
+  0; 12; 111;    2;           0;   16;           K; "Maximum temperature, at height and over period specified "
+  0; 12; 112;    2;           0;   16;           K; "Minimum temperature, at height and over period specified"
+  0; 12; 113;    2;           0;   16;           K; "Ground minimum temperature, past 12 hours"
+  0; 12; 114;    2;           0;   16;           K; "Maximum temperature at 2m, past 12 hours"
+  0; 12; 115;    2;           0;   16;           K; "Minimum temperature at 2m, past 12 hours"
+  0; 12; 116;    2;           0;   16;           K; "Maximum temperature at 2m, past 24 hours"
+  0; 12; 117;    2;           0;   16;           K; "Minimum temperature at 2m, past 24 hours"
+  0; 12; 130;    2;           0;   16;           K; Soil temperature
+  0; 12; 152;    2;           0;   16;           K; Highest daily mean temperature
+  0; 12; 153;    2;           0;   16;           K; Lowest daily mean temperature
+  0; 12; 161;    2;           0;   16;           K; Skin temperature
+  0; 12; 162;    2;           0;   16;           K; Equivalent black body temperature
+  0; 12; 163;    2;           0;   16;           K; Brightness temperature
+  0; 12; 164;    2;           0;   16;           K; Instrument temperature
+  0; 12; 171;    2;           0;   16;           K; Coldest cluster temperature
+# Class 13 - Hygrographic and hydrological elements
+  0; 13;   1;    5;           0;   14;     kg kg-1; Specific humidity
+  0; 13;   2;    5;           0;   14;     kg kg-1; Mixing ratio
+  0; 13;   3;    0;           0;    7;           %; Relative humidity
+  0; 13;   4;   -1;           0;   10;          Pa; Vapour pressure
+  0; 13;   5;    3;           0;    7;      kg m-3; Vapour density
+  0; 13;   6;   -1;         -40;   16;           m; Mixing heights
+  0; 13;   7;    0;           0;    7;           %; Minimum relative humidity
+  0; 13;   8;    0;           0;    7;           %; Maximum relative humidity
+  0; 13;  11;    1;          -1;   14;      kg m-2; Total precipitation/total water equivalent
+  0; 13;  12;    2;          -2;   12;           m; Depth of fresh snow
+  0; 13;  13;    2;          -2;   16;           m; Total snow depth
+  0; 13;  14;    4;           0;   12;  kg m-2 s-1; Rainfall/water equivalent of snow (averaged rate)
+  0; 13;  15;    7;           0;   12;       m s-1; Snowfall  (averaged rate)
+  0; 13;  16;    0;           0;    7;      kg m-2; Precipitable water
+  0; 13;  19;    1;          -1;   14;      kg m-2; Total precipitation past 1 hour
+  0; 13;  20;    1;          -1;   14;      kg m-2; Total precipitation past 3 hours
+  0; 13;  21;    1;          -1;   14;      kg m-2; Total precipitation past 6 hours
+  0; 13;  22;    1;          -1;   14;      kg m-2; Total precipitation past 12 hours
+  0; 13;  23;    1;          -1;   14;      kg m-2; Total precipitation past 24 hours
+  0; 13;  31;    0;           0;    7;      kg m-2; Evapotranspiration
+  0; 13;  32;    1;           0;    8;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  33;    1;           0;   10;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  38;    0;           0;    2;  Code_Table; Superadiabatic indicator
+  0; 13;  39;    0;           0;    3;  Code_Table; Terrain type (ice/snow)
+  0; 13;  41;    0;           0;    4;  Code_Table; Pasquill-Gifford stability category
+  0; 13;  42;    0;         -20;    6;           K; Parcel lifted index (to 500 hPa)
+  0; 13;  43;    0;         -20;    6;           K; Best lifted index (to 500 hPa)
+  0; 13;  51;    0;           0;    4;  Code_Table; "Frequency group, precipitation"
+  0; 13;  52;    1;          -1;   14;      kg m-2; Highest daily amount of precipitation
+  0; 13;  55;    4;           0;    8;  Kg m-2 s-1; Intensity of precipitation
+  0; 13;  58;    4;           0;    7;           m; Size of precipitating element
+  0; 13;  59;    0;           0;    7;     Numeric; Number of flashes (thunderstorm)
+  0; 13;  60;    1;         -10;   17;      kg m-2; Total accumulated precipitation
+  0; 13;  71;    2;           0;   14;           m; Upstream water level
+  0; 13;  72;    2;           0;   14;           m; Downstream water level
+  0; 13;  73;    2;           0;   14;           m; Maximum water level
+  0; 13;  80;    1;           0;   10;     pH unit; Water pH
+  0; 13;  81;    3;           0;   14; Siemens m-1; Water conductivity
+  0; 13;  82;    1;           0;   12;           K; Water temperature
+  0; 13;  83;    6;           0;   15;      Kg m-3; Dissolved oxygen
+  0; 13;  84;    0;           0;   14;       Lumen; Turbidity
+  0; 13;  85;    3;           0;   14;           V; Oxydation Reduction Potential (ORP)
+# Class 14 - Radiation and radiance
+  0; 14;   1;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over 24 hours"
+  0; 14;   2;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over period specified"
+  0; 14;   3;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over 24 hours"
+  0; 14;   4;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over period specified"
+  0; 14;  11;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over 24 hours"
+  0; 14;  12;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over period specified"
+  0; 14;  13;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over 24 hours"
+  0; 14;  14;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over period specified"
+  0; 14;  15;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over 24 hours"
+  0; 14;  16;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over period specified"
+  0; 14;  17;   -3;       -2048;   12;       W m-2; Instantaneous long-wave radiation
+  0; 14;  18;   -3;       -2048;   12;       W m-2; Instantaneous short-wave radiation
+  0; 14;  19;    0;           0;    7;           %; Surface albedo
+  0; 14;  20;   -4;           0;   15;       J m-2; "Global solar radiation, integrated over 24 hours"
+  0; 14;  21;   -4;           0;   15;       J m-2; "Global radiation, integrated over period specified"
+  0; 14;  22;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over 24 hours"
+  0; 14;  23;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over period specified"
+  0; 14;  24;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over 24 hours"
+  0; 14;  25;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over period specified"
+  0; 14;  26;    0;           0;    7;           %; Albedo at the top of clouds
+  0; 14;  27;    0;           0;    7;           %; Albedo
+  0; 14;  28;   -2;           0;   16;       J m-2; "Global solar radiation (high accuracy), integrated over period specified"
+  0; 14;  29;   -2;           0;   16;       J m-2; "Diffuse solar radiation (high accuracy), integrated over period specified"
+  0; 14;  30;   -2;           0;   16;       J m-2; "Direct solar radiation (high accuracy), integrated over period specified"
+  0; 14;  31;    0;           0;   11;      Minute; Total sunshine
+  0; 14;  32;    0;           0;   10;        Hour; Total sunshine
+  0; 14;  33;    0;           0;    9;           %; Total sunshine
+  0; 14;  34;    0;           0;   11;      Minute; Sunshine over period specified
+  0; 14;  42;    0;           0;    7;           %; Bi-directional reflectance
+  0; 14;  45;    0;           0;   11;Wm-2 sr-1 cm-1; Channel radiance
+  0; 14;  51;   -3;           0;   14;       J m-2; Direct solar radiation integrated over last hour
+# Class 15 - Physical/chemical constituents
+  0; 15;   1;    0;           0;   10;      Dobson; Ozone
+  0; 15;   2;    2;           0;   10;     Numeric; Air mass (slant path at 22 km)
+  0; 15;   3;    4;           0;    9;      Pascal; Measured ozone partial pressure (sounding)
+  0; 15;   4;    3;           0;   11;     Numeric; Ozone sounding correction factor
+  0; 15;   5;    0;           0;   10;          DU; Ozone p
+  0; 15;  11;    3;       14000;   13;  log (1/m2); Log 10 of integrated electron density
+  0; 15;  15;    0;           0;   31;     Numeric; Maximum image spectral component before normalization
+  0; 15;  20;    8;           0;   21;      kg m-2; Integrated 03 density
+# Class 19 - Synoptic features
+  0; 19;   1;    0;           0;    6;  Code_Table; Type of synoptic feature
+  0; 19;   2;   -2;           0;   12;           m; Effective radius of feature
+  0; 19;   3;    0;           0;    8;       m s-1; Wind speed threshold
+  0; 19;   4;   -2;           0;   12;           m; Effective radius with respect to wind speeds above threshold
+  0; 19;   5;    0;           0;    9; Degree_true; Direction of motion of feature
+  0; 19;   6;    2;           0;   14;       m s-1; Speed of motion of feature
+  0; 19;   7;   -3;           0;   12;           m; Effective radius of feature
+  0; 19;   8;    0;           0;    3;  Code_Table; Vertical extent of circulation
+  0; 19;   9;   -3;           0;   12;           m; Effective radius with respect to wind speeds above threshold (large storms)
+  0; 19;  10;    0;           0;    4;  Code_Table; Method for tracking the centre of synoptic feature
+# Class 20 - Observed phenomena
+  0; 20;   1;   -1;           0;   13;           m; Horizontal visibility
+  0; 20;   2;   -1;           0;    7;           m; Vertical visibility
+  0; 20;   3;    0;           0;    9;  Code_Table; Present weather (see note 1)
+  0; 20;   4;    0;           0;    5;  Code_Table; Past weather (1) (see note 2)
+  0; 20;   5;    0;           0;    5;  Code_Table; Past weather (2) (see note 2)
+  0; 20;   8;    0;           0;    5;  Code_Table; Cloud distribution for aviation
+  0; 20;   9;    0;           0;    4;  Code_Table; General Weather Indicator (TAF/METAR)
+  0; 20;  10;    0;           0;    7;           %; Cloud cover (total)
+  0; 20;  11;    0;           0;    4;  Code_Table; Cloud amount
+  0; 20;  12;    0;           0;    6;  Code_Table; Cloud type
+  0; 20;  13;   -1;         -40;   11;           m; Height of base of cloud
+  0; 20;  14;   -1;         -40;   11;           m; Height of top of cloud
+  0; 20;  15;   -1;           0;   14;          Pa; Pressure at base of cloud
+  0; 20;  16;   -1;           0;   14;          Pa; Pressure at top of cloud
+  0; 20;  17;    0;           0;    4;  Code_Table; Cloud top description
+  0; 20;  18;    0;           0;    2;  Code_Table; Tendency of runway visual range
+  0; 20;  19;    0;           0;   72;   CCITT_IA5; Significant present or forecast weather
+  0; 20;  20;    0;           0;   32;   CCITT_IA5; Significant recent weather phenomena
+  0; 20;  21;    0;           0;   30;  Flag_Table; Type of precipitation
+  0; 20;  22;    0;           0;    4;  Code_Table; Character of precipitation
+  0; 20;  23;    0;           0;   18;  Flag_Table; Other weather phenomena
+  0; 20;  24;    0;           0;    3;  Code_Table; Intensity of phenomena
+  0; 20;  25;    0;           0;   21;  Flag_Table; Obscuration
+  0; 20;  26;    0;           0;    4;  Code_Table; Character of obscuration
+  0; 20;  27;    0;           0;    9;  Flag_Table; Phenomena occurrence
+  0; 20;  31;    2;           0;    7;           m; Ice deposit (thickness)
+  0; 20;  32;    0;           0;    3;  Code_Table; Rate of ice accretion
+  0; 20;  33;    0;           0;    4;  Flag_Table; Cause of ice accretion
+  0; 20;  34;    0;           0;    5;  Code_Table; Sea ice concentration
+  0; 20;  35;    0;           0;    4;  Code_Table; Amount and type of ice
+  0; 20;  36;    0;           0;    5;  Code_Table; Ice situation
+  0; 20;  37;    0;           0;    5;  Code_Table; Ice development
+  0; 20;  38;    0;           0;   12; Degree_true; Bearing of ice edge (see note 3)
+  0; 20;  39;   -1;           0;   13;           m; Ice distance
+  0; 20;  41;    0;           0;    4;  Code_Table; Airframe icing
+  0; 20;  51;    0;           0;    7;           %; Amount of low clouds
+  0; 20;  52;    0;           0;    7;           %; Amount of middle clouds
+  0; 20;  53;    0;           0;    7;           %; Amount of high clouds
+  0; 20;  61;    0;           0;   12;           m; Runway visual range (RVR)
+  0; 20;  62;    0;           0;    5;  Code_Table; State of the ground (with or without snow)
+  0; 20;  63;    0;           0;   10;  Code_Table; Special phenomena
+  0; 20;  70;    0;           0;    7;     Numeric; Minimum number of atmospherics
+  0; 20;  71;    0;           0;    4;  Code_Table; Accuracy of fix and rate of atmospherics
+  0; 20;  81;    0;           0;    7;           %; Cloud amount in segment
+  0; 20;  82;    0;           0;    7;           %; Amount segment cloud free
+  0; 20;  90;    0;           0;    4;  Code_Table; Special clouds
+# Class 21 - Radar data
+  0; 21;   1;    0;         -64;    7;          dB; Horizontal reflectivity
+  0; 21;   2;    0;         -64;    7;          dB; Vertical reflectivity
+  0; 21;   3;    1;          -5;    7;          dB; Differential reflectivity
+  0; 21;   5;    0;         -65;    6;          dB; Linear depolarisation ratio 
+  0; 21;   6;    0;         -65;    6;          dB; Circular depolarisation ratio 
+  0; 21;  11;    0;        -128;    8;       m s-1; Doppler mean velocity in X-direction
+  0; 21;  12;    0;        -128;    8;       m s-1; Doppler mean velocity in Y-direction
+  0; 21;  13;    0;        -128;    8;       m s-1; Doppler mean velocity in Z-direction
+  0; 21;  14;    1;       -4096;   13;       m s-1; Doppler mean velocity (radial)
+  0; 21;  17;    1;           0;    8;       m s-1; Doppler velocity spectral width
+  0; 21;  21;   -3;           0;    4;           m; Echo tops 
+  0; 21;  30;    0;         -32;    8;          dB; Signal to noise ratio
+  0; 21;  31;    0;           0;    7;      kg m-2; Vertically integrated liquid-water content
+  0; 21;  36;    7;           0;   12;       m s-1; Radar rainfall intensity 
+  0; 21;  41;   -2;           0;    8;           m; Bright-band height 
+  0; 21;  51;    0;        -256;    8;          dB; Signal power above 1 mW
+  0; 21;  62;    2;       -5000;   13;    Decibels; Backscatter
+  0; 21;  63;    1;           0;   10;           %; Radiometric resolution (noise value)
+  0; 21;  64;    0;           0;    8;     Numeric; Clutter noise estimate
+  0; 21;  65;    0;        -127;    8;     Numeric; Missing packet counter
+  0; 21;  66;    0;           0;   12;  Flag_Table; Wave scatterometer product confidence data
+  0; 21;  67;    0;           0;   13;  Flag_Table; Wind product confidence data
+  0; 21;  68;    0;           0;    8;  Flag_Table; Radar altimeter product confidence data
+  0; 21;  69;    0;           0;   10;  Flag_Table; SST product confidence data
+  0; 21;  70;    0;           0;   23;  Flag_Table; SST product confidence data (SADIST-2)
+  0; 21;  71;    0;           0;   16;     Numeric; Peakiness
+  0; 21;  72;    0;           0;    4;  Flag_Table; Satellite altimeter calibration status
+  0; 21;  73;    0;           0;    9;  Flag_Table; Satelllite altimeter instrument mode
+  0; 21;  75;    0;           0;    8;     Numeric; Image spectrum intensity
+  0; 21;  76;    0;           0;    3;  Code_Table; Representation of intensities
+  0; 21;  77;    3;           0;   14;           m; Altitude correction (ionosphere)
+  0; 21;  78;    3;           0;    9;           m; Altitude correction (dry troposphere)
+  0; 21;  79;    3;        2000;   10;           m; Altitude correction (wet troposphere)
+  0; 21;  80;    3;           0;   11;           m; Altitude correction (calibration constant)
+  0; 21;  81;    3;           0;   10;           m; Open loop correction (height-time loop)
+  0; 21;  82;    3;       -3000;   14;          dB; Open loop correction (auto gain control)
+  0; 21;  85;    0;           0;    4;     Numeric; ATSR sea surface temperature across- track band number
+  0; 21;  91;    0;        -100;    8;          dB; Radar signal Doppler spectrum 0th moment
+  0; 21;  92;    0;        -100;    8;          dB; "RASS signal Doppler spectrum 0th moment, referring to RASS signal"
+  0; 21; 101;    0;           0;    3;     Numeric; Number of vector ambiguities
+  0; 21; 102;    0;           0;    3;     Numeric; Index of selected wind vector
+  0; 21; 103;    0;           0;    5;     Numeric; Total number of sigma-0 measurements
+  0; 21; 104;    3;      -30000;   15;     Numeric; Likelihood computed for solution
+  0; 21; 105;    2;      -10000;   14;          dB; Normalized radar cross-section
+  0; 21; 106;    3;           0;   14;     Numeric; Kp variance coefficient (Alpha)
+  0; 21; 107;    8;           0;   16;     Numeric; Kp variance coefficient (Beta)
+  0; 21; 109;    0;           0;   17;  Flag_Table; SEAWINDS wind vector cell quality
+  0; 21; 110;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (forward of satellite)
+  0; 21; 111;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (forward of satellite)
+  0; 21; 112;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (aft of satellite)
+  0; 21; 113;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (aft of satellite)
+  0; 21; 114;    3;     -140000;   18;          dB; Kp variance coefficent (Gamma)
+  0; 21; 115;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 quality
+  0; 21; 116;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 mode
+  0; 21; 117;    2;           0;   16;     Numeric; Sigma-0 variance quality control
+  0; 21; 118;    2;      -10000;   14;          dB; Attenuation correction on sigma-0
+  0; 21; 119;    0;           0;    6;  Code_Table; Wind scatterometer geophysical model function
+  0; 21; 120;    3;           0;   10;     Numeric; Probability of rain
+  0; 21; 121;    0;           0;    8;     Numeric; SEAWINDS NOF* rain index
+  0; 21; 122;    2;      -10000;   14;          dB; Attenuation correction of sigma-0 (from tB)
+  0; 21; 123;    2;      -30000;   15;          dB; SEAWINDS normalized radar cross section
+# Class 22 - Oceanographic elements
+  0; 22;   1;    0;           0;    9; Degree_true; Direction of waves 
+  0; 22;   2;    0;           0;    9; Degree_true; Direction of wind waves 
+  0; 22;   3;    0;           0;    9; Degree_true; Direction of swell waves 
+  0; 22;   4;    0;           0;    9; Degree_true; Direction of current 
+  0; 22;  11;    0;           0;    6;           s; Period of waves 
+  0; 22;  12;    0;           0;    6;           s; Period of wind waves 
+  0; 22;  13;    0;           0;    6;           s; Period of swell waves 
+  0; 22;  21;    1;           0;   10;           m; Height of waves 
+  0; 22;  22;    1;           0;   10;           m; Height of wind waves 
+  0; 22;  23;    1;           0;   10;           m; Height of swell waves 
+  0; 22;  25;    2;           0;   10;           m; Standard deviation wave height
+  0; 22;  26;    2;           0;   10;           m; Standard deviation of significant wave height
+  0; 22;  31;    2;           0;   13;       m s-1; Speed of current 
+  0; 22;  35;    2;           0;   14;           m; Tidal elevation with respect to local chart datum
+  0; 22;  36;    2;           0;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  37;    3;      -10000;   15;           m; Tidal elevation with respect to national land datum
+  0; 22;  38;    3;      -10000;   15;           m; Tidal elevation with respect to local chart datum
+  0; 22;  39;    3;       -5000;   12;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  40;    3;       -5000;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  41;    1;           0;   12;           K; Sea-surface temperature (15-day running mean)
+  0; 22;  42;    1;           0;   12;           K; Sea/water temperature
+  0; 22;  43;    2;           0;   15;           K; Sea/water temperature
+  0; 22;  44;    1;           0;   14;       m s-1; Sound velocity 
+  0; 22;  45;    3;           0;   19;           K; Sea/water temperature
+  0; 22;  50;    2;           0;    8;           K; Standard deviation sea-surface temperature
+  0; 22;  55;    0;           0;   10;     Numeric; Float cycle number
+  0; 22;  56;    0;           0;    2;  Code_Table; Direction of profile
+  0; 22;  61;    0;           0;    4;  Code_Table; State of the sea 
+  0; 22;  62;    2;           0;   14;Part per thousand; Salinity
+  0; 22;  63;    0;           0;   14;           m; Total water depth 
+  0; 22;  64;    3;           0;   17;Part per thousand; Salinity
+  0; 22;  65;   -3;           0;   17;          Pa; Water pressure
+  0; 22;  66;    6;           0;   26;       S m-1; Water conductivity
+  0; 22;  67;    0;           0;   10;  Code_Table; Instrument type for water temperature profile measurement
+  0; 22;  68;    0;           0;    7;  Code_Table; Water temperature profile recorder types
+  0; 22;  70;    2;           0;   13;           m; Significant wave height
+  0; 22;  71;    1;           0;    9;           s; Spectral peak wave period
+  0; 22;  72;    0;           0;   13;           m; Spectral peak wave length
+  0; 22;  73;    2;           0;   13;           m; Maximum wave height
+  0; 22;  74;    1;           0;    9;           s; Average wave period
+  0; 22;  75;    0;           0;   13;           m; Average wave length
+  0; 22;  76;    0;           0;    9; Degree_true; Direction from which dominant waves are coming
+  0; 22;  77;    0;           0;    9;      Degree; Directional spread of dominant wave
+  0; 22;  78;    0;           0;   12;           s; Duration of wave record
+  0; 22;  79;    0;           0;   16;           m; Length of wave record
+  0; 22;  80;    3;           0;   10;          Hz; Waveband central frequency
+  0; 22;  81;    5;           0;   13;         m-1; Waveband central wave number
+  0; 22;  82;    2;           0;   20;        m2 s; Maximum non-directional spectral wave density
+  0; 22;  83;    2;           0;   20;          m3; Maximum non-directional spectral wave number
+  0; 22;  84;    0;           0;    7;     Numeric; Band containing maximum non- directional spectral wave density
+  0; 22;  85;    0;           0;    7;     Numeric; Spectral wave density ratio
+  0; 22;  86;    0;           0;    9; Degree_true; Mean direction from which waves are coming
+  0; 22;  87;    0;           0;    9; Degree_true; Principal direction from which waves are coming
+  0; 22;  88;    2;           0;    7;     Numeric; First normalized polar coordinate from Fourier coefficients
+  0; 22;  89;    2;           0;    7;     Numeric; Second normalized polar coordinate from Fourier coefficients
+  0; 22;  90;    2;           0;   20;        m2 s; Non-directional spectral estimate by wave frequency
+  0; 22;  91;    2;           0;   20;          m3; Non-directional spectral estimate by wave number
+  0; 22;  92;    2;           0;   20;  m2 rad-1 s; Directional spectral estimate by wave frequency
+  0; 22;  93;    2;           0;   20;          m4; Directional spectral estimate by wave number
+  0; 22;  94;    0;           0;    7;     Numeric; Total number of wave bands
+  0; 22;  95;    0;           0;    8;      Degree; Directional spread of individual waves
+  0; 22;  96;    3;           0;    4;         s-1; Spectral band width
+  0; 22;  97;    0;           0;   14;           m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0; 22;  98;    0;           0;   14;           m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0; 22;  99;    0;           0;    9; Degree_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0; 22; 100;    0;           0;    9;      Degree; Direction spread at low wave numbers(wavelength > 731 m)
+  0; 22; 101;    0;           0;   31;     Numeric; Total energy (wavelength > 731m) at low wave numbers
+  0; 22; 120;    0;           0;    5;  Code_Table; Tide station automated water level check
+  0; 22; 121;    0;           0;    5;  Code_Table; Tide station manual water level check
+  0; 22; 122;    0;           0;    5;  Code_Table; Tide station automated meteorological data check
+  0; 22; 123;    0;           0;    5;  Code_Table; Tide station manual meteorological data check
+  0; 22; 141;    2;           0;   15;           K; Sea-surface temperature (15-day running mean)
+# Class 23 - Dispersal and transport
+  0; 23;   1;    0;           0;    3;  Code_Table; Accident early notification  article applicable
+  0; 23;   2;    0;           0;    5;  Code_Table; Activity or facility involved in incident
+  0; 23;   3;    0;           0;    3;  Code_Table; Type of release 
+  0; 23;   4;    0;           0;    3;  Code_Table; Countermeasures taken near border
+  0; 23;   5;    0;           0;    2;  Code_Table; Cause of incident 
+  0; 23;   6;    0;           0;    3;  Code_Table; Incident situation 
+  0; 23;   7;    0;           0;    3;  Code_Table; Characteristics of release
+  0; 23;   8;    0;           0;    2;  Code_Table; State of current release 
+  0; 23;   9;    0;           0;    2;  Code_Table; State of expected release 
+  0; 23;  16;    0;           0;    2;  Code_Table; Possibility of significant chemical toxic health effect
+  0; 23;  17;    6;           0;   20;     m3 s-1 ; Flow discharge of major recipient
+  0; 23;  18;    0;           0;    3;  Code_Table; Release behaviour over time
+  0; 23;  19;    0;      -15000;   17;           m; Actual release height
+  0; 23;  21;    0;      -15000;   17;           m; Effective release height
+  0; 23;  22;    0;           0;   24;           m; Distance of release point or site of incident
+  0; 23;  23;    1;           0;   12;     m s-1  ; Main transport speed in the atmosphere
+  0; 23;  24;    2;           0;   13;     m s-1  ; Main transport speed in water
+  0; 23;  25;    2;           0;   13;     m s-1  ; Main transport speed in ground water
+  0; 23;  27;    0;           0;    9; Degree_true; Main transport direction in the atmosphere
+  0; 23;  28;    0;           0;    9; Degree_true; Main transport direction in water
+  0; 23;  29;    0;           0;    9; Degree_true; Main transport direction in ground water
+  0; 23;  31;    0;           0;    2;  Code_Table; Possibility that plume will encounter precipitation in State in which incident occurred
+  0; 23;  32;    0;           0;    2;  Code_Table; Plume will encounter change in wind direction and/or speed flag
+# Class 24 - Radiological elements
+  0; 24;   1;  -11;           0;   28;         Bq*; Estimate of amount of radioactivity released up to specified time
+  0; 24;   2;  -11;           0;   28;          Bq; Estimated maximum potential release
+  0; 24;   3;    0;           0;    5;  Code_Table; Composition of release
+  0; 24;   4;    0;           0;   16;   CCITT_IA5; Element name
+  0; 24;   5;    0;           0;    9;     Numeric; Isotope mass
+  0; 24;  11;    2;           0;   32;     mSv*/**; Dose
+  0; 24;  12;    2;           0;   32;         mSv; Trajectory dose (defined location and expected time of arrival)
+  0; 24;  13;    2;           0;   32;         mSv; Gamma dose in air along the main transport path (defined location and time period)
+  0; 24;  21;    2;           0;   32;      Bq m-3; Air concentration (of named isotope type including gross beta)
+  0; 24;  22;    2;           0;   32;      Bq 1-1; Concentration in precipitation (of names isotope type)
+  0; 24;  23;    1;           0;   14;         s-1; Pulse rate of beta radiation
+  0; 24;  24;    1;           0;   14;         s-1; Pulse rate of gamma radiation
+# Class 25 - Processing information
+  0; 25;   1;   -1;           0;    6;           m; Range-gate length
+  0; 25;   2;    0;           0;    4;     Numeric; Number of gates averaged
+  0; 25;   3;    0;           0;    8;     Numeric; Number of integrated pulses
+  0; 25;   4;    0;           0;    2;  Code_Table; Echo processing
+  0; 25;   5;    0;           0;    2;  Code_Table; Echo integration
+  0; 25;   6;    0;           0;    3;  Code_Table; Z to R conversion
+  0; 25;   7;    0;           0;   12;     Numeric; Z to R conversion factor
+  0; 25;   8;    2;           0;    9;     Numeric; Z to R conversion exponent
+  0; 25;   9;    0;           0;    4;  Flag_Table; Calibration method
+  0; 25;  10;    0;           0;    4;  Code_Table; Clutter treatment
+  0; 25;  11;    0;           0;    2;  Code_Table; Ground occultation correction (screening)
+  0; 25;  12;    0;           0;    2;  Code_Table; Range attenuation correction
+  0; 25;  13;    0;           0;    2;  Flag_Table; Bright-band correction
+  0; 25;  14;    0;           0;   12;     Numeric; Azimuth clutter cut-off (see Note)
+  0; 25;  15;    0;           0;    2;  Flag_Table; Radome attenuation correction
+  0; 25;  16;    5;           0;    6;      dB m-1; Clear-air attenuation correction
+  0; 25;  17;    0;           0;    2;  Flag_Table; Precipitation attenuation correction
+  0; 25;  18;    7;           0;    6;     Numeric; A to Z law for attenuation factor
+  0; 25;  19;    2;           0;    7;     Numeric; A to Z law for attenuation exponent
+  0; 25;  20;    0;           0;    2;  Code_Table; Mean speed estimation
+  0; 25;  21;    0;           0;    8;  Flag_Table; Wind computation enhancement
+  0; 25;  25;    1;           0;    9;           V; Battery voltage
+  0; 25;  30;    0;           0;    2;  Code_Table; Running mean sea-surface temperature usage
+  0; 25;  32;    0;           0;    2;  Code_Table; Wind profiler mode information*
+  0; 25;  33;    0;           0;    2;  Code_Table; Wind profiler submode information*
+  0; 25;  34;    0;           0;    4;  Flag_Table; Wind profiler quality control test results* 
+  0; 25;  36;    0;           0;    4;  Code_Table; Atmospherics location method
+  0; 25;  40;    0;           0;    4;  Code_Table; CO2 wind product derivation
+  0; 25;  41;    0;           0;    2;  Code_Table; Moving platform direction reporting method
+  0; 25;  42;    0;           0;    2;  Code_Table; Moving platform speed reporting method
+  0; 25;  43;    4;           0;   15;           s; Wave sampling interval (time)
+  0; 25;  44;    2;           0;   14;           m; Wave sampling interval (space)
+  0; 25;  45;    0;           0;   21;  Flag_Table; HIRS channel combination
+  0; 25;  46;    0;           0;    5;  Flag_Table; MSU channel combination
+  0; 25;  47;    0;           0;    4;  Flag_Table; SSU channel combination
+  0; 25;  48;    0;           0;   16;  Flag_Table; AMSU-A channel combination
+  0; 25;  49;    0;           0;    6;  Flag_Table; AMSU-B channel combination
+  0; 25;  51;    0;           0;    7;  Flag_Table; AVHRR channel combination
+  0; 25;  53;    0;           0;   12;  Flag_Table; Observation quality
+  0; 25;  60;    0;           0;   14;     Numeric; Software identification
+  0; 25;  70;    0;           0;    4;     Numeric; Major frame count
+  0; 25;  71;    0;           0;    5;     Numeric; Frame count
+  0; 25;  75;    0;           0;    5;     Numeric; Satellite antenna corrections version number
+  0; 25;  76;    8;           0;   30;     Log m-1; Log-10 of (Temperature-radiance central wavenumber) for ATOVS
+  0; 25;  77;    5;     -100000;   18;     Numeric; Bandwidth correction coefficient 1 for ATOVS
+  0; 25;  78;    5;           0;   17;     Numeric; Bandwidth correction coefficient 2 for ATOVS
+  0; 25;  79;    4;           0;   24;       W m-2; Albedo-radiance solar filtered irradiance for ATOVS
+  0; 25;  80;   10;           0;   14;           m; Albedo-radiance equivalent filter width for ATOVS
+  0; 25;  85;    0;           0;    7;     Numeric; Fraction of clear pixels in HIRS FOV
+  0; 25;  86;    0;           0;    2;  Code_Table; Depth correction indicator
+  0; 25;  91;    3;      -18192;   13;          dB; Structure constant of the refraction index (cn2)
+  0; 25;  92;    2;       28000;   14;       m s-1; Acoustic propagation velocity
+  0; 25;  93;    0;           0;    8;  Flag_Table; RASS computation correction
+  0; 25; 100;    5;           0;   20;     Numeric; XBT/XCTD fall rate equation coefficient a
+  0; 25; 101;    5;     -500000;   21;     Numeric; XBT/XCTD fall rate equation coefficient b
+# Class 26 - Non-coordinate location (time)
+  0; 26;   1;    1;           0;   12;        Hour; Principal time of daily reading in UTC of maximum temperature
+  0; 26;   2;    1;           0;   12;        Hour; Principal time of daily reading in UTC of minimum temperature
+  0; 26;   3;    0;       -1440;   12;      Minute; Time difference
+  0; 26;  10;    0;           0;   26;  Flag_Table; Hours included
+# Class 27 - Non-coordinate location (horizontal - 1
+  0; 27;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0; 27;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0; 27;   3;    2;       -9000;   15;      Degree; Alternate latitude (coarse accuracy)
+  0; 27;   4;    5;    -9000000;   25;      Degree; Alternate latitude (high accuracy)
+  0; 27;  20;    0;           0;   16;     Numeric; Satellite location counter
+  0; 27;  21;    0;           0;   16;     Numeric; Satellite sublocation dimension
+  0; 27;  31;    2; -1073741824;   31;           m; "In direction of 0 degrees longitude, distance from the Earths centre"
+# Class 28 - Non-coordinate location (horizontal - 2)
+  0; 28;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0; 28;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0; 28;   3;    2;      -18000;   16;      Degree; Alternate longitude (coarse accuracy)
+  0; 28;   4;    5;   -18000000;   26;      Degree; Alternate longitude (high accuracy)
+  0; 28;  31;    2; -1073741824;   31;           m; "In direction 90 degrees East, distance from the Earths centre"
+# Class 29 - Map data
+  0; 29;   1;    0;           0;    3;  Code_Table; Projection type
+  0; 29;   2;    0;           0;    3;  Code_Table; Co-ordinate grid type
+# Class 30 - Image
+  0; 30;   1;    0;           0;    4;     Numeric; Pixel value (4 bits)
+  0; 30;   2;    0;           0;    8;     Numeric; Pixel value (8 bits)
+  0; 30;   4;    0;           0;   16;     Numeric; Pixel value (16 bits)
+  0; 30;  21;    0;           0;   12;     Numeric; Number of pixels per row
+  0; 30;  22;    0;           0;   12;     Numeric; Number of pixels per column
+  0; 30;  31;    0;           0;    4;  Code_Table; Picture type
+  0; 30;  32;    0;           0;   16;  Flag_Table; Combination with other data
+# Class 31 - Data description operator qualifiers (this class does not exist in CREX
+  0; 31;   0;    0;           0;    1;     Numeric; Short delayed descriptor replication factor
+  0; 31;   1;    0;           0;    8;     Numeric; Delayed descriptor replication factor
+  0; 31;   2;    0;           0;   16;     Numeric; Extended delayed descriptor replication factor
+  0; 31;  11;    0;           0;    8;     Numeric; Delayed descriptor and data repetition factor
+  0; 31;  12;    0;           0;   16;     Numeric; Extended delayed descriptor and data repetition factor
+  0; 31;  21;    0;           0;    6;  Code_Table; Associated field significance
+  0; 31;  31;    0;           0;    1;  Flag_Table; Data present indicator
+# Class 33 - Quality information
+  0; 33;   2;    0;           0;    2;  Code_Table; Quality information
+  0; 33;   3;    0;           0;    3;  Code_Table; Quality information
+  0; 33;   7;    0;           0;    7;           %; Per cent confidence
+  0; 33;  20;    0;           0;    3;  Code_Table; Quality control indication of following value
+  0; 33;  21;    0;           0;    2;  Code_Table; Quality of following value
+  0; 33;  22;    0;           0;    2;  Code_Table; Quality of buoy satellite transmission
+  0; 33;  23;    0;           0;    2;  Code_Table; Quality of buoy location
+  0; 33;  24;    0;           0;    4;  Code_Table; Station elevation quality mark (for mobile stations)
+  0; 33;  25;    0;           0;    3;  Code_Table; ACARS interpolated values
+  0; 33;  26;    0;           0;    6;  Code_Table; Moisture quality
+  0; 33;  27;    0;           0;    3;  Code_Table; Location quality class (range of radius of 66 % confidence)
+  0; 33;  30;    0;           0;   24;  Flag_Table; Scan line status flags for ATOVS
+  0; 33;  31;    0;           0;   24;  Flag_Table; Scan line quality flags for ATOVS
+  0; 33;  32;    0;           0;   24;  Flag_Table; Channel quality flags for ATOVS
+  0; 33;  33;    0;           0;   24;  Flag_Table; Field of view quality flags for ATOVS
+  0; 33;  35;    0;           0;    4;  Code_Table; Manual/automatic quality control
+  0; 33;  36;    0;           0;    7;           %; Nominal confidence threshold
+  0; 33;  37;    0;           0;   20;  Flag_Table; Wind correlation error
+  0; 33;  40;    0;           0;    7;           %; Confidence interval
+  0; 33;  41;    0;           0;    2;  Code_Table; Attribute of following value
+# Class 35 - Data monitoring information
+  0; 35;   0;    0;           0;   10;  Code_Table; FM and regional code number
+  0; 35;   1;    0;           0;    3;  Code_Table; Time-frame for monitoring
+  0; 35;  11;    0;           0;   14;     Numeric; Number of reports actually received
+  0; 35;  21;    0;           0;   48;   Character; Bulletin being monitored (TTAAii)
+  0; 35;  22;    0;           0;   48;   Character; Bulletin being monitored (YYGGgg)
+  0; 35;  30;    0;           0;    4;  Code_Table; Discrepancies in the availability of expected data
+  0; 35;  31;    0;           0;    7;  Code_Table; Qualifier on monitoring results
+  0; 35;  32;    0;           0;    4;  Code_Table; Cause of missing data
+  0; 35;  33;    0;           0;    7;  Code_Table; Observation and collection deficiencies
+  0; 35;  34;    0;           0;    3;  Code_Table; Statistical trends for availability of data (during the survey period(s))
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-009-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-009-D
@@ -0,0 +1,2226 @@
+#
+# WMO source file name = BufrTabD-11-2000.txt
+# Master Table D Version 9
+#
+#-----------------------------------------------------
+# F X Y --> Table D descriptor being defined
+#      F X Y --> 
+#      F X Y --> descriptors defining sequence for
+#      F X Y --> corresponding Table D descriptor
+#      -1 --> end of sequence designator
+#------------------------------------------------------
+#  Category 00 - BUFR table entries sequences
+  3   0   2
+      0   0   2  "Table A category, line 1"
+      0   0   3  "Table A category, line 2"
+     -1
+  3   0   3
+      0   0  10  "F,  part descriptor"
+      0   0  11  "X,  part descriptor"
+      0   0  12  "Y,  part descriptor"
+     -1
+  3   0   4
+      3   0   3
+      0   0  13  "Element name, line 1"
+      0   0  14  "Element name, line 2"
+      0   0  15  Units name
+      0   0  16  Units scale sign
+      0   0  17  Units scale
+      0   0  18  Units reference sign
+      0   0  19  Units reference value
+      0   0  20  Element data width
+     -1
+  3   0  10
+      3   0   3  Table D descriptor to be defined
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      0   0  30  Descriptor defining sequence
+     -1
+#  Category 01 - Location and Identification sequences
+  3   1   1
+      0   1   1  WMO block number
+      0   1   2  WMO station number
+     -1
+  3   1   2
+      0   1   3  WMO Region number
+      0   1   4  WMO Region sub-area
+      0   1   5  Buoy/platform identifier
+     -1
+  3   1   3
+      0   1  11  Ship's call sign
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+     -1
+  3   1  11
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+     -1
+  3   1  12
+      0   4   4  Hour
+      0   4   5  Minute
+     -1
+  3   1  13
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+     -1
+  3   1  21
+      0   5   1  Latitude  - high accuracy
+      0   6   1  Longitude - high accuracy
+     -1
+  3   1  22
+      0   5   1  Latitude - high accuracy
+      0   6   1  Longitude - high accuracy
+      0   7   1  Height of station
+     -1
+  3   1  23
+      0   5   2  Latitude - coarse accuracy
+      0   6   2  Longitude - coarse accuracy
+     -1
+  3   1  24
+      0   5   2  Latitude - coarse accuracy
+      0   6   2   - coarse accuracy
+      0   7   1  Height of station
+     -1
+  3   1  25
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   4   3  Day
+      3   1  12  Time
+     -1
+  3   1  26
+      3   1  21  Latitude and longitude (high accuracy)
+      0   4   3
+      0   4   3  (Time period in days)
+      0   4   4
+      0   4   4  (Time period in hours)
+      0   4   5
+      0   4   5  (Time period in minutes)
+     -1
+  3   1  31
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high  accuracy), height of station"
+     -1
+  3   1  32
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Buoy/platform  fixed)
+  3   1  33
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  34
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  moving)
+  3   1  35
+      0   1   5  Buoy/platform identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Ship)
+  3   1  36
+      3   1   3  Ship's call sign and motion
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Land station for vertical soundings)
+  3   1  37
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high accuracy), height of station"
+     -1
+#  (Land station for vertical soundings)
+  3   1  38
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Ship for vertical soundings)
+  3   1  39
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+  3   1  40
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+  3   1  41
+      0   1   7  Satellite identifier
+      0   2  21  Satellite instrument data used in processing
+      0   2  22  Satellite data processing technique used
+      3   1  11  Date
+      3   1  12  Time
+     -1
+  3   1  42
+      3   1  41  "Satellite identifier, data used, and data processing technique; date/time"
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  43
+      0   1   7  Satellite identifier
+      0   2  23  Cloud motion computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+  3   1  44
+      0   1   7  Satellite identifier
+      0   2  24  Integrated mean humidity computational method
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  (Satellite location and velocity)
+  3   1  45
+      3   1  11  "Year, month, day"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   4  30  Location relative to the Earths centre
+      3   4  31  Velocity relative to the Earths centre
+     -1
+  3   1  46
+      0   1   7  Satellite identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   2  48  Satellite sensor indicator
+      0  21 119  Wind scatterometer geophysical model function
+      0  25  60  Software identification
+      2   2 124  Change scale
+      0   2  26  Cross-track resolution
+      0   2  27  Along-tract resolution
+      2   2   0  Change scale back to Table B
+      0   5  40  Orbit number
+     -1
+#  (ERS product header)
+  3   1  47
+      0   1   7  Satellite identifier
+      0  25  60  Software identification
+      0   1  33  Originating/generating centre
+      0   1  34  Originating/generating sub-centre
+      0   1  12  Direction of motion of moving observation platform
+      3   1  45  Satellite location and velocity
+      0   2  21  Satellite instrument data used in processing
+      3   1  11  "Date (year, month, day)"
+      3   1  12  "Time (hour, minute)"
+      2   1 138  Change bit width to 16 bits
+      2   2 131  Change scale to 3
+      0   4   6  Second
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+      3   1  23  "Location (latitude, longitude)"
+     -1
+#  (Radar parameters)
+  3   1  48
+      0   2 104  Antenna polarization
+      0   2 121  Mean frequency
+      0   2 113  Number of azimuth looks
+      0   2  26  Cross-track resolution
+      0   2  27  Along-track resolution
+      0   2 111  Radar incidence angle
+      0   2 140  Satellite radar beam azimuth angle
+      2   2 127  Change scale to 1
+      0   1  13  Radar platform velocity
+      2   2 126  Change scale to 2
+      0   7   1  Radar platform altitude
+      2   2   0  Change scale to Table B
+      0  25  10  Clutter treatment
+      0  21  64  Clutter noise estimate
+     -1
+#  (Radar beam data)
+  3   1  49
+      0   2 111  Radar incidence angle
+      0   2 112  Radar look angle
+      0  21  62  Backscatter
+      0  21  63  Radiometric resolution (Noise value)
+      0  21  65  Missing packet counter
+     -1
+  3   1  51
+      0   1   6  Aircraft identifier
+      0   2  61  Navigational system
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  "Latitude, longitude"
+      0   8   4  Phase of aircraft flight
+     -1
+  3   1  55
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+     -1
+#  (Radar location(s))
+  3   1  62
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   1   1  WMO block and station number
+     -1
+#  (ACARS identification)
+  3   1  65
+      0   1   6  Aircraft flight number (see Note)
+      0   1   8  Aircraft registration number (see Note)
+      0   2   1  Type of station
+      0   2   2  Type of instrumentation for wind measurement
+      0   2   5  Precision of temperature observation
+      0   2  62  Type of aircraft data relay system
+      0   2  70  Original specification of latitude/longitude
+      0   2  65  ACARS ground receiving station
+     -1
+#  (ACARS location)
+  3   1  66
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   7   4  Pressure
+      0   2  64  Aircraft roll angle quality
+      0   8   4  Phase of aircraft flight
+     -1
+#  (Satellite identifier/Generating resolution)
+  3   1  71
+      0   1   7  Satellite identifier
+      0   1  31  Generating centre
+      0   2  20  Satellite classification
+      0   2  28  Segment size at nadir in X direction
+      0   2  29  Segment size at nadir in Y direction
+     -1
+#  (Satellite identification)
+  3   1  72
+      3   1  71  "Satellite identification, Generation resolution"
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  Category 02 - Meteorological sequences common to surface data
+  3   2   1
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (High altitude station)
+  3   2   2
+      0  10   4  Pressure (at station level)
+      0   7   4  Pressure level
+      0  10   3  Geopotential of pressure level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+  3   2   3
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Temperature (2 m)
+      0  12   6  Dew point (2 m)
+      0  13   3  Relative humidity
+      0  20   1  Horizontal visibility
+      0  20   3  Present weather
+      0  20   4  Past weather (1)
+      0  20   5  Past weather (2)
+     -1
+#  (General cloud information)
+  3   2   4
+      0  20  10  Cloud cover (total)
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  13  Height of base of cloud
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+     -1
+  3   2   5
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0  20  13  Height of base of cloud
+     -1
+  3   2   6
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  62  24-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (Low altitude station)
+  3   2  11
+      3   2   1  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud layer
+     -1
+#  (High altitude station)
+  3   2  12
+      3   2   2  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud information
+     -1
+  3   2  13
+      3   2   6  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   2   5  Cloud layer information
+     -1
+  3   2  21
+      0  22   1  Direction of waves
+      0  22  11  Period of waves
+      0  22  21  Height of waves
+     -1
+  3   2  22
+      0  22   2  Direction of wind waves
+      0  22  12  Period of wind waves
+      0  22  22  Height of wind waves
+     -1
+  3   2  23
+      0  22   3  Direction of swell waves
+      0  22  13  Period of swell waves
+      0  22  23  Height of swell waves
+     -1
+  3   2  24
+      3   2  22  Wind waves
+      1   1   2  Replicate 1 descriptor 2 times
+      3   2  23  Swell waves (2 systems of swell)
+     -1
+  3   2  51
+      0  10   4  Pressure
+      0  10  51  Pressure reduced to mean sea level
+      0   7   4  Pressure (vertical location)
+      0  10   3  Geopotential
+      0  12   4  Dry-bulb temperature at 2 m
+      0  12  51  Standard deviation temperature
+      0  12  16  "Maximum temperature at 2 m, past 24 hours"
+      0  12  17  "Minimum temperature at 2 m, past 24 hours"
+      0  13   4  Vapour pressure
+      1   2   4  Replicate 2 descriptors 4 times
+      0   8  51  Qualifier for number of missing values in calculation of statistic
+      0   8  20  Total number of missing entities (with respect to accumulation or average)
+     -1
+#  Category 03 - Meteorological sequences common to vertical soundings data
+  3   3   1
+      0   7   3  Geopotential
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   2
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   3
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+     -1
+  3   3   4
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  11
+      0   7   3  Geopotential
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  12
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  13
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  13   3  Relative humidity
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  14
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  21
+      0   7   4  Pressure (1)
+      0   7   4  Pressure (2)     defines layer
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+     -1
+  3   3  22
+      3   3  21  "Layer, quality"
+      0  10   3  Geopotential (layer mean thickness)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  23
+      3   3  21  "Layer, quality"
+      0  12   1  Temperature (layer mean)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  24
+      3   3  21  "Layer, quality"
+      0  13  16  Precipitation water
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  25
+      0   2  25  Satellite channel
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12  63  Brightness temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  26
+      0   7   4  Pressure
+      0   8   3  Vertical significance
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12   1  Temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  27
+      0   7   4  Pressure
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  10   3  Geopotential
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  31
+      0   7   4  Pressure
+      0   8   3  Vertical significance (base of sounding)
+      0   7  21  Elevation (local zenith)
+      0   7  22  Solar elevation (solar zenith)
+      0   8  12  Land/sea qualifier
+      0  12  61  Skin temperature
+     -1
+  3   3  32
+      0  20  11  Cloud amount
+      0  20  16  Pressure at top of cloud
+     -1
+  3   3  33
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at the top of cloud
+     -1
+#  (Wind sequence)
+  3   3  41
+      0   2 152  Geostationary satellite instrument used
+      0   2  23  Cloud motion computational method
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  71  Coldest cluster T
+     -1
+#  Category 04 - Meteorological sequences common to satellite observations
+  3   4   1
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   2
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   3
+      0   8   3  Vertical significance
+      0  12   1  Temperature
+     -1
+  3   4   4
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  20  10  Cloud cover (total)
+      0  12   1  Temperature
+     -1
+  3   4   5
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure(1)
+      0   7   4  Pressure (2)    defines layer
+      0  13   3  Relative humidity
+     -1
+  3   4   6
+      0  14   1  Outgoing long-wave radiation
+      0  14   1  Incoming long-wave radiation
+      0  14   3  Outgoing short-wave radiation
+     -1
+#  (GOES-I/M info)
+  3   4  11
+      0   2 163  Height assignment method
+      0   2 164  Tracer correlation method
+      0   8  12  Land/sea qualifier
+      0   7  24  Satellite zenith angle
+      0   2  57  Origin of first guess information
+      0   8  21  Time significance
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   8  21  Time significance
+      0   4  24  Time period or displacement
+      1  10   4  Replicate 10 descriptors 4 times
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      1   3  10  Replicate 3 descriptors 10 times
+      0   2 163  Height assignment method
+      0   7   4  Pressure
+      0  12   1  Temperature
+     -1
+#  (Location of platform)
+  3   4  30
+      0  27  31  "In direction of 0 degree longitude, distance from the Earths centre"
+      0  28  31  "In direction of 90 degrees East longitude, distance from the Earths centre"
+      0  10  31  "In direction of North Pole, distance from Earths centre"
+     -1
+#  (Speed of platform)
+  3   4  31
+      0   1  41  Absolute platform velocity  first component
+      0   1  42  Absolute platform velocity  second component
+      0   1  43  Absolute platform velocity  third component
+     -1
+#  (Cloud fraction)
+  3   4  32
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  20  81  Cloud amount in segment
+      0  20  82  Amount segment cloud free
+      0  20  12  Cloud type
+     -1
+#  (Clear sky radiance)
+  3   4  33
+      0   2 152  Satellite instrument used in data processing
+      0   2 166  Radiance type
+      0   2 167  Radiance computational method
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  75  Spectral radiance
+      0  12  76  Radiance
+      0  12  63  Brightness temperature
+     -1
+#  0
+  3   4  34
+      1   2   4  Replicating next two descriptors 4 times
+      0  27   1  Latitude (high accuracy)
+      0  28   1  Longitude (high accuracy)
+      0   7  22  Solar elevation
+      0   5  43  Field of view number
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at top of cloud
+      0  33   3  Quality information table
+      0  10  40  Number of retrieved layers
+     -1
+#  Category 06 - Meteorological or oceanographic sequences common to oceanographic observations
+  3   6   1
+      0   2  32  Indicator for digitization
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  42  Subsurface sea temperature
+     -1
+  3   6   2
+      0   2  31  Method of current measurement
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+  3   6   3
+      0   2   2  Wind instrumentation
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Dry-bulb temperature (2 m)
+     -1
+  3   6   4
+      0   2  32  Indicator for digitization
+      0   2  33  Method of salinity/depth measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  43  Subsurface sea temperature
+      0  22  62  Salinity
+     -1
+  3   6   5
+      0   2  31  Method of current measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+#  (Under water sounding (optional) parameters)
+  3   6   6
+      3   6   3  Surface wind and temperature
+      3   6   2  Current
+      0  22  63  Total water depth
+     -1
+#  (Buoy spare block parameters)
+  3   6   7
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+      3   6   8  Buoy instrumentation
+      0   4  24  Time period
+      0  27   3  Alternate latitude
+      0  28   3  Alternate longitude
+     -1
+#  (Buoy instrumentation parameters)
+  3   6   8
+      0   2  34  Drogue type
+      0   2  35  Cable length
+      0   2  36  Buoy type
+     -1
+  3   6  23
+      0   1  15  Station or site name
+      3   1  23  "Latitude, longitude"
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal level with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+     -1
+#  Category 07 - Surface report sequences (land)
+#  (Low altitude station)
+  3   7   1
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   2
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   3
+      3   7   1  Location (high accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   4
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   5
+      3   7   1  Location (high accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (Low altitude station)
+  3   7   6
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (High altitude station)
+  3   7   7
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  12  Basic surface report
+     -1
+#  (High altitude station)
+  3   7   8
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  12  Basic surface report
+     -1
+  3   7   9
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  13  Basic surface report
+     -1
+#  (Main part of data for representation of METAR/SPECI code in BUFR)
+  3   7  11
+      0   1  63  ICAO location indicator - CCCC
+      0   2   1  Type of station -(AUTO)
+      3   1  11  "Year, month, day (YY)"
+      3   1  12  "GG, gg"
+      3   1  24  "Latitude-longitude (coarse accuracy), height of station"
+      0   7   6  Height above station (= height of an anemometer)
+      0  11   1  Wind direction - ddd
+      0  11  16  Extreme counterclockwise wind direction of a variable wind - dndndn
+      0  11  17  Extreme clockwise wind direction of a variable wind - dxdxdx
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0   7   6  Height above station (= height of a thermometer)
+      0  12   1  Temperature - TT
+      0  12   3  Dew-point temperature - TdTd
+      0  10  52  Altimeter setting (QNH) - PHPHPHPH
+      0  20   9  General Weather Indicator TAF/METAR
+     -1
+#  (DvVVVV)
+  3   7  12
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Number of replication (up to 3)
+      0   8  23  First order statistics
+      0   5  21  Direction of visibility observed - Dv
+      0  20   1  Horizontal visibility - WW
+     -1
+#  (DRDRVRVRVRVR)
+  3   7  13
+      1   6   0  Delayed replication of 6 descriptors
+      0  31   1  Number of replication (up to 4)
+      0   1  64  Runway designator - DrDr
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VrVrVrVr
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VrVrVrVr
+      0  20  18  Tendency of runway visual range
+     -1
+#  (ww)
+  3   7  14
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  19  Significant present weather - ww
+     -1
+#  (Clouds group(s))
+  3   7  15
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      3   2   5  "(NsNsNs, CC, hshshs)"
+      0  20   2  Vertical visibility - VVhshshs
+     -1
+#  (REww)
+  3   7  16
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  20  Significant recent weather phenomena - REww
+     -1
+#  (Wind shear on runways(s))
+  3   7  17
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      0  11  70  Runway designator of the runway affected by wind shear (including ALL) - WS WYDRDR
+     -1
+#  (Trend-type landing forecast)
+  3   7  18
+      0   8  16  Change qualifier of a trend-type - TTTTT
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Number of replication (up to 2)
+      0   8  17  Qualifier of the time when the forecast - TT
+      3   1  12  "GG, gg"
+      1   4   0  Delayed replication of 4 descriptor
+      0  31   1  Number of replication (up to 1)
+      0   7   6  Height above station
+      0  11   1  Wind direction - ddd
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0  20   9  General Weather Indicator
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 1)
+      0  20   1  Horizontal visibility - WW
+      3   7  14  ww
+     -1
+#  (Short METAR/SPECI)
+  3   7  20
+      3   7  11  Main part of data
+      3   7  14  ww
+      3   7  16  REww
+     -1
+#  (Total sequence for representation of METAR/SPECI code in BUFR)
+  3   7  21
+      3   7  11  Main part of data
+      3   7  12  DvVVVV
+      3   7  13  DRDRVRVRVRVR
+      3   7  14  ww
+      3   7  15  Clouds group(s)
+      3   7  16  REww
+      3   7  17  Wind shear on runway(s)
+      3   7  18  Trend-type landing forecast
+      3   7  15  Clouds group(s)
+     -1
+#  Category 08 - Surface report sequences (sea)
+#  (Buoy/platform  fixed)
+  3   8   1
+      3   1  33  "Identification, type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  fixed)
+  3   8   2
+      3   1  34  "Identification, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  moving)
+  3   8   3
+      3   1  35  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Ship)
+  3   8   4
+      3   1  36  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+  3   8   5
+      3   8   4  Basic ship report
+      3   2  24  Wind waves and swell waves
+     -1
+#  (Buoy Section 1 optional parameters)
+  3   8   6
+      0  10   4  Pressure
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   4  Dry-bulb temperature at 2 m
+      0  13   3  Relative humidity
+      0  22  42  Sea temperature
+     -1
+  3   8   7
+      3   1  55  "Identification, movement type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0   7  62  Depth below sea/water surface
+      0  22  42  Sea/water temperature
+     -1
+#  Category 09 - Vertical sounding sequences (conventional data)
+#  (Vertical wind profile)
+  3   9   1
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   2
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   3
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical wind profile)
+  3   9   4
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   5
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   6
+      3   1  38  "Identification, etc. (land station, coarse  accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   7
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   8
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  11
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  12
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  13
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  14
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  15
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  16
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  17
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  18
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Wind profiler  wind data sounding)
+  3   9  19
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Wind profiler  Cartesian coordinates)
+  3   9  20
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   7   3  Geopotential
+      0  11   3  u-component
+      0  11   4  v-component
+      0  11   5  w-component
+     -1
+#  Category 10 - Vertical sounding sequences (satellite data)
+#  (Satellite  brightness temperature)
+  3  10   1
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1  26  Replicate 1 descriptor 26 times
+      3   3  25  Satellite channel and brightness temperature
+     -1
+#  (Satellite  low level)
+  3  10   2
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   9  Replicate 1 descriptor 9 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  high level)
+  3  10   3
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   6  Replicate 1 descriptor 6 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  precipitable water)
+  3  10   4
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   3  Replicate 1 descriptor 3 times
+      3   3  24  Precipitable water
+     -1
+  3  10   5
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  25  Satellite channel and brightness temperature
+     -1
+  3  10   6
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  23  Layer mean temperature
+     -1
+  3  10   7
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  24  Precipitable water
+     -1
+#  (ATOVS HIRS report)
+  3  10   8
+      3  10  11  ATOVS field of view variables
+      1   1  19  Replicate 1 descriptor 19 times
+      3  10  12  ATOVS channel variables
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  79  Albedo-radiance solar filtered irradiance for ATOVS
+      0  25  80  Albedo-radiance equivalent filter width for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      0  14  45  Channel radiance
+     -1
+#  (ATOVS AMSU-A report)
+  3  10   9
+      3  10  11  ATOVS field of view variables
+      1   1  15  Replicate 1 descriptor 15 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS AMSU-B report)
+  3  10  10
+      3  10  11  ATOVS field of view variables
+      1   1   5  Replicate 1 descriptor 5 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS field of view variables)
+  3  10  11
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   1   7  Satellite identification
+      0   2  48  Satellite sensor indicator
+      0   5  40  Orbit number
+      0  25  75  Satellite antenna corrections version number
+      2   1 133  Change width
+      0   5  41  Scan line number
+      2   1   0  Change width
+      0   5  43  Field of view number
+      0  25  70  Major frame count
+      0  33  30  Scan line status flags for ATOVS
+      0  33  31  Scan line quality flags for ATOVS
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      2   2 131  Change scale
+      2   1 138  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2   0  Change scale
+      0   5   1  Latitude
+      0   6   1  Longitude
+      2   2 126  Change scale
+      0   7   1  Height of station
+      2   2   0  Change scale
+      0   7  24  Satellite zenith angle
+      0   5  21  Satellite azimuth
+      0   7  25  Solar zenith angle
+      0   5  22  Solar azimuth
+      0  33  33  Field of view quality flags for ATOVS
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+     -1
+#  (ATOVS channel variables)
+  3  10  12
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  76  Log10 of (temperature-radiance central wavenumber) for ATOVS
+      0  25  77  Bandwidth correction coefficient 1 for ATOVS
+      0  25  78  Bandwidth correction coefficient 2 for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      2   1 132  Change width
+      2   2 129  Change scale
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (AVHRR (GAC) report)
+  3  10  13
+      0   1   7  Satellite ID
+      0   5  40  Orbit number
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   5   1  Latitude
+      0   6   1  Longitude
+      0   7  25  Solar zenith angle
+      0   5  43  Field of view number
+      0  25  85  Fraction of clear pixels in HIRS field of view
+      2   1 131  Change width
+      2   2 129  Change scale
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      2   2   0  Change scale
+      2   1   0  Change width
+      2   1 132  Change width
+      2   2 129  Change scale
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (Satellite  geostationnary wind data)
+  3  10  14
+      3   1  72  "Satellite identification, date, time, latitude, longitude"
+      3   3  41  Wind sequence
+      3   4  11  GOES-I/M information
+     -1
+#  (Meteosat radiace data)
+  3  10  15
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1   3  Replicate next descriptor 3 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1   3  Replicate next descriptor 3 times
+      3   4  33  Clear sky radiance
+     -1
+#  (Meteosat Second Generation (MSG) radiance data)
+  3  10  16
+      3   1  72  Satellite identification
+      0   7  24  Satellite zenith angle
+      0  10   2  Height
+      3   3  41  Wind sequence
+      1   1  12  Replicate next descriptor 12 times
+      3   4  32  Cloud fraction
+      0   2 152  Satellite instrument used in data processing
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure
+      0   7   4  Pressure
+      0  13   3  Relative humidity
+      1   1  12  Replicate next descriptor 12 times
+      3   4  33  Clear sky radiance
+     -1
+#  (Retrieved ozone data)
+  3  10  20
+      3  10  22
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  21  "Lat., long. (high accuracy)"
+      3   4  34
+      3  10  21
+     -1
+  3  10  21
+      1   8   0  Delayed replication of 8 next descriptors
+      0  31   1  Delayed descriptor replication factor
+      2   1 131  Change data width
+      2   2 129  Change scale
+      0   7   4  Pressure
+      0   7   4  Pressure
+      2   2   0  Change scale to Table B
+      2   1   0  Change data width to Table B
+      0  15  20  Integrated 03 density
+      0  10   2  Height
+     -1
+  3  10  22
+      0   1   7  Satellite identifier
+      0   2  19  Satellite instrument used
+      0   1  33  Identification of originating/generating centre
+      0   2 172  Product type for retrieved atmospheric gases
+     -1
+#  Category 11 - Single level report sequences (conventional data)
+#  (Aircraft reports)
+  3  11   1
+      3   1  51  "ASDAR aircraft identifier, navigational system, date/time, position, phase of aircraft flight"
+      0   7   2  Altitude
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  11  31  Degree of turbulence
+      0  11  32  Height of base of turbulence
+      0  11  33  Height of top of turbulence
+      0  20  41  Airframe icing
+     -1
+#  (ACARS reports)
+  3  11   2
+      3   1  65  ACARS identification
+      3   1  66  ACARS location
+      3  11   3  ACARS standard reported variables
+      3  11   4  ACARS supplementary reported variables
+     -1
+#  (ACARS standard reported variables)
+  3  11   3
+      0  10  70  Indicated aircraft altitude
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   1  Temperature/dry-bulb temperature
+      0  13   2  Mixing ratio
+     -1
+#  (ACARS supplementary reported variables)
+  3  11   4
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  34  Vertical gust velocity
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  35  Vertical gust acceleration
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  75  Mean turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  76  Peak turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  25  ACARS interpolated values
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  26  Mixing ratio quality
+     -1
+#  Category 12 - Single level report sequences (satellite data)
+  3  12   1
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   1  "Cloud top pressure, temperature, wind"
+     -1
+  3  12   2
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   2  "Cloud top pressure, wind"
+     -1
+  3  12   3
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   3  Surface temperature
+     -1
+  3  12   4
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   4  Cloud cover
+     -1
+  3  12   5
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      0  20  14  Height of top of cloud
+     -1
+  3  12   6
+      3   1  44  "Satellite identifier, instrumentation, location, date/time"
+      3   4   5  Layer mean relative humidity
+     -1
+  3  12   7
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   6  Radiation
+     -1
+#  "(Orbital information, Part I)"
+  3  12  10
+      0   1   7  Satellite identifier
+      0   5  40  Orbit number
+      0   2  21  Satellite instrumentation
+      0   5  41  Scan line number
+      0   4   1  Year
+      0   4  43  Day of year
+     -1
+#  "(Orbital information, Part II)"
+  3  12  11
+      2   2 131  Change scale
+      2   1 149  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2 126  Change scale
+      0  10   2  Height
+      2   2   0  Change scale
+      0   5  43  Field of view number
+      0   5  53  Field of view number increment
+     -1
+#  (HIRS brightness temperatures  channels 119)
+  3  12  12
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1  19  Replicate 1 descriptor 19 times
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS brightness temperatures  channel 20)
+  3  12  13
+      0   5  42  Channel number
+      2   2 129  Change scale
+      2   1 135  Change width
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS satellite data)
+  3  12  14
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      1   5  56  Replicate 5 descriptors 56 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      3  12  12  HIRS brightness temperatures  channels 119
+      3  12  13  HIRS brightness temperature  channel 20
+     -1
+#  (MSU brightness temperatures  channels 14)
+  3  12  15
+      1   9  11  Replicate 9 descriptors 11 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   4  Replicate 1 descriptor 4 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (MSU satellite data)
+  3  12  16
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  15  MSU brightness temperatures  channels 14
+     -1
+#  (SSU brightness temperatures  channels 13)
+  3  12  17
+      1   9   8  Replicate 9 descriptors 8 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   3  Replicate 1 descriptor 3 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (SSU satellite data)
+  3  12  18
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  17  SSU brightness temperatures  channels 13
+     -1
+#  (Wave scatterometer product with width change for wave number (spectral))
+  3  12  19
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalisation
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   6  12  Repeat next 6 descriptors 12 times
+      2   1 129  Change width to 14 bits
+      0   6  30  Wave number (spectral)
+      2   1   0  Change width to Table B
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Image spectrum intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wave scatterometer product)
+  3  12  20
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalization
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   4  12  Repeat next 4 descriptors 12 times
+      0   6  30  Wave number (spectral)
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Spectral intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wind scatterometer product)
+  3  12  21
+      3   1  47  Product header
+      1   1   3  Repeat 1 descriptor 3 times
+      3   1  49  Radar beam data
+      0  11  12  Wind speed at 10 m
+      0  11  11  Wind direction at 10 m
+      0  21  67  Wind product confidence data
+     -1
+#  (Radar altimeter product)
+  3  12  22
+      3   1  47  Product header
+      0   8  22  Number in average
+      0  11  12  Wind speed
+      0  11  50  Standard deviation of horizontal wind speed
+      0  22  70  Significant wave height
+      0  22  26  Standard deviation of significant wave height
+      3  12  41  Altitude
+      0  10  50  Standard deviation of altitude
+      0  21  68  Radar altimeter product confidence data
+      0  21  71  Peakiness
+      0  21  72  Altimeter calibration status
+      0  21  73  Altimeter instrument mode
+      3  12  42  Altitude corrections
+      0  21  62  Backscatter
+      0  15  11  Log 10 of integrated electron density
+     -1
+#  (ATSR sea surface temperature product)
+  3  12  23
+      3   1  47  Product header
+      1   3   3  Repeat 3 descriptors 3 times
+      0   8  22  Number in average
+      0  12  61  Skin temperature
+      0  22  50  Standard deviation of sea surface temperature
+      0  21  69  SST product confidence data
+      0  21  85  ATSR sea surface temperature across-track band number
+     -1
+#  (Wave scatterometer product enhanced)
+  3  12  24
+      3  12  20  (Wave scatterometer product)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode signification  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Wave scatterometer enhanced product (with change of width for wave number (spectral))
+  3  12  25
+      3  12  19  Wave scatterometer product with width change for wave
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode significance  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (QUIKSCAT data)
+  3  12  26
+      3   1  46
+      3   1  11  Data
+      3   1  13  Time
+      3   1  23  Location
+      3  12  31
+      1   1   4  Replicate 1 descriptor 4 times
+      3  12  30
+      0  21 110  Number of inner-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 111  Number of outer-beam sigma-0 (forward of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 112  Number of inner-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+      0  21 113  Number of outer-beam sigma-0 (aft of satellite)
+      3   1  23  Location
+      3  21  27
+     -1
+#  (ATSR SST Product (SADIST-2))
+  3  12  27
+      3   1  47  ERS product header
+      1   5   9  Repeat next 5 descriptors 9 times
+      3   1  23  Location (coarse Latitude + Longitude) of 10-arcmin cell
+      0   7  21  Elevation: Incidence angle Nadir view [set to zero]
+      0  12  61  Skin temperature: SST [Nadir-only view]
+      0   7  21  Elevation: Incidence angle Dual view [set to 'missing']
+      0  12  61  Skin temperature: SST [Dual view]
+      0  21  85  ATSR SST across-track band number [0-9]
+      0  21  70  SST product confidence data (SADIST-2) [23-bit flag]
+     -1
+#  (SEAWINDS QUIKSCAT data)
+  3  12  28
+      3   1  46
+      3   1  11
+      3   1  13
+      3   1  23
+      0   8  25  Time difference qualifier
+      2   1 136  Change data width
+      0   4   6  Second
+      2   1   0  Change data width back to Table B
+      3  12  31
+      3  12  32
+      1   1   4  Next descriptor replicated four times
+      3  12  30
+      1   1   2  Next descriptor replicated two times
+      3  12  33
+      0  21 110  Number of inner-beam sigma-0 (forward of satellite)
+      3   1  23
+      3  21  28
+      0  21 111  Number of outer-beam sigma-0 (forward of satellite)
+      3   1  23
+      3  21  28
+      0  21 112  Number of inner-beam sigma-0 (aft of satellite)
+      3   1  23
+      3  21  28
+      0  21 113  Number of outer-beam sigma-0 (aft of satellite)
+      3   1  23
+      3  21  28
+     -1
+  3  12  30
+      2   1 130  Change data width
+      2   2 129  Change scale
+      0  11  12  Wind speed at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  52  Formal uncertainty in wind speed
+      2   1 135  Change data width
+      2   2 130  Change scale
+      0  11  11  Wind direction at 10 m
+      2   2   0  Change scale back to Table B
+      2   1   0  Change data width to Table B
+      0  11  53  Formal uncertainty in wind direction
+      0  21 104  Likelihood computed for solution
+     -1
+  3  12  31
+      0   5  34  Along-track row number
+      0   6  34  Cross-track cell number
+      0  21 109  SEAWINDS wind vector cell quality
+      0  11  81  Model wind direction at 10 m
+      0  11  82  Model wind speed at 10 m
+      0  21 101  Number of vector ambiguities
+      0  21 102  Index of selected wind vector
+      0  21 103  Total number of sigma-0 measurements
+     -1
+  3  12  32
+      0  21 120  Probability of rain
+      0  21 121  SEAWINDS NOF rain index
+      0  13  55  Intensity of precipitation
+      0  21 122  Attenuation correction on sigma-0 (from tB)
+     -1
+  3  12  33
+      0   2 104  Antenna polarisation
+      0   8  22  Total number (with respect to accumulation)
+      0  12  63  Brightness temperature
+      0  12  65  Standard deviation brightness temperature
+     -1
+#  (Altitude)
+  3  12  41
+      2   1 141  Change width to 28 bits
+      2   2 130  Change scale to 2
+      0   7   1  Altitude
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+     -1
+#  (Altitude corrections)
+  3  12  42
+      0  21  77  "Altitude correction, ionosphere"
+      0  21  78  "Altitude correction, dry troposphere"
+      0  21  79  "Altitude correction, wet troposphere"
+      0  21  80  "Altitude correction, calibration constant"
+      0  21  81  Open loop height-time loop calibration correction
+      0  21  82  Open loop automatic gain control calibration correction
+     -1
+#  Category 13 - Sequences common to image data
+#  (Radar reflectivity values)
+  3  13   9
+      0  21   1  Horizontal reflectivity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21   1  Horizontal reflectivity
+     -1
+#  (Radar rainfall intensities)
+  3  13  10
+      0  21  36  Radar rainfall intensity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21  36  Radar rainfall intensity
+     -1
+#  (Non run-length encoded row for Pixel value (4 bits))
+  3  13  31
+      0   6   2  First longitude location minus one increment
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Non run-length encoded picture data for Pixel value (4 bits))
+  3  13  32
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  31  Non run-length encoded row
+     -1
+#  (Run-length encoded row for Pixel value (4 bits))
+  3  13  41
+      0   6   2  First longitude location minus one increment
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  12  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Run-length encoded picture data for Pixel value (4 bits))
+  3  13  42
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  41  Run-length encoded row
+     -1
+#  "(Run-length encoded picture data for Pixel value (4 bits), regular grid)"
+  3  13  43
+      0   6   2  First longitude location minus one increment
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment
+      1  12   0  Delayed replication of 12 descriptors
+      0  31   1  Replication factor
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  11  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  Category 15 - Oceanographic report sequences
+#  (Typically reported underwater sounding without optional fields)
+  3  15   1
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   1  "Depth, temperature"
+     -1
+#  (Typically reported underwater sounding without optional fields)
+  3  15   2
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   4  "Depth, temperature, salinity"
+     -1
+#  Category 16 - Synoptic feature sequences
+  3  16   1
+      3   1  11  "Year, month, day"
+      0   4   4  Hour
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   1  21  Synoptic feature identifier
+      0   2  41  Method for estimating reports related to synoptic features
+      0  19   1  Type of synoptic feature
+      0  10  51  Pressure reduced to mean sea level
+      0  19   2  Effective radius of feature
+      0  19   3  Wind speed threshold (15 m s1 typically)
+      0  19   4  Effective radius with respect to wind speeds above threshold
+     -1
+#  (Header)
+  3  16   2
+      0   8  21  Data time (analysis)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   1  33  Originating/generating centre
+      0   8  21  Validity time (fcst)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   7   2  Flight level (altitude) (base of chart layer)
+      0   7   2  Flight level (altitude) (top of chart layer)
+     -1
+#  (Jet stream)
+  3  16   3
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (jet stream value)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Flight level (altitude)
+      0  11   2  Wind speed
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Turbulence)
+  3  16   4
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for turbulence)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  11  31  Degree of turbulence
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Storm)
+  3  16   5
+      1   8   0  Delayed replication
+      0  31   1  Replication
+      0   8   5  Meteorological attribute significance (storm centre)
+      0   8   7  Dimensional significance (value for point)
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   1  26  WMO storm name (use unknown for a sandstorm)
+      0  19   1  Synoptic features (value for type of storm)
+      0   8   7  Dimensional significance (cancel)
+      0   8   5  Meteorological attribute significance (cancel/end of object)
+     -1
+#  (Cloud)
+  3  16   6
+      1  12   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for cloud)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Front)
+  3  16   7
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for type of front)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  19   5  Direction of feature
+      0  19   6  Speed of feature
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Tropopause)
+  3  16   8
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8   1  Vertical significance (bit 3 set for tropopause)
+      0   8   7  Dimensional significance (value for point)
+      0   8  23  Statistic (type of tropopause value)
+      1   3   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Height/altitude
+      0   8  23  Statistic (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8   1  Vertical significance (cancel/end of object)
+     -1
+#  (Airframe icing area)
+  3  16   9
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for airframe icing)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  41  Airframe icing (type of airframe icing)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Name of feature)
+  3  16  10
+      1   7   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature
+      0   8   7  Dimensional significance (value for point)
+      0   1  22  Name of feature
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Volcano erupting)
+  3  16  11
+      1  16   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for special clouds)
+      0   1  22  Name of feature (volcano name)
+      0   8   7  Dimensional significance (value for point)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8  21  Time significance (eruption starting time)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0  20  90  Special clouds (clouds from volcanic eruptions)
+      0   8  21  Time significance (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  Category 18 - Radiological report sequences
+  3  18   1
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0  24  11  Dose
+     -1
+  3  18   3
+      3   1  26  "Latitude and longitude (high accuracy), time periods in days,"
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  21  Air concentration
+     -1
+  3  18   4
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0   4  23  Time period or displacement
+      0  13  11  Total precipitation/total water equivalent
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  22  Concentration in precipitation
+     -1
+#  Category 21 - Radar report sequences
+#  (Wind profiler  antenna characteristics)
+  3  21   1
+      0   2 101  Type of antenna
+      0   2 114  Antenna effective surface area
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 121  Mean frequency
+     -1
+#  (Wind profiler  moment data)
+  3  21   3
+      0  21  51  Signal power above 1 mW
+      0  21  14  Doppler mean velocity (radial)
+      0  21  17  Doppler velocity spectral width
+      0  21  30  Signal to noise ratio
+     -1
+#  (Wind profiler  moment data sounding)
+  3  21   4
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3  21   3  Wind profiler  moment data
+     -1
+#  (Transmitter-receiver characteristics)
+  3  21   5
+      0  25   4  Echo processing
+      0   2 121  Mean frequency
+      0   2 122  Frequency agility range
+      0   2 123  Peak power
+      0   2 124  Average power
+      0   2 125  Pulse repetition frequency
+      0   2 126  Pulse width
+      0   2 127  Receiver intermediate frequency
+      0   2 128  Intermediate frequency bandwidth
+      0   2 129  Minimum detectable signal
+      0   2 130  Dynamic range
+      0   2 131  Sensitivity time control
+     -1
+#  (Integration characteristics)
+  3  21   6
+      0  25   1  Range-gate length
+      0  25   2  Number of gates averaged
+      0  25   3  Number of integrated pulses
+      0  25   5  Echo integration
+     -1
+#  (Corrections)
+  3  21   7
+      0  25   9  Calibration method
+      0  25  10  Clutter treatment
+      0  25  11  Ground occultation correction
+      0  25  12  Range attenuation correction
+      0  25  13  Bright-band correction
+      0  25  15  Radome attenuation correction
+      0  25  16  Clear-air attenuation correction
+      0  25  17  Precipitation attenuation correction
+     -1
+#  (Z to R conversion)
+  3  21   8
+      0  25   6  Z to R conversion
+      0  25   7  Z to R conversion factor
+      0  25   8  Z to R conversion exponent
+     -1
+#  (A to Z law)
+  3  21   9
+      0  25  18  A to Z law for attenuation factor
+      0  25  19  A to Z law for attenuation exponent
+     -1
+#  (Antenna characteristics)
+  3  21  10
+      0   2 101  Type of antenna
+      0   7   2  Altitude of the tower base
+      0   2 102  Antenna height above tower base
+      0   2 103  Radome
+      0   2 104  Antenna polarisation
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 108  Crosspol discrimination (on axis)
+      0   2 109  Antenna speed (azimuth)
+      0   2 110  Antenna speed (elevation)
+      0   2 132  Azimuth pointing accuracy
+      0   2 133  Elevation pointing accuracy
+     -1
+#  (General characteristics)
+  3  21  11
+      0  30  31  Picture type
+      0  30  32  Combination with other data
+      0  29   2  Coordinate grid type
+     -1
+#  (Antenna elevations)
+  3  21  12
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0   2 135  Antenna elevation
+     -1
+#  (Basic information (System/site header) on Wind profiler/RASS)
+  3  21  21
+      0   2   3  Type of measuring equipment used
+      0   2 101  Type of antenna
+      2   1 130  Change width to 8 bits
+      0   2 106  3-dB beam width
+      2   1   0  Change width to table B
+      2   1 132  Change width to 11 bits
+      2   2 130  Change scale to -6
+      0   2 121  Mean frequency
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+      2   1 133  Change width to 11 bits
+      2   2 129  Change scale to 0
+      0  25   1  Range-gate length
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (Wind profiler: Processed-data winds)
+  3  21  22
+      0  10   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  11   1  Wind direction
+      2   4   0  Cancel add associated field
+      0  11   2  Wind speed
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  11   6  w-component
+      2   4   0  Cancel add associated field
+      0  21  30  Signal to noise ratio
+     -1
+#  Wind profiler: Raw-data winds)
+  3  21  23
+      0   7   7  Height
+      0  21  91  Radar signal Doppler spectrum 0th moment
+      0  21  30  Signal to noise ratio
+      2   2 129  Change scale to 2
+      0  21  14  Doppler mean velocity (radial)
+      2   1 129  Change width to 9 bits
+      0  21  17  Doppler velocity spectral width
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (RASS-Mode: Processed-data RASS)
+  3  21  24
+      0   7   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  12   7  Virtual temperature
+      0  11   6  w-component
+      2   4   0  Cancel add associated field
+      0  21  30  Signal to noise ratio
+     -1
+#  (RASS-Mode: Raw-data RASS)
+  3  21  25
+      0   7   7  Height
+      0  21  91  Radar signal Doppler spectrum 0th moment
+      0  21  30  Signal to noise ratio
+      2   2 129  Change scale to 2
+      0  21  14  Doppler mean velocity (radial)
+      2   1 129  Change width to 9 bits
+      0  21  17  Doppler velocity spectral width
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+      0  21  92  "RASS signal Doppler spectrum 0th moment, referring to RASS signal"
+      0  21  30  "Signal to noise ratio, referring to RASS signal "
+      0  25  92  Acoustic propagation velocity
+      2   1 129  Change width to 9 bits
+      2   2 129  Change scale to 2
+      0  21  17  "Doppler velocity spectral width, referring to RASS signal"
+      2   2   0  Change scale to table B
+      2   1   0  Change width to table B
+     -1
+#  (RASS data - fluxes)
+  3  21  26
+      0  10   7  Height
+      2   4   1  Add associated field of 1 bit in length
+      0  31  21  Associated field significance
+      0  12   7  Virtual temperature
+      0  25  91  Structure constant of the refraction index (Cn2)
+      0  11  71  Turbulent vertical momentum flux
+      0  11  72  Turbulent vertical buoyancy flux
+      0  11  73  Turbulent kinetic energy
+      0  11  74  Dissipation energy
+      2   4   0  Cancel add associated field
+     -1
+  3  21  27
+      0  21 118  Attenuation correction on sigma-0
+      2   2 129  Change scale
+      2   1 132  Change data width
+      0   2 112  Radar look angle
+      2   1   0  Change data width to Table B
+      2   1 131  Change data width
+      0   2 111  Radar incidence angle
+      2   1   0  Change data width to Table B
+      2   2   0  Change scale back to Table B
+      0   2 104  Antenna polarization
+      0  21 105  Normalized radar cross-section
+      0  21 106  Kp variance coefficient (alpha)
+      0  21 107  Kp variance coefficient (beta)
+      0  21 114  Kp variance coefficient (gamma)
+      0  21 115  SEAWINDS sigma-0 quality
+      0  21 116  SEAWINDS sigma-0 mode
+      0   8  18  SEAWINDS land/ice surface type
+      0  21 117  Sigma-0 variance quality control
+     -1
+  3  21  28
+      0  21 118  Attenuation correction on sigma-0
+      2   2 129  Change scale
+      2   1 132  Change data width
+      0   2 112  Radar look angle
+      2   1   0  Data width back to Table B
+      2   1 131  Change data width
+      0   2 111  Radar incidence angle
+      2   1   0  Data width back to Table B
+      2   2   0  Scale back  to table B
+      0   2 104  Antenna polarization
+      0  21 123  SEAWINDS normalized radar cross section
+      0  21 106  Kp variance coefficient (alpha)
+      0  21 107  Kp variance coefficient (beta)
+      0  21 114  Kp variance coefficient (gamma)
+      0  21 115  SEAWINDS sigma-0 quality flag
+      0  21 116  SEAWINDS sigma-0 mode flag
+      0   8  18  SEAWINDS land/ice surface flag
+      0  21 117  Sigma-0 variance quality control
+     -1
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-002-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-058-005-B
@@ -0,0 +1,779 @@
+#
+# B2L-058-001-B.001 - Local BUFR Table B for center 058 (FNMOC),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale (u)
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   40;    CCITT_IA5; Descriptor defining sequence
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number (II)
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number (iii)
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number) (Ia...Ia)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier (I1I2I2)
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship call sign (D...D)
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform (dBdB)
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision) (VBVB)
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;      Numeric; Generating center
+  0;    1;     50;      0;           0;   48;    CCITT_IA5; NMC report identifier
+  0;    1;     62;      0;           0;   40;    CCITT_IA5; National assigned station identifier
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator (CCCC)
+  0;    1;    192;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;    1;    193;      0;           0;    4;   Code_Table; global octant
+  0;    1;    195;      0;           0;   10;      Numeric; Marsden square number
+  0;    1;    197;      0;           0;    6;      Numeric; Runway number
+  0;    1;    198;      0;           0;   16;   Code_Table; Sea station type
+  0;    1;    200;      0;           0;    2;   Code_Table; Radar Capability indicator (XXX)
+  0;    1;    201;      0;           0;    8;   Code_Table; Country or agency that operates the satellite
+  0;    1;    203;      0;           0;   16;    CCITT_IA5; Satellite name
+  0;    1;    204;      0;           0;   16;    CCITT_IA5; Satellite series
+  0;    1;    206;      0;           0;   32;    CCITT_IA5; TOVS generating center name
+  0;    1;    207;      0;           0;   72;    CCITT_IA5; File name
+  0;    1;    208;      0;           0;    4;   Code_Table; Satellite data type
+  0;    1;    209;      0;           0;    8;   Code_Table; Observation type for MCSST
+  0;    1;    210;      0;           0;    7;   Code_Table; Observation source
+  0;    1;    211;      0;           0;    4;      Numeric; Beam position
+  0;    1;    212;      0;           0;   24;      Numeric; Data processing block number
+  0;    1;    213;      0;           0;    3;   Code_Table; Tip source type identifier
+  0;    1;    214;      0;           0;   32;    CCITT_IA5; Header originator
+  0;    1;    215;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;    1;    216;      0;           0;   14;      Numeric; Engineering status
+  0;    1;    217;      0;           0;    5;      Numeric; Satellite number
+  0;    1;    218;      0;           0;  176;    CCITT_IA5; Sequence (report) type
+  0;    1;    219;      0;           0;   40;    CCITT_IA5; Mission number
+  0;    1;    220;      0;           0;    7;      Numeric; Observation number
+  0;    1;    221;      0;           0;    8;   Code_Table; Surface type
+  0;    1;    222;      0;           0;   32;    CCITT_IA5; Report modifier
+  0;    1;    223;      0;           0;    3;   Code_Table; Runway parallel indicator
+  0;    1;    224;      0;           0;    5;   Code_Table; Terrain code identifier
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station (ix)
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement (ewew)
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used (a4, I3, or I4)
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measur
+  0;    2;      5;      2;           0;    7;        deg_K; Precision of temperature observed (s3)
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type (rara)
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction (Sr)
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system (sasa)
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Cloud motion computational method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     28;      0;           0;   32;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     29;      0;           0;    8;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement (k5)
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization (k1)
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement (k2)
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type (id)
+  0;    2;     35;      0;           0;    9;            m; Cable length (ZdZdZd)
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type (Ip or Vi...Vi)
+  0;    2;     38;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;    2;     39;      0;           0;    4;   Code_Table; Wet bulb temperature method indicator
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction (Qn)
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report (At or QL)
+  0;    2;     47;      0;           0;    4;   Code_Table; Method of removing ship velocity
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator to specify observing method for extreme temperatures
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system (s1)
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type serial number/identifier
+  0;    2;    142;      0;           0;    8;   Code_Table; Ozone instrument
+  0;    2;    143;      0;           0;    7;      Numeric; Instrument type
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+  0;    2;    194;      0;           0;    8;   Code_Table; Spectral calculation method
+  0;    2;    199;      0;           0;    4;      Numeric; grp_pos_ind
+  0;    2;    203;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;    2;    204;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;    2;    205;      0;           0;    3;   Code_Table; Ozone flag
+  0;    2;    206;      0;           0;    4;   Code_Table; Algorithm identifier
+  0;    2;    207;      0;           0;    5;   Code_Table; Equation identifier
+  0;    2;    208;      0;           0;    2;   Code_Table; Type of method for measuring pressure
+  0;    2;    209;      0;           0;   10;   Code_Table; Xbt instrument type (IxIxIx)
+  0;    2;    210;      0;           0;    7;   Code_Table; Recorder type (XRXR)
+  0;    2;    211;      0;           0;    8;   Flag_Table; Sensor status flag
+  0;    2;    212;      0;           0;    2;   Flag_Table; Maintenance Check flag
+  0;    4;      1;      0;           0;   12;           yr; Year (4-digit)
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;           yr; Time increment - year
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment - month
+  0;    4;     13;      0;       -1024;   11;          day; Time increment - day
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment - hour
+  0;    4;     15;      0;       -2048;   12;          min; Time increment - minutes
+  0;    4;     16;      0;       -4096;   13;            s; Time increment - seconds
+  0;    4;     21;      0;       -1024;   11;           yr; Time period or displacement - year
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement - month
+  0;    4;     23;      0;       -1024;   11;          day; Time period or displacement - month
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement - hour
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement - minutes
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement - seconds
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to following value (TT)
+  0;    4;     41;      0;       -1440;   12;          min; Time difference, UTC - LMT
+  0;    4;     43;      0;           0;    9;          day; Day of the year
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week (Y)
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipitation equal or more than 1 mm
+  0;    4;     70;      0;           0;    8;      Numeric; Sample number
+  0;    4;    192;      0;           0;    4;   Code_Table; Precipitation time period (tR)
+  0;    4;    193;      0;           0;   31;   Code_Table; Last time that this observation record was updated
+  0;    4;    200;      0;           0;   12;           yr; Time of receipt - year
+  0;    4;    201;      0;           0;    4;           mo; Time of receipt - month
+  0;    4;    202;      0;           0;    6;          day; Time of receipt - day
+  0;    4;    203;      0;           0;    5;           hr; Time of receipt - hour
+  0;    4;    204;      0;           0;    6;          min; Time of receipt - minute
+  0;    4;    206;      3;           0;   27;            s; GMT seconds
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy) (La...La)
+  0;    5;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     50;      5;           0;   17;      Numeric; Sigma level
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+  0;    5;    192;      0;           0;    3;      Numeric; Image line number
+  0;    5;    193;      0;           0;    4;      Numeric; Image sample number
+  0;    5;    194;      0;           0;   14;      Numeric; Orbit number
+  0;    5;    196;      0;           0;   16;      Numeric; Orbit number
+  0;    5;    197;      0;           0;    8;      Numeric; Frame number
+  0;    5;    199;      0;           0;   20;      Numeric; Orbit number
+  0;    6;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy) (Lo...Lo)
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;    6;     11;      5;   -18000000;   26;          deg; Longtiude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longtiude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    7;      1;      0;        -400;   15;            m; Height of station (hohohoho)
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude (hahaha, hIhIhI, HmHmHm, HH, tnu2, or tnu3)
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure (Pa...Pa, Paob...Paob, Po...Po, PtPtPt, or PAPA)
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Geopotential height
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+  0;    7;    192;      2;           0;   13;          deg; Local zenith angle
+  0;    7;    196;      0;           0;    4;   Code_Table; Station height precision
+  0;    7;    197;      1;           0;   11;          deg; Solar zenith angle
+  0;    7;    198;      2;       -6000;   14;          deg; Satellite zenith angle
+  0;    7;    199;      1;           0;   11;          deg; Solar azimuth angle
+  0;    7;    223;      2;           0;   14;          deg; Solar zenith angle
+  0;    7;    224;      1;           0;   14;            m; Surface elevation
+  0;    8;      0;      0;           0;    4;   Code_Table; Vertical significance (forecast soundings)
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight (ipipip)
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     24;      0;           0;    8;   Code_Table; Type of difference
+  0;    8;     31;      0;           0;    8;    CCITT_IA5; Data category
+  0;    8;     32;      0;           0;   14;   Code_Table; Data significance for simulated forecast
+  0;    8;     33;      0;           0;    3;   Code_Table; Data significance for corrected forecast
+  0;    8;     34;      0;           0;    3;   Code_Table; Data significance for simulated retrievals
+  0;    8;     35;      0;           0;    3;   Code_Table; Data significance for corrected retrievals
+  0;    8;     36;      0;           0;    3;   Code_Table; Data significance for simulated analysis
+  0;    8;     37;      0;           0;    3;   Code_Table; Data significance for corrected analysis
+  0;    8;     38;      0;           0;    3;   Code_Table; Data significance for sigma level data
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurrence follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurrence qualifier
+  0;    8;     70;      0;           0;    8;   Code_Table; Surface Type Code ID
+  0;    8;    194;      0;           0;    4;   Code_Table; Flight condition (fc)
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height (HHH)
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Geopotential height
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level (PPPP)
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH) (PH...PH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change (ppp)
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency (a, w, or w'w')
+  0;   10;    103;      0;           0;    4;   Code_Table; Geopotential thickness QC ID
+  0;   10;    197;      0;           0;    4;   Code_Table; Index pertaining to geopotential height (j)
+  0;   10;    199;      0;       -1024;   16;            m; Geopotential height difference
+  0;   10;    200;      0;       -1024;   16;            m; Geopotental height correction
+  0;   10;    201;      0;           0;   14;   Code_Table; Pressure tendency QC ID
+  0;   10;    203;      0;           0;    4;   Code_Table; Geopotential height quality control flag
+  0;   10;    213;      0;       -1024;   16;            m; Geopotential height
+  0;   10;    224;      0;           0;    4;   Code_Table; Station level pressure QC ID
+  0;   10;    251;      0;           0;    4;   Code_Table; Mean sea level pressure QC ID
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction (dd, dodo>dndn, dmagdmag)
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed (ff, fff, or fofofo>fnfnfn)
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     21;      9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;          1/s; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence (B...B or BA)
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence (BabBabBab or B1B1B1)
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence (BatBatBat or B1B1B1)
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts) (fm...fm)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      1;           0;   12;          m/s; Surface - 5000 feet mean LYR wind speed (dmdm)
+  0;   11;     44;      0;           0;    9;     deg_true; Surface - 5000 feet mean LYR wind direction
+  0;   11;     45;      0;           0;    9;     deg_true; Maximum wind (gust) direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind component
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer below)
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear (1 kilometer layer above)
+  0;   11;    195;      0;           0;    2;   Code_Table; Wind type at flight altitude (dt)
+  0;   11;    200;      0;           0;    4;   Code_Table; Wind QC ID
+  0;   11;    203;      1;       -4096;   13;          m/s; Wind u-component difference
+  0;   11;    204;      1;       -4096;   13;          m/s; Wind v-component difference
+  0;   11;    205;      0;           0;    4;   Code_Table; Turbulence (B) (WMO code table 0300)
+  0;   11;    206;      0;           0;    2;   Code_Table; Flight level wind method (da)
+  0;   11;    207;      0;           0;    2;   Code_Table; Extreme wind speed ID
+  0;   11;    213;      1;       -4096;   13;          m/s; Wind u-component correction
+  0;   11;    214;      1;       -4096;   13;          m/s; Wind v-component correction
+  0;   11;    244;      0;           0;   16;     deg_true; Direction of wind
+  0;   11;    245;      2;           0;   16;          m/s; wnd_spd
+  0;   11;    246;      1;           0;    8;          m/s; Ocean surface wind speed
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature (Ta, TsTsTs, TtTt, or TxTxTx)
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature (TbTbTb)
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint (TdTdTd or T'dT'd)
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters (Tao>Tan, ToTo>tnTn, or TT)
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature (TnTnTn)
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     20;      2;       -2000;   12;    deg_K/day; Radiative heating profile
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature (ToTo)
+  0;   12;     40;     -3;       -2048;   12;       W/m**2; Sensible heat flux
+  0;   12;     48;      0;        -200;    8;        deg_K; Land/snow surface temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+  0;   12;     70;      2;           0;   16;        deg_K; Vertical polarization 19GHz brightness temperature
+  0;   12;     71;      2;           0;   16;        deg_K; Horizontal polarization 19GHz brightness temperature
+  0;   12;     72;      2;           0;   16;        deg_K; Vertical polarization 22GHz brightness temperature
+  0;   12;     73;      2;           0;   16;        deg_K; Vertical polarization 37GHz brightness temperature
+  0;   12;     74;      2;           0;   16;        deg_K; Horizontal polarization 37GHz brightness temperature
+  0;   12;     75;      2;           0;   16;        deg_K; Vertical polarization 85GHz brightness temperature
+  0;   12;     76;      2;           0;   16;        deg_K; Horizontal polarization 85GHz brightness temperature
+  0;   12;    192;      0;           0;    4;   Code_Table; Wet bulb temperature indicator
+  0;   12;    193;      2;           0;   16;        deg_K; SSU brightness temperature
+  0;   12;    194;      2;           0;   16;        deg_K; Dewpoint
+  0;   12;    195;      0;           0;    4;   Code_Table; Dewpoint, aircraft altitude, air temperature indicator (id)
+  0;   12;    196;      2;           0;   16;        deg_K; Dewpoint difference
+  0;   12;    201;      0;           0;    4;   Code_Table; Air temperature QC ID
+  0;   12;    213;      0;           0;    4;   Code_Table; Dewpoint QC ID
+  0;   12;    215;      0;           0;    2;   Code_Table; Temperature precision flag
+  0;   12;    220;      2;           0;   16;        deg_K; HIRS brightness temperature
+  0;   12;    221;      2;           0;   16;        deg_K; MSU brightness temperature
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity (U1>Un or U...U)
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density (p1p1p1)
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent (Aw or R...R)
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth (sss)
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water (www)
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours (R24...R24)
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     40;     -3;       -2048;   12;       W/m**2; Latent heat flux
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipitation
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipiation
+  0;   13;     71;      1;           0;    7;      kg/m**2; Liquid water
+  0;   13;     75;      0;           0;    8;      percent; Land snow cloud
+  0;   13;     76;      2;           0;    6;            m; Snow-water equivalent
+  0;   13;    176;      0;           0;    7;   Code_Table; Precipitable water precision flag
+  0;   13;    192;      0;           0;    4;   Code_Table; Precipitation identifier (iR)
+  0;   13;    193;      0;           0;   10;   Code_Table; Precipitation amount
+  0;   13;    194;      3;           0;   16;         g/kg; First guess mixing ratios
+  0;   13;    197;      0;           0;    3;   Code_Table; Rain indicator
+  0;   13;    203;      0;           0;    4;   Code_Table; Relative hunidity QC ID
+  0;   13;    217;      0;           0;    8;      Numeric; Precipitation flag (SSM/T)
+  0;   13;    218;      2;           0;   11;    kg/(m**2); Cloud water
+  0;   13;    219;      2;           0;   10;           cm; Total precipitable water
+  0;   13;    220;      1;           0;    9;        mm/hr; Rain rate
+  0;   13;    221;      2;           0;   14;    kg/(m**2); Cloud Liquid Water
+  0;   14;      1;     -3;       -2048;   12;       J/m**2; Longwave radiation, integrated over 24 hours (FLFLFL)
+  0;   14;      3;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over 24 hours (FiFiFi)
+  0;   14;      4;     -3;       -2048;   12;       J/m**2; Shortwave radiation, integrated over period specified (FsFsFs)
+  0;   14;     11;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;       J/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;       J/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;       J/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;       J/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;       J/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;       J/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;       J/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine (precentage)
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+  0;   15;      1;      0;           0;   10;  dobson_unit; Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air-mass (slant path at 22 km)
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features (dsds)
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radiation with respect to FFF above threshold
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility (Dv, Vi, V...V, or VxVxVxVx)
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather (ww or w'w')
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1) (Wa1Wa2 or W1W2)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2) (wawa)
+  0;   20;      9;     -1;         -40;   11;            m; Ceiling
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total) (N, NcNc, or Ns...Ns)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount (N or Ns...Ns)
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type (C, Ct, CH, CL, or CM)
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud (h, hshs, hshshs, or H'H')
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud (HfHfHf or HtHt)
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud (PcPcPc)
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;     -1;          40;   11;            m; Low estimated height of cloud top
+  0;   20;     19;     -1;          40;   11;            m; High estimated height of cloud top (H1>Hn)
+  0;   20;     21;      0;           0;    4;   Code_Table; Middle cloud amount
+  0;   20;     22;      0;           0;    4;   Code_Table; High cloud amount
+  0;   20;     23;      0;           0;    7;      percent; Satellite sensed effective cloud amount
+  0;   20;     30;      0;           0;    4;   Code_Table; Total ice concentration
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness) (EsEs)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion (Rs)
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion (Is)
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration (Ci)
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice (zii...zii)
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development (bi)
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Rate of icing (Ir)
+  0;   20;     49;      0;           0;   10;   Code_Table; Type of stability measure
+  0;   20;     50;      0;           0;   10;      Numeric; Value of stability
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR) (VR...VR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground (with or without snow) (E')
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     71;      0;           0;    2;   Code_Table; Ice age code ID
+  0;   20;     72;      0;           0;    2;   Code_Table; Ice edge code ID
+  0;   20;    196;      0;           0;    8;    CCITT_IA5; Runway visibility tendency
+  0;   20;    197;      0;           0;    2;   Flag_Table; Landing wind shear indicator
+  0;   20;    199;      0;           0;    8;     deg_true; Visibility direction
+  0;   20;    205;      0;           0;   24;    CCITT_IA5; Cloud significant convection
+  0;   20;    206;      0;           0;   64;    CCITT_IA5; Significant present weather conditions
+  0;   20;    207;      0;           0;    4;   Code_Table; Pressure and altitude significance
+  0;   20;    208;      0;           0;    4;   Code_Table; Significant weather changes (Ws)
+  0;   20;    209;      0;           0;    4;   Code_Table; Distance of weather changes (Ss)
+  0;   20;    210;      0;           0;    4;   Code_Table; Distant weather (Wd)
+  0;   20;    211;      0;           0;    4;   Code_Table; Bearing of distant weather (dw)
+  0;   20;    213;      0;           0;    4;   Code_Table; Icing and contrail types (It)
+  0;   20;    216;      0;           0;    7;   Code_Table; Altitude of layer base where icing occurred (hihi)
+  0;   20;    219;      0;           0;    4;   Code_Table; Distance to center or line midpoint
+  0;   20;    220;      0;           0;    4;   Code_Table; Orientation of ellipse (Sr)
+  0;   20;    221;     -3;           0;   16;            m; Echo width or diameter (Ew)
+  0;   20;    222;     -3;           0;   16;            m; Echo axis length (El)
+  0;   20;    223;      0;           0;    8;   Code_Table; Echo character (ce)
+  0;   20;    224;      0;           0;    4;   Code_Table; Intensity of echo (Ie)
+  0;   20;    225;      0;           0;    3;   Code_Table; In flight horizontal visibility (Vi)
+  0;   20;    236;      0;           0;    8;    CCITT_IA5; Cloud base height
+  0;   20;    237;      0;           0;    7;   Code_Table; Horizontal visbility
+  0;   20;    240;      0;           0;    4;   Code_Table; Present weather (w)
+  0;   20;    242;      0;           0;    5;   Code_Table; Bearing of ice edge
+  0;   20;    244;      0;           0;    4;   Code_Table; cloud base height
+  0;   20;    245;      0;           0;  640;    CCITT_IA5; Remarks in plain language
+  0;   20;    246;      0;           0;    7;      percent; Ice coverage
+  0;   20;    247;      0;           0; 1656;    CCITT_IA5; Ice plain language text remarks
+  0;   20;    248;      0;           0;    7;   Code_Table; Height of base of cloud (hshs)
+  0;   20;    249;      0;           0;    7;   Code_Table; Height of top of cloud (HtHt)
+  0;   20;    254;      0;           0;    8;    CCITT_IA5; Extreme value indicator
+  0;   20;    255;      0;           0; 2040;    CCITT_IA5; Plain language text remarks
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;       -4096;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;    192;      0;           0;   14;            m; Heave sensor spectral peak length
+  0;   21;    193;      1;           0;   14;            s; Heave sensor spectral peak period
+  0;   21;    194;      2;           0;   14;      percent; AVHRR channel average
+  0;   21;    195;      2;           0;   14;      percent; Space view channel standard deviation
+  0;   21;    196;      2;           0;   15;        deg_K; Algorithm identifier
+  0;   21;    197;      2;           0;   15;        deg_K; AVHRR channel average
+  0;   21;    198;      2;       -5000;   13;           dB; Backscatter
+  0;   21;    199;      1;           0;   10;      percent; Noise figure percentage
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves (dddd, da1da1, or d1d1>dndn)
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves (dw1dw1 or dw2dw2)
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current (dodo>dndn or DcDc))
+  0;   22;     11;      0;           0;    6;            s; Period of waves (D'D'D'D', PaPaPaPa, or PwPw)
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves (Pw1Pw1 or Pw2Pw2)
+  0;   22;     21;      1;           0;   10;            m; Height of waves (D'D'D'D' or HsHsHsHs)
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves (HwHw)
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves (Hw1Hw1 or Hw2Hw2)
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current (cococo>cncncn or VcVc)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature (T1T1T1>TnTnTn)
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature (ToToToTo>TnTnTnTn)
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;        deg_K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity (SoSoSoSo>SnSnSnSn)
+  0;   22;     63;      0;           0;   14;            m; Total water depth (hhh or ZdZdZdZd)
+  0;   22;    105;     -1;           0;    6;     deg_true; Direction of waves (da2da2)
+  0;   22;    143;      2;           0;   13;        deg_K; Sea temperature
+  0;   22;    192;      0;           0;   14;            m; Wave length
+  0;   22;    193;      2;           0;   14;            m; Slope sensor significant wave height
+  0;   22;    194;      0;           0;   14;            m; Slope sensor spectral peak length
+  0;   22;    195;      1;           0;   14;            s; Slope sensor spectral peak period
+  0;   22;    196;      1;           0;   14;            s; Slope sensor mean wave period
+  0;   22;    197;      0;           0;   14;            m; Slope sensor mean wave length
+  0;   22;    198;      0;           0;    7;     deg_true; Wave directional spread
+  0;   22;    199;      1;           0;   14;            s; Time sample interval
+  0;   22;    200;      0;           0;   14;            m; Distance sample interval
+  0;   22;    201;      1;           0;   14;            s; Recorded wave duration
+  0;   22;    202;      0;           0;   14;            m; Recorded wave length
+  0;   22;    203;      0;           0;    7;      Numeric; Count of bands described
+  0;   22;    204;      0;           0;    4;   Code_Table; Wave expiration
+  0;   22;    205;      3;           0;   20; m**2/(Hz*rad); Wave spectra
+  0;   22;    206;      4;           0;   10;      Numeric; Drag coefficient
+  0;   22;    207;      2;           0;   16;            m; Maximum wave height
+  0;   22;    208;      2;           0;   16;            m; Significant wave height
+  0;   22;    209;      0;           0;    7;   Code_Table; directional spread
+  0;   22;    211;      0;           0;    8;   Code_Table; Bogus water mass classification
+  0;   22;    212;      0;           0;    8;   Code_Table; Discriminant water mass classification
+  0;   22;    213;      1;           0;   10;      percent; Classification probability
+  0;   22;    214;      0;           0;   10;      m**2/Hz; Heave sensor spectral density frequency
+  0;   22;    215;      0;           0;   10;         m**3; Heave sensor spectral density number
+  0;   22;    216;      0;           0;    7;      Numeric; Heave sensor band number
+  0;   22;    217;      0;           0;    7;      percent; Heave sensor ratio
+  0;   22;    218;      0;           0;    7;      Numeric; Slope sensor band number
+  0;   22;    219;      0;           0;    7;      percent; Slope sensor ratio
+  0;   22;    220;      0;           0;    8;   Code_Table; Front number
+  0;   22;    224;     -2;           0;   14;            m; Distance to front
+  0;   22;    229;      0;           0;    7;   Code_Table; Wave direction
+  0;   22;    232;      0;           0;    4;   Code_Table; Sea surface temperature method indicator
+  0;   22;    233;      0;           0;    3;   Code_Table; Sea temperature averaging period
+  0;   22;    236;      0;           0;    8;   Code_Table; Swell wave direction
+  0;   22;    237;     -2;           0;   14;            m; Significant wave height
+  0;   22;    238;     -2;           0;   14;            m; Maximum wave height
+  0;   22;    239;      0;           0;    6;      Numeric; Wave spectra direction count
+  0;   22;    240;      0;           0;    6;      Numeric; Wave spectra frequency count
+  0;   22;    241;      3;      -32768;   16;      Nt/m**2; Wave stress u-component
+  0;   22;    242;      3;      -32768;   16;      Nt/m**2; Wave stress v-component
+  0;   22;    243;      0;           0;    7;      percent; Whitecap probability
+  0;   22;    244;      0;           0;    7;   Code_Table; Estimated wave direction of spectral wave
+  0;   22;    245;      2;           0;   16;        deg_K; Surface temperature
+  0;   22;    246;      3;      -32768;   16;      Nt/m**2; Wind stress u-component
+  0;   22;    247;      3;      -32768;   16;      Nt/m**2; Wind stress v-component
+  0;   22;    248;      0;           0;   16;     deg_true; Wind wave direction
+  0;   22;    249;      2;           0;   16;            m; Height of wind wave
+  0;   22;    250;      1;           0;   16;            s; Period of wind waves
+  0;   22;    251;      0;           0;    6;      Numeric; Wave spectra direction
+  0;   22;    252;      0;           0;    6;      Numeric; Wave spectra frequency
+  0;   22;    253;      0;           0;   16;     deg_true; Direction of swell waves
+  0;   22;    254;      2;           0;   16;            m; Height of swell waves
+  0;   22;    255;      1;           0;   16;            s; Period of swell waves
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precip
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter change in wind direction and/or speed flag
+  0;   24;      1;    -11;           0;   28;           Bq; Estimate of radioactivity released up to specified time
+  0;   24;      2;    -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     31;      0;           0;    2;   Code_Table; 15 day SST availability
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     35;      0;           0;    3;   Code_Table; First guess adjustment
+  0;   25;     36;      3;       -5000;   14;      Numeric; NSTAR average value
+  0;   25;     37;      0;           0;    2;   Code_Table; HIRS-8 surface air temperature
+  0;   25;     38;      0;           0;    3;   Code_Table; TOVS filter flags
+  0;   25;     41;      0;           0;    3;   Code_Table; Method of determining direction of moving platform
+  0;   25;     42;      0;           0;    3;   Code_Table; Method of determining speed of moving platform
+  0;   25;    192;      0;           0;    8;   Code_Table; Type of correction
+  0;   25;    193;      0;           0;    3;   Code_Table; Land/sea flag
+  0;   25;    194;      0;           0;    2;   Code_Table; Day/night flag
+  0;   25;    195;      0;           0;    6;      Numeric; Surface model pressure
+  0;   25;    196;      0;           0;   16;      Numeric; Scan line count
+  0;   25;    197;      0;           0;    5;      Numeric; Box counter
+  0;   25;    198;      0;           0;    3;      Numeric; Minibox counter
+  0;   25;    199;      0;           0;    3;   Code_Table; Water vapor flag
+  0;   25;    200;      0;           0;    3;   Code_Table; TOVS retrieval low 20
+  0;   25;    201;      0;           0;    3;   Code_Table; TOVS retrieval temps high 20
+  0;   25;    202;      0;           0;    2;   Code_Table; TOVS super adiabatic flag
+  0;   25;    203;      0;           0;    2;   Code_Table; TOVS skin temperature flag
+  0;   25;    204;      0;           0;    2;   Code_Table; Stratospheric sounding unit flag
+  0;   25;    205;      0;           0;    4;   Code_Table; Latitude zones
+  0;   25;    206;      0;           0;    4;   Code_Table; TOVS instrument combinations
+  0;   25;    208;      0;           0;    8;   Code_Table; TARM flag
+  0;   25;    209;      0;           0;    4;   Code_Table; DMSP flag
+  0;   25;    211;      0;           0;   17;      Numeric; B-scan start time
+  0;   25;    212;      0;           0;    7;      Numeric; Counter (1-64)
+  0;   25;    213;      0;           0;    5;   Code_Table; Calculated surface type
+  0;   25;    214;      0;           0;    3;   Code_Table; Season flag
+  0;   25;    215;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   25;    216;      0;           0;    3;   Code_Table; Observation Quality Code
+  0;   26;      1;      1;           0;   12;           hr; Principle time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;           hr; Principle time of daily reading in UTC of minimum temperature
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite location counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-location dimensions
+  0;   28;      1;      5;   -18000000;   26;          deg; Longtiude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longtiude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type (Wr)
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch (1 bit)
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor (255 or less)
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor (65536 or less)
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data replication factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data replication factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;    192;      0;           0;    8;   Code_Table; Associated QC indicator
+  0;   31;    193;      0;           0;    8;   Code_Table; QC description identifier, indicates why a value is bad
+  0;   31;    194;      2;           0;    7;      Numeric; Associated correlation
+  0;   31;    195;      2;           0;    7;      Numeric; Associated probability of error
+  0;   31;    196;      0;           0;   13;   Flag_Table; UWI product confidence flag
+  0;   31;    197;      0;           0;   12;      Numeric; Solution probability
+  0;   31;    201;      0;           0;   10;      Numeric; Delayed replication factor (1023 or less)
+  0;   31;    211;      0;           0;    3;      Numeric; Delayed replication factor (15 or less)
+  0;   31;    221;      0;           0;    5;      Numeric; Delayed replication count (31 or less)
+  0;   31;    231;      0;           0;    6;      Numeric; Delayed replication factor (63 or less)
+  0;   31;    241;      0;           0;    4;      Numeric; Delayed replication factor (15 or less)
+  0;   48;      1;      0;           0;  128;    CCITT_IA5; Classification
+  0;   48;      2;      0;           0;  128;    CCITT_IA5; Classification modifier
+  0;   48;      3;      0;           0;  552;    CCITT_IA5; Release as
+  0;   48;      4;      0;           0;   12;           yr; Declassification - year
+  0;   48;      5;      0;           0;    4;           mo; Declassification - month
+  0;   48;      6;      0;           0;    6;          day; Declassification - day
+  0;   48;      7;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;      8;      0;           0;   64;    CCITT_IA5; Sender of original observation data
+  0;   48;      9;      0;           0;   80;    CCITT_IA5; Declassification instructions
+  0;   48;     10;      0;           0;   12;           yr; Send - year
+  0;   48;     11;      0;           0;    4;           mo; Send - month
+  0;   48;     12;      0;           0;    6;          day; Send - day
+  0;   48;     13;      0;           0;    4;           hr; Send - hour
+  0;   48;     14;      0;           0;    6;          min; Send - minutes
+  0;   48;     15;      0;           0;  552;    CCITT_IA5; Release to information
+  0;   48;     16;      0;           0;    5;           hr; Send - hour
+  0;   48;     17;      0;           0; 1104;    CCITT_IA5; Release to
+  0;   48;     18;      0;           0;  552;    CCITT_IA5; Release not
+  0;   48;     19;      0;           0;  552;    CCITT_IA5; Declassification instructions
+  0;   48;     20;      0;           0;  552;    CCITT_IA5; Classification modifier
+  0;   48;     21;      0;           0;  552;    CCITT_IA5; Sender of observational data
+  0;   48;     22;      0;           0;  160;    CCITT_IA5; Classification
+  0;   48;     27;      0;           0;   12;           yr; Receipt - year
+  0;   48;     28;      0;           0;    4;           mo; Receipt - month
+  0;   48;     29;      0;           0;    6;          day; Receipt - day
+  0;   48;     30;      0;           0;    5;           hr; Receipt - hour
+  0;   48;     31;      0;           0;    6;          min; Receipt - minutes
+  0;   48;     32;      0;           0;   48;    CCITT_IA5; Bulletin header update or correction indicator
+  0;   48;     33;      0;           0;   24;    CCITT_IA5; Receiving circuit
+  0;   48;     34;      0;           0;    6;      Numeric; Near-duplicate combination count
+  0;   50;      1;      0;           0;    2;   Code_Table; Quality of measurement of pressure, sst,
+  0;   50;      2;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission (QN)
+  0;   50;      3;      0;           0;    4;   Code_Table; IGOSS quality codes (Qd, Qd1, Qd2, Q1, Qt)
+  0;   50;      6;      0;           0;    3;   Code_Table; Location quality codes (QL)
+  0;   50;     10;      2;           0;   15;        deg_K; GDEM temperature
+  0;   50;     14;      2;           0;   15;        deg_K; Feature model temperature
+  0;   50;     18;      0;           0;   16;      Numeric; Reliability
+  0;   50;     33;      0;           0;    8;      Numeric; Count of boundary points
+  0;   50;     34;      3;           0;   16;      Numeric; Frequency ratio
+  0;   50;     35;      0;           0;   12;            s; Time step of data (time increment)
+  0;   50;     42;      2;           0;   12;      Numeric; Mean wave direction
+  0;   50;     43;      3;           0;   12;      Numeric; Mean wave frequency
+  0;   50;     44;      4;           0;   12;      Numeric; First frequency
+  0;   50;    100;      0;           0;   12;           yr; Analysis DTG - year
+  0;   50;    101;      0;           0;    4;           mo; Analysis DTG - month
+  0;   50;    102;      0;           0;    6;          day; Analysis DTG - day
+  0;   50;    103;      0;           0;    5;           hr; Analysis DTG - hour
+  0;   50;    104;      0;           0;    6;      Numeric; Last observed sea depth
+  0;   51;      3;      0;           0;    5;   Flag_Table; Processing status
+  0;   51;      6;      0;           0;    6;      Numeric; Combination count
+  0;   51;      7;      0;           0;    2;   Code_Table; Quality control process status
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-000-D
@@ -0,0 +1,1606 @@
+3	0	2 
+	0	0	2 
+	0	0	3 
+	-1 
+ 
+3	0	3 
+	0	0	10 
+	0	0	11 
+	0	0	12 
+	-1 
+ 
+3	0	4 
+	3	0	3 
+	0	0	13 
+	0	0	14 
+	0	0	15 
+	0	0	16 
+	0	0	17 
+	0	0	18 
+	0	0	19 
+	0	0	20 
+	-1 
+ 
+3	0	10 
+	3	0	3 
+	1	1	0 
+	0	31	1 
+	0	0	30 
+	-1 
+ 
+3	1	1 
+	0	1	1 
+	0	1	2 
+	-1 
+ 
+3	1	2 
+	0	1	3 
+	0	1	4 
+	0	1	5 
+	-1 
+ 
+3	1	3 
+	0	1	11 
+	0	1	12 
+	0	1	13 
+	-1 
+ 
+3	1	11 
+	0	4	1 
+	0	4	2 
+	0	4	3 
+	-1 
+ 
+3	1	12 
+	0	4	4 
+	0	4	5 
+	-1 
+ 
+3	1	13 
+	3	1	12 
+	0	4	6 
+	-1 
+ 
+3	1	21 
+	0	5	1 
+	0	6	1 
+	-1 
+ 
+3	1	22 
+	3	1	21 
+	0	7	1 
+	-1 
+ 
+3	1	23 
+	0	5	2 
+	0	6	2 
+	-1 
+ 
+3	1	24 
+	3	1	23 
+	0	7	1 
+	-1 
+ 
+3	1	25 
+	3	1	23 
+	0	4	3 
+	3	1	12 
+	-1 
+ 
+3	1	26 
+	3	1	21 
+	0	4	3 
+	0	4	3 
+	0	4	4 
+	0	4	4 
+	0	4	5 
+	0	4	5 
+	-1 
+ 
+3	1	31 
+	3	1	1 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	22 
+	-1 
+ 
+3	1	32 
+	3	1	1 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	33 
+	0	1	5 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	21 
+	-1 
+ 
+3	1	34 
+	0	1	5 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	35 
+	0	1	5 
+	0	1	12 
+	0	1	13 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	36 
+	3	1	3 
+	0	2	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	37 
+	3	1	1 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	22 
+	-1 
+ 
+3	1	38 
+	3	1	1 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	39 
+	3	1	3 
+	0	1	11 
+	0	1	12 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	-1 
+ 
+3	1	40 
+	3	1	3 
+	0	2	11 
+	0	2	12 
+	3	1	11 
+	3	1	12 
+	3	1	24 
+	-1 
+ 
+3	1	41 
+	0	1	7 
+	0	2	21 
+	0	2	22 
+	3	1	11 
+	3	1	12 
+	-1 
+ 
+3	1	42 
+	3	1	41 
+	3	1	21 
+	-1 
+ 
+3	1	43 
+	0	1	7 
+	0	2	23 
+	3	1	11 
+	3	1	13 
+	3	1	21 
+	-1 
+ 
+3	1	44 
+	0	1	7 
+	0	2	24 
+	3	1	11 
+	3	1	13 
+	3	1	21 
+	-1 
+ 
+3	1	51 
+	0	1	6 
+	0	2	61 
+	3	1	11 
+	3	1	12 
+	3	1	21 
+	0	8	4 
+	-1 
+ 
+3	1	62 
+	1	1	0 
+	0	31	1 
+	3	1	1 
+	-1 
+ 
+3	1	190 
+	0	4	192 
+	0	4	193 
+	-1 
+ 
+3	1	191 
+	0	8	192 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	-1 
+ 
+3	1	192 
+	3	1	11 
+	0	4	4 
+	3	1	23 
+	-1 
+ 
+3	2	1 
+	0	10	4 
+	0	10	51 
+	0	10	61 
+	0	10	63 
+	-1 
+ 
+3	2	2 
+	0	10	4 
+	0	7	4 
+	0	10	3 
+	0	10	61 
+	0	10	63 
+	-1 
+ 
+3	2	3 
+	0	11	11 
+	0	11	12 
+	0	12	4 
+	0	12	6 
+	0	13	3 
+	0	20	1 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	-1 
+ 
+3	2	4 
+	0	20	10 
+	0	8	2 
+	0	20	11 
+	0	20	13 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	-1 
+ 
+3	2	5 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	2	11 
+	3	2	1 
+	3	2	3 
+	3	2	4 
+	-1 
+ 
+3	2	12 
+	3	2	2 
+	3	2	3 
+	3	2	4 
+	-1 
+ 
+3	2	21 
+	0	22	1 
+	0	22	11 
+	0	22	21 
+	-1 
+ 
+3	2	22 
+	0	22	2 
+	0	22	12 
+	0	22	22 
+	-1 
+ 
+3	2	23 
+	0	22	3 
+	0	22	13 
+	0	22	23 
+	-1 
+ 
+3	2	24 
+	3	2	22 
+	3	2	23 
+	3	2	23 
+	-1 
+ 
+3	2	190 
+	0	10	51 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	2	191 
+	0	12	11 
+	0	12	12 
+	0	20	62 
+	0	20	63 
+	-1 
+ 
+3	2	192 
+	0	20	1 
+	3	2	193 
+	-1 
+ 
+3	2	193 
+	0	20	1 
+	3	2	197 
+	-1 
+ 
+3	2	194 
+	0	4	31 
+	0	13	11 
+	-1 
+ 
+3	2	195 
+	0	2	2 
+	0	11	41 
+	0	10	52 
+	0	4	31 
+	0	13	12 
+	0	13	13 
+	0	10	192 
+	0	10	62 
+	-1 
+ 
+3	2	196 
+	0	10	4 
+	3	2	193 
+	-1 
+ 
+3	2	197 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	-1 
+ 
+3	2	199 
+	3	1	32 
+	3	1	190 
+	3	1	191 
+	3	2	190 
+	-1 
+ 
+3	3	1 
+	0	7	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	2 
+	0	7	4 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	3 
+	0	7	4 
+	0	10	3 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	3	4 
+	3	3	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	11 
+	0	7	3 
+	0	8	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	12 
+	0	7	4 
+	0	8	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	13 
+	0	7	4 
+	0	8	1 
+	0	10	3 
+	0	12	1 
+	0	13	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	14 
+	0	7	4 
+	0	8	1 
+	0	10	3 
+	0	12	1 
+	0	12	3 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	3	21 
+	0	7	4 
+	0	7	4 
+	2	4	7 
+	0	31	21 
+	-1 
+ 
+3	3	22 
+	3	3	21 
+	0	10	3 
+	2	4	0 
+	-1 
+ 
+3	3	23 
+	3	3	21 
+	0	12	1 
+	2	4	0 
+	-1 
+ 
+3	3	24 
+	3	3	21 
+	0	13	16 
+	2	4	0 
+	-1 
+ 
+3	3	25 
+	0	2	25 
+	2	4	7 
+	0	31	21 
+	0	12	63 
+	2	4	0 
+	-1 
+ 
+3	3	26 
+	0	7	4 
+	0	8	3 
+	2	4	7 
+	0	31	21 
+	0	12	1 
+	2	4	0 
+	-1 
+ 
+3	3	27 
+	0	7	4 
+	2	4	7 
+	0	31	21 
+	0	10	3 
+	2	4	0 
+	-1 
+ 
+3	3	31 
+	0	7	4 
+	0	8	3 
+	0	7	21 
+	0	7	22 
+	0	8	12 
+	0	12	61 
+	-1 
+ 
+3	3	32 
+	0	20	11 
+	0	20	16 
+	-1 
+ 
+3	3	192 
+	0	1	7 
+	3	1	11 
+	3	1	13 
+	3	1	23 
+	3	3	193 
+	3	3	194 
+	3	3	195 
+	3	3	196 
+	3	3	197 
+	-1 
+ 
+3	3	193 
+	0	5	22 
+	0	8	12 
+	0	12	61 
+	0	8	3 
+	0	7	4 
+	0	2	22 
+	0	27	20 
+	0	22	42 
+	0	8	3 
+	-1 
+ 
+3	3	194 
+	1	3	15 
+	0	7	4 
+	0	7	4 
+	0	12	7 
+	0	8	3 
+	1	3	3 
+	0	7	4 
+	0	7	4 
+	0	13	16 
+	0	8	3 
+	-1 
+ 
+3	3	195 
+	0	7	4 
+	0	12	7 
+	0	8	3 
+	0	15	1 
+	0	8	3 
+	0	7	4 
+	0	20	10 
+	0	2	21 
+	-1 
+ 
+3	3	196 
+	1	1	20 
+	0	12	62 
+	0	2	21 
+	1	1	4 
+	0	12	62 
+	0	2	21 
+	-1 
+ 
+3	3	197 
+	1	1	3 
+	0	12	62 
+	1	3	20 
+	0	10	4 
+	0	12	7 
+	0	10	2 
+	1	2	5 
+	0	10	4 
+	0	12	3 
+	-1 
+ 
+3	4	1 
+	0	8	3 
+	0	10	4 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	4	2 
+	0	8	3 
+	0	10	4 
+	0	11	1 
+	0	11	2 
+	-1 
+ 
+3	4	3 
+	0	8	3 
+	0	12	1 
+	-1 
+ 
+3	4	4 
+	0	8	3 
+	0	10	4 
+	0	20	10 
+	0	12	1 
+	-1 
+ 
+3	4	5 
+	0	2	24 
+	0	7	4 
+	0	7	4 
+	0	13	3 
+	-1 
+ 
+3	4	6 
+	0	14	1 
+	0	14	1 
+	0	14	3 
+	-1 
+ 
+3	6	1 
+	0	2	32 
+	1	2	0 
+	0	31	1 
+	0	7	62 
+	0	22	42 
+	-1 
+ 
+3	6	2 
+	0	2	31 
+	0	22	4 
+	0	22	31 
+	-1 
+ 
+3	6	3 
+	0	2	2 
+	0	11	11 
+	0	11	12 
+	0	12	4 
+	-1 
+ 
+3	6	4 
+	0	2	32 
+	0	2	33 
+	1	3	0 
+	0	31	1 
+	0	7	62 
+	0	22	42 
+	0	22	62 
+	-1 
+ 
+3	6	5 
+	0	2	31 
+	1	3	0 
+	0	31	1 
+	0	7	62 
+	0	22	4 
+	0	22	31 
+	-1 
+ 
+3	6	6 
+	3	6	3 
+	3	6	2 
+	0	22	63 
+	-1 
+ 
+3	6	7 
+	0	1	12 
+	0	1	14 
+	3	6	8 
+	0	4	24 
+	0	27	3 
+	0	28	3 
+	-1 
+ 
+3	6	8 
+	0	2	34 
+	0	2	35 
+	0	2	36 
+	-1 
+ 
+3	6	9 
+	0	10	4 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	4 
+	0	13	3 
+	0	22	42 
+	-1 
+ 
+3	7	1 
+	3	1	31 
+	3	2	11 
+	-1 
+ 
+3	7	2 
+	3	1	32 
+	3	2	11 
+	-1 
+ 
+3	7	3 
+	3	7	1 
+	1	1	0 
+	0	31	1 
+	3	2	5 
+	-1 
+ 
+3	7	4 
+	3	7	2 
+	1	1	0 
+	0	31	1 
+	3	2	5 
+	-1 
+ 
+3	7	5 
+	3	7	1 
+	1	1	4 
+	3	2	5 
+	-1 
+ 
+3	7	6 
+	3	7	2 
+	1	1	4 
+	3	2	5 
+	-1 
+ 
+3	7	7 
+	3	1	31 
+	3	2	12 
+	-1 
+ 
+3	7	8 
+	3	1	32 
+	3	2	12 
+	-1 
+ 
+3	7	192 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	7	193 
+	3	2	199 
+	0	20	1 
+	0	20	10 
+	0	12	11 
+	0	12	12 
+	0	20	62 
+	3	2	194 
+	-1 
+ 
+3	7	194 
+	3	2	199 
+	0	20	1 
+	3	2	4 
+	3	2	5 
+	3	2	191 
+	3	2	194 
+	-1 
+ 
+3	7	195 
+	3	2	199 
+	0	10	4 
+	3	2	193 
+	3	2	4 
+	1	1	2 
+	3	2	5 
+	3	2	191 
+	3	2	194 
+	-1 
+ 
+3	7	196 
+	3	2	199 
+	3	2	196 
+	3	2	4 
+	1	1	4 
+	3	2	5 
+	3	2	191 
+	1	1	2 
+	3	2	194 
+	3	2	195 
+	-1 
+ 
+3	7	197 
+	3	2	199 
+	3	2	194 
+	-1 
+ 
+3	8	1 
+	3	1	33 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	2 
+	3	1	34 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	3 
+	3	1	35 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	4 
+	3	1	36 
+	3	2	11 
+	0	22	42 
+	-1 
+ 
+3	8	5 
+	3	8	4 
+	3	2	24 
+	-1 
+ 
+3	8	6 
+	0	10	4 
+	0	10	61 
+	0	10	63 
+	0	11	1 
+	0	11	2 
+	0	12	4 
+	0	13	3 
+	0	22	42 
+	-1 
+ 
+3	9	1 
+	3	1	37 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	2 
+	3	1	38 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	3 
+	3	1	37 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	4 
+	3	1	38 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	5 
+	3	1	37 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	6 
+	3	1	38 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	7 
+	3	1	4 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	8 
+	3	1	38 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	11 
+	3	1	39 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	12 
+	3	1	39 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	13 
+	3	1	39 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	14 
+	3	1	39 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	15 
+	3	9	16 
+	3	9	17 
+	3	9	18 
+	-1 
+ 
+3	9	16 
+	3	1	40 
+	1	1	0 
+	0	31	1 
+	3	3	12 
+	-1 
+ 
+3	9	17 
+	3	1	40 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	13 
+	-1 
+ 
+3	9	18 
+	3	1	40 
+	3	2	4 
+	1	1	0 
+	0	31	1 
+	3	3	14 
+	-1 
+ 
+3	9	19 
+	3	1	31 
+	0	2	3 
+	1	1	0 
+	0	31	1 
+	3	3	11 
+	-1 
+ 
+3	9	20 
+	3	1	31 
+	0	2	3 
+	1	4	0 
+	0	31	1 
+	0	7	3 
+	0	11	3 
+	0	11	4 
+	0	11	5 
+	-1 
+ 
+3	10	1 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	26 
+	3	3	25 
+	-1 
+ 
+3	10	2 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	9 
+	3	3	23 
+	-1 
+ 
+3	10	3 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	6 
+	3	3	23 
+	-1 
+ 
+3	10	4 
+	3	1	42 
+	3	3	31 
+	3	3	32 
+	1	1	3 
+	3	3	24 
+	-1 
+ 
+3	11	1 
+	3	1	51 
+	0	7	2 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	0	20	41 
+	-1 
+ 
+3	12	1 
+	3	1	43 
+	3	4	1 
+	-1 
+ 
+3	12	2 
+	3	1	43 
+	3	4	2 
+	-1 
+ 
+3	12	3 
+	3	1	42 
+	3	4	3 
+	-1 
+ 
+3	12	4 
+	3	1	42 
+	3	4	4 
+	-1 
+ 
+3	12	5 
+	3	1	42 
+	0	20	14 
+	-1 
+ 
+3	12	6 
+	3	1	42 
+	3	4	5 
+	-1 
+ 
+3	12	7 
+	3	1	42 
+	3	4	6 
+	-1 
+ 
+3	12	10 
+	0	1	7 
+	0	5	40 
+	0	2	21 
+	0	5	41 
+	0	4	1 
+	0	4	43 
+	-1 
+ 
+3	12	11 
+	2	2	131 
+	2	1	149 
+	0	4	6 
+	2	1	0 
+	2	2	132 
+	0	10	2 
+	2	2	0 
+	0	5	43 
+	0	5	53 
+	-1 
+ 
+3	12	12 
+	2	2	130 
+	2	1	132 
+	1	1	19 
+	0	12	63 
+	2	1	0 
+	2	2	0 
+	-1 
+ 
+3	12	13 
+	0	5	42 
+	2	2	130 
+	2	1	135 
+	0	12	63 
+	2	1	0 
+	2	2	0 
+	-1 
+ 
+3	12	14 
+	3	12	10 
+	3	12	11 
+	1	5	56 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	3	12	12 
+	3	12	13 
+	-1 
+ 
+3	12	15 
+	1	9	11 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	2	2	129 
+	2	1	132 
+	1	1	4 
+	0	12	63 
+	2	2	0 
+	2	1	0 
+	-1 
+ 
+3	12	16 
+	3	12	10 
+	3	12	11 
+	3	12	15 
+	-1 
+ 
+3	12	17 
+	1	9	8 
+	3	1	23 
+	0	5	42 
+	0	5	52 
+	2	2	129 
+	2	1	132 
+	1	1	3 
+	0	12	63 
+	2	2	0 
+	2	1	0 
+	-1 
+ 
+3	12	18 
+	3	12	10 
+	3	12	11 
+	3	12	17 
+	-1 
+ 
+3	13	9 
+	0	21	1 
+	1	1	0 
+	0	31	1 
+	0	21	1 
+	-1 
+ 
+3	13	10 
+	0	21	36 
+	1	1	0 
+	0	31	1 
+	0	21	36 
+	-1 
+ 
+3	13	31 
+	0	6	2 
+	0	6	12 
+	1	1	0 
+	0	31	2 
+	0	30	1 
+	-1 
+ 
+3	13	32 
+	0	5	2 
+	0	5	12 
+	1	1	0 
+	0	31	2 
+	3	13	31 
+	-1 
+ 
+3	13	41 
+	0	6	2 
+	0	6	12 
+	1	6	0 
+	0	31	1 
+	1	1	0 
+	0	31	11 
+	0	30	1 
+	1	1	0 
+	0	31	1 
+	0	30	1 
+	-1 
+ 
+3	13	42 
+	0	5	2 
+	0	5	12 
+	1	1	0 
+	0	31	2 
+	3	13	41 
+	-1 
+ 
+3	15	1 
+	0	8	3 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	3	6	1 
+	-1 
+ 
+3	15	2 
+	0	8	3 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	3	6	4 
+	-1 
+ 
+3	16	1 
+	3	1	192 
+	0	1	21 
+	0	2	41 
+	0	19	1 
+	0	10	51 
+	0	19	2 
+	0	19	3 
+	0	19	4 
+	-1 
+ 
+3	18	1 
+	3	1	25 
+	0	24	11 
+	-1 
+ 
+3	18	3 
+	3	1	26 
+	0	24	5 
+	0	24	4 
+	0	24	21 
+	-1 
+ 
+3	18	4 
+	3	1	25 
+	0	4	31 
+	0	13	11 
+	0	24	5 
+	0	24	4 
+	0	24	22 
+	-1 
+ 
+3	21	1 
+	0	2	101 
+	0	2	114 
+	0	2	105 
+	0	2	106 
+	0	2	107 
+	0	2	121 
+	-1 
+ 
+3	21	3 
+	0	21	51 
+	0	21	14 
+	0	21	17 
+	0	21	30 
+	-1 
+ 
+3	21	4 
+	3	1	31 
+	0	2	3 
+	1	1	0 
+	0	31	1 
+	3	21	3 
+	-1 
+ 
+3	21	5 
+	0	25	4 
+	0	2	121 
+	0	2	122 
+	0	2	123 
+	0	2	124 
+	0	2	125 
+	0	2	126 
+	0	2	127 
+	3	21	192 
+	-1 
+ 
+3	21	6 
+	0	25	1 
+	0	25	2 
+	0	25	3 
+	0	25	5 
+	-1 
+ 
+3	21	7 
+	0	25	9 
+	0	25	10 
+	0	25	11 
+	0	25	12 
+	0	25	13 
+	0	25	15 
+	0	25	16 
+	0	25	17 
+	-1 
+ 
+3	21	8 
+	0	25	6 
+	0	25	7 
+	0	25	8 
+	-1 
+ 
+3	21	9 
+	0	25	18 
+	0	25	19 
+	-1 
+ 
+3	21	10 
+	0	2	101 
+	0	7	2 
+	0	2	102 
+	0	2	103 
+	0	2	104 
+	0	2	105 
+	0	2	106 
+	0	2	107 
+	0	2	108 
+	3	21	193 
+	-1 
+ 
+3	21	11 
+	0	30	31 
+	0	30	32 
+	0	29	2 
+	-1 
+ 
+3	21	12 
+	1	1	0 
+	0	31	1 
+	0	2	135 
+	-1 
+ 
+3	21	192 
+	0	2	128 
+	0	2	129 
+	0	2	130 
+	0	2	131 
+	-1 
+ 
+3	21	193 
+	0	2	109 
+	0	2	110 
+	0	2	132 
+	0	2	133 
+	-1 
+ 
+3	55	1 
+	3	55	4 
+	3	55	5 
+	0	12	192 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	2	61 
+	0	10	194 
+	-1 
+ 
+3	55	2 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	-1 
+ 
+3	55	3 
+	0	20	41 
+	0	58	3 
+	0	58	4 
+	-1 
+ 
+3	55	4 
+	0	58	1 
+	0	58	2 
+	0	1	8 
+	0	1	6 
+	3	1	11 
+	3	1	12 
+	0	4	192 
+	0	4	193 
+	3	1	23 
+	-1 
+ 
+3	55	5 
+	0	2	43 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	42 
+	0	7	192 
+	0	7	4 
+	-1 
+ 
+3	58	1 
+	0	58	1 
+	0	1	11 
+	0	1	8 
+	0	1	6 
+	3	1	11 
+	3	1	12 
+	0	4	192 
+	0	4	193 
+	3	58	2 
+	3	58	3 
+	-1 
+ 
+3	58	2 
+	0	2	43 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	42 
+	0	7	192 
+	0	7	4 
+	0	8	4 
+	0	12	192 
+	-1 
+ 
+3	58	3 
+	0	12	1 
+	0	11	1 
+	0	11	2 
+	0	2	61 
+	0	10	194 
+	-1 
+ 
+3	58	4 
+	0	11	31 
+	0	11	32 
+	0	11	33 
+	-1 
+ 
+3	58	5 
+	0	20	41 
+	0	58	3 
+	0	58	4 
+	-1 
+ 
+3	59	1 
+	3	59	2 
+	3	59	3 
+	3	59	4 
+	3	59	5 
+	3	59	6 
+	3	59	7 
+	3	59	8 
+	-1 
+ 
+3	59	2 
+	0	58	1 
+	0	1	11 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	0	7	1 
+	-1 
+ 
+3	59	3 
+	0	4	192 
+	0	4	193 
+	0	8	193 
+	0	8	194 
+	0	8	195 
+	0	8	196 
+	0	2	2 
+	-1 
+ 
+3	59	4 
+	0	1	12 
+	0	1	13 
+	0	10	4 
+	0	10	51 
+	0	4	31 
+	0	10	63 
+	0	10	61 
+	0	10	62 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	59	5 
+	0	11	1 
+	0	11	2 
+	0	4	31 
+	0	11	41 
+	0	12	11 
+	0	12	12 
+	0	4	31 
+	0	13	11 
+	0	4	31 
+	0	13	11 
+	-1 
+ 
+3	59	6 
+	0	20	1 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	0	20	10 
+	0	20	63 
+	0	20	63 
+	0	8	2 
+	0	20	11 
+	0	10	13 
+	-1 
+ 
+3	59	7 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	1	4	4 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	-1 
+ 
+3	59	8 
+	0	22	42 
+	0	22	12 
+	0	22	22 
+	1	1	2 
+	3	2	23 
+	0	20	31 
+	0	20	32 
+	0	20	32 
+	-1 
+ 
+3	60	1 
+	3	60	2 
+	3	60	3 
+	3	60	4 
+	3	60	5 
+	3	60	6 
+	3	60	7 
+	3	60	8 
+	-1 
+ 
+3	60	2 
+	0	58	1 
+	3	1	1 
+	3	1	11 
+	3	1	12 
+	3	1	23 
+	3	59	3 
+	-1 
+ 
+3	60	3 
+	0	7	4 
+	0	10	4 
+	0	10	192 
+	0	10	51 
+	0	4	31 
+	0	10	63 
+	0	10	61 
+	0	10	62 
+	0	12	1 
+	0	12	3 
+	-1 
+ 
+3	60	4 
+	0	11	1 
+	0	11	2 
+	0	4	31 
+	0	11	41 
+	0	12	11 
+	0	12	12 
+	0	10	52 
+	-1 
+ 
+3	60	5 
+	0	4	31 
+	0	13	11 
+	0	40	31 
+	0	13	11 
+	0	40	31 
+	0	13	12 
+	0	13	13 
+	-1 
+ 
+3	60	6 
+	0	20	62 
+	0	20	3 
+	0	20	4 
+	0	20	5 
+	0	20	10 
+	0	20	63 
+	0	20	63 
+	-1 
+ 
+3	60	7 
+	0	20	1 
+	0	8	2 
+	0	20	11 
+	0	20	13 
+	0	20	12 
+	0	20	12 
+	0	20	12 
+	-1 
+ 
+3	60	8 
+	1	4	4 
+	0	8	2 
+	0	20	11 
+	0	20	12 
+	0	20	13 
+	0	22	42 
+	0	22	12 
+	0	22	22 
+	3	2	23 
+	0	2	1 
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-007-D
@@ -0,0 +1,1933 @@
+#
+# WMO source file name = BufrTabD.txt
+# Master Table D Version 7
+#
+#-----------------------------------------------------
+# F X Y --> Table D descriptor being defined
+#      F X Y --> 
+#      F X Y --> descriptors defining sequence for
+#      F X Y --> corresponding Table D descriptor
+#      -1 --> end of sequence designator
+#------------------------------------------------------
+#  Category 00 - BUFR table entries sequences
+  3   0   2
+      0   0   2  "Table A category, line 1"
+      0   0   3  "Table A category, line 2"
+     -1
+  3   0   3
+      0   0  10  "F,  part descriptor"
+      0   0  11  "X,  part descriptor"
+      0   0  12  "Y,  part descriptor"
+     -1
+  3   0   4
+      3   0   3
+      0   0  13  "Element name, line 1"
+      0   0  14  "Element name, line 2"
+      0   0  15  Units name
+      0   0  16  Units scale sign
+      0   0  17  Units scale
+      0   0  18  Units reference sign
+      0   0  19  Units reference value
+      0   0  20  Element data width
+     -1
+  3   0  10
+      3   0   3  Table D descriptor to be defined
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      0   0  30  Descriptor defining sequence
+     -1
+#  Category 01 - Location and Identification sequences
+  3   1   1
+      0   1   1  WMO block number
+      0   1   2  WMO station number
+     -1
+  3   1   2
+      0   1   3  WMO Region number
+      0   1   4  WMO Region sub-area
+      0   1   5  Buoy/platform identifier
+     -1
+  3   1   3
+      0   1  11  Ship's call sign
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+     -1
+  3   1  11
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+     -1
+  3   1  12
+      0   4   4  Hour
+      0   4   5  Minute
+     -1
+  3   1  13
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+     -1
+  3   1  21
+      0   5   1  Latitude - high accuracy
+      0   6   1  Longitude - high accuracy
+     -1
+  3   1  22
+      0   5   1  Latitude - high accuracy
+      0   6   1  Longitude - high accuracy
+      0   7   1  Height of station
+     -1
+  3   1  23
+      0   5   2  Latitude
+      0   6   2  Longitude
+     -1
+  3   1  24
+      0   5   2  Latitude
+      0   6   2  Longitude
+      0   7   1  Height of station
+     -1
+  3   1  25
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   4   3  Day
+      3   1  12  Time
+     -1
+  3   1  26
+      3   1  21  Latitude and longitude (high accuracy)
+      0   4   3
+      0   4   3  (Time period in days)
+      0   4   4
+      0   4   4  (Time period in hours)
+      0   4   5
+      0   4   5  (Time period in minutes)
+     -1
+  3   1  31
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high  accuracy), height of station"
+     -1
+  3   1  32
+      3   1   1  WMO block and station number
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Buoy/platform  fixed)
+  3   1  33
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  34
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  moving)
+  3   1  35
+      0   1   5  Buoy/platform identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Ship)
+  3   1  36
+      3   1   3  Ship's call sign and motion
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Land station for vertical soundings)
+  3   1  37
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high accuracy), height of station"
+     -1
+#  (Land station for vertical soundings)
+  3   1  38
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Ship for vertical soundings)
+  3   1  39
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  33
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+     -1
+#  (Buoy/platform  fixed)
+  3   1  34
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Buoy/platform  moving)
+  3   1035*
+      0   1   5  Buoy/platform identifier
+      0   1  12  Direction of motion of moving observing platform
+      0   1  13  Speed of motion of moving observing platform
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Ship)
+  3   1  36
+      3   1   3  Ship's call sign and motion
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Land station for vertical soundings)
+  3   1  37
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  22  "Latitude and longitude (high accuracy), height of station"
+     -1
+#  (Land station for vertical soundings)
+  3   1  38
+      3   1   1  WMO block and station number
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  24  "Latitude and longitude (coarse accuracy), height of station"
+     -1
+#  (Ship for vertical soundings)
+  3   1  39
+      3   1   3  Ship's call sign and motion
+      0   2  11  Radiosonde type
+      0   2  12  Radiosonde computational method
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+     -1
+#  (Radar parameters)
+  3   1  48
+      0   2 104  Antenna polarization
+      0   2 121  Mean frequency
+      0   2 113  Number of azimuth looks
+      0   2  26  Cross-track resolution
+      0   2  27  Along-track resolution
+      0   2 111  Radar incidence angle
+      0   2 140  Satellite radar beam azimuth angle
+      2   2 127  Change scale to 1
+      0   1  13  Radar platform velocity
+      2   2 126  Change scale to 2
+      0   7   1  Radar platform altitude
+      2   2   0  Change scale to Table B
+      0  25  10  Clutter treatment
+      0  21  64  Clutter noise estimate
+     -1
+#  (Radar beam data)
+  3   1  49
+      0   2 111  Radar incidence angle
+      0   2 112  Radar look angle
+      0  21  62  Backscatter
+      0  21  63  Radiometric resolution (Noise value)
+      0  21  65  Missing packet counter
+     -1
+  3   1  51
+      0   1   6  Aircraft identifier
+      0   2  61  Navigational system
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  "Latitude, longitude"
+      0   8   4  Phase of aircraft flight
+     -1
+  3   1  55
+      0   1   5  Buoy/platform identifier
+      0   2   1  Type of station
+      3   1  11  Date
+      3   1  12  Time
+      3   1  21  Latitude and longitude (high accuracy)
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+     -1
+#  (Radar location(s))
+  3   1  62
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   1   1  WMO block and station number
+     -1
+#  (ACARS identification)
+  3   1  65
+      0   1   6  Aircraft flight number (see Note)
+      0   1   8  Aircraft registration number (see Note)
+      0   2   1  Type of station
+      0   2   2  Type of instrumentation for wind measurement
+      0   2   5  Precision of temperature observation
+      0   2  62  Type of aircraft data relay system
+      0   2  70  Original specification of latitude/longitude
+      0   2  65  ACARS ground receiving station
+     -1
+#  (ACARS location)
+  3   1  66
+      3   1  11  "Year, month, day"
+      3   1  13  "Hour, minute, second"
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   7   4  Pressure
+      0   2  64  Aircraft roll angle quality
+      0   8   4  Phase of aircraft flight
+     -1
+#  (Satellite identifier/Generating resolution)
+  3   1  71
+      0   1   7  Satellite identifier
+      0   1  31  Generating centre
+      0   2  20  Satellite classification
+      0   2  28  Segment size at nadir in X direction
+      0   2  29  Segment size at nadir in Y direction
+     -1
+#  (Satellite identification)
+  3   1  72
+      3   1  71  "Satellite identification, Generation resolution"
+      3   1  11  Date
+      3   1  13  Time
+      3   1  21  "Latitude, longitude"
+     -1
+#  Category 02 - Meteorological sequences common to surface data
+  3   2   1
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (High altitude station)
+  3   2   2
+      0  10   4  Pressure (at station level)
+      0   7   4  Pressure level
+      0  10   3  Geopotential of pressure level
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+  3   2   3
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Temperature (2 m)
+      0  12   6  Dew point (2 m)
+      0  13   3  Relative humidity
+      0  20   1  Horizontal visibility
+      0  20   3  Present weather
+      0  20   4  Past weather (1)
+      0  20   5  Past weather (2)
+     -1
+#  (General cloud information)
+  3   2   4
+      0  20  10  Cloud cover (total)
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  13  Height of base of cloud
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+      0  20  12  Cloud type
+     -1
+  3   2   5
+      0   8   2  Vertical significance
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0  20  13  Height of base of cloud
+     -1
+  3   2   6
+      0  10   4  Pressure (at station level)
+      0  10  51  Pressure reduced to mean sea level
+      0  10  62  24-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+     -1
+#  (Low altitude station)
+  3   2  11
+      3   2   1  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud layer
+     -1
+#  (High altitude station)
+  3   2  12
+      3   2   2  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      3   2   4  Significant cloud information
+     -1
+  3   2  13
+      3   2   6  Pressure and pressure change
+      3   2   3  "Wind, temperature, humidity, visibility, weather"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   2   5  Cloud layer information
+     -1
+  3   2  21
+      0  22   1  Direction of waves
+      0  22  11  Period of waves
+      0  22  21  Height of waves
+     -1
+  3   2  22
+      0  22   2  Direction of wind waves
+      0  22  12  Period of wind waves
+      0  22  22  Height of wind waves
+     -1
+  3   2  23
+      0  22   3  Direction of swell waves
+      0  22  13  Period of swell waves
+      0  22  23  Height of swell waves
+     -1
+  3   2  24
+      3   2  22  Wind waves
+      1   1   2  Replicate 1 descriptor 2 times
+      3   2  23  Swell waves (2 systems of swell)
+     -1
+  3   2  51
+      0  10   4  Pressure
+      0  10  51  Pressure reduced to mean sea level
+      0   7   4  Pressure (vertical location)
+      0  10   3  Geopotential
+      0  12   4  Dry-bulb temperature at 2 m
+      0  12  51  Standard deviation temperature
+      0  12  16  "Maximum temperature at 2 m, past 24 hours"
+      0  12  17  "Minimum temperature at 2 m, past 24 hours"
+      0  13   4  Vapour pressure
+      1   2   4  Replicate 2 descriptors 4 times
+      0   8  51  Qualifier for number of missing values in calculation of statistic
+      0   8  20  Total number of missing entities (with respect to accumulation or average)
+     -1
+#  Category 03 - Meteorological sequences common to vertical soundings data
+  3   3   1
+      0   7   3  Geopotential
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   2
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3   3
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+     -1
+  3   3   4
+      0   7   4  Pressure
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  11
+      0   7   3  Geopotential
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  12
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  13
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  13   3  Relative humidity
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  14
+      0   7   4  Pressure
+      0   8   1  Vertical sounding significance
+      0  10   3  Geopotential
+      0  12   1  Temperature
+      0  12   3  Dew point
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   3  21
+      0   7   4  Pressure (1)
+      0   7   4  Pressure (2)     defines layer
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+     -1
+  3   3  22
+      3   3  21  "Layer, quality"
+      0  10   3  Geopotential (layer mean thickness)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  23
+      3   3  21  "Layer, quality"
+      0  12   1  Temperature (layer mean)
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  24
+      3   3  21  "Layer, quality"
+      0  13  16  Precipitation water
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  25
+      0   2  25  Satellite channel
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12  63  Brightness temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  26
+      0   7   4  Pressure
+      0   8   3  Vertical significance
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  12   1  Temperature
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  27
+      0   7   4  Pressure
+      2   4   7  Add associated field of 7 bits
+      0  31  21  Additional field significance
+      0  10   3  Geopotential
+      2   4   0  Cancel the added associated field
+     -1
+  3   3  31
+      0   7   4  Pressure
+      0   8   3  Vertical significance (base of sounding)
+      0   7  21  Elevation (local zenith)
+      0   7  22  Solar elevation (solar zenith)
+      0   8  12  Land/sea qualifier
+      0  12  61  Skin temperature
+     -1
+  3   3  32
+      0  20  11  Cloud amount
+      0  20  16  Pressure at top of cloud
+     -1
+  3   3  33
+      0  20  10  Cloud cover (total)
+      0  20  16  Pressure at the top of cloud
+     -1
+#  (Wind sequence)
+  3   3  41
+      0   2 152  Geostationary satellite instrument used
+      0   2  23  Cloud motion computational method
+      0   7   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0   2 153  Satellite channel centre frequency
+      0   2 154  Satellite channel band width
+      0  12  71  Coldest cluster T
+     -1
+#  Category 04 - Meteorological sequences common to satellite observations
+  3   4   1
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   2
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+     -1
+  3   4   3
+      0   8   3  Vertical significance
+      0  12   1  Temperature
+     -1
+  3   4   4
+      0   8   3  Vertical significance
+      0  10   4  Pressure
+      0  20  10  Cloud cover (total)
+      0  12   1  Temperature
+     -1
+  3   4   5
+      0   2  24  Integrated mean humidity computational method
+      0   7   4  Pressure(1)
+      0   7   4  Pressure (2)    defines layer
+      0  13   3  Relative humidity
+     -1
+  3   4   6
+      0  14   1  Outgoing long-wave radiation
+      0  14   1  Incoming long-wave radiation
+      0  14   3  Outgoing short-wave radiation
+     -1
+#  (GOES-I/M info)
+  3   4  11
+      0   2 163  Height assignment method
+      0   2 164  Tracer correlation method
+      0   8  12  Land/sea qualifier
+      0   7  24  Satellite zenith angle
+      0   2 167  Origin of first guess information
+      0   8  21  Time significance
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   8  21  Time significance
+      0   4  24  Time period or displacement
+      1  10   4  Replicate 10 descriptors 4 times
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   8  21  Time significance
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      1   3  10  Replicate 3 descriptors 10 times
+      0   2 163  Height assignment method
+      0   7   4  Pressure
+      0  12   1  Temperature
+     -1
+#  (Location of platform)
+  3   4  30
+      0  27  31  "In direction of 0 degree longitude, distance from the Earths centre"
+      0  28  31  "In direction of 90 degrees East longitude, distance from the Earths centre"
+      0  10  31  "In direction of North Pole, distance from Earths centre"
+     -1
+#  (Speed of platform)
+  3   4  31
+      0   1  41  Absolute platform velocity  first component
+      0   1  42  Absolute platform velocity  second component
+      0   1  43  Absolute platform velocity  third component
+     -1
+#  Category 06 - Meteorological or oceanographic sequences common to oceanographic observations
+  3   6   1
+      0   2  32  Indicator for digitization
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  42  Subsurface sea temperature
+     -1
+  3   6   2
+      0   2  31  Method of current measurement
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+  3   6   3
+      0   2   2  Wind instrumentation
+      0  11  11  Wind direction (10 m)
+      0  11  12  Wind speed (10 m)
+      0  12   4  Dry-bulb temperature (2 m)
+     -1
+  3   6   4
+      0   2  32  Indicator for digitization
+      0   2  33  Method of salinity/depth measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22  43  Subsurface sea temperature
+      0  22  62  Salinity
+     -1
+  3   6   5
+      0   2  31  Method of current measurement
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Replication factor
+      0   7  62  Depth below sea surface
+      0  22   4  Direction of current
+      0  22  31  Speed of current
+     -1
+#  (Under water sounding (optional) parameters)
+  3   6   6
+      3   6   3  Surface wind and temperature
+      3   6   2  Current
+      0  22  63  Total water depth
+     -1
+#  (Buoy spare block parameters)
+  3   6   7
+      0   1  12  Direction of motion of moving observing platform
+      0   1  14  Platform drift speed (high precision)
+      3   6   8  Buoy instrumentation
+      0   4  24  Time period
+      0  27   3  Alternate latitude
+      0  28   3  Alternate longitude
+     -1
+#  (Buoy instrumentation parameters)
+  3   6   8
+      0   2  34  Drogue type
+      0   2  35  Cable length
+      0   2  36  Buoy type
+     -1
+  3   6  20
+      3   6od or displacement, time increment"  "Tide station identification, date/time, water temperature, tide station tide data status, time period or displacement, time increment"
+      1   2   6  Replicate 2 descriptors 6 times
+      0  22  38  Tidal elevation with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+     -1
+  3   6  21
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22 122  Tide station automated meteorological data check
+      0  22 123  Tide station manual meteorological data check
+      0  12   1  Air temperature
+      3   3   2  "Pressure, wind direction, wind speed"
+     -1
+  3   6  22
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal elevation with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+     -1
+  3   6  23
+      0   1  15  Station or site name
+      3   1  23  "Latitude, longitude"
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  38  Tidal level with respect to local chart datum
+      0  22  39  Meteorological residual tidal elevation
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+     -1
+  3   6  24
+      0   1  75  Tide station alphanumeric identification
+      3   1  11  "Year, month, day"
+      3   1  12  "Hour, minute"
+      0  22  42  Sea/water temperature
+      0  22 120  Tide station automated water level check
+      0  22 121  Tide station manual water level check
+      0   4  25  Time period or displacement
+      0   4  15  Time increment
+     -1
+#  Category 07 - Surface report sequences (land)
+#  (Low altitude station)
+  3   7   1
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   2
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  11  Basic surface report
+     -1
+#  (Low altitude station)
+  3   7   3
+      3   7   1  Location (high accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   4
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   2   5  Cloud layer information
+     -1
+#  (Low altitude station)
+  3   7   5
+      3   7   1  Location (high accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (Low altitude station)
+  3   7   6
+      3   7   2  Location (coarse accuracy) and basic report
+      1   1   4  Replicate 1 descriptor 4 times
+      3   2   5  Cloud layer information (4 layers)
+     -1
+#  (High altitude station)
+  3   7   7
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  12  Basic surface report
+     -1
+#  (High altitude station)
+  3   7   8
+      3   1  32  "Identification, type, date/time, position (coarse accuracy), height"
+      3   2  12  Basic surface report
+     -1
+  3   7   9
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      3   2  13  Basic surface report
+     -1
+#  (Main part of data for representation of METAR/SPECI code in BUFR)
+  3   7  11
+      0   1  63  ICAO location indicator -CCCC
+      0   2   1  Type of station -(AUTO)
+      3   1  11  "Year, month, day (YY)"
+      3   1  12  "GG, gg"
+      3   1  24  "Latitude-longitude (coarse accuracy), height of station"
+      0   7   6  Height above station (= height of an anemometer)
+      0  11   1  Wind direction - ddd
+      0  11  16  Extreme counterclockwise wind direction of a variable wind - dndndn
+      0  11  17  Extreme clockwise wind direction of a variable wind - dxdxdx
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0   7   6  Height above station (= height of a thermometer)
+      0  12   1  Temperature - TT
+      0  12   3  Dew-point temperature - TdTd
+      0  10  52  Altimeter setting (QNH) - PHPHPHPH
+      0  20   9  General Weather Indicator TAF/METAR
+     -1
+#  (DvVVVV)
+  3   7  12
+      1   3   0  Delayed replication of 3 descriptors
+      0  31   1  Number of replication (up to 3)
+      0   8  23  First order statistics
+      0   5  21  Direction of visibility observed - Dv
+      0  20   1  Horizontal visibility - VVVV
+     -1
+#  (DRDRVRVRVRVR)
+  3   7  13
+      1   6   0  Delayed replication of 6 descriptors
+      0  31   1  Number of replication (up to 4)
+      0   1  64  Runway designator - DRDR
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VRVRVRVR
+      0   8  14  Qualification for runway visual range
+      0  20  61  Runway visual range - VRVRVRVR
+      0  20  18  Tendency of runway visual range - i
+     -1
+#  (ww)
+  3   7  14
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  19  Significant present weather - ww
+     -1
+#  (Clouds group(s))
+  3   7  15
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      3   2   5  (sequence descriptor)
+      0   8   2  Vertical significance (surface observation)
+      0  20  11  "Cloud amount (FEW, SCT, BKN and OVC) - NsNsNs"
+      0  20  12  Cloud type - CC
+      0  20  13  Height of base of cloud - hshshs
+      0  20   2  Vertical visibility - VVhshshs
+     -1
+#  (REww)
+  3   7  16
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 3)
+      0  20  20  Significant recent weather phenomena - REww
+     -1
+#  (Wind shear on runways(s))
+  3   7  17
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication
+      0  11  70  Runway designator of the runway affected by wind shear (including ALL) - WS RWYDRDR
+     -1
+#  (Trend-type landing forecast)
+  3   7  18
+      0   8  16  Change qualifier of a trend-type - TTTTT
+      1   2   0  Delayed replication of 2 descriptors
+      0  31   1  Number of replication (up to 2)
+      0   8  17  Qualifier of the time when the forecast - TT+G638
+      3   1  12  "GG, gg"
+      1   4   0  Delayed replication of 4 descriptor
+      0  31   1  Number of replication (up to 1)
+      0   7   6  Height above station
+      0  11   1  Wind direction - ddd
+      0  11   2  Wind speed - ff
+      0  11  41  Maximum wind speed (gusts) - fmfm
+      0  20   9  General Weather Indicator
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Number of replication (up to 1)
+      0  20   1  Horizontal visibility -  VVVV
+      3   7  14  ww
+     -1
+#  (Short METAR/SPECI)
+  3   7  20
+      3   7  11  Main part of data
+      3   7  14  ww
+      3   7  16  REww
+     -1
+#  (Total sequence for representation of METAR/SPECI code in BUFR)
+  3   7  21
+      3   7  11  Main part of data
+      3   7  12  DvVVVV
+      3   7  13  DRDRVRVRVRVR
+      3   7  14  ww
+      3   7  15  Clouds group(s)
+      3   7  16  REww
+      3   7  17  Wind shear on runway(s)
+      3   7  18  Trend-type landing forecast
+      3   7  15  Clouds group(s)
+     -1
+#  Category 08 - Surface report sequences (sea)
+#  (Buoy/platform  fixed)
+  3   8   1
+      3   1  33  "Identification, type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  fixed)
+  3   8   2
+      3   1  34  "Identification, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Buoy/platform  moving)
+  3   8   3
+      3   1  35  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+#  (Ship)
+  3   8   4
+      3   1  36  "Identification, movement, type, date/time, position (coarse accuracy)"
+      3   2  11  Basic surface report
+      0  22  42  Sea-surface temperature
+     -1
+  3   8   5
+      3   8   4  Basic ship report
+      3   2  24  Wind waves and swell waves
+     -1
+#  (Buoy Section 1 optional parameters)
+  3   8   6
+      0  10   4  Pressure
+      0  10  61  3-hour pressure change
+      0  10  63  Characteristic of pressure tendency
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   4  Dry-bulb temperature at 2 m
+      0  13   3  Relative humidity
+      0  22  42  Sea temperature
+     -1
+  3   8   7
+      3   1  55  "Identification, movement type, date/time, position (high accuracy)"
+      3   2  11  Basic surface report
+      0   7  62  Depth below sea/water surface
+      0  22  42  Sea/water temperature
+     -1
+#  Category 09 - Vertical sounding sequences (conventional data)
+#  (Vertical wind profile)
+  3   9   1
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   2
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9   3
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical wind profile)
+  3   9   4
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   5
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9   6
+      3   1  38  "Identification, etc. (land station, coarse  accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   7
+      3   1  37  "Identification, etc. (land station, high accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9   8
+      3   1  38  "Identification, etc. (land station, coarse accuracy position)"
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  11
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  12
+      3   1  39  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  13
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  14
+      3   1  39  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical wind profile)
+  3   9  15
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Vertical wind profile)
+  3   9  16
+      3   1  40  "Ship's identification, etc."
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  12  Winds at pressure levels
+     -1
+#  (Vertical sounding with relative humidity)
+  3   9  17
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  13  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Vertical sounding with dew-point data)
+  3   9  18
+      3   1  40  "Ship's identification, etc."
+      3   2   4  Significant cloud information
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  14  "Pressure, geopotential, temperature and wind data"
+     -1
+#  (Wind profiler  wind data sounding)
+  3   9  19
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3   3  11  Winds at heights
+     -1
+#  (Wind profiler  Cartesian coordinates)
+  3   9  20
+      3   1  31  "Identification, etc."
+      0   2   3  Type of measuring equipment used
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   7   3  Geopotential
+      0  11   3  u-component
+      0  11   4  v-component
+      0  11   5  w-component
+     -1
+#  Category 10 - Vertical sounding sequences (satellite data)
+#  (Satellite  brightness temperature)
+  3  10   1
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1  26  Replicate 1 descriptor 26 times
+      3   3  25  Satellite channel and brightness temperature
+     -1
+#  (Satellite  low level)
+  3  10   2
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   9  Replicate 1 descriptor 9 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  high level)
+  3  10   3
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   6  Replicate 1 descriptor 6 times
+      3   3  23  Layer mean temperature
+     -1
+#  (Satellite  precipitable water)
+  3  10   4
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  32  Cloud
+      1   1   3  Replicate 1 descriptor 3 times
+      3   3  24  Precipitable water
+     -1
+  3  10   5
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  25  Satellite channel and brightness temperature
+     -1
+  3  10   6
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  23  Layer mean temperature
+     -1
+  3  10   7
+      3   1  42  "Identification, method, date/time"
+      3   3  31  "Significance data, land/sea, skin temperature"
+      3   3  33  Cloud
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Delayed descriptor replication factor
+      3   3  24  Precipitable water
+     -1
+#  (ATOVS HIRS report)
+  3  10   8
+      3  10  11  ATOVS field of view variables
+      1   1  19  Replicate 1 descriptor 19 times
+      3  10  12  ATOVS channel variables
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  79  Albedo-radiance solar filtered irradiance for ATOVS
+      0  25  80  Albedo-radiance equivalent filter width for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      0  14  45  Channel radiance
+     -1
+#  (ATOVS AMSU-A report)
+  3  10   9
+      3  10  11  ATOVS field of view variables
+      1   1  15  Replicate 1 descriptor 15 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS AMSU-B report)
+  3  10  10
+      3  10  11  ATOVS field of view variables
+      1   1   5  Replicate 1 descriptor 5 times
+      3  10  12  ATOVS channel variables
+     -1
+#  (ATOVS field of view variables)
+  3  10  11
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   8  70  TOVS/ATOVS product qualifier
+      0   1  33  Identification of originating/generating centre
+      0   1  34  Identification of originating/generating centre
+      0   1   7  Satellite identification
+      0   2  48  Satellite sensor indicator
+      0   5  40  Orbit number
+      0  25  75  Satellite antenna corrections version number
+      2   1 133  Change width
+      0   5  41  Scan line number
+      2   1   0  Change width
+      0   5  43  Field of view number
+      0  25  70  Major frame count
+      0  33  30  Scan line status flags for ATOVS
+      0  33  31  Scan line quality flags for ATOVS
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      2   2 131  Change scale
+      2   1 138  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2   0  Change scale
+      0   5   1  Latitude
+      0   6   1  Longitude
+      2   2 126  Change scale
+      0   7   1  Height of station
+      2   2   0  Change scale
+      0   7  24  Satellite zenith angle
+      0   5  21  Satellite azimuth
+      0   7  25  Solar zenith angle
+      0   5  22  Solar azimuth
+      0  33  33  Field of view quality flags for ATOVS
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+      0   2 151  Radiometer identifier
+      0  12  64  Instrument temperature
+     -1
+#  (ATOVS channel variables)
+  3  10  12
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0  25  76  Log10 of (temperature-radiance central wavenumber) for ATOVS
+      0  25  77  Bandwidth correction coefficient 1 for ATOVS
+      0  25  78  Bandwidth correction coefficient 2 for ATOVS
+      0  33  32  Channel quality flags for ATOVS
+      2   1 132  Change width
+      2   2 129  Change scale
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (AVHRR (GAC) report)
+  3  10  13
+      0   1   7  Satellite ID
+      0   5  40  Orbit number
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   4   6  Second
+      0   5   1  Latitude
+      0   6   1  Longitude
+      0   7  25  Solar zenith angle
+      0   5  43  Field of view number
+      0  25  85  Fraction of clear pixels in HIRS field of view
+      2   1 131  Change width
+      2   2 129  Change scale
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  TOVS/ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      0   8  72  Pixel(s) type
+      0  14  27  Albedo
+      2   2   0  Change scale
+      2   1   0  Change width
+      2   1 132  Change width
+      2   2 129  Change scale
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   2 150  ATOVS/AVHRR instrumentation channel number
+      0   8  23  First order statistics
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      0   8  72  Pixel(s) type
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (Satellite  geostationnary wind data)
+  3  10  14
+      3   1  72  "Satellite identification, date, time, latitude, longitude"
+      3   3  41  Wind sequence
+      3   4  11  GOES-I/M information
+     -1
+#  Category 11 - Single level report sequences (conventional data)
+#  (Aircraft reports)
+  3  11   1
+      3   1  51  "ASDAR aircraft identifier, navigational system, date/time, position, phase of aircraft flight"
+      0   7   2  Altitude
+      0  12   1  Temperature
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  11  31  Degree of turbulence
+      0  11  32  Height of base of turbulence
+      0  11  33  Height of top of turbulence
+      0  20  41  Airframe icing
+     -1
+#  (ACARS reports)
+  3  11   2
+      3   1  65  ACARS identification
+      3   1  66  ACARS location
+      3  11   3  ACARS standard reported variables
+      3  11   4  ACARS supplementary reported variables
+     -1
+#  (ACARS standard reported variables)
+  3  11   3
+      0  10  70  Indicated aircraft altitude
+      0  11   1  Wind direction
+      0  11   2  Wind speed
+      0  12   1  Temperature/dry-bulb temperature
+      0  13   2  Mixing ratio
+     -1
+#  (ACARS supplementary reported variables)
+  3  11   4
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  34  Vertical gust velocity
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  35  Vertical gust acceleration
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  75  Mean turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  11  76  Peak turbulence intensity (eddy dissipation rate)
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  25  ACARS interpolated values
+      1   1   0  Delayed replication of one descriptor
+      0  31   0  Short delayed descriptor replication factor
+      0  33  26  Mixing ratio quality
+     -1
+#  Category 12 - Single level report sequences (satellite data)
+  3  12   1
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   1  "Cloud top pressure, temperature, wind"
+     -1
+  3  12   2
+      3   1  43  "Satellite identifier, instrumentation, location, date/time"
+      3   4   2  "Cloud top pressure, wind"
+     -1
+  3  12   3
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   3  Surface temperature
+     -1
+  3  12   4
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   4  Cloud cover
+     -1
+  3  12   5
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      0  20  14  Height of top of cloud
+     -1
+  3  12   6
+      3   1  44  "Satellite identifier, instrumentation, location, date/time"
+      3   4   5  Layer mean relative humidity
+     -1
+  3  12   7
+      3   1  42  "Satellite identifier, instrumentation, location, date/time"
+      3   4   6  Radiation
+     -1
+#  "(Orbital information, Part I)"
+  3  12  10
+      0   1   7  Satellite identifier
+      0   5  40  Orbit number
+      0   2  21  Satellite instrumentation
+      0   5  41  Scan line number
+      0   4   1  Year
+      0   4  43  Day of year
+     -1
+#  "(Orbital information, Part II)"
+  3  12  11
+      2   2 131  Change scale
+      2   1 149  Change width
+      0   4   6  Second
+      2   1   0  Change width
+      2   2 126  Change scale
+      0  10   2  Height
+      2   2   0  Change scale
+      0   5  43  Field of view number
+      0   5  53  Field of view number increment
+     -1
+#  (HIRS brightness temperatures  channels 119)
+  3  12  12
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1  19  Replicate 1 descriptor 19 times
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS brightness temperatures  channel 20)
+  3  12  13
+      0   5  42  Channel number
+      2   2 129  Change scale
+      2   1 135  Change width
+      0  12  63  Brightness temperature
+      2   1   0  Change width
+      2   2   0  Change scale
+     -1
+#  (HIRS satellite data)
+  3  12  14
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      1   5  56  Replicate 5 descriptors 56 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      3  12  12  HIRS brightness temperatures  channels 119
+      3  12  13  HIRS brightness temperature  channel 20
+     -1
+#  (MSU brightness temperatures  channels 14)
+  3  12  15
+      1   9  11  Replicate 9 descriptors 11 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   4  Replicate 1 descriptor 4 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (MSU satellite data)
+  3  12  16
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  15  MSU brightness temperatures  channels 14
+     -1
+#  (SSU brightness temperatures  channels 13)
+  3  12  17
+      1   9   8  Replicate 9 descriptors 8 times
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   5  42  Channel number
+      0   5  52  Channel number increment
+      2   2 129  Change scale
+      2   1 132  Change width
+      1   1   3  Replicate 1 descriptor 3 times
+      0  12  63  Brightness temperature
+      2   2   0  Change scale
+      2   1   0  Change width
+     -1
+#  (SSU satellite data)
+  3  12  18
+      3  12  10  "Orbital information, Part I"
+      3  12  11  "Orbital information, Part II"
+      3  12  17  SSU brightness temperatures  channels 13
+     -1
+#  (Wave scatterometer product with width change for wave number (spectral))
+  3  12  19
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalisation
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   6  12  Repeat next 6 descriptors 12 times
+      2   1 129  Change width to 14 bits
+      0   6  30  Wave number (spectral)
+      2   1   0  Change width to Table B
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Image spectrum intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wave scatterometer product)
+  3  12  20
+      3   1  47  Product header
+      3   1  48  Radar parameters
+      0  15  15  Maximum spectrum composition before normalization
+      0  29   2  Coordinate grid type
+      0  21  76  Representation of intensities
+      1   4  12  Repeat next 4 descriptors 12 times
+      0   6  30  Wave number (spectral)
+      1   2  12  Repeat next 2 descriptors 12 times
+      0   5  30  Direction (spectral)
+      0  21  75  Spectral intensity
+      0  21  66  Wave scatterometer product confidence data
+     -1
+#  (Wind scatterometer product)
+  3  12  21
+      3   1  47  Product header
+      1   1   3  Repeat 1 descriptor 3 times
+      3   1  49  Radar beam data
+      0  11  12  Wind speed at 10 m
+      0  11  11  Wind direction at 10 m
+      0  21  67  Wind product confidence data
+     -1
+#  (Radar altimeter product)
+  3  12  22
+      3   1  47  Product header
+      0   8  22  Number in average
+      0  11  12  Wind speed
+      0  11  50  Standard deviation of horizontal wind speed
+      0  22  70  Significant wave height
+      0  22  26  Standard deviation of significant wave height
+      3  12  41  Altitude
+      0  10  50  Standard deviation of altitude
+      0  21  68  Radar altimeter product confidence data
+      0  21  71  Peakiness
+      0  21  72  Altimeter calibration status
+      0  21  73  Altimeter instrument mode
+      3  12  42  Altitude corrections
+      0  21  62  Backscatter
+      0  15  11  Log 10 of integrated electron density
+     -1
+#  (ATSR sea surface temperature product)
+  3  12  23
+      3   1  47  Product header
+      1   3   3  Repeat 3 descriptors 3 times
+      0   8  22  Number in average
+      0  12  61  Skin temperature
+      0  22  50  Standard deviation of sea surface temperature
+      0  21  69  SST product confidence data
+      0  21  85  ATSR sea surface temperature across-track band number
+     -1
+#  (Wave scatterometer product enhanced)
+  3  12  24
+      3  12  20  (Wave scatterometer product)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode signification  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Wave scatterometer enhanced product (with change of width for wave number (spectral))
+  3  12  25
+      3  12  19  Wave scatterometer product with width change for wave number (spectral)
+      0   8  60  Sample scanning mode significance  range
+      0   8  22  Number in sample
+      0   8  60  Sample scanning mode significance  horizontal
+      0   8  22  Number in sample
+      0  25  14  Azimuth clutter cut-off
+      0  22 101  Total energy (wavelength > 731 m)
+      0  22  97  Mean wavelength of image spectrum
+      0  22  98  Wavelength spread (wavelength > 731 m)
+      0  22  99  Mean direction (wavelength > 731 m)
+      0  22 100  Direction spread (wavelength > 731 m)
+     -1
+#  (Altitude)
+  3  12  41
+      2   1 141  Change width to 28 bits
+      2   2 130  Change scale to 2
+      0   7   1  Altitude
+      2   1   0  Change width back to Table B
+      2   2   0  Change scale back to Table B
+     -1
+#  (Altitude corrections)
+  3  12  42
+      0  21  77  "Altitude correction, ionosphere"
+      0  21  78  "Altitude correction, dry troposphere"
+      0  21  79  "Altitude correction, wet troposphere"
+      0  21  80  "Altitude correction, calibration constant"
+      0  21  81  Open loop height-time loop calibration correction
+      0  21  82  Open loop automatic gain control calibration correction
+     -1
+#  Category 13 - Sequences common to image data
+#  (Radar reflectivity values)
+  3  13   9
+      0  21   1  Horizontal reflectivity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21   1  Horizontal reflectivity
+     -1
+#  (Radar rainfall intensities)
+  3  13  10
+      0  21  36  Radar rainfall intensity
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  21  36  Radar rainfall intensity
+     -1
+#  (Non run-length encoded row for Pixel value (4 bits))
+  3  13  31
+      0   6   2  First longitude location minus one increment
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Non run-length encoded picture data for Pixel value (4 bits))
+  3  13  32
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  31  Non run-length encoded row
+     -1
+#  (Run-length encoded row for Pixel value (4 bits))
+  3  13  41
+      0   6   2  First longitude location minus one increment
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  12  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  (Run-length encoded picture data for Pixel value (4 bits))
+  3  13  42
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment (signed value so cannot cross pole)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   2  Extended replication factor
+      3  13  41  Run-length encoded row
+     -1
+#  "(Run-length encoded picture data for Pixel value (4 bits), regular grid)"
+  3  13  43
+      0   6   2  First longitude location minus one increment
+      0   5   2  First latitude location minus one increment
+      0   5  12  Latitude increment
+      1  12   0  Delayed replication of 12 descriptors
+      0  31   1  Replication factor
+      1  10   0  Delayed replication of 10 descriptors
+      0  31   1  Replication factor
+      1   4   0  Delayed replication of 4 descriptors
+      0  31   1  Replication factor
+      0   6  12  Longitude increment
+      1   1   0  Delayed replication of 1 descriptor
+      0  31  11  Repetition factor
+      0  30   1  Pixel value (4 bits)
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0  30   1  Pixel value (4 bits)
+     -1
+#  Category 15 - Oceanographic report sequences
+#  (Typically reported underwater sounding without optional fields)
+  3  15   1
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   1  "Depth, temperature"
+     -1
+#  (Typically reported underwater sounding without optional fields)
+  3  15   2
+      0   1  11  Ship's call sign
+      3   1  11  Date
+      3   1  12  Time
+      3   1  23  Latitude and longitude (coarse accuracy)
+      3   6   4  "Depth, temperature, salinity"
+     -1
+#  Category 16 - Synoptic feature sequences
+  3  16   1
+      3   1  11  "Year, month, day"
+      0   4   4  Hour
+      3   1  23  Latitude and longitude (coarse accuracy)
+      0   1  21  Synoptic feature identifier
+      0   2  41  Method for estimating reports related to synoptic features
+      0  19   1  Type of synoptic feature
+      0  10  51  Pressure reduced to mean sea level
+      0  19   2  Effective radius of feature
+      0  19   3  Wind speed threshold (15 m s1 typically)
+      0  19   4  Effective radius with respect to wind speeds above threshold
+     -1
+#  (Header)
+  3  16   2
+      0   8  21  Data time (analysis)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   1  33  Originating/generating centre
+      0   8  21  Validity time (fcst)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0   7   2  Flight level (altitude) (base of chart layer)
+      0   7   2  Flight level (altitude) (top of chart layer)
+     -1
+#  (Jet stream)
+  3  16   3
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (jet stream value)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Flight level (altitude)
+      0  11   2  Wind speed
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Turbulence)
+  3  16   4
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for turbulence)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  11  31  Degree of turbulence
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Storm)
+  3  16   5
+      1   8   0  Delayed replication
+      0  31   1  Replication
+      0   8   5  Meteorological attribute significance (storm centre)
+      0   8   7  Dimensional significance (value for point)
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   1  26  WMO storm name (use unknown for a sandstorm)
+      0  19   1  Synoptic features (value for type of storm)
+      0   8   7  Dimensional significance (cancel)
+      0   8   5  Meteorological attribute significance (cancel/end of object)
+     -1
+#  (Cloud)
+  3  16   6
+      1  12   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for cloud)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  11  Cloud amount
+      0  20  12  Cloud type
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Front)
+  3  16   7
+      1  10   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for type of front)
+      0   8   7  Dimensional significance (value for line)
+      1   4   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  19   5  Direction of feature
+      0  19   6  Speed of feature
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Tropopause)
+  3  16   8
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8   1  Vertical significance (bit 3 set for tropopause)
+      0   8   7  Dimensional significance (value for point)
+      0   8  23  Statistic (type of tropopause value)
+      1   3   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  10   2  Height/altitude
+      0   8  23  Statistic (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8   1  Vertical significance (cancel/end of object)
+     -1
+#  (Airframe icing area)
+  3  16   9
+      1  11   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for airframe icing)
+      0   8   7  Dimensional significance (value for area)
+      0   7   2  Flight level (altitude) (base of layer)
+      0   7   2  Flight level (altitude) (top of layer)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0  20  41  Airframe icing (type of airframe icing)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Name of feature)
+  3  16  10
+      1   7   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature
+      0   8   7  Dimensional significance (value for point)
+      0   1  22  Name of feature
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  (Volcano erupting)
+  3  16  11
+      1  16   0  Delayed replication
+      0  31   1  Replication
+      0   8  11  Meteorological feature (value for special clouds)
+      0   1  22  Name of feature (volcano name)
+      0   8   7  Dimensional significance (value for point)
+      1   2   0  Delayed replication
+      0  31   1  Replication
+      0   5   2  Latitude (coarse)
+      0   6   2  Longitude (coarse)
+      0   8  21  Time significance (eruption starting time)
+      0   4   1  Year
+      0   4   2  Month
+      0   4   3  Day
+      0   4   4  Hour
+      0   4   5  Minute
+      0  20  90  Special clouds (clouds from volcanic eruptions)
+      0   8  21  Time significance (cancel)
+      0   8   7  Dimensional significance (cancel)
+      0   8  11  Meteorological feature (cancel/end of object)
+     -1
+#  Category 18 - Radiological report sequences
+  3  18   1
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0  24  11  Dose
+     -1
+  3  18   3
+      3   1  26  "Latitude and longitude (high accuracy), time periods in days," hours and minutes
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  21  Air concentration
+     -1
+  3  18   4
+      3   1  25  "Latitude and longitude (coarse accuracy), day and time"
+      0   4  23  Time period or displacement
+      0  13  11  Total precipitation/total water equivalent
+      0  24   5  Isotope mass
+      0  24   4  Element name
+      0  24  22  Concentration in precipitation
+     -1
+#  Category 21 - Radar report sequences
+#  (Wind profiler  antenna characteristics)
+  3  21   1
+      0   2 101  Type of antenna
+      0   2 114  Antenna effective surface area
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 121  Mean frequency
+     -1
+#  (Wind profiler  moment data)
+  3  21   3
+      0  21  51  Signal power above 1 mW
+      0  21  14  Doppler mean velocity (radial)
+      0  21  17  Doppler velocity spectral width
+      0  21  30  Signal to noise ratio
+     -1
+#  (Wind profiler  moment data sounding)
+  3  21   4
+      3   1  31  "Identification, type, date/time, position (high accuracy), height"
+      0   2   3  Type of measuring equipment used
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      3  21   3  Wind profiler  moment data
+     -1
+#  (Transmitter-receiver characteristics)
+  3  21   5
+      0  25   4  Echo processing
+      0   2 121  Mean frequency
+      0   2 122  Frequency agility range
+      0   2 123  Peak power
+      0   2 124  Average power
+      0   2 125  Pulse repetition frequency
+      0   2 126  Pulse width
+      0   2 127  Receiver intermediate frequency
+      0   2 128  Intermediate frequency bandwidth
+      0   2 129  Minimum detectable signal
+      0   2 130  Dynamic range
+      0   2 131  Sensitivity time control
+     -1
+#  (Integration characteristics)
+  3  21   6
+      0  25   1  Range-gate length
+      0  25   2  Number of gates averaged
+      0  25   3  Number of integrated pulses
+      0  25   5  Echo integration
+     -1
+#  (Corrections)
+  3  21   7
+      0  25   9  Calibration method
+      0  25  10  Clutter treatment
+      0  25  11  Ground occultation correction
+      0  25  12  Range attenuation correction
+      0  25  13  Bright-band correction
+      0  25  15  Radome attenuation correction
+      0  25  16  Clear-air attenuation correction
+      0  25  17  Precipitation attenuation correction
+     -1
+#  (Z to R conversion)
+  3  21   8
+      0  25   6  Z to R conversion
+      0  25   7  Z to R conversion factor
+      0  25   8  Z to R conversion exponent
+     -1
+#  (A to Z law)
+  3  21   9
+      0  25  18  A to Z law for attenuation factor
+      0  25  19  A to Z law for attenuation exponent
+     -1
+#  (Antenna characteristics)
+  3  21  10
+      0   2 101  Type of antenna
+      0   7   2  Altitude of the tower base
+      0   2 102  Antenna height above tower base
+      0   2 103  Radome
+      0   2 104  Antenna polarisation
+      0   2 105  Maximum antenna gain
+      0   2 106  3-dB beamwidth
+      0   2 107  Sidelobe suppression
+      0   2 108  Crosspol discrimination (on axis)
+      0   2 109  Antenna speed (azimuth)
+      0   2 110  Antenna speed (elevation)
+      0   2 132  Azimuth pointing accuracy
+      0   2 133  Elevation pointing accuracy
+     -1
+#  (General characteristics)
+  3  21  11
+      0  30  31  Picture type
+      0  30  32  Combination with other data
+      0  29   2  Coordinate grid type
+     -1
+#  (Antenna elevations)
+  3  21  12
+      1   1   0  Delayed replication of 1 descriptor
+      0  31   1  Replication factor
+      0   2 135  Antenna elevation
+     -1
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-000-B
@@ -0,0 +1,702 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#                                       Data
+#F      X       Y       Scale   RefVal  Width   Units           Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; TABLE A ENTRY
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; TABLE A  DATA CATEGORY DESCRIPTIO
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; TABLE A DATA CATEGORY DESCRIPTION
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR EDITION NUMBER
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; ELEMENT NAME LN 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; ELEMENT NAME LN 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; UNITS NAME
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; UNITS SCALE SIGN
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; UNITS SCALE
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; UNITS REFERENCE SIGN
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; UNITS REFERENCE VALUE
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; ELEMENT DATA WIDTH
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; DESCRIPTOR DEFINING SEQUENCE
+  0;    1;      1;      0;           0;    7;      NUMERIC; WMO BLOCK NUMBER
+  0;    1;      2;      0;           0;   10;      NUMERIC; WMO STATION NUMBER
+  0;    1;      3;      0;           0;    3;      NUMERIC; WMO REGION NUMBER
+  0;    1;      4;      0;           0;    3;      NUMERIC; WMO REGION SUB-AREA
+  0;    1;      5;      0;           0;   17;      NUMERIC; BUOY/PLATFORM IDENTIFIER
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; AIRCRAFT IDENTIFIER (FLIGHT NUMBE
+  0;    1;      7;      0;           0;   10;   CODE_TABLE; SATELLITE IDENTIFIER
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; AIRCRAFT REGISTRATION NUMBER (TAI
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; TYPE OF COMMERCIAL ACFT
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; STATIONARY BOUY PLATFORM IDENTIFI
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; SHIP CALL SIGN
+  0;    1;     12;      0;           0;    9; DEGREES_TRUE; DIRECTION OF MOTION OBSERVING PLA
+  0;    1;     13;      0;           0;   10; METER/SECOND; SPEED OF MOTION OF OBSERVING PLAT
+  0;    1;     14;      2;           0;   10; METER/SECOND; PLATFORM DRIFT SPEED (HIGH PRECIS
+  0;    1;     15;      0;           0;    4;   CODE_TABLE; TRUE DIR OF MOVING PLATFORM PAST
+  0;    1;     16;      0;           0;    4;   CODE_TABLE; AVG SPD MOVING PLATFORM PAST 3 HO
+  0;    1;     21;      0;           0;   14;      NUMERIC; SYNOPTIC FEATURE ID
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; STORM IDENTIFIER
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO STORM NAME
+  0;    1;     31;      0;           0;   16;   CODE_TABLE; GENERATING CENTER
+  0;    1;     32;      0;           0;    8;   CODE_TABLE; GENERATING APPLICATION
+  0;    1;     50;      0;           0;   48;    CCITT_IA5; NMC REPORT IDENTIFIER
+  0;    1;     62;      0;           0;   40;    CCITT_IA5; NAT'L ASSIGNED STATION IDENTIFIER
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO LOCATION IDENTIFIER
+  0;    1;    192;      0;           0;    4;    CCITT_IA5; RADIOSONDE REPORT PART
+  0;    1;    193;      0;           0;   64;    CCITT_IA5; SATELLITE IDENTIFIER
+  0;    1;    194;      0;           0;   64;    CCITT_IA5; BULLETIN HEADER
+  0;    1;    195;      0;           0;   48;    CCITT_IA5; NMC REPORT IDENTIFIER
+  0;    1;    196;      0;           0;   96;    CCITT_IA5; ALPHANUMERIC IDENTIFIER
+  0;    1;    197;      0;           0;   64;    CCITT_IA5; RADIOSONDE SHIP OR MOBILE LND STN
+  0;    2;      1;      0;           0;    2;   CODE_TABLE; TYPE OF STATION
+  0;    2;      2;      0;           0;    4;   FLAG_TABLE; TYPE OF INSTR. FOR WIND MEASUREME
+  0;    2;      3;      0;           0;    4;   CODE_TABLE; TYPE OF MEASURING INSTRUMENT USED
+  0;    2;      4;      0;           0;    4;   CODE_TABLE; TYPE OF INSTR/CROP FOR EVAP/EVAPO
+  0;    2;      5;      2;           0;    7;      DEGREES; PRECISION OF TEMPERATURE OBS.
+  0;    2;     11;      0;           0;    8;   CODE_TABLE; RADIOSONDE TYPE
+  0;    2;     12;      0;           0;    4;   CODE_TABLE; RADIOSONDE COMPUTATIONAL METHOD
+  0;    2;     13;      0;           0;    4;   CODE_TABLE; SOLAR AND INFRARED RADIATION CORR
+  0;    2;     14;      0;           0;    7;   CODE_TABLE; TRACKING TECHNIQUE/STATUS OF SYST
+  0;    2;     15;      0;           0;    4;   CODE_TABLE; RADIOSONDE COMPLETENESS
+  0;    2;     21;      0;           0;    9;   FLAG_TABLE; SATELLITE INSTRUMENT DATA USED IN
+  0;    2;     22;      0;           0;    8;   FLAG_TABLE; SATELLITE DATA PROCESSING TECHNIQ
+  0;    2;     23;      0;           0;    4;   CODE_TABLE; SATELLITE DERIVED WIND COMPUTATIO
+  0;    2;     24;      0;           0;    4;   CODE_TABLE; INT. MEAN HUMIDITY COMPUTATIONAL
+  0;    2;     25;      0;           0;   25;   FLAG_TABLE; SATELLITE CHANNEL(S) USED IN COMP
+  0;    2;     26;      2;           0;   12;       METERS; CROSS TRACK RESOLUTION
+  0;    2;     27;      2;           0;   12;       METERS; ALONG TRACK RESOLUTION
+  0;    2;     28;      0;           0;   32;   FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U
+  0;    2;     29;      0;           0;    8;   FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U
+  0;    2;     30;      0;           0;    3;   CODE_TABLE; METH OF CURRENT MEASUREMENT
+  0;    2;     31;      0;           0;    5;   CODE_TABLE; DURATION & TIME OF CURRENT CODE M
+  0;    2;     32;      0;           0;    2;   CODE_TABLE; INDICATOR FOR DIGITIZATION
+  0;    2;     33;      0;           0;    3;   CODE_TABLE; METHOD OF SALINITY/DEPTH MEASUREM
+  0;    2;     34;      0;           0;    5;   CODE_TABLE; DROGUE TYPE
+  0;    2;     35;      0;           0;    9;       METERS; CABLE LENGTH
+  0;    2;     36;      0;           0;    2;   CODE_TABLE; BUOY TYPE
+  0;    2;     37;      0;           0;    3;   CODE_TABLE; METHOD OF TIDAL OBSERVATION
+  0;    2;     38;      0;           0;    3;   CODE_TABLE; METH OF SEA SURFACE TEMPERATURE M
+  0;    2;     39;      0;           0;    3;   CODE_TABLE; METH OF WET BULB TEMPERATURE MEAS
+  0;    2;     40;      0;           0;    4;   CODE_TABLE; METH RMV CODE VELOC & MOTION OF P
+  0;    2;     41;      0;           0;    6;   CODE_TABLE; METH FOR EST RPTS OF SYNOP FEATUR
+  0;    2;     42;      0;           0;    6;   CODE_TABLE; METHOD OF REPORT CONSTRUCTION
+  0;    2;     43;      0;           0;    6;   CODE_TABLE; PRECISION OF LAT/LON REPORT
+  0;    2;     51;      0;           0;    4;   CODE_TABLE; INDIC TO SPECIFY OBS METH EXTRM T
+  0;    2;     61;      0;           0;    3;   CODE_TABLE; AIRCRAFT NAVIGATION   SYSTEM
+  0;    2;     62;      0;           0;    4;   CODE_TABLE; TYPE OF AIRCRAFT DATA RELAY SYSTE
+  0;    2;     63;      2;      -18000;   16;      DEGREES; AIRCRAFT ROLL ANGLE
+  0;    2;     70;      0;           0;    4;   CODE_TABLE; ORIGINAL SPECIFICATION OF LAT/LON
+  0;    2;    101;      0;           0;    4;   CODE_TABLE; TYPE OF ANTENNA
+  0;    2;    102;      0;           0;    8;       METERS; ANTENNA HGT ABOVE TOWER
+  0;    2;    103;      0;           0;    2;        FLAGE; TABLE     RADOME
+  0;    2;    104;      0;           0;    4;   CODE_TABLE; ANTENNA POLARIZATION
+  0;    2;    105;      0;           0;    6;           DB; MAXIMUM ANTENNA GAIN
+  0;    2;    106;      1;           0;    6;      DEGREES; 3 - DB BANDWIDTH
+  0;    2;    107;      0;           0;    6;           DB; SIDELOBE SUPRESSION
+  0;    2;    108;      0;           0;    6;           DB; CROSSPOL DISCRI. (ON AXIS)
+  0;    2;    109;      2;           0;   12; DEGREES/SECOND; ANTENNA SPEED (AZIMUTH)
+  0;    2;    110;      2;           0;   12; DEGREES/SECOND; ANTENNA SPEED (ELEVATION)
+  0;    2;    111;      1;           0;   10;      DEGREES; RADAR INCIDENCE ANGLE
+  0;    2;    112;      1;           0;   12;      DEGREES; RADAR AZIMUTH ANGLE
+  0;    2;    113;      0;           0;    4;     NUMERICS; NO. OF AZIMUTH LOOKS
+  0;    2;    114;      0;           0;   15;         M**2; ANTENNA EFFECTIVE SURFACE AREA
+  0;    2;    121;      8;           0;    7;           HZ; MEAN FREQUENCY
+  0;    2;    122;      6;        -128;    8;           HZ; FREQUENCY AGILITY RANGE
+  0;    2;    123;      4;           0;    7;        WATTS; PEAK POWER
+  0;    2;    124;      1;           0;    7;        WATTS; AVERAGE POWER
+  0;    2;    125;      1;           0;    8;           HZ; PULSE REPETITION FREQUENCY
+  0;    2;    126;      7;           0;    6;       SECOND; PULSE WIDTH
+  0;    2;    127;      6;           0;    7;           HZ; RECEIVER INTERMEDIATE FREQUENCY
+  0;    2;    128;      5;           0;    6;           HZ; INTERMEDIATE FREQUENCY BANDWIDTH
+  0;    2;    129;      0;        -150;    5;           DB; MINIMUM DETECTABLE SIGNAL
+  0;    2;    130;      0;           0;    7;           DB; DYNAMIC RANGE
+  0;    2;    131;      0;           0;    2;   FLAG_TABLE; SENSITIVITY TIME CONTROL
+  0;    2;    132;      2;           0;    6;      DEGREES; AZIMUTH POINTING ACCURACY
+  0;    2;    133;      2;           0;    6;      DEGREES; ELEVATION POINTING ACCURACY
+  0;    2;    134;      2;           0;   16;      DEGREES; ANTENNA BEAM AZIMUTH
+  0;    2;    135;      2;       -9000;   15;      DEGREES; ANTENNA ELEVATION
+  0;    2;    140;      0;           0;    9;      DEGREES; SATELLITE RADAR BEAM AZIMUTH ANGL
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; MEAS.TYPE SERIAL NBR/IDENT
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; OZONE INSTRUMENT
+  0;    2;    143;      0;           0;    7;      NUMERIC; INSTRUMENT TYPE
+  0;    2;    183;      0;           0;    1;   CODE_TABLE; QUALITY OF PRESSURE MEASUREMENT
+  0;    2;    184;      0;           0;    1;   CODE_TABLE; QUALITY OF WATER SFC TEMP MEASURE
+  0;    2;    185;      0;           0;    1;   CODE_TABLE; QUALITY OF AIR TEMP MEASUREMENT
+  0;    2;    186;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDIC FOR FOLLOWING
+  0;    2;    187;      0;           0;    1;   CODE_TABLE; QUALITY OF BUOY SATELLIT TRANSMIS
+  0;    2;    188;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDICATOR FOR BUOY L
+  0;    2;    189;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDIC FOR BUOY TIME
+  0;    2;    190;      0;           0;    8;   CODE_TABLE; U, V QUALITY INDICATOR
+  0;    2;    191;      0;           0;    4;   CODE_TABLE; W QUALITY INDICATOR
+  0;    2;    192;      0;           0;    6;   CODE_TABLE; RADIOSONDE CORRECTION TYPE APPLIE
+  0;    2;    193;      0;           0;    3;   CODE_TABLE; IND TYPE OF STN OPERATION PAST/PR
+  0;    2;    200;      0;           0;    4;   CODE_TABLE; OBJECTIVE FORECAST TECHNIQUE USED
+  0;    2;    206;      0;           0;    4;        MONTH; MONTH  - RELEASE TIME
+  0;    2;    207;      0;           0;    6;          DAY; DAY    - RELEASE TIME
+  0;    2;    208;      0;           0;    5;         HOUR; HOUR   - RELEASE TIME
+  0;    2;    209;      0;           0;    6;       MINUTE; MINUTE - RELEASE TIME
+  0;    2;    210;      0;           0;    3;   FLAG_TABLE; STATION/SEA LEVEL COMPARISON
+  0;    4;      1;      0;           0;   12;         YEAR; YEAR
+  0;    4;      2;      0;           0;    4;        MONTH; MONTH
+  0;    4;      3;      0;           0;    6;          DAY; DAY
+  0;    4;      4;      0;           0;    5;         HOUR; HOUR
+  0;    4;      5;      0;           0;    6;       MINUTE; MINUTE
+  0;    4;      6;      0;           0;    6;       SECOND; SECOND
+  0;    4;     11;      0;       -1024;   11;        YEARS; TIME INCREMENT
+  0;    4;     12;      0;       -1024;   11;       MONTHS; TIME INCREMENT
+  0;    4;     13;      0;       -1024;   11;         DAYS; TIME INCREMENT
+  0;    4;     14;      0;       -1024;   11;        HOURS; TIME INCREMENT
+  0;    4;     15;      0;       -2048;   12;      MINUTES; TIME INCREMENT
+  0;    4;     16;      0;       -4096;   13;      SECONDS; TIME INCREMENT
+  0;    4;     21;      0;       -1024;   11;        YEARS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     22;      0;       -1024;   11;       MONTHS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     23;      0;       -1024;   11;         DAYS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     24;      0;       -2048;   12;        HOURS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     25;      0;       -2048;   12;      MINUTES; TIME PERIOD OR DISPLACEMENT
+  0;    4;     26;      0;       -4096;   13;      SECONDS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     31;      0;           0;    8;         HOUR; DUR OF TIME REL TO FOLLOWING VALU
+  0;    4;     41;      0;       -1440;   12;       MINUTE; TIME DIFFERENCE UTC - LMT
+  0;    4;     43;      0;           0;    9;          DAY; DAY OF THE YEAR
+  0;    4;     44;      0;           0;    3;   CODE_TABLE; DAY OF THE WEEK
+  0;    4;     53;      0;           0;    6;      NUMERIC; NUMBER OF DAYS WITH PRECIP => 1MM
+  0;    4;    192;      0;           0;   12;        HOURS; RECIEPT TIME - REPORT TIME
+  0;    4;    193;      0;           0;   12;      MINUTES; RECIEPT TIME - REPORT TIME
+  0;    4;    194;      0;           0;   12;        HOURS; RELEASE TIME OF SONDE
+  0;    4;    195;      0;           0;    5;         HOUR; FORECAST CYCLE HOUR
+  0;    4;    200;      0;           0;   12;         YEAR; YEAR   - TIME OF RECEIPT
+  0;    4;    201;      0;           0;    4;        MONTH; MONTH  - TIME OF RECEIPT
+  0;    4;    202;      0;           0;    6;          DAY; DAY    - TIME OF RECEIPT
+  0;    4;    203;      0;           0;    5;         HOUR; HOUR   - TIME OF RECEIPT
+  0;    4;    204;      0;           0;    6;       MINUTE; MINUTE - TIME OF RECEIPT
+  0;    4;    205;      0;           0;    6;       SECOND; SECOND - TIME OF RECEIPT
+  0;    4;    206;      0;           0;   32;       SECOND; DATA BASE INGEST TIME FROM 1 JAN
+  0;    4;    207;      0;           0;    5;         HOUR; HOUR - TIME OF MAX WIND (GUST)
+  0;    4;    208;      0;           0;    6;       MINUTE; MINUTE - TIME OF NAX WIND (GUST)
+  0;    5;      1;      5;    -9000000;   25;      DEGREES; LATITUDE(HIGH ACCURACY)
+  0;    5;      2;      2;       -9000;   15;      DEGREES; LATITUDE(COARSE ACCURACY)
+  0;    5;      3;      2;       -9000;   15;      DEGREES; ALTERNATE LATITUDE
+  0;    5;     11;      5;    -9000000;   25;      DEGREES; LATITUDE INCREMENT(HIGH ACCURACY)
+  0;    5;     12;      2;       -9000;   15;      DEGREES; LATITUDE INCREMENT(COARSE ACCURAC
+  0;    5;     21;      2;           0;   16; DEGREES_TRUE; BEARING OR AZIMUTH
+  0;    5;     22;      2;           0;   16; DEGREES_TRUE; SOLAR AZIMUTH
+  0;    5;     30;      0;           0;   12;      DEGREES; DIRECTION (SPECTRAL)
+  0;    5;     31;      0;           0;   12;      NUMERIC; ROW NUMBER
+  0;    5;     33;      1;           0;   16;       METERS; PIXEL SIZE ON HORIZONTAL-1
+  0;    5;     40;      0;           0;   24;      NUMERIC; ORBIT NUMBER
+  0;    5;     41;      0;           0;    8;      NUMERIC; SCAN LINE NUMBER
+  0;    5;     42;      0;           0;    6;      NUMERIC; CHANNEL NUMBER
+  0;    5;     43;      0;           0;    8;      NUMERIC; FIELD OF VIEW NUMBER
+  0;    5;     50;      5;           0;   17;      NUMERIC; SIGMA LEVEL
+  0;    5;     52;      0;           0;    5;      NUMERIC; CHANNEL NUMBER INCREMENT
+  0;    5;     53;      0;           0;    5;      NUMERIC; FIELD OF VIEW NUMBER INCREMENT
+  0;    6;      1;      5;   -18000000;   26;      DEGREES; LONGITUDE (HIGH ACCURACY)
+  0;    6;      2;      2;      -18000;   16;      DEGREES; LONGITUDE (COARSE ACCURACY)
+  0;    6;      3;      2;      -18000;   16;      DEGREES; ALTERNATE LONGITUDE
+  0;    6;     11;      5;   -18000000;   26;      DEGREES; LONGITUDE INCREMENT (HIGH ACCURAC
+  0;    6;     12;      2;      -18000;   16;      DEGREES; LONGITUDE INCREMENT (COARSE ACCUR
+  0;    6;     21;      1;           0;   13;       METERS; DISTANCE
+  0;    6;     30;      5;           0;   13;        RAD/M; WAVENUMBER (SPECTRAL)
+  0;    6;     31;      0;           0;   12;      NUMERIC; COLUMN NUMBER
+  0;    6;     33;      1;           0;   16;       METERS; PIXEL SIZE ON HORIZONTAL-2
+  0;    7;      1;      0;        -400;   15;       METERS; HEIGHT OF STATION
+  0;    7;      2;      1;         -40;   16;       METERS; HEIGHT OR ALTITUDE
+  0;    7;      3;      1;        -400;   17;    M**2/S**2; GEOPOTENTIAL
+  0;    7;      4;      1;           0;   14;      PASCALS; PRESSURE
+  0;    7;      5;      0;        -400;   12;       METERS; HEIGHT INCREMENT
+  0;    7;      6;      0;           0;   15;       METERS; HEIGHT ABOVE STATION
+  0;    7;      7;      0;       -1000;   17;            M; HEIGHT
+  0;    7;      8;      0;      -10000;   20;    M**2/S**2; GEOPOTENTIAL
+  0;    7;     21;      2;       -9000;   15;      DEGREES; ELEVATION
+  0;    7;     22;      2;       -9000;   15;      DEGREES; SOLAR ELEVATION
+  0;    7;     61;      2;           0;   14;       METERS; DEPTH BELOW LAND SURFACE
+  0;    7;     62;      1;           0;   17;       METERS; DEPTH BELOW SEA SURFACE
+  0;    7;    190;      0;           0;   12;       METERS; HEIGHT INCREMENT
+  0;    7;    192;      0;        -400;   17;          GPM; FLIGHT LEVEL (PRESSURE ALTITUDE)
+  0;    7;    193;      0;        -400;   17;         GPDM; FLIGHT LEVEL (PRESSURE ALTITUDE)
+  0;    7;    194;      0;        -400;   15;            M; HEIGHT OR ALTITUDE ABOVE MSL
+  0;    8;      1;      0;           0;    7;   FLAG_TABLE; VERTICAL SOUNDING SIGNIFICANCE
+  0;    8;      2;      0;           0;    6;   CODE_TABLE; VERT. SIGNIFICANCE (SFC OBSERVATI
+  0;    8;      3;      0;           0;    6;   CODE_TABLE; VERT. SIGNIFICANCE (SAT OBSERVATI
+  0;    8;      4;      0;           0;    3;   CODE_TABLE; PHASE OF AIRCRAFT FLIGHT
+  0;    8;      5;      0;           0;    4;   CODE_TABLE; SURFACE SYNOPTIC FEATURE SIGNIFIC
+  0;    8;     10;      0;           0;    4;   CODE_TABLE; VERT SIGNIFICANCE(FORECAST SOUNDI
+  0;    8;     11;      0;           0;    6;   CODE_TABLE; HORIZONTAL SIGNIFICANCE
+  0;    8;     12;      0;           0;    2;   CODE_TABLE; LAND/SEA QUALIFIER
+  0;    8;     13;      0;           0;    2;   CODE_TABLE; DAY/NIGHT QUALIFIER
+  0;    8;     20;      0;           0;   16;      NUMERIC; TOTAL NR MISG ENTITIES W/RES TO A
+  0;    8;     21;      0;           0;    5;   CODE_TABLE; TIME SIGNIFICANCE
+  0;    8;     22;      0;           0;   16;      NUMERIC; TOTAL NUMBER(W/RESPECT TO ACCUM O
+  0;    8;     23;      0;           0;    7;   CODE_TABLE; FIRST ORDER STATISTICS
+  0;    8;     24;      0;           0;    7;   CODE_TABLE; DIFFERENCE STATISTICS
+  0;    8;     31;      0;           0;    8;         BUFR; TABLE A    DATA CATEGORY
+  0;    8;     32;      0;           0;   14;   CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL
+  0;    8;     51;      0;           0;    3;   CODE_TABLE; QUALIFIER-NR MISG VALUES IN CALC
+  0;    8;     52;      0;           0;    5;   CODE_TABLE; COND. FOR  WHICH NR OF DAYS OF OC
+  0;    8;     53;      0;           0;    2;   CODE_TABLE; DAY OF OCCURRENCE QUALIFIER
+  0;    8;    192;      0;           0;   16;      NUMERIC; UPDATE SEQUENCE NUMBER
+  0;    8;    193;      0;           0;   16;      NUMERIC; OBSERVATION DATABASE KEY
+  0;    8;    194;      0;           0;    6;   CODE_TABLE; CORRECTION INDICATOR
+  0;    8;    195;      0;           0;    6;   CODE_TABLE; QUALITY CONTROL TYPE
+  0;    8;    196;      0;           0;    6;   CODE_TABLE; QUALITY CONTROL DECISION
+  0;    8;    197;      0;           0;    5;   CODE_TABLE; RECORD TEMPERATURE KEY
+  0;    8;    198;      0;           0;    4;   CODE_TABLE; TIME SIGNIFICANCE
+  0;    8;    199;      0;           0;    3;   CODE_TABLE; SOURCE UNITS OF WIND SPEED
+  0;    8;    200;      0;           0;    4;      NUMERIC; NMC QUALITY MARK
+  0;    8;    232;      0;           0;   14;   CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL
+  0;    9;      6;      3;           0;   10;      SECONDS; TIME OF ASCENDING NODE
+  0;   10;      1;      0;        -400;   15;       METERS; HEIGHT OF LAND SURFACE
+  0;   10;      2;      1;         -40;   16;       METERS; HEIGHT
+  0;   10;      3;      1;        -400;   17;    M**2/S**2; GEOPOTENTIAL
+  0;   10;      4;      1;           0;   14;      PASCALS; PRESSURE
+  0;   10;      7;      0;       -1000;   17;       METERS; HEIGHT
+  0;   10;      8;      0;      -10000;   20;    M**2/S**2; GEOPOTENTIAL
+  0;   10;     50;      2;           0;   16;       METERS; STD. DEV. ALTITUDE
+  0;   10;     51;      1;           0;   14;      PASCALS; PRESSURE REDUCED TO MSL
+  0;   10;     52;      1;           0;   14;      PASCALS; ALTIMETER SETTING (QNH)
+  0;   10;     60;      1;       -1024;   11;      PASCALS; PRESSURE CHANGE
+  0;   10;     61;      1;        -500;   10;      PASCALS; 3 HOUR PRESSURE CHANGE
+  0;   10;     62;      1;       -1000;   11;      PASCALS; 24 HOUR PRESSURE CHANGE
+  0;   10;     63;      0;           0;    4;   CODE_TABLE; CHARACTERISTIC OF PRESSURE TENDEN
+  0;   10;    192;      0;        -400;   17;          GPM; GEOPOTENTIAL HEIGHT
+  0;   10;    193;      0;        -400;   17;         GPDM; GEOPOTENTIAL HEIGHT
+  0;   10;    194;      0;       -2000;   17;          GPM; DEPARTURE FROM ICAO STD ATMOSPHER
+  0;   10;    195;      0;        -400;   17;           DM; GEOMETRIC HEIGHT
+  0;   11;      1;      0;           0;    9; DEGREES_TRUE; WIND DIRECTION
+  0;   11;      2;      1;           0;   12; METERS/SECOND; WIND SPEED
+  0;   11;      3;      1;       -4096;   13; METERS/SECOND; U-COMPONENT
+  0;   11;      4;      1;       -4096;   13; METERS/SECOND; V-COMPONENT
+  0;   11;      5;      1;        -512;   10; PASCALS/SECOND; W-COMPONENT
+  0;   11;      6;      2;       -4096;   13; METERS/SECOND; W-COMPONENT
+  0;   11;     11;      0;           0;    9; DEGREES_TRUE; WIND DIRECTION AT 10 METERS
+  0;   11;     12;      1;           0;   12; METERS/SECOND; WIND SPEED AT 10 METERS
+  0;   11;     13;      0;           0;    9; DEGREES_TRUE; WIND DIRECTION AT 5 METERS
+  0;   11;     14;      1;           0;   12; METERS/SECOND; WIND SPEED AT 5 METERS
+  0;   11;     21;      9;      -65536;   17;   SECOND**-1; RELATIVE VORTICITY
+  0;   11;     22;      9;      -65536;   17;   SECOND**-1; DIVERGENCE
+  0;   11;     23;      2;      -65536;   17;  M**2/SECOND; VELOCITY POTENTIAL
+  0;   11;     31;      0;           0;    4;   CODE_TABLE; DEGREE OF TURBULENCE
+  0;   11;     32;      1;         -40;   16;       METERS; HEIGHT OF BASE OF TURBULENCE
+  0;   11;     33;      1;         -40;   16;       METERS; HEIGHT OF TOP OF TURBULENCE
+  0;   11;     34;      1;       -1024;   11; METERS/SECOND; VERTICAL GUST VELOCITY
+  0;   11;     35;      2;       -8192;   14; METERS/SECOND**2VERTICAL; GUST ACCELERATION
+  0;   11;     36;      1;           0;   10; METERS/SECOND; MAXIMUM DERIVED EQUIVALENT VERTIC
+  0;   11;     41;      1;           0;   12; METERS/SECOND; MAX WIND SPEED (GUSTS)
+  0;   11;     42;      1;           0;   12; METERS/SECOND; MAX WIND SPEED(10 MIN MEAN WIND)
+  0;   11;     43;      0;           0;    9; DEGREES_TRUE; MAXIMUM WIND GUST DIRECTION
+  0;   11;     44;      0;           0;    9; DEGREES_TRUE; SFC-5000FT MEAN LYR WIND DIRECTIO
+  0;   11;     49;      0;           0;    9; DEGREES_TRUE; STD. DEV. OF WIND DIRECTION
+  0;   11;     50;      1;           0;   12; METERS/SECOND; STD. DEV. HORIZ WIND SPEED
+  0;   11;     51;      1;           0;    8; METERS/SECOND; STD DEV VERT WIND COMPONENT
+  0;   11;     61;      1;           0;   12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER BEL
+  0;   11;     62;      1;           0;   12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER ABO
+  0;   11;    192;      1;       -1024;   11; METERS/SECOND; MEAN U-COMPONENT
+  0;   11;    193;      1;       -1024;   11; METERS/SECOND; MEAN V-COMPONENT
+  0;   11;    194;      1;        -128;    8; METERS/SECOND; MEAN W-COMPONENT
+  0;   11;    195;      1;           0;    9; METERS/SECOND; STANDARD DEVIATION U
+  0;   11;    196;      1;           0;    9; METERS/SECOND; STANDARD DEVIATION V
+  0;   11;    197;      1;           0;    6; METERS/SECOND; STANDARD DEVIATION W
+  0;   11;    198;      1;           0;   12; METERS/SECOND; WIND SPEED 10000FT (EXTRAPLOATED)
+  0;   11;    199;      1;           0;   12; METERS/SECOND; WIND SPEED 20000FT (EXTRAPOLATED)
+  0;   11;    200;      1;           0;   12; METERS/SECOND; INFLATED WIND SPEED (MOS)
+  0;   11;    201;      1;           0;   12; METERS/SECOND; MEAN WIND SPEED PAST 12 HRS
+  0;   11;    210;      1;           0;   12; METERS/SECOND; ROOT MEAN SQUARE VECTOR WIND ERRO
+  0;   11;    221;      0;           0;    9; DEGREES_TRUE; MEAN WIND DIR 5000FT-10000FT
+  0;   11;    222;      1;           0;   12; METERS/SECOND; MEAN WIND SPEED 5000FT-10000FT
+  0;   11;    223;      1;           0;   12; METERS/SECOND; 10 METER EXTRAPOLATED WIND SPEED
+  0;   11;    224;      1;           0;   12; METERS/SECOND; 20 METER EXTRAPOLATED WIND SPEED
+  0;   12;      1;      1;           0;   12; DEGREES_KELVIN; TEMPERATURE/DRY BULB TEMPERATURE
+  0;   12;      2;      1;           0;   12; DEGREES_KELVIN; WET BULB TEMPERATURE
+  0;   12;      3;      1;           0;   12; DEGREES_KELVIN; DEW POINT TEMPERATURE
+  0;   12;      4;      1;           0;   12; DEGREES_KELVIN; DRY BULB TEMPERATURE AT 2 METERS
+  0;   12;      5;      1;           0;   12; DEGREES_KELVIN; WET BULB TEMPERATURE AT 2 METERS
+  0;   12;      6;      1;           0;   12; DEGREES_KELVIN; DEW POINT TEMPERATURE AT 2 METERS
+  0;   12;      7;      1;           0;   12; DEGREES_KELVIN; VIRTUAL TEMPERATURE
+  0;   12;     11;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE
+  0;   12;     12;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE
+  0;   12;     13;      1;           0;   12; DEGREES_KELVIN; GROUND MINIMUM TEMPERATURE PAST 1
+  0;   12;     14;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     15;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     16;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     17;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     20;      2;       -2000;   12;          DEG; K/DAY       RADIATIVE HEATING PROFILE
+  0;   12;     30;      1;           0;   12; DEGREES_KELVIN; SOIL TEMPERATURE
+  0;   12;     40;      3;       -2048;   12; WATTS/METER**2; SENSIBLE HEAT FLUX
+  0;   12;     51;      1;           0;   10; DEGREES_KELVIN; STANDARD DEVIATION TEMPERATURE
+  0;   12;     52;      1;           0;   12; DEGREES_KELVIN; HIGHEST DAILY MEAN TEMPERATURE
+  0;   12;     53;      1;           0;   12; DEGREES_KELVIN; LOWEST DAILY MEAN TEMPERATURE
+  0;   12;     61;      1;           0;   12; DEGREES_KELVIN; SKIN TEMPERATURE
+  0;   12;     62;      1;           0;   12; DEGREES_KELVIN; EQUIVALENT BLACK BODY TEMPERATURE
+  0;   12;     63;      1;           0;   12; DEGREES_KELVIN; BRIGHTNESS TEMPERATURE
+  0;   12;    192;      0;           0;    6;   CODE_TABLE; PRECISION OF AIRCRAFT TEMPERATURE
+  0;   12;    193;      1;           0;   12; DEGREES_KELVIN; TEMPERATURE (CITY)
+  0;   12;    194;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE (CITY)
+  0;   12;    195;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE (CITY)
+  0;   12;    200;      1;           0;   12; DEGREES_KELVIN; DAYTIME MAX TEMPERATURE
+  0;   12;    201;      1;           0;   12; DEGREES_KELVIN; NIGHTTIME MIN TEMPERATURE (MOS)
+  0;   13;      1;      5;           0;   14;        KG/KG; SPECIFIC HUMIDITY
+  0;   13;      2;      5;           0;   14;        KG/KG; MIXING RATIO
+  0;   13;      3;      0;           0;    7;            %; RELATIVE HUMIDITY
+  0;   13;      4;      1;           0;   10;      PASCALS; VAPOR PRESSURE
+  0;   13;      5;      3;           0;    7;  KG/METER**3; VAPOR DENSITY
+  0;   13;      6;      1;         -40;   16;       METERS; MIXING HEIGHTS
+  0;   13;     11;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION/TOTAL WATER E
+  0;   13;     12;      2;          -2;   12;       METERS; DEPTH OF FRESH SNOW
+  0;   13;     13;      2;          -2;   16;       METERS; TOTAL SNOW DEPTH
+  0;   13;     14;      4;           0;   12; KG/METER**2/SEC; RAINFALL/WATER EQUIV OF SNOW(AVG
+  0;   13;     15;      7;           0;   12; METERS/SECOND; SNOWFALL (AVERAGED RATE)
+  0;   13;     16;      0;           0;    7;  KG/METER**2; PRECIPITABLE WATER
+  0;   13;     19;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 1 HOUR
+  0;   13;     20;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 3 HOURS
+  0;   13;     21;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 6 HOURS
+  0;   13;     22;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 12 HOURS
+  0;   13;     23;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 24 HOURS
+  0;   13;     31;      0;           0;    7;  KG/METER**2; EVAPOTRANSPIRATION
+  0;   13;     32;      1;           0;    8;  KG/METER**2; EVAP/EVAPOTRANSPIRATION
+  0;   13;     40;      3;       -2048;   12; WATTS/METER**2; LATENT HEAT FLUX
+  0;   13;     41;      0;           0;    4;   CODE_TABLE; PASQUELL-GIFFORD STAB
+  0;   13;     42;      0;         -20;    6; DEGREES_KELVIN; PARCEL LIFTED INDEX (TO 500 HPA)
+  0;   13;     43;      0;         -20;    6; DEGREES_KELVIN; BEST LIFTED INDEX (TO 500 HPA)
+  0;   13;     51;      0;           0;    4;   CODE_TABLE; FREQ GRP, PRECIPITATION
+  0;   13;     52;      1;          -1;   14;          KG/; M**2        HIGHEST DAILY AMT OF PRECIPITATIO
+  0;   13;    192;      0;           0;    6;   CODE_TABLE; PRECIPITABLE WATER QUALITY
+  0;   13;    193;      4;          -1;   14;     KGM/M**2; 24 HR PRECIPITATION (CITY)
+  0;   13;    194;      0;           0;    3;   CODE_TABLE; INDIC INCLUSION/OMISSION OF PRECI
+  0;   14;      1;      3;       -2048;   12; JOULES/METER**2; LONGWAVE RADIATION. INTEGRATED 24
+  0;   14;      2;      3;       -2048;   12; JOULES/METER**2; LONGWAVE RAD. INTEGRATED SPEC.PER
+  0;   14;      3;      3;       -2048;   12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED 24 HOUR
+  0;   14;      4;      3;       -2048;   12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED SPEC PE
+  0;   14;     11;      3;       -2048;   12; JOULES/METER**2; NET LONGWAVE RAD. INTEG. 24 HOURS
+  0;   14;     12;      3;       -2048;   12; JOULES/METER**2; NET LONGWAVE RAD. INT SPEC PERIOD
+  0;   14;     13;      3;       -2048;   12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG 24 HOURS
+  0;   14;     14;      3;       -2048;   12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG SPEC PER
+  0;   14;     15;      4;      -16384;   15; JOULES/METER**2; NET RAD INTEGRATED OVER 24 HOURS
+  0;   14;     16;      4;      -16384;   15; JOULES/METER**2; NET RADIATION INTEG OVR PD SPECIF
+  0;   14;     17;      3;       -2048;   12; WATTS/METER**2; INSTANTANEOUS LONG WAVE RADIATION
+  0;   14;     18;      3;       -2048;   12; WATTS/METER**2; INSTANTANEOUS SHORT WAVE RADIATIO
+  0;   14;     19;      0;           0;    7;            %; SURFACE ALBEDO
+  0;   14;     20;      4;           0;   15; JOULES/METER**2; GLOBAL SOLAR RAD INTEG OVER  24 H
+  0;   14;     21;      4;           0;   15; JOULES/METER**2; GLOBAL RADIATION INTEG OVER PD SP
+  0;   14;     22;      4;           0;   15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER  24
+  0;   14;     23;      4;           0;   15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER PD S
+  0;   14;     24;      4;           0;   15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER  24 H
+  0;   14;     25;      4;           0;   15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER PD SP
+  0;   14;     31;      0;           0;   11;      MINUTES; TOTAL SUNSHINE
+  0;   14;     32;      0;           0;   10;        HOURS; TOTAL SUNSHINE
+  0;   14;     33;      0;           0;    9;            %; TOTAL SUNSHINE(PERCENTAGE)
+  0;   14;     41;      0;           0;    7;            %; SHORT WAVE ALBEDO
+  0;   14;     42;      0;           0;    7;            %; BI-DIRECTIONAL REFLECTANCE
+  0;   14;    200;      0;           0;    7;            %; PERCENT OF POSSIBLE SUNSHINE
+  0;   15;      1;      0;           0;   10;       DOBSON; UNITS    OZONE
+  0;   15;      2;      2;           0;   10;      NUMERIC; AIR-MASS (SLANT PATH AT 22KM)
+  0;   15;     11;      3;       14000;   12;     LOG/M**2; LOG_E OF INTEGRATED ELECTRON DENS
+  0;   19;      1;      0;           0;    6;   CODE_TABLE; TYPE OF SYNOPTIC FEATURE
+  0;   19;      2;      2;           0;   12;       METERS; EFFECTIVE RADIUS OF FEATURE
+  0;   19;      3;      0;           0;    8; METERS/SECOND; WIND SPEED THRESHOLD
+  0;   19;      4;      2;           0;   12;       METERS; EFF RAD OF FEAT W/RESP TO WINDS A
+  0;   19;      5;      0;           0;    9;          DEG; TRUE        DIRECTION OF MOTION OF FEATURE
+  0;   19;      6;      2;           0;   14; METERS/SECOND; SPEED OF MOTION OF FEATURE
+  0;   19;      7;      3;           0;   12;       METERS; EFFECTIVE RADIUS OF FEATURE
+  0;   19;      8;      0;           0;    3;   CODE_TABLE; VERTICAL EXTENT OF CIRCULATION
+  0;   19;      9;      3;           0;   12;       METERS; EFF. RAD. W/RESPECT TO FFF ABV TH
+  0;   20;      1;      1;           0;   13;       METERS; HORIZONTAL VISIBILITY
+  0;   20;      2;      1;           0;    7;       METERS; VERTICAL VISIBILITY
+  0;   20;      3;      0;           0;    9;   CODE_TABLE; PRESENT WEATHER
+  0;   20;      4;      0;           0;    5;   CODE_TABLE; PAST WEATHER (1)
+  0;   20;      5;      0;           0;    5;   CODE_TABLE; PAST WEATHER (2)
+  0;   20;      9;      1;         -40;   11;       METERS; CEILING
+  0;   20;     10;      0;           0;    7;            %; CLOUD COVER (TOTAL)
+  0;   20;     11;      0;           0;    4;   CODE_TABLE; CLOUD AMOUNT
+  0;   20;     12;      0;           0;    6;   CODE_TABLE; CLOUD TYPE
+  0;   20;     13;      1;         -40;   11;       METERS; HEIGHT OF BASE OF CLOUD
+  0;   20;     14;      1;         -40;   11;       METERS; HEIGHT OF TOP OF CLOUD
+  0;   20;     15;      1;           0;   14;      PASCALS; PRESSURE AT THE BASE OF CLOUD
+  0;   20;     16;      1;           0;   14;      PASCALS; PRESSURE AT THE TOP OF CLOUD
+  0;   20;     17;      0;           0;    4;   CODE_TABLE; CLOUD TOP DESCRIPTION
+  0;   20;     18;      1;          40;   11;       METERS; LOWEST HGT OF CLD TOP
+  0;   20;     19;      1;          40;   11;       METERS; HIGHEST HGT OF CLD TOP
+  0;   20;     20;      0;           0;    4; CODE_TABLE(02001LOW; CLOUD AMOUNT
+  0;   20;     21;      0;           0;    4; CODE_TABLE(02001MIDDLE; CLOUD AMOUNT
+  0;   20;     22;      0;           0;    4; CODE_TABLE(02001HIGH; CLOUD AMOUNT
+  0;   20;     23;      0;           0;    7;            %; SATELLITE SENSED EFF CLOUD AMOUNT
+  0;   20;     31;      2;           0;    7;       METERS; ICE DEPOSIT (THICKNESS)
+  0;   20;     32;      0;           0;    3;   CODE_TABLE; RATE OF ICE ACCRETION
+  0;   20;     33;      0;           0;    4;   FLAG_TABLE; CAUSE OF ICE ACCRETION
+  0;   20;     34;      0;           0;    5;   CODE_TABLE; SEA ICE CONCENTRATION
+  0;   20;     35;      0;           0;    4;   CODE_TABLE; AMOUNT AND TYPE OF ICE
+  0;   20;     36;      0;           0;    5;   CODE_TABLE; ICE SITUATION
+  0;   20;     37;      0;           0;    5;   CODE_TABLE; ICE DEVELOPMENT
+  0;   20;     38;      0;           0;   12; DEGREES_TRUE; BEARING OF ICE EDGE
+  0;   20;     39;      1;           0;   13;       METERS; ICE DISTANCE
+  0;   20;     41;      0;           0;    4;   CODE_TABLE; AIRFRAME ICING
+  0;   20;     51;      0;           0;    7;            %; AMOUNT OF LOW CLOUDS
+  0;   20;     52;      0;           0;    7;            %; AMOUNT OF MIDDLE CLOUDS
+  0;   20;     53;      0;           0;    7;            %; AMOUNT OF HIGH CLOUDS
+  0;   20;     61;      0;           0;   12;       METERS; RUNWAY VISUAL RANGE (RVR)
+  0;   20;     62;      0;           0;    5;   CODE_TABLE; STATE OF GROUND(W /WO SNOW)
+  0;   20;     63;      0;           0;   10;   CODE_TABLE; SPECIAL PHENOMENA
+  0;   20;    192;      0;           0;    7;   CODE_TABLE; VISIBILITY TOWARDS SEA(WMO TABLE
+  0;   20;    200;      0;           0;    7;            %; MEAN CLD COVER (OPAQUE) PAST 12 H
+  0;   21;      1;      0;         -64;    7;           DB; HORIZONTAL REFLECTIVITY
+  0;   21;      2;      0;         -64;    7;           DB; VERTICAL REFLECTIVITY
+  0;   21;      3;      1;          -5;    7;           DB; DIFFERENTIAL REFLECTIVITY
+  0;   21;      5;      0;         -65;    6;           DB; LINEAR DEPOLARIZATION RATIO
+  0;   21;      6;      0;         -65;    6;           DB; CIRCULAR DEPOLARIZATION RATIO
+  0;   21;     11;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN X DIRECT
+  0;   21;     12;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Y DIRECT
+  0;   21;     13;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Z DIRECT
+  0;   21;     14;      1;       -4096;   13; METERS/SECOND; DOPPLER MEAN VELOCITY (RADIAL)
+  0;   21;     17;      1;           0;    8; METERS/SECOND; DOPPLER VELOCITY SPECTRAL WIDTH
+  0;   21;     21;      3;           0;    4;       METERS; ECHO TOPS
+  0;   21;     30;      0;         -32;    8;           DB; SIGNAL TO NOISE RATIO
+  0;   21;     31;      0;           0;    7; KILOGRAMS/METER*VERT.; INTEGRATED LIQ. WATER CONTE
+  0;   21;     36;      7;           0;   12; METERS/SECOND; RADAR RAINFALL INTENSITY
+  0;   21;     41;      2;           0;    8;       METERS; BRIGHT BAND HEIGHT
+  0;   21;     51;      0;        -256;    8;           DB; SIGNAL POWER ABOVE 1MW
+  0;   21;     62;      2;       -5000;   13;     DECIBELS; BACKSCATTER
+  0;   21;     63;      0;           0;    7;            %; NOISE FIGURE
+  0;   21;     64;      0;           0;   10;      NUMERIC; CLUTTER NOISE ESTIMATE
+  0;   21;     65;      0;        -127;    8;      NUMERIC; MISSING PACKET COUNTER
+  0;   21;     66;      0;           0;   12;   FLAG_TABLE; WAVE SCATTEROMETER PRODUCT CONFID
+  0;   21;     67;      0;           0;   12;   FLAG_TABLE; WIND SCATTEROMETER PRODUCT CONFID
+  0;   21;     68;      0;           0;    8;   FLAG_TABLE; RADAR ALTIMETER PRODUCT CONFIDENC
+  0;   21;     69;      0;           0;    7;   FLAG_TABLE; ATSR SEA SFC TEMP QUAL ANALYSIS T
+  0;   21;     70;      0;           0;   15;   FLAG_TABLE; REPROCESSED WIND SCATTEROMETER PR
+  0;   21;     71;      0;           0;   16;      NUMERIC; PEAKINESS
+  0;   21;     72;      0;           0;    4;   FLAG_TABLE; SATELLITE ALTIMETER CALIBRATION S
+  0;   21;     73;      0;           0;    9;   FLAG_TABLE; SATELLITE ALTIMETER INSTRUMENT MO
+  0;   21;     74;      2;        -512;   10; DEGREES_KELVIN; MULTI/SINGLE VIEW DIFFERENCE
+  0;   21;     75;      0;           0;    8;      NUMERIC; SPECTRAL INTENSITY
+  0;   21;     76;      0;           0;    3;   CODE_TABLE; REPRESENTATION OF INTENSITIES
+  0;   21;     77;      3;           0;   14;       METERS; ALTITUDE CORRECTION (IONOSPHERE)
+  0;   21;     78;      3;           0;    9;       METERS; ALTITUDE CORRECTION (DRY TROPOSPH
+  0;   21;     79;      3;        2000;   10;       METERS; ALTITUDE CORRECTION (WET TROPOSPH
+  0;   21;     80;      3;           0;   11;       METERS; ALTITUDE CORRECTION (CALIB. CONST
+  0;   21;     81;      3;           0;   10;       METERS; OPEN LOOP CORRECTION (HGT-TIME LO
+  0;   21;     82;      3;       -3000;   14;     DECIBELS; OPEN LOOP CORRECTION (AUTO GAIN C
+  0;   21;     83;      0;           0;    7;            %; AMBIGUITY REMOVAL CONFIDENCE
+  0;   21;     84;      0;           0;    3;   CODE_TABLE; ATSR SEA SFC TEMP QUALITY SUMMARY
+  0;   21;     85;      0;           0;    4;      NUMERIC; ATSR SEA SFC TEMP ACROSS TRACK BA
+  0;   21;    192;      0;           0;    7;           DB; SPECTRAL PEAK POWER 0TH MOMENT
+  0;   21;    193;      1;       -4096;   13; METERS/SECOND; SPECTRAL PEAK POWER 1ST MOMENT
+  0;   21;    194;      1;           0;    8; METERS/SECOND; SPECTRAL PEAK POWER 2ND MOMENT
+  0;   22;      1;      0;           0;    9; DEGREES_TRUE; DIRECTION OF WAVES
+  0;   22;      2;      0;           0;    9; DEGREES_TRUE; DIRECTION OF WIND WAVES
+  0;   22;      3;      0;           0;    9; DEGREES_TRUE; DIRECTION OF SWELL WAVES
+  0;   22;      4;      0;           0;    9; DEGREES_TRUE; DIRECTION OF CURRENT WAVES
+  0;   22;     11;      0;           0;    6;      SECONDS; PERIOD OF WAVES
+  0;   22;     12;      0;           0;    6;      SECONDS; PERIOD OF WIND WAVES
+  0;   22;     13;      0;           0;    6;      SECONDS; PERIOD OF SWELL WAVES
+  0;   22;     21;      1;           0;   10;       METERS; HEIGHT OF WAVES
+  0;   22;     22;      1;           0;   10;       METERS; HEIGHT OF WIND WAVES
+  0;   22;     23;      1;           0;   10;       METERS; HEIGHT OF SWELL WAVES
+  0;   22;     25;      2;           0;   10;       METERS; STANDARD DEVIATION WAVE
+  0;   22;     26;      2;           0;   10;       METERS; STANDARD DEVIATION SIG WAVE HEIGH
+  0;   22;     31;      2;           0;   13; METERS/SECOND; SPEED OF CURRENT
+  0;   22;     37;      3;      -10000;   15;       METERS; TIDAL ELEV WITH RESPECT TO LAND D
+  0;   22;     38;      3;      -10000;   15;       METERS; TIDAL ELEV WITH RESPECT TO CHART
+  0;   22;     39;      3;       -5000;   12;       METERS; MET RESIDUAL TIDAL ELEV (SURGE OR
+  0;   22;     41;      1;           0;   12; DEGREES_KELVIN; SEA SFC TEM (15 DAY RUNNING MEAN)
+  0;   22;     42;      1;           0;   12; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;     43;      2;           0;   15; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;     44;      1;           0;   14; METERS/SECOND; SOUND VELOCITY
+  0;   22;     50;      2;           0;    8;            K; STD DEV SEA-SURFACE TEMPERATURE
+  0;   22;     61;      0;           0;    4;   CODE_TABLE; STATE OF SEA
+  0;   22;     62;      2;           0;   12;   PARTS/1000; SALINITY
+  0;   22;     63;      0;           0;   14;       METERS; TOTAL WATER DEPTH
+  0;   22;    105;      1;           0;    6; DEGREES_TRUE; DIRECTION OF WAVES
+  0;   22;    143;      2;        2650;   13; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;    192;      0;           0;    4;   CODE_TABLE; TIDE INDICATOR
+  0;   22;    193;      1;           0;   10;       METERS; ABS VALUE DEPT OF TIDE FROM PRED
+  0;   22;    194;      3;        -305;   12;       METERS; DEPT OF TIDE FROM MEAN LOWER LOW
+  0;   23;      1;      0;           0;    3;   CODE_TABLE; ACCIDENT EARLY NOTIFICATION ART.A
+  0;   23;      2;      0;           0;    5;   CODE_TABLE; ACTIVITY OR FACILITY INVOLVED IN
+  0;   23;      3;      0;           0;    3;   CODE_TABLE; TYPE OF RELEASE
+  0;   23;      4;      0;           0;    3;   CODE_TABLE; COUNTERMEASURES TAKEN NR BORDER
+  0;   23;      5;      0;           0;    2;   CODE_TABLE; CAUSE  OF INCIDENT
+  0;   23;      6;      0;           0;    3;   CODE_TABLE; INCIDENT SITUATION
+  0;   23;      7;      0;           0;    3;   CODE_TABLE; CHARACTERISTIC OF RELEASE
+  0;   23;      8;      0;           0;    2;   CODE_TABLE; STATE OF CURRENT RELEASE
+  0;   23;      9;      0;           0;    2;   CODE_TABLE; STATE OF EXPECTED RELEASE
+  0;   23;     16;      0;           0;    2;   CODE_TABLE; POSS. OF SIG CHEM.TOXIC HEALTH EF
+  0;   23;     17;      6;           0;   20; METER**3/SECOND; FLOW DISCHARGE OF MAJ. RECIPIENT
+  0;   23;     18;      0;           0;    3;   CODE_TABLE; RELEASE BEHAVIOR OVER TIME
+  0;   23;     19;      0;      -15000;   17;       METERS; ACTUAL RELEASE HEIGHT
+  0;   23;     21;      0;      -15000;   17;       METERS; EFFECTIVE RELEASE HEIGHT
+  0;   23;     22;      0;           0;   24;       METERS; DIST. OF REL PT OR SITE OF INCIDE
+  0;   23;     23;      1;           0;   12; METERS/SECOND; MAIN TRANSPORT SPEED IN ATMOSPHER
+  0;   23;     24;      2;           0;   13; METERS/SECOND; MAIN TRANSPORT SPEED IN WATER
+  0;   23;     25;      2;           0;   13; METERS/SECOND; MAIN TRANSPORT SPEED IN GROUND WA
+  0;   23;     27;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN ATMOSPHERE
+  0;   23;     28;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN WATER
+  0;   23;     29;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN GROUND WATE
+  0;   23;     31;      0;           0;    2;   CODE_TABLE; POSS PLUME/PRECIP ENCOUNTER
+  0;   23;     32;      0;           0;    2;   CODE_TABLE; PLUME ENCOUNTER DIR/SPD CHANGE
+  0;   24;      1;      1;           0;   28;           BQ; EST. OF RADIOACTIVITY REL.TO SPEC
+  0;   24;      2;      1;           0;   28;           BQ; EST MAXIMUM POTENTIAL RELEASE
+  0;   24;      3;      0;           0;    5;   CODE_TABLE; COMPOSITION OF RELEASE
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; ELEMENT NAME
+  0;   24;      5;      0;           0;    9;      NUMERIC; ISOTOPE MASS
+  0;   24;     11;      2;           0;   32;          MSV; DOSE
+  0;   24;     12;      2;           0;   32;          MSV; TRAJ DOSE(DEF LOC & EXP TIME OF A
+  0;   24;     13;      2;           0;   32;          MSV; GAMMA DOSE IN AIR ALG MAIN TRAN P
+  0;   24;     21;      2;           0;   32;  BQ/METER**3; AIR CONC.(NAMED ISOTOPE INC GROSS
+  0;   24;     22;      2;           0;   32;         BQ/L; CONC IN PRECIP(OF NAMED ISOTOPE T
+  0;   25;      1;      1;           0;    6;       METERS; RANGE GATE LENGTH
+  0;   25;      2;      0;           0;    4;      NUMERIC; NR OF GATES AVERAGED
+  0;   25;      3;      0;           0;    8;      NUMERIC; NR. OF INTEGRATED PULSES
+  0;   25;      4;      0;           0;    2;   CODE_TABLE; ECHO PROCESSING
+  0;   25;      5;      0;           0;    2;   CODE_TABLE; ECHO INTEGRATION
+  0;   25;      6;      0;           0;    3;   CODE_TABLE; Z TO R CONVERSION
+  0;   25;      7;      0;           0;   12;      NUMERIC; Z TO R CONVERSION FACTOR
+  0;   25;      8;      2;           0;    9;      NUMERIC; Z TO R CONVERSION EXPONENT
+  0;   25;      9;      0;           0;    4;   FLAG_TABLE; CALIBRATION METHOD
+  0;   25;     10;      0;           0;    4;   CODE_TABLE; CLUTTER TREATMENT
+  0;   25;     11;      0;           0;    2;   CODE_TABLE; GND. OCCULTATION CORR. (SCREENING
+  0;   25;     12;      0;           0;    2;   CODE_TABLE; RANGE ATTENUATION CORRECTION
+  0;   25;     13;      0;           0;    2;   FLAG_TABLE; BRIGHT BAND CORRECTION
+  0;   25;     15;      0;           0;    2;   FLAG_TABLE; RADOME ATTENUATION CORRECTION
+  0;   25;     16;      5;           0;    6;     DB/METER; CLEAR AIR ATTENUATION CORRECTION
+  0;   25;     17;      0;           0;    2;   FLAG_TABLE; PRECIPITATION ATTENUATION CORRECT
+  0;   25;     18;      7;           0;    6;      NUMERIC; A TO Z LAW FOR ATTENUATION FACTOR
+  0;   25;     19;      2;           0;    7;      NUMERIC; A TO Z LAW FOR ATTENUATION EXPONE
+  0;   25;     20;      0;           0;    2;   CODE_TABLE; MEAN SPEED ESTIMATION
+  0;   25;     21;      0;           0;    8;   FLAG_TABLE; WIND COMPUTATION ENHANCEMENT
+  0;   25;     30;      0;           0;    2;   CODE_TABLE; SST USAGE
+  0;   25;     31;      0;           0;    2;   CODE_TABLE; 15 DAY SST AVAILABILITY
+  0;   25;     32;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE
+  0;   25;     33;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER SUBMODE
+  0;   25;     34;      0;           0;    4;   CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL
+  0;   25;     35;      0;           0;    3;   CODE_TABLE; FIRST GUESS ADJUSTMENT
+  0;   25;     36;      3;       -5000;   14;      NUMERIC; NSTAR AVERAGE VALUE
+  0;   25;     37;      0;           0;    2;   CODE_TABLE; HIRS-8 SFC AIR TEMP
+  0;   25;     38;      0;           0;    3;   CODE_TABLE; TOVS FILTER FLAGS
+  0;   25;    202;      0;           0;    4;   FLAG_TABLE; TEMPERATURE CHANNEL SELECTION FLA
+  0;   25;    204;      0;           0;    8;   FLAG_TABLE; MATCHUP QUALITY TEST FLAGS
+  0;   25;    205;      0;           0;    8;   FLAG_TABLE; RETRIEVAL/DPI QUALITY TEST FLAGS
+  0;   25;    209;      3;           0;   12; DECIMAL_HOURS; DPI TIME DIFFERENCE (READ AS MINU
+  0;   25;    210;      3;           0;   19;       METERS; DPI DISTANCE
+  0;   25;    211;      3;           0;   12; DECIMAL_HOURS; QUANTITATIVE RETRIEVAL TIME DIFFE
+  0;   25;    212;      3;           0;   19;       METERS; QUANTITATIVE RETRIEVAL DISTANCE
+  0;   26;      1;      1;           0;   12;         HOUR; PCPL TIME OF DAILY RDG IN UTC MAX
+  0;   26;      2;      1;           0;   12;         HOUR; PCPL TIME OF DAILY RDG IN UTC MIN
+  0;   26;     31;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR NORTH
+  0;   26;     32;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR NORTH
+  0;   26;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR NORTH
+  0;   27;      1;      5;    -9000000;   25;      DEGREES; LATITUDE (HIGH ACCURACY)
+  0;   27;      2;      2;       -9000;   15;      DEGREES; LATITUDE (COARSE ACCURACY)
+  0;   27;      3;      2;       -9000;   15;      DEGREES; ALTERNATE LATITUDE
+  0;   27;     20;      0;           0;   16;      NUMERIC; SATELLITE LOCATION COUNTER
+  0;   27;     21;      0;           0;   16;      NUMERIC; SATELLITE SUB-LOCATION DIMENSIONS
+  0;   27;     31;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR 0 DEG
+  0;   27;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR N DIR 0 DEG
+  0;   28;      1;      5;   -18000000;   26;      DEGREES; LONGITUDE (HIGH ACCURACY)
+  0;   28;      2;      2;      -18000;   16;      DEGREES; LONGITUDE (COARSE ACCURACY)
+  0;   28;      3;      2;      -18000;   16;      DEGREES; ALTERNATE LONGITUDE
+  0;   28;     31;      2;  -107341824;   31;       METERS; DIST FMEARTH CENTER IN DIR 90 DEG
+  0;   28;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR 90 DE
+  0;   29;      1;      0;           0;    3;   CODE_TABLE; PROJECTION TYPE
+  0;   29;      2;      0;           0;    3;   CODE_TABLE; COORDINATE GRID TYPE
+  0;   30;      1;      0;           0;    4;      NUMERIC; PIXEL VALUE (4 BITS)
+  0;   30;     21;      0;           0;   12;      NUMERIC; NUMBER OF PIXELS PER ROW
+  0;   30;     22;      0;           0;   12;      NUMERIC; NUMBER OF PIXELS PER COLUMN
+  0;   30;     31;      0;           0;    4;   CODE_TABLE; PICTURE TYPE
+  0;   30;     32;      0;           0;   16;   FLAG_TABLE; COMBINED PICTURE
+  0;   31;      0;      0;           0;    1;   FLAG_TABLE; DELAYED REPLICATION SWITCH
+  0;   31;      1;      0;           0;    8;      NUMERIC; DELAYED DESCRIPTOR REPLICATION FA
+  0;   31;      2;      0;           0;   16;      NUMERIC; EXT DELAYED DESCRIPTOR REPLICAT.
+  0;   31;     11;      0;           0;    8;      NUMERIC; DELAYED DESC. & DATA REPITIT. FAC
+  0;   31;     12;      0;           0;   16;      NUMERIC; EXT DELAYED DESC. & DATA REPITIT.
+  0;   31;     21;      0;           0;    6;   CODE_TABLE; ASSOCIATED FIELD SIGNIFICANCE
+  0;   31;     31;      0;           0;    1;   FLAG_TABLE; DATA PRESENT INDICATOR
+  0;   31;    192;      0;           0;    9;   CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE
+  0;   31;    193;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER SUBMODE
+  0;   31;    194;      0;           0;    4;   CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL
+  0;   33;      2;      0;           0;    2;   CODE_TABLE; QUALITY INFORMATION
+  0;   33;      3;      0;           0;    3;   CODE_TABLE; QUALITY INFORMATION
+  0;   33;      4;      0;           0;    7;            %; % CONFIDENCE
+  0;   50;      1;      0;           0;   17;      NUMERIC; REPORT SEQUENCE NUMBER
+  0;   50;     20;      0;           0;    4;   CODE_TABLE; DATA QUALITY INDICATOR
+  0;   55;      6;      0;           0;   10;   CODE_TABLE; NMC REPORT TYPE
+  0;   58;      1;      0;           0;   48;    CCITT_IA5; BULLETIN HEADING
+  0;   58;      2;      0;           0;   80;    CCITT_IA5; AIRCRAFT TYPE
+  0;   58;      3;      0;        -400;   17;          GPM; ICING BASE
+  0;   58;      4;      0;        -400;   17;          GPM; ICING TOP
+  0;   58;      5;      0;           0;  224;    CCITT_IA5; COMPLETE BULLETIN HEADER
+  0;   60;      1;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      2;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      3;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      4;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      5;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      6;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      7;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;      8;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;      9;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;     10;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     11;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     12;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     13;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     14;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     15;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     16;      0;           0;    7;            %; PROB. OF LIQ PCP GE 2.00 INCH PAS
+  0;   60;     17;      0;           0;    7;            %; PROB. OF LIQ PCP GE 2.00 INCH PAS
+  0;   60;     18;      0;           0;    7;            %; REL FRQ GE .01 LQ EQV PCP PAST 12
+  0;   60;     19;      0;           0;    7;            %; REL FRQ GE .01 LQ EQV PCP PAST 24
+  0;   60;     20;      0;           0;    7;            %; COND PROB PCP TYPE FREEZING
+  0;   60;     21;      0;           0;    7;            %; COND PROB PCP TYPE SNOW
+  0;   60;     22;      0;           0;    7;            %; COND PROB PCP TYPE LIQUID
+  0;   60;     23;      0;           0;    7;            %; COND PROB PCP TYPE DRIZZLE
+  0;   60;     24;      0;           0;    7;            %; COND PROB PCP TYPE CONTINUOUS
+  0;   60;     25;      0;           0;    7;            %; COND PROB PCP TYPE SHOWERS
+  0;   60;     26;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 6HRS
+  0;   60;     27;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 12HRS
+  0;   60;     28;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 24HRS
+  0;   60;     29;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 6HRS
+  0;   60;     30;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 12HRS
+  0;   60;     31;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 24HRS
+  0;   60;     32;      0;           0;    7;            %; PROB SNOW AMT GE 4.0IN PAST 12HRS
+  0;   60;     33;      0;           0;    7;            %; PROB SNOW AMT GE 4.0IN PAST 24HRS
+  0;   60;     34;      0;           0;    7;            %; PROB SNOW AMT GE 6.0IN PAST 12HRS
+  0;   60;     35;      0;           0;    7;            %; PROB SNOW AMT GE 6.0IN PAST 24HRS
+  0;   60;     36;      0;           0;    7;            %; COND PROB SNOW PAST 12 HRS
+  0;   60;     37;      0;           0;    7;            %; COND REL FRQ PROB SNOW PAST 12 HR
+  0;   60;     38;      0;           0;    7;            %; PROB OPAQUE SKY COVER  CLEAR
+  0;   60;     39;      0;           0;    7;            %; PROB OPAQUE SKY COVER  SCATTERED
+  0;   60;     40;      0;           0;    7;            %; PROB OPAQUE SKY COVER  BROKEN
+  0;   60;     41;      0;           0;    7;            %; PROB OPAQUE SKY COVER  OVERCAST
+  0;   60;     42;      0;           0;    7;            %; PROB CIG HGT < 200 FT
+  0;   60;     43;      0;           0;    7;            %; PROB CIG HGT 200-400 FT
+  0;   60;     44;      0;           0;    7;            %; PROB CIG HGT 500-900 FT
+  0;   60;     45;      0;           0;    7;            %; PROB CIG HGT 1000-3000 FT
+  0;   60;     46;      0;           0;    7;            %; PROB CIG HGT 3100-6500 FT
+  0;   60;     47;      0;           0;    7;            %; PROB CIG HGT 6600-12000 FT
+  0;   60;     48;      0;           0;    7;            %; PROB CIG HGT GT 12000 FT
+  0;   60;     49;      0;           0;    7;            %; PROB VSBY < 0/2 MILES
+  0;   60;     50;      0;           0;    7;            %; PROB VSBY < 0/2 - 7/8 MILES
+  0;   60;     51;      0;           0;    7;            %; PROB VSBY < 0 - 2 3/4 MILES
+  0;   60;     52;      0;           0;    7;            %; PROB VSBY < 3 - 5 MILES
+  0;   60;     53;      0;           0;    7;            %; PROB VSBY > 5   MILES
+  0;   60;     54;      0;           0;    7;            %; PROB OBS TO VISION  BLOWING PHENO
+  0;   60;     55;      0;           0;    7;            %; PROB OBS TO VISION  HAZE
+  0;   60;     56;      0;           0;    7;            %; PROB OBS TO VISION  FOG
+  0;   60;     57;      0;           0;    7;            %; PROB OBS TO VISION  NONE
+  0;   60;     58;      0;           0;    7;            %; PROB TSTM PAST 6 HRS
+  0;   60;     59;      0;           0;    7;            %; PROB TSTM PAST 12HRS
+  0;   60;     60;      0;           0;    7;            %; PROB TSTM PAST 24HRS
+  0;   60;     61;      0;           0;    7;            %; PROB SVR WX PAST 6 HRS
+  0;   60;     62;      0;           0;    7;            %; PROB SVR WX PAST 12HRS
+  0;   60;     63;      0;           0;    7;            %; PROB SVR WX PAST 24HRS
+  0;   60;     64;      0;           0;    7;            %; CLIM AVG CLD COVER (OPAQUE)
+  0;   60;     65;      1;           0;   12; METERS/SECOND; CLIMATIC WIND SPEED
+  0;   60;     66;      1;           0;   12; DEGREES_KELVIN; CLIMATIC(NORMAL) DAY MAX TEMP
+  0;   60;     67;      1;           0;   12; DEGREES_KELVIN; CLIMATIC(NORMAL) NIGHT MIN TEMP
+  0;   60;     90;      0;           0;    4;   CODE_TABLE; QUANT PCP FCST (CATEGORIES)
+  0;   60;     91;      0;           0;    3;   CODE_TABLE; COND PCP TYPE FCST (CATS)
+  0;   60;     92;      0;           0;    3;   CODE_TABLE; COND PCP CHARACTER FCST (CATS)
+  0;   60;     93;      0;           0;    3;   CODE_TABLE; QUANT SNOW AMT FCST (CATS)
+  0;   60;     94;      0;           0;    4;   CODE_TABLE; CIG HEIGHT FCST (CATS)
+  0;   60;     95;      0;           0;    3;   CODE_TABLE; VISIBILITY FCST (CATS)
+  0;   60;     96;      0;           0;    3;   CODE_TABLE; OBSTRUCT TO VISION FCST (CATS)
+  0;   60;     97;      0;           0;    2;   CODE_TABLE; THUNDERSTORM FCST (CATS)
+  0;   60;     98;      0;           0;    2;   CODE_TABLE; SEVERE WEATHER FCST (CATS)
+  0;   63;    255;      0;           0;    1;      NUMERIC; FILL BIT
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-005-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-004-D
@@ -0,0 +1,1760 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	45
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	01	0
+	2	2	0
+	3	4	30
+	3	4	31
+	-1
+
+3	1	47
+	0	1	7
+	0	25	60
+	0	1	33
+	0	1	34
+	0	1	12
+	3	1	45
+	0	2	21
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1 
+
+3	1	48
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	140
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	1
+	2	2	0
+	0	25	10
+	0	21	64
+	-1
+
+3	1	49
+	0	2	111
+	0	2	112
+	0	21	62
+	0	21	63
+	0	21	64
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	55
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	0	1	12
+	0	1	14
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	1	65
+	0	1	6
+	0	1	8
+	0	2	1
+	0	2	2
+	0	2	5
+	0	2	62
+	0	2	70
+	0	2	65
+	-1
+
+3	1	66
+	3	1	11
+	3	1	13
+	3	1	23
+	0	7	4
+	0	2	64
+	0	8	4
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	6
+	0	10	4
+	0	10	51
+	0	10	62
+	0	10	63
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	13
+	3	2	6
+	3	2	3
+	1	1	0
+	0	31	1
+	3	2	05
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	22
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	3	33
+	0	20	10
+	0	20	16
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	4	30
+	0	27	31
+	0	28	31
+	0	10	31
+	-1
+
+3	4	31
+	0	1	41
+	0	1	42
+	0	1	43
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	6	20
+	3	6	24
+	1	2	6
+	0	22	38
+	0	22	39
+	-1
+
+3	6	21
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	122
+	0	22	123
+	0	12	1
+	3	3	2
+	-1
+
+3	6	22
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	-1
+
+3	6	23
+	0	1	15
+	3	1	23
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	0	22	120
+	0	22	121
+	-1
+
+3	6	24
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	42
+	0	22	120
+	0	22	121
+	0	4	25
+	0	4	15
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	7	9
+	3	1	31
+	3	2	13
+	-1
+
+3	7	11
+	0	1	63
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	0	7	6
+	0	11	1
+	0	11	16
+	0	11	17
+	0	11	2
+	0	11	42
+	0	7	6
+	0	12	1
+	0	12	3
+	0	10	52
+	0	20	9
+	-1
+
+3	7	12
+	1	3	0
+	0	31	1
+	0	8	23
+	0	5	21
+	0	20	1
+	-1
+
+3	7	13
+	1	6	0
+	0	31	1
+	0	1	64
+	0	8	14
+	0	20	61
+	0	8	14
+	0	20	61
+	0	20	18
+	-1
+
+3	7	14
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	15
+	1	1	0
+	0	31	1
+	3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	0	20	2
+	-1
+
+3	7	16
+	1	1	0
+	0	31	1
+	0	20	20
+	-1
+
+3	7	17
+	1	1	0
+	0	31	1
+	0	11	70
+	-1
+
+3	7	18
+	0	8	16
+	1	2	0
+	0	31	1
+	0	8	17
+	3	1	12
+	1	4	0
+	0	31	1
+	0	7	6
+	0	11	1
+	0	11	2
+	0	11	41
+	0	20	9
+	1	1	0
+	0	31	1
+	0	20	1
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	20
+	3	7	11
+	3	7	14
+	3	7	16
+	-1
+
+3	7	21
+	3	7	11
+	3	7	12
+	3	7	13
+	3	7	14
+	3	7	15
+	3	7	16
+	3	7	17
+	3	7	18
+	3	7	15
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	8	7
+	3	1	55
+	3	2	11
+	0	7	62
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	10	5
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	03	25
+	-1
+
+3	10	6
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	23
+	-1
+
+3	10	7
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	24
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	11	2
+	3	1	65
+	3	1	66
+	3	11	3
+	3	11	4
+	-1
+
+3	11	3
+	0	10	70
+	0	11	1
+	0	11	2
+	0	12	1
+	0	13	2
+	-1
+
+3	11	4
+	1	1	0
+	0	31	0
+	0	11	34
+	1	1	0
+	0	31	0
+	0	11	35
+	1	1	0
+	0	31	0
+	0	11	75
+	1	1	0
+	0	31	0
+	0	11	76
+	1	1	0
+	0	31	0
+	0	33	25
+	1	1	0
+	0	31	0
+	0	33	26
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	1	2	32
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	12	20
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	4	12
+	0	6	30
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	21
+	3	1	47
+	1	1	3
+	3	1	49
+	0	11	12
+	0	11	11
+	0	21	67
+	-1
+
+3	12	22
+	3	1	47
+	0	8	22
+	0	11	12
+	0	11	50
+	0	22	70
+	0	22	26
+	3	12	41
+	0	10	50
+	0	21	68
+	0	21	71
+	0	21	72
+	0	21	73
+	3	12	42
+	0	21	62
+	0	15	11
+	-1
+
+3	12	23
+	3	1	47
+	1	3	3
+	0	8	22
+	0	12	61
+	0	22	50
+	0	21	69
+	0	21	85
+	-1
+
+3	12	24
+	3	12	20
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+
+3	12	41
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	00
+	2	2	00
+	-1
+
+3	12	42
+	0	21	77
+	0	21	78
+	0	21	79
+	0	21	80
+	0	21	81
+	0	21	82
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	16	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	1	33
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	7	2
+	0	7	2
+	-1
+
+3	16	3
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	11	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	4
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	11	31
+	0	8	7
+	0	8	11
+	-1
+
+3	16	5
+	1	8	0
+	0	31	1
+	0	8	5
+	0	8	7
+	0	5	2
+	0	6	2
+	0	1	26
+	0	19	1
+	0	8	7
+	0	8	5
+	-1
+
+3	16	6
+	1	12	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	11
+	0	20	12
+	0	8	7
+	0	8	11
+	-1
+
+3	16	7
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	19	5
+	0	19	6
+	0	8	7
+	0	8	11
+	-1
+
+3	16	8
+	1	11	0
+	0	31	1
+	0	8	1
+	0	8	7
+	0	8	23
+	1	3	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	8	23
+	0	8	7
+	0	8	1
+	-1
+
+3	16	9
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	41
+	0	8	7
+	0	8	11
+	-1
+
+3	16	10
+	1	7	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	1	22
+	0	5	2
+	0	6	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	11
+	1	16	0
+	0	31	1
+	0	8	11
+	0	1	22
+	0	8	7
+	0	1	2
+	0	31	1
+	0	5	2
+	0	6	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	20	90
+	0	8	21
+	0	8	7
+	0	8	11
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	0	2	135
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-006-D
@@ -0,0 +1,2001 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	45
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	01	0
+	2	2	0
+	3	4	30
+	3	4	31
+	-1
+
+3	1	47
+	0	1	7
+	0	25	60
+	0	1	33
+	0	1	34
+	0	1	12
+	3	1	45
+	0	2	21
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1 
+
+3	1	48
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	140
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	1
+	2	2	0
+	0	25	10
+	0	21	64
+	-1
+
+3	1	49
+	0	2	111
+	0	2	112
+	0	21	62
+	0	21	63
+	0	21	65
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	55
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	0	1	12
+	0	1	14
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	1	65
+	0	1	6
+	0	1	8
+	0	2	1
+	0	2	2
+	0	2	5
+	0	2	62
+	0	2	70
+	0	2	65
+	-1
+
+3	1	66
+	3	1	11
+	3	1	13
+	3	1	23
+	0	7	4
+	0	2	64
+	0	8	4
+	-1
+
+3	1	71
+	0	1	7
+	0	1	31
+	0	1	20
+	0	1	28
+	0	1	29
+	-1
+
+3	1	72
+	3	1	71
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	6
+	0	10	4
+	0	10	51
+	0	10	62
+	0	10	63
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	13
+	3	2	6
+	3	2	3
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	3	33
+	0	20	10
+	0	20	16
+	-1
+
+3	3	41
+	0	2	152
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	153
+	0	2	154
+	0	12	71
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	4	11
+	0	2	163
+	0	2	164
+	0	8	12
+	0	7	24
+	0	2	167
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	3	10
+	0	2	163
+	0	7	4
+	0	12	1
+	-1
+
+3	4	30
+	0	27	31
+	0	28	31
+	0	10	31
+	-1
+
+3	4	31
+	0	1	41
+	0	1	42
+	0	1	43
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	6	20
+	3	6	24
+	1	2	6
+	0	22	38
+	0	22	39
+	-1
+
+3	6	21
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	122
+	0	22	123
+	0	12	1
+	3	3	2
+	-1
+
+3	6	22
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	-1
+
+3	6	23
+	0	1	15
+	3	1	23
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	0	22	120
+	0	22	121
+	-1
+
+3	6	24
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	42
+	0	22	120
+	0	22	121
+	0	4	25
+	0	4	15
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	7	9
+	3	1	31
+	3	2	13
+	-1
+
+3	7	11
+	0	1	63
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	0	7	6
+	0	11	1
+	0	11	16
+	0	11	17
+	0	11	2
+	0	11	41
+	0	7	6
+	0	12	1
+	0	12	3
+	0	10	52
+	0	20	9
+	-1
+
+3	7	12
+	1	3	0
+	0	31	1
+	0	8	23
+	0	5	21
+	0	20	1
+	-1
+
+3	7	13
+	1	6	0
+	0	31	1
+	0	1	64
+	0	8	14
+	0	20	61
+	0	8	14
+	0	20	61
+	0	20	18
+	-1
+
+3	7	14
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	15
+	1	1	0
+	0	31	1
+	3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	0	20	2
+	-1
+
+3	7	16
+	1	1	0
+	0	31	1
+	0	20	20
+	-1
+
+3	7	17
+	1	1	0
+	0	31	1
+	0	11	70
+	-1
+
+3	7	18
+	0	8	16
+	1	2	0
+	0	31	1
+	0	8	17
+	3	1	12
+	1	4	0
+	0	31	1
+	0	7	6
+	0	11	1
+	0	11	2
+	0	11	41
+	0	20	9
+	1	1	0
+	0	31	1
+	0	20	1
+	3	7	14
+	-1
+
+3	7	20
+	3	7	11
+	3	7	14
+	3	7	16
+	-1
+
+3	7	21
+	3	7	11
+	3	7	12
+	3	7	13
+	3	7	14
+	3	7	15
+	3	7	16
+	3	7	17
+	3	7	18
+	3	7	15
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	8	7
+	3	1	55
+	3	2	11
+	0	7	62
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	10	5
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	03	25
+	-1
+
+3	10	6
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	23
+	-1
+
+3	10	7
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	24
+	-1
+
+3	10	8
+	3	10	11
+	1	1	19
+	3	10	12
+	0	2	150
+	0	25	79
+	0	25	80
+	0	33	32
+	0	14	45
+	-1
+
+3	10	9
+	3	10	11
+	1	1	15
+	3	10	12
+	-1
+
+3	10	10
+	3	10	11
+	1	1	5
+	3	10	12
+	-1
+
+3	10	11
+	0	8	70
+	0	1	33
+	0	1	34
+	0	8	70
+	0	1	33
+	0	1	34
+	0	1	7
+	0	2	48
+	0	5	40
+	0	25	75
+	2	1	133
+	0	5	41
+	2	1	0
+	0	5	43
+	0	25	70
+	0	33	30
+	0	33	31
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	2	2	131
+	2	1	138
+	0	4	6
+	2	1	0
+	2	2	0
+	0	5	1
+	0	6	1
+	2	2	126
+	0	7	1
+	2	2	0
+	0	7	24
+	0	5	21
+	0	7	25
+	0	5	22
+	0	33	33
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	-1
+
+3	10	12
+	0	2	150
+	0	25	76
+	0	25	77
+	0	25	78
+	0	33	32
+	2	1	132
+	2	2	129
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	13
+	0	1	7
+	0	5	40
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	4	6
+	0	5	1
+	0	6	1
+	0	7	25
+	0	5	43
+	0	25	85
+	2	1	131
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	2	2	0
+	2	1	0
+	2	1	132
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	14
+	3	1	72
+	3	3	41
+	3	4	11
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	11	2
+	3	1	65
+	3	1	66
+	3	11	3
+	3	11	4
+	-1
+
+3	11	3
+	0	10	70
+	0	11	1
+	0	11	2
+	0	12	1
+	0	13	2
+	-1
+
+3	11	4
+	1	1	0
+	0	31	0
+	0	11	34
+	1	1	0
+	0	31	0
+	0	11	35
+	1	1	0
+	0	31	0
+	0	11	75
+	1	1	0
+	0	31	0
+	0	11	76
+	1	1	0
+	0	31	0
+	0	33	25
+	1	1	0
+	0	31	0
+	0	33	26
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	2	2	126
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	12	19
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	6	12
+	2	1	129
+	0	6	30
+	2	1	0
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	20
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	4	12
+	0	6	30
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	21
+	3	1	47
+	1	1	3
+	3	1	49
+	0	11	12
+	0	11	11
+	0	21	67
+	-1
+
+3	12	22
+	3	1	47
+	0	8	22
+	0	11	12
+	0	11	50
+	0	22	70
+	0	22	26
+	3	12	41
+	0	10	50
+	0	21	68
+	0	21	71
+	0	21	72
+	0	21	73
+	3	12	42
+	0	21	62
+	0	15	11
+	-1
+
+3	12	23
+	3	1	47
+	1	3	3
+	0	8	22
+	0	12	61
+	0	22	50
+	0	21	69
+	0	21	85
+	-1
+
+3	12	24
+	3	12	20
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	25
+	3	12	19
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	41
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	00
+	2	2	00
+	-1
+
+3	12	42
+	0	21	77
+	0	21	78
+	0	21	79
+	0	21	80
+	0	21	81
+	0	21	82
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	16	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	1	33
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	7	2
+	0	7	2
+	-1
+
+3	16	3
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	11	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	4
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	11	31
+	0	8	7
+	0	8	11
+	-1
+
+3	16	5
+	1	8	0
+	0	31	1
+	0	8	5
+	0	8	7
+	0	5	2
+	0	6	2
+	0	1	26
+	0	19	1
+	0	8	7
+	0	8	5
+	-1
+
+3	16	6
+	1	12	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	11
+	0	20	12
+	0	8	7
+	0	8	11
+	-1
+
+3	16	7
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	19	5
+	0	19	6
+	0	8	7
+	0	8	11
+	-1
+
+3	16	8
+	1	11	0
+	0	31	1
+	0	8	1
+	0	8	7
+	0	8	23
+	1	3	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	8	23
+	0	8	7
+	0	8	1
+	-1
+
+3	16	9
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	41
+	0	8	7
+	0	8	11
+	-1
+
+3	16	10
+	1	7	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	1	22
+	0	5	2
+	0	6	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	11
+	1	16	0
+	0	31	1
+	0	8	11
+	0	1	22
+	0	8	7
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	20	90
+	0	8	21
+	0	8	7
+	0	8	11
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-007-B
@@ -0,0 +1,682 @@
+#
+# WMO source file name = BufrTabB.txt
+# Master Table B Version 7
+#
+#                   Reference    Bit
+# F   X    Y Scale    Value     Width     Units     Comments
+#--------------------------------------------------------------
+# Class 00 - BUFR table entries
+  0;  0;   1;    0;           0;   24;   CCITT_IA5; Table A:  entry
+  0;  0;   2;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 1"
+  0;  0;   3;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 2"
+  0;  0;   5;    0;           0;   24;   CCITT_IA5; BUFR edition number
+  0;  0;  10;    0;           0;    8;   CCITT_IA5; F descriptor to be added or defined
+  0;  0;  11;    0;           0;   16;   CCITT_IA5; X descriptor to be added or defined
+  0;  0;  12;    0;           0;   24;   CCITT_IA5; Y descriptor to be added or defined
+  0;  0;  13;    0;           0;  256;   CCITT_IA5; "Element name, line 1"
+  0;  0;  14;    0;           0;  256;   CCITT_IA5; "Element name, line 2"
+  0;  0;  15;    0;           0;  192;   CCITT_IA5; Units name
+  0;  0;  16;    0;           0;    8;   CCITT_IA5; Units scale sign
+  0;  0;  17;    0;           0;   24;   CCITT_IA5; Units scale
+  0;  0;  18;    0;           0;    8;   CCITT_IA5; Units reference sign
+  0;  0;  19;    0;           0;   80;   CCITT_IA5; Units reference value
+  0;  0;  20;    0;           0;   24;   CCITT_IA5; Element data width
+  0;  0;  30;    0;           0;   48;   CCITT_IA5; Descriptor defining sequence
+# Class 01 - Identification
+  0;  1;   1;    0;           0;    7;     Numeric; WMO block number
+  0;  1;   2;    0;           0;   10;     Numeric; WMO station number
+  0;  1;   3;    0;           0;    3;  Code_Table; WMO Region number/geographical area
+  0;  1;   4;    0;           0;    3;     Numeric; WMO Region sub-area (see Note 9)
+  0;  1;   5;    0;           0;   17;     Numeric; Buoy/platform identifier
+  0;  1;   6;    0;           0;   64;   CCITT_IA5; Aircraft flight number
+  0;  1;   7;    0;           0;   10;  Code_Table; Satellite identifier
+  0;  1;   8;    0;           0;   64;   CCITT_IA5; Aircraft registration number
+  0;  1;   9;    0;           0;   64;   CCITT_IA5; Type of commercial aircraft
+  0;  1;  10;    0;           0;   64;   CCITT_IA5; Stationary buoy platform identifier; e.g. C-MAN buoys
+  0;  1;  11;    0;           0;   72;   CCITT_IA5; Ship or mobile land station identifier
+  0;  1;  12;    0;           0;    9; Degree_true; Direction of motion of moving observing platform
+  0;  1;  13;    0;           0;   10;       m s1; Speed of motion of moving observing platform
+  0;  1;  14;    2;           0;   10;       m s1; Platform drift speed (high precision)
+  0;  1;  15;    0;           0;  160;   CCITT_IA5; Station or site name
+  0;  1;  20;    0;           0;    4;     Numeric; WMO Region sub-area
+  0;  1;  21;    0;           0;   14;     Numeric; Synoptic feature identifier
+  0;  1;  22;    0;           0;  224;   CCITT_IA5; Name of feature (see Note 11)
+  0;  1;  25;    0;           0;   24;   CCITT_IA5; Storm identifier
+  0;  1;  26;    0;           0;   64;   CCITT_IA5; WMO storm name
+  0;  1;  31;    0;           0;   16;  Code_Table; Identification of originating/generating centre (see Note 10)
+  0;  1;  32;    0;           0;    8;generating centre  ; Generating application
+  0;  1;  33;    0;           0;    8;  Code_Table; Identification of originating/generating centre
+  0;  1;  34;    0;           0;    8;  Code_Table; Identification of originating/generating sub-centre
+  0;  1;  41;    5; -1073741824;   31;       m s-1; Absolute platform velocity - first component (see Note 6)
+  0;  1;  42;    5; -1073741824;   31;       m s-1; Absolute platform velocity - second component (see Note 6)
+  0;  1;  43;    5; -1073741824;   31;       m s-1; Absolute platform velocity - third component (see Note 6)
+  0;  1;  60;    0;           0;   64;   CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;  1;  63;    0;           0;   64;   CCITT_IA5; ICAO location indicator
+  0;  1;  64;    0;           0;   32;   CCITT_IA5; Runway designator
+  0;  1;  75;    0;           0;   40;   CCITT_IA5; Tide station identification
+# Class 02 - Instrumentation
+  0;  2;   1;    0;           0;    2;  Code_Table; Type of station
+  0;  2;   2;    0;           0;    4;  Flag_Table; Type of instrumentation for wind measurement
+  0;  2;   3;    0;           0;    4;  Code_Table; Type of measuring equipment used
+  0;  2;   4;    0;           0;    4;  Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;  2;   5;    2;           0;    7;           K; Precision of temperature observation
+  0;  2;  11;    0;           0;    8;  Code_Table; Radiosonde type
+  0;  2;  12;    0;           0;    4;  Code_Table; Radiosonde computational method
+  0;  2;  13;    0;           0;    4;  Code_Table; Solar and infrared radiation correction
+  0;  2;  14;    0;           0;    7;  Code_Table; Tracking technique/status of system used
+  0;  2;  15;    0;           0;    4;  Code_Table; Radiosonde completeness
+  0;  2;  20;    0;           0;    9;  Code_Table; Satellite classification
+  0;  2;  21;    0;           0;    9;  Flag_Table; Satellite instrument data used in processing*
+  0;  2;  22;    0;           0;    8;  Flag_Table; Satellite data-processing technique used
+  0;  2;  23;    0;           0;    4;  Code_Table; Satellite derived wind computation method
+  0;  2;  24;    0;           0;    4;  Code_Table; Integrated mean humidity computational method
+  0;  2;  25;    0;           0;   25;  Flag_Table; Satellite channel(s) used in computation
+  0;  2;  26;    2;           0;   12;           m; Cross track resolution
+  0;  2;  27;    2;           0;   12;           m; Along track resolution
+  0;  2;  28;    0;           0;   18;           m; Segment size at nadir in X direction
+  0;  2;  29;    0;           0;   18;           m; Segment size at nadir in Y direction
+  0;  2;  30;    0;           0;    3;  Code_Table; Method of current measurement
+  0;  2;  31;    0;           0;    5;  Code_Table; Duration and time of current measurement
+  0;  2;  32;    0;           0;    2;  Code_Table; Indicator for digitization
+  0;  2;  33;    0;           0;    3;  Code_Table; Method of salinity/depth measurement
+  0;  2;  34;    0;           0;    5;  Code_Table; Drogue type
+  0;  2;  35;    0;           0;    9;           m; Cable length
+  0;  2;  36;    0;           0;    2;  Code_Table; Buoy type
+  0;  2;  37;    0;           0;    3;  Code_Table; Method of tidal observation
+  0;  2;  38;    0;           0;    4;  Code_Table; Method of sea-surface temperature measurement
+  0;  2;  39;    0;           0;    3;  Code_Table; Method of wet-bulb temperature measurement
+  0;  2;  40;    0;           0;    4;  Code_Table; Method of removing velocity and motion of platform from current
+  0;  2;  41;    0;           0;    6;  Code_Table; Method for estimating reports related to synoptic features
+  0;  2;  44;    0;           0;    4;  Code_Table; Indicator for method of calculating spectral wave data
+  0;  2;  45;    0;           0;    4;  Code_Table; Indicator for type of platform
+  0;  2;  46;    0;           0;    4;  Code_Table; Wave measurement instrumentation
+  0;  2;  48;    0;           0;    4;  Code_Table; Satellite sensor indicator
+  0;  2;  49;    0;           0;    8;  Flag_Table; Geostationary satellite data-processing technique used
+  0;  2;  50;    0;           0;   20;  Flag_Table; Geostationary sounder satellite channels used
+  0;  2;  51;    0;           0;    4;  Code_Table; Indicator to specify observing method for extreme temperatures
+  0;  2;  52;    0;           0;    6;  Flag_Table; Geostationary imager satellite channels used
+  0;  2;  53;    0;           0;    4;  Code_Table; GOES-I/M brightness temperature characteristics
+  0;  2;  54;    0;           0;    4;  Code_Table; GOES-I/M soundings parameter characteristics
+  0;  2;  55;    0;           0;    4;  Code_Table; Geostationary soundings statistical parameters
+  0;  2;  56;    0;           0;    4;  Code_Table; Geostationary soundings accuracy statistics
+  0;  2;  57;    0;           0;    4;  Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;  2;  58;    0;           0;    4;  Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;  2;  59;    0;           0;    4;  Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;  2;  60;    0;           0;    4;  Code_Table; Origin of surface information for GOES-I/M soundings
+  0;  2;  61;    0;           0;    3;  Code_Table; Aircraft navigational system
+  0;  2;  62;    0;           0;    4;  Code_Table; Type of aircraft data relay system
+  0;  2;  63;    2;      -18000;   16;      Degree; Aircraft roll angle
+  0;  2;  64;    0;           0;    2;  Code_Table; Aircraft roll angle quality
+  0;  2;  65;    0;           0;   40;   CCITT_IA5; ACARS ground receiving station
+  0;  2;  70;    0;           0;    4;  Code_Table; Original specification of latitude/longitude
+  0;  2; 100;    1;           0;   12;          dB; Radar constant*
+  0;  2; 101;    0;           0;    4;  Code_Table; Type of antenna
+  0;  2; 102;    0;           0;    8;           m; Antenna height above tower base
+  0;  2; 103;    0;           0;    2;  Flag_Table; Radome
+  0;  2; 104;    0;           0;    4;  Code_Table; Antenna polarisation
+  0;  2; 105;    0;           0;    6;          dB; Maximum antenna gain
+  0;  2; 106;    1;           0;    6;      Degree; 3-dB beamwidth
+  0;  2; 107;    0;           0;    6;          dB; Sidelobe suppression
+  0;  2; 108;    0;           0;    6;          dB; Crosspol discrimination (on axis)
+  0;  2; 109;    2;           0;   12;  Degree s-1; Antenna speed (azimuth)
+  0;  2; 110;    2;           0;   12;  Degree s-1; Antenna speed (elevation)
+  0;  2; 111;    1;           0;   10;      Degree; Radar incidence angle
+  0;  2; 112;    1;           0;   12;      Degree; Radar look angle
+  0;  2; 113;    0;           0;    4;     Numeric; Number of azimuth looks
+  0;  2; 114;    0;           0;   15;          m2; Antenna effective surface area
+  0;  2; 121;   -8;           0;    7;          Hz; Mean frequency
+  0;  2; 122;   -6;        -128;    8;          Hz; Frequency agility range
+  0;  2; 123;   -4;           0;    7;           W; Peak power
+  0;  2; 124;   -1;           0;    7;           W; Average power
+  0;  2; 125;   -1;           0;    8;          Hz; Pulse repetition frequency
+  0;  2; 126;    7;           0;    6;           s; Pulse width
+  0;  2; 127;   -6;           0;    7;          Hz; Receiver intermediate frequency
+  0;  2; 128;   -5;           0;    6;          Hz; Intermediate frequency bandwidth
+  0;  2; 129;    0;        -150;    5;          dB; Minimum detectable signal
+  0;  2; 130;    0;           0;    7;          dB; Dynamic range
+  0;  2; 131;    0;           0;    2;  Flag_Table; Sensitivity time control (STC)
+  0;  2; 132;    2;           0;    6;      Degree; Azimuth pointing accuracy
+  0;  2; 133;    2;           0;    6;      Degree; Elevation pointing accuracy
+  0;  2; 134;    2;           0;   16;      Degree; Antenna beam azimuth
+  0;  2; 135;    2;       -9000;   15;      Degree; Antenna elevation
+  0;  2; 136;   -3;           0;   16;           m; Range processed by range attenuation correction
+  0;  2; 140;    0;           0;    9;      Degree; Satellite radar beam azimuth angle
+  0;  2; 141;    0;           0;   24;   CCITT_IA5; Measurement type
+  0;  2; 142;    0;           0;   32;   CCITT_IA5; Ozone instrument serial number/ identification
+  0;  2; 143;    0;           0;    7;  Code_Table; Ozone instrument type
+  0;  2; 144;    0;           0;    4;  Code_Table; Light source type for Brewer spectro photometer
+  0;  2; 145;    0;           0;    4;  Code_Table; Wave length setting for Dobson instruments
+  0;  2; 146;    0;           0;    4;  Code_Table; Source conditions for Dobson instruments
+  0;  2; 150;    0;           0;    6;  Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number
+  0;  2; 151;    0;           0;    4;  Code_Table; Radiometer identifier
+  0;  2; 152;    0;           0;   31;  Flag_Table; Satellite instrument used in data processing
+  0;  2; 153;   -8;           0;   26;          Hz; Satellite channel centre frequency
+  0;  2; 154;   -8;           0;   26;          Hz; Satellite channel band width
+  0;  2; 163;    0;           0;    4;  Code_Table; Height assignment method
+  0;  2; 164;    0;           0;    3;  Code_Table; Tracer correlation method
+  0;  2; 166;    0;           0;    4;  Code_Table; Radiance type
+  0;  2; 167;    0;           0;    4;  Code_Table; Radiance computational method
+# Class 04 - Location (time)
+  0;  4;   1;    0;           0;   12;        Year; Year
+  0;  4;   2;    0;           0;    4;       Month; Month
+  0;  4;   3;    0;           0;    6;         Day; Day
+  0;  4;   4;    0;           0;    5;        Hour; Hour
+  0;  4;   5;    0;           0;    6;      Minute; Minute
+  0;  4;   6;    0;           0;    6;      Second; Second
+  0;  4;  11;    0;       -1024;   11;        Year; Time increment
+  0;  4;  12;    0;       -1024;   11;       Month; Time increment
+  0;  4;  13;    0;       -1024;   11;         Day; Time increment
+  0;  4;  14;    0;       -1024;   11;        Hour; Time increment
+  0;  4;  15;    0;       -2048;   12;      Minute; Time increment
+  0;  4;  16;    0;       -4096;   13;      Second; Time increment
+  0;  4;  21;    0;       -1024;   11;        Year; Time period or displacement
+  0;  4;  22;    0;       -1024;   11;       Month; Time period or displacement
+  0;  4;  23;    0;       -1024;   11;         Day; Time period or displacement
+  0;  4;  24;    0;       -2048;   12;        Hour; Time period or displacement
+  0;  4;  25;    0;       -2048;   12;      Minute; Time period or displacement
+  0;  4;  26;    0;       -4096;   13;      Second; Time period or displacement
+  0;  4;  31;    0;           0;    8;        Hour; Duration of time relating to following value
+  0;  4;  32;    0;           0;    6;      Minute; Duration of time relating to following value
+  0;  4;  41;    0;       -1440;   12;      Minute; "Time difference, UTC -LMT (see Note 6)"
+  0;  4;  43;    0;           0;    9;         Day; Day of the year
+  0;  4;  53;    0;           0;    6;     Numeric; Number of days with precipitation equal to or more than 1 mm
+# Class 05 - Location (horizontal -1)
+  0;  5;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0;  5;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0;  5;  11;    5;    -9000000;   25;      Degree; Latitude increment (high accuracy)
+  0;  5;  12;    2;       -9000;   15;      Degree; Latitude increment (coarse accuracy)
+  0;  5;  21;    2;           0;   16; Degree_true; Bearing or azimuth
+  0;  5;  22;    2;           0;   16; Degree_true; Solar azimuth
+  0;  5;  30;    0;           0;   12;      Degree; Direction (spectral)
+  0;  5;  31;    0;           0;   12;     Numeric; Row number
+  0;  5;  33;   -1;           0;   16;           m; Pixel size on horizontal - 1
+  0;  5;  40;    0;           0;   24;     Numeric; Orbit number
+  0;  5;  41;    0;           0;    8;     Numeric; Scan line number
+  0;  5;  42;    0;           0;    6;     Numeric; Channel number
+  0;  5;  43;    0;           0;    8;     Numeric; Field of view number
+  0;  5;  52;    0;           0;    5;     Numeric; Channel number increment
+  0;  5;  53;    0;           0;    5;     Numeric; Field of view number increment
+# Class 06 - Location (horizontal - 2)
+  0;  6;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0;  6;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0;  6;  11;    5;   -18000000;   26;      Degree; Longitude increment (high accuracy)
+  0;  6;  12;    2;      -18000;   16;      Degree; Longitude increment (coarse accuracy)
+  0;  6;  21;   -1;           0;   13;           m; Distance
+  0;  6;  30;    5;           0;   13;     rad m-1; Wave number (spectral)
+  0;  6;  31;    0;           0;   12;     Numeric; Column number
+  0;  6;  33;   -1;           0;   16;           m; Pixel size on horizontal - 2
+# Class 07 - Location (vertical)
+  0;  7;   1;    0;        -400;   15;           m; Height of station
+  0;  7;   2;   -1;         -40;   16;           m; Height or altitude
+  0;  7;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0;  7;   4;   -1;           0;   14;          Pa; Pressure
+  0;  7;   5;    0;        -400;   12;           m; Height increment
+  0;  7;   6;    0;           0;   15;           m; Height above station
+  0;  7;   7;    0;       -1000;   17;           m; Height
+  0;  7;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation
+  0;  7;  22;    2;       -9000;   15;      Degree; Solar elevation
+  0;  7;  24;    2;       -9000;   15;      Degree; Satellite zenith angle
+  0;  7;  25;    2;       -9000;   15;      Degree; Solar zenith angle
+  0;  7;  61;    2;           0;   14;           m; Depth below land surface
+  0;  7;  62;    1;           0;   17;           m; Depth below sea/water surface
+# Class 08 - Significance qualifiers
+  0;  8;   1;    0;           0;    7;  Flag_Table; Vertical sounding significance
+  0;  8;   2;    0;           0;    6;  Code_Table; Vertical significance (surface observations)
+  0;  8;   3;    0;           0;    6;  Code_Table; Vertical significance (satellite observations)
+  0;  8;   4;    0;           0;    3;  Code_Table; Phase of aircraft flight
+  0;  8;   5;    0;           0;    4;  Code_Table; Meteorological attribute significance
+  0;  8;   7;    0;           0;    4;  Code_Table; Dimensional significance
+  0;  8;  11;    0;           0;    6;  Code_Table; Meteorological feature
+  0;  8;  12;    0;           0;    2;  Code_Table; Land/sea qualifier
+  0;  8;  13;    0;           0;    2;  Code_Table; Day/night qualifier
+  0;  8;  14;    0;           0;    4;  Code_Table; Qualifier for runway visual range
+  0;  8;  16;    0;           0;    3;  Code_Table; Change qualifier of a trend-type forecast or an aerodrome forecast
+  0;  8;  17;    0;           0;    2;  Code_Table; Qualifier of the time when the forecast change is expected
+  0;  8;  20;    0;           0;   16;     Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;  8;  21;    0;           0;    5;  Code_Table; Time significance
+  0;  8;  22;    0;           0;   16;     Numeric; Total number (with respect to accumulation or average)
+  0;  8;  23;    0;           0;    6;  Code_Table; First order statistics
+  0;  8;  24;    0;           0;    6;  Code_Table; Difference statistics
+  0;  8;  25;    0;           0;    4;  Code_Table; Time difference qualifier
+  0;  8;  30;    0;           0;   13;     Numeric; "Manual on Codes (Volume I.1, Section C) Code table from which data are derived"
+  0;  8;  51;    0;           0;    3;  Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;  8;  52;    0;           0;    5;  Code_Table; Condition for which number of days of occurrence follows
+  0;  8;  53;    0;           0;    2;  Code_Table; Day of occurrence qualifier
+  0;  8;  60;    0;           0;    4;  Code_Table; Sample scanning mode significance
+  0;  8;  70;    0;           0;    4;  Code_Table; TOVS/ATOVS product qualifier
+  0;  8;  72;    0;           0;    3;  Code_Table; Pixel(s) type
+# Class 10 - Non-coordinate location (vertical)
+  0; 10;   1;    0;        -400;   15;           m; Height of land surface
+  0; 10;   2;   -1;         -40;   16;           m; Height
+  0; 10;   3;   -1;        -400;   17;      m2 s-2; Geopotential
+  0; 10;   4;   -1;           0;   14;          Pa; Pressure
+  0; 10;   7;    0;       -1000;   17;           m; Height
+  0; 10;   8;    0;      -10000;   20;      m2 s-2; Geopotential
+  0; 10;  31;    2; -1073741824;   31;           m; "In direction of the North Pole, distance from the Earths centre"
+  0; 10;  50;    2;           0;   16;           m; Standard deviation altitude
+  0; 10;  51;   -1;           0;   14;          Pa; Pressure reduced to mean sea level
+  0; 10;  52;   -1;           0;   14;          Pa; Altimeter setting (QNH)
+  0; 10;  60;   -1;       -1024;   11;          Pa; Pressure change
+  0; 10;  61;   -1;        -500;   10;          Pa; 3-hour pressure change
+  0; 10;  62;   -1;       -1000;   11;          Pa; 24-hour pressure change
+  0; 10;  63;    0;           0;    4;  Code_Table; Characteristic of pressure tendency
+  0; 10;  70;    0;        -400;   16;           m; Indicated aircraft altitude
+# Class 11 - Wind and turbulence
+  0; 11;   1;    0;           0;    9; Degree_true; Wind direction
+  0; 11;   2;    1;           0;   12;       m s-1; Wind speed
+  0; 11;   3;    1;       -4096;   13;       m s-1; u-component
+  0; 11;   4;    1;       -4096;   13;       m s-1; v-component
+  0; 11;   5;    1;        -512;   10;      Pa s-1; w-component
+  0; 11;   6;    2;       -4096;   13;       m s-1; w-component
+  0; 11;  11;    0;           0;    9; Degree_true; Wind direction at 10 m
+  0; 11;  12;    1;           0;   12;       m s-1; Wind speed at 10 m
+  0; 11;  13;    0;           0;    9; Degree_true; Wind direction at 5 m
+  0; 11;  14;    1;           0;   12;       m s-1; Wind speed at 5 m
+  0; 11;  16;    0;           0;    9; Degree_true; Extreme counterclockwise wind direction of a variable wind
+  0; 11;  17;    0;           0;    9; Degree_true; Extreme clockwise wind direction of a variable wind
+  0; 11;  19;    0;           0;    7;           %; Steadiness of wind*
+  0; 11;  21;    9;      -65536;   17;         s-1; Relative vorticity
+  0; 11;  22;    9;      -65536;   17;         s-1; Divergence
+  0; 11;  23;   -2;      -65536;   17;      m2 s-1; Velocity potential
+  0; 11;  31;    0;           0;    4;  Code_Table; Degree of turbulence
+  0; 11;  32;   -1;         -40;   16;           m; Height of base of turbulence
+  0; 11;  33;   -1;         -40;   16;           m; Height of top of turbulence
+  0; 11;  34;    1;       -1024;   11;       m s-1; Vertical gust velocity
+  0; 11;  35;    2;       -8192;   14;       m s-2; Vertical gust acceleration
+  0; 11;  36;    1;           0;   10;       m s-1; Maximum derived equivalent vertical gust speed
+  0; 11;  41;    1;           0;   12;       m s-1; Maximum wind speed (gusts)
+  0; 11;  42;    1;           0;   12;       m s-1; Maximum wind speed (10-min mean wind)
+  0; 11;  43;    0;           0;    9; Degree_true; Maximum wind gust direction
+  0; 11;  44;    0;           0;    9; Degree_true; Mean wind direction for surface - 1500 m (5000 feet)
+  0; 11;  45;    1;           0;   12;       m s-1; Mean wind speed for surface - 1500 m (5000 feet)
+  0; 11;  49;    0;           0;    9; Degree_true; Standard deviation of wind direction
+  0; 11;  50;    1;           0;   12;       m s-1; Standard deviation of horizontal wind speed
+  0; 11;  51;    1;           0;    8;       m s-1; Standard deviation of vertical wind speed
+  0; 11;  61;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer below
+  0; 11;  62;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer above
+  0; 11;  70;    0;           0;   32;   CCITT_IA5; Designator of the runway affected by wind shear (including ALL)
+  0; 11;  71;    3;        -128;   14;      m2 s-2; Turbulent vertical momentum flux
+  0; 11;  72;    3;        -128;   11;     K m s-1; Turbulent vertical buoyancy flux
+  0; 11;  73;    2;       -1024;   13;      m2 s-2; Turbulent kinetic energy
+  0; 11;  74;    2;       -1024;   10;      m2 s-2; Dissipation energy
+  0; 11;  75;    2;           0;    8;    m2/3 s-1; Mean turbulence intensity (eddy dissipation rate)
+  0; 11;  76;    2;           0;    8;    m2/3 s-1; Peak turbulence intensity (eddy dissipation rate)
+# Class 12 - Temperature
+  0; 12;   1;    1;           0;   12;           K; Temperature/dry-bulb temperature
+  0; 12;   2;    1;           0;   12;           K; Wet-bulb temperature
+  0; 12;   3;    1;           0;   12;           K; Dew-point temperature
+  0; 12;   4;    1;           0;   12;           K; Dry-bulb temperature at 2 m
+  0; 12;   5;    1;           0;   12;           K; Wet-bulb temperature at 2 m
+  0; 12;   6;    1;           0;   12;           K; Dew-point temperature at 2 m
+  0; 12;   7;    1;           0;   12;           K; Virtual temperature
+  0; 12;  11;    1;           0;   12;           K; "Maximum temperature, at height and over period specified"
+  0; 12;  12;    1;           0;   12;           K; "Minimum temperature, at height and over period specified"
+  0; 12;  13;    1;           0;   12;           K; "Ground minimum temperature, past 12 hours"
+  0; 12;  14;    1;           0;   12;           K; "Maximum temperature at 2 m, past 12 hours"
+  0; 12;  15;    1;           0;   12;           K; "Minimum temperature at 2 m, past 12 hours"
+  0; 12;  16;    1;           0;   12;           K; "Maximum temperature at 2 m, past 24 hours"
+  0; 12;  17;    1;           0;   12;           K; "Minimum temperature at 2 m, past 24 hours"
+  0; 12;  30;    1;           0;   12;           K; Soil temperature
+  0; 12;  51;    1;           0;   10;           K; Standard deviation temperature
+  0; 12;  52;    1;           0;   12;           K; Highest daily mean temperature
+  0; 12;  53;    1;           0;   12;           K; Lowest daily mean temperature
+  0; 12;  61;    1;           0;   12;           K; Skin temperature
+  0; 12;  62;    1;           0;   12;           K; Equivalent black body temperature
+  0; 12;  63;    1;           0;   12;           K; Brightness temperature
+  0; 12;  64;    1;           0;   12;           K; Instrument temperature
+  0; 12;  71;    1;           0;   12;           K; Coldest cluster temperature
+  0; 12;  72;    6;           0;   31;  W m-2 sr-1; Radiance
+# Class 13 - Hygrographic and hydrological elements
+  0; 13;   1;    5;           0;   14;     kg kg-1; Specific humidity
+  0; 13;   2;    5;           0;   14;     kg kg-1; Mixing ratio
+  0; 13;   3;    0;           0;    7;           %; Relative humidity
+  0; 13;   4;   -1;           0;   10;          Pa; Vapour pressure
+  0; 13;   5;    3;           0;    7;      kg m-3; Vapour density
+  0; 13;   6;   -1;         -40;   16;           m; Mixing heights
+  0; 13;  11;    1;          -1;   14;      kg m-2; Total precipitation/total water equivalent
+  0; 13;  12;    2;          -2;   12;           m; Depth of fresh snow
+  0; 13;  13;    2;          -2;   16;           m; Total snow depth
+  0; 13;  14;    4;           0;   12;  kg m-2 s-1; Rainfall/water equivalent of snow (averaged rate)
+  0; 13;  15;    7;           0;   12;       m s-1; Snowfall  (averaged rate)
+  0; 13;  16;    0;           0;    7;      kg m-2; Precipitable water
+  0; 13;  19;    1;          -1;   14;      kg m-2; Total precipitation past 1 hour
+  0; 13;  20;    1;          -1;   14;      kg m-2; Total precipitation past 3 hours
+  0; 13;  21;    1;          -1;   14;      kg m-2; Total precipitation past 6 hours
+  0; 13;  22;    1;          -1;   14;      kg m-2; Total precipitation past 12 hours
+  0; 13;  23;    1;          -1;   14;      kg m-2; Total precipitation past 24 hours
+  0; 13;  31;    0;           0;    7;      kg m-2; Evapotranspiration
+  0; 13;  32;    1;           0;    8;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  33;    1;           0;   10;      kg m-2; Evaporation/evapotranspiration
+  0; 13;  38;    0;           0;    2;  Code_Table; Superadiabatic indicator
+  0; 13;  39;    0;           0;    3;  Code_Table; Terrain type (ice/snow)
+  0; 13;  41;    0;           0;    4;  Code_Table; Pasquill-Gifford stability category
+  0; 13;  42;    0;         -20;    6;           K; Parcel lifted index (to 500 hPa)
+  0; 13;  43;    0;         -20;    6;           K; Best lifted index (to 500 hPa)
+  0; 13;  51;    0;           0;    4;  Code_Table; "Frequency group, precipitation"
+  0; 13;  52;    1;          -1;   14;      kg m-2; Highest daily amount of precipitation
+# Class 14 - Radiation and radiance
+  0; 14;   1;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over 24 hours"
+  0; 14;   2;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over period specified"
+  0; 14;   3;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over 24 hours"
+  0; 14;   4;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over period specified"
+  0; 14;  11;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over 24 hours"
+  0; 14;  12;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over period specified"
+  0; 14;  13;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over 24 hours"
+  0; 14;  14;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over period specified"
+  0; 14;  15;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over 24 hours"
+  0; 14;  16;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over period specified"
+  0; 14;  17;   -3;       -2048;   12;       W m-2; Instantaneous long-wave radiation
+  0; 14;  18;   -3;       -2048;   12;       W m-2; Instantaneous short-wave radiation
+  0; 14;  19;    0;           0;    7;           %; Surface albedo
+  0; 14;  20;   -4;           0;   15;       J m-2; "Global solar radiation, integrated over 24 hours"
+  0; 14;  21;   -4;           0;   15;       J m-2; "Global radiation, integrated over period specified"
+  0; 14;  22;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over 24 hours"
+  0; 14;  23;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over period specified"
+  0; 14;  24;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over 24 hours"
+  0; 14;  25;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over period specified"
+  0; 14;  26;    0;           0;    7;           %; Albedo at the top of clouds
+  0; 14;  27;    0;           0;    7;           %; Albedo
+  0; 14;  31;    0;           0;   11;      Minute; Total sunshine
+  0; 14;  32;    0;           0;   10;        Hour; Total sunshine
+  0; 14;  33;    0;           0;    9;           %; Total sunshine
+  0; 14;  42;    0;           0;    7;           %; Bidirectional reflectance
+  0; 14;  45;    0;           0;   11;Wm-2 sr-1 cm-1; Channel radiance
+# Class 15 - Physical/chemical constituents
+  0; 15;   1;    0;           0;   10;      Dobson; Ozone
+  0; 15;   2;    2;           0;   10;     Numeric; Air mass (slant path at 22 km)
+  0; 15;  11;    3;       14000;   13;  log (1/m2); Log 10 of integrated electron density
+  0; 15;  15;    0;           0;   31;     Numeric; Maximum image spectral component before normalization
+# Class 19 - Synoptic features
+  0; 19;   1;    0;           0;    6;  Code_Table; Type of synoptic feature
+  0; 19;   2;   -2;           0;   12;           m; Effective radius of feature
+  0; 19;   3;    0;           0;    8;       m s-1; Wind speed threshold
+  0; 19;   4;   -2;           0;   12;           m; Effective radius with respect to wind speeds above threshold
+  0; 19;   5;    0;           0;    9; Degree_true; Direction of motion of feature
+  0; 19;   6;    2;           0;   14;       m s-1; Speed of motion of feature
+  0; 19;   7;   -3;           0;   12;           m; Effective radius of feature
+  0; 19;   8;    0;           0;    3;  Code_Table; Vertical extent of circulation
+  0; 19;   9;   -3;           0;   12;           m; Effective radius with respect to wind speeds above threshold (large storms)
+# Class 20 - Observed phenomena
+  0; 20;   1;   -1;           0;   13;           m; Horizontal visibility
+  0; 20;   2;   -1;           0;    7;           m; Vertical visibility
+  0; 20;   3;    0;           0;    9;  Code_Table; Present weather
+  0; 20;   4;    0;           0;    5;  Code_Table; Past weather (1)
+  0; 20;   5;    0;           0;    5;  Code_Table; Past weather (2)
+  0; 20;   8;    0;           0;    5;  Code_Table; Cloud distribution for aviation
+  0; 20;   9;    0;           0;    4;  Code_Table; General Weather Indicator (TAF/METAR)
+  0; 20;  10;    0;           0;    7;           %; Cloud cover (total)
+  0; 20;  11;    0;           0;    4;  Code_Table; Cloud amount
+  0; 20;  12;    0;           0;    6;  Code_Table; Cloud type
+  0; 20;  13;   -1;         -40;   11;           m; Height of base of cloud
+  0; 20;  14;   -1;         -40;   11;           m; Height of top of cloud
+  0; 20;  15;   -1;           0;   14;          Pa; Pressure at base of cloud
+  0; 20;  16;   -1;           0;   14;          Pa; Pressure at top of cloud
+  0; 20;  17;    0;           0;    4;  Code_Table; Cloud top description
+  0; 20;  18;    0;           0;    2;  Code_Table; Tendency of runway visual range
+  0; 20;  19;    0;           0;   72;   CCITT_IA5; Significant present or forecast weather
+  0; 20;  20;    0;           0;   32;   CCITT_IA5; Significant recent weather phenomena
+  0; 20;  31;    2;           0;    7;           m; Ice deposit (thickness)
+  0; 20;  32;    0;           0;    3;  Code_Table; Rate of ice accretion
+  0; 20;  33;    0;           0;    4;  Flag_Table; Cause of ice accretion
+  0; 20;  34;    0;           0;    5;  Code_Table; Sea ice concentration
+  0; 20;  35;    0;           0;    4;  Code_Table; Amount and type of ice
+  0; 20;  36;    0;           0;    5;  Code_Table; Ice situation
+  0; 20;  37;    0;           0;    5;  Code_Table; Ice development
+  0; 20;  38;    0;           0;   12; Degree_true; Bearing of ice edge
+  0; 20;  39;   -1;           0;   13;           m; Ice distance
+  0; 20;  41;    0;           0;    4;  Code_Table; Airframe icing
+  0; 20;  51;    0;           0;    7;           %; Amount of low clouds
+  0; 20;  52;    0;           0;    7;           %; Amount of middle clouds
+  0; 20;  53;    0;           0;    7;           %; Amount of high clouds
+  0; 20;  61;    0;           0;   12;           m; Runway visual range (RVR)
+  0; 20;  62;    0;           0;    5;  Code_Table; State of the ground (with or without snow)
+  0; 20;  63;    0;           0;   10;  Code_Table; Special phenomena
+  0; 20;  81;    0;           0;    7;           %; Cloud amount in segment
+  0; 20;  82;    0;           0;    7;           %; Amount segment cloud free
+  0; 20;  90;    0;           0;    4;  Code_Table; Special clouds
+# Class 21 - Radar data
+  0; 21;   1;    0;         -64;    7;          dB; Horizontal reflectivity
+  0; 21;   2;    0;         -64;    7;          dB; Vertical reflectivity
+  0; 21;   3;    1;          -5;    7;          dB; Differential reflectivity
+  0; 21;   5;    0;         -65;    6;          dB; Linear depolarisation ratio 
+  0; 21;   6;    0;         -65;    6;          dB; Circular depolarisation ratio 
+  0; 21;  11;    0;        -128;    8;       m s-1; Doppler mean velocity in X-direction
+  0; 21;  12;    0;        -128;    8;       m s-1; Doppler mean velocity in Y-direction
+  0; 21;  13;    0;        -128;    8;       m s-1; Doppler mean velocity in Z-direction
+  0; 21;  14;    1;       -4096;   13;       m s-1; Doppler mean velocity (radial)
+  0; 21;  17;    1;           0;    8;       m s-1; Doppler velocity spectral width
+  0; 21;  21;   -3;           0;    4;           m; Echo tops 
+  0; 21;  30;    0;         -32;    8;          dB; Signal to noise ratio
+  0; 21;  31;    0;           0;    7;      kg m-2; Vertically integrated liquid-water content
+  0; 21;  36;    7;           0;   12;       m s-1; Radar rainfall intensity 
+  0; 21;  41;   -2;           0;    8;           m; Bright-band height 
+  0; 21;  51;    0;        -256;    8;          dB; Signal power above 1 mW
+  0; 21;  62;    2;       -5000;   13;          dB; Backscatter
+  0; 21;  63;    1;           0;   10;           %; Radiometric resolution (noise value)
+  0; 21;  64;    0;           0;    8;     Numeric; Clutter noise estimate
+  0; 21;  65;    0;        -127;    8;     Numeric; Missing packet counter
+  0; 21;  66;    0;           0;   12;  Flag_Table; Wave scatterometer product confidence data
+  0; 21;  67;    0;           0;   13;  Flag_Table; Wind product confidence data
+  0; 21;  68;    0;           0;    8;  Flag_Table; Radar altimeter product confidence data
+  0; 21;  69;    0;           0;   10;  Flag_Table; SST product confidence data
+  0; 21;  71;    0;           0;   16;     Numeric; Peakiness
+  0; 21;  72;    0;           0;    4;  Flag_Table; Satellite altimeter calibration status
+  0; 21;  73;    0;           0;    9;  Flag_Table; Satellite altimeter instrument mode
+  0; 21;  75;    0;           0;    8;     Numeric; Image spectrum intensity
+  0; 21;  76;    0;           0;    3;  Code_Table; Representation of intensities
+  0; 21;  77;    3;           0;   14;           m; Altitude correction (ionosphere)
+  0; 21;  78;    3;           0;    9;           m; Altitude correction (dry troposphere)
+  0; 21;  79;    3;        2000;   10;           m; Altitude correction (wet troposphere)
+  0; 21;  80;    3;           0;   11;           m; Altitude correction (calibration constant)
+  0; 21;  81;    3;           0;   10;           m; Open loop correction (height-time loop)
+  0; 21;  82;    3;       -3000;   14;          dB; Open loop correction (auto gain control)
+  0; 21;  85;    0;           0;    4;     Numeric; ATSR sea surface temperature across- track band number
+# Class 22 - Oceanographic elements
+  0; 22;   1;    0;           0;    9; Degree_true; Direction of waves 
+  0; 22;   2;    0;           0;    9; Degree_true; Direction of wind waves 
+  0; 22;   3;    0;           0;    9; Degree_true; Direction of swell waves 
+  0; 22;   4;    0;           0;    9; Degree_true; Direction of current 
+  0; 22;  11;    0;           0;    6;           s; Period of waves 
+  0; 22;  12;    0;           0;    6;           s; Period of wind waves 
+  0; 22;  13;    0;           0;    6;           s; Period of swell waves 
+  0; 22;  21;    1;           0;   10;           m; Height of waves 
+  0; 22;  22;    1;           0;   10;           m; Height of wind waves 
+  0; 22;  23;    1;           0;   10;           m; Height of swell waves 
+  0; 22;  25;    2;           0;   10;           m; Standard deviation wave height
+  0; 22;  26;    2;           0;   10;           m; Standard deviation of significant wave height
+  0; 22;  31;    2;           0;   13;       m s-1; Speed of current 
+  0; 22;  37;    3;      -10000;   15;           m; Tidal elevation with respect to national land datum
+  0; 22;  38;    3;      -10000;   15;           m; Tidal elevation with respect to local chart datum
+  0; 22;  39;    3;       -5000;   12;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  40;    3;       -5000;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  41;    1;           0;   12;           K; Sea-surface temperature (15-day running mean)
+  0; 22;  42;    1;           0;   12;           K; Sea/water temperature
+  0; 22;  43;    2;           0;   15;           K; Sea/water temperature
+  0; 22;  44;    1;           0;   14;       m s-1; Sound velocity 
+  0; 22;  50;    2;           0;    8;           K; Standard deviation sea-surface temperature
+  0; 22;  61;    0;           0;    4;  Code_Table; State of the sea 
+  0; 22;  62;    2;           0;   14;Part per thousand; Salinity
+  0; 22;  63;    0;           0;   14;           m; Total water depth 
+  0; 22;  67;    0;           0;   10;  Code_Table; Instrument type for water temperature profile measurement
+  0; 22;  68;    0;           0;    7;  Code_Table; Water temperature profile recorder types
+  0; 22;  70;    2;           0;   13;           m; Significant wave height
+  0; 22;  71;    1;           0;    9;           s; Spectral peak wave period
+  0; 22;  72;    0;           0;   13;           m; Spectral peak wave length
+  0; 22;  73;    2;           0;   13;           m; Maximum wave height
+  0; 22;  74;    1;           0;    9;           s; Average wave period
+  0; 22;  75;    0;           0;   13;           m; Average wave length
+  0; 22;  76;    0;           0;    9; Degree_true; Direction from which dominant waves are coming
+  0; 22;  77;    0;           0;    9;      Degree; Directional spread of dominant wave
+  0; 22;  78;    0;           0;   12;           s; Duration of wave record
+  0; 22;  79;    0;           0;   16;           m; Length of wave record
+  0; 22;  80;    3;           0;   10;          Hz; Waveband central frequency
+  0; 22;  81;    5;           0;   13;         m-1; Waveband central wave number
+  0; 22;  82;    2;           0;   20;        m2 s; Maximum non-directional spectral wave density
+  0; 22;  83;    2;           0;   20;          m3; Maximum non-directional spectral wave number
+  0; 22;  84;    0;           0;    7;     Numeric; Band containing maximum non- directional spectral wave density
+  0; 22;  85;    0;           0;    7;     Numeric; Spectral wave density ratio
+  0; 22;  86;    0;           0;    9; Degree_true; Mean direction from which waves are coming
+  0; 22;  87;    0;           0;    9; Degree_true; Principal direction from which waves are coming
+  0; 22;  88;    2;           0;    7;     Numeric; First normalized polar coordinate from Fourier coefficients
+  0; 22;  89;    2;           0;    7;     Numeric; Second normalized polar coordinate from Fourier coefficients
+  0; 22;  90;    2;           0;   20;        m2 s; Non-directional spectral estimate by wave frequency
+  0; 22;  91;    2;           0;   20;          m3; Non-directional spectral estimate by wave number
+  0; 22;  92;    2;           0;   20;  m2 rad-1 s; Directional spectral estimate by wave frequency
+  0; 22;  93;    2;           0;   20;          m4; Directional spectral estimate by wave number
+  0; 22;  94;    0;           0;    7;     Numeric; Total number of wave bands
+  0; 22;  95;    0;           0;    8;      Degree; Directional spread of individual waves
+  0; 22;  96;    3;           0;    4;         s-1; Spectral band width
+  0; 22;  97;    0;           0;   14;           m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0; 22;  98;    0;           0;   14;           m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0; 22;  99;    0;           0;    9; Degree_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0; 22; 100;    0;           0;    9;      Degree; Direction spread at low wave numbers(wavelength > 731 m)
+  0; 22; 101;    0;           0;   31;     Numeric; Total energy (wavelength > 731m) at low wave numbers
+  0; 22; 120;    0;           0;    5;  Code_Table; Tide station automated water level check
+  0; 22; 121;    0;           0;    5;  Code_Table; Tide station manual water level check
+  0; 22; 122;    0;           0;    5;  Code_Table; Tide station automated meteorological data check
+  0; 22; 123;    0;           0;    5;  Code_Table; Tide station manual meteorological data check
+# Class 23 - Dispersal and transport
+  0; 23;   1;    0;           0;    3;  Code_Table; Accident early notification  article applicable
+  0; 23;   2;    0;           0;    5;  Code_Table; Activity or facility involved in incident
+  0; 23;   3;    0;           0;    3;  Code_Table; Type of release 
+  0; 23;   4;    0;           0;    3;  Code_Table; Countermeasures taken near border
+  0; 23;   5;    0;           0;    2;  Code_Table; Cause of incident 
+  0; 23;   6;    0;           0;    3;  Code_Table; Incident situation 
+  0; 23;   7;    0;           0;    3;  Code_Table; Characteristics of release
+  0; 23;   8;    0;           0;    2;  Code_Table; State of current release 
+  0; 23;   9;    0;           0;    2;  Code_Table; State of expected release 
+  0; 23;  16;    0;           0;    2;  Code_Table; Possibility of significant chemical toxic health effect
+  0; 23;  17;    6;           0;   20;     m3 s-1 ; Flow discharge of major recipient
+  0; 23;  18;    0;           0;    3;  Code_Table; Release behaviour over time
+  0; 23;  19;    0;      -15000;   17;           m; Actual release height
+  0; 23;  21;    0;      -15000;   17;           m; Effective release height
+  0; 23;  22;    0;           0;   24;           m; Distance of release point or site of incident
+  0; 23;  23;    1;           0;   12;     m s-1  ; Main transport speed in the atmosphere
+  0; 23;  24;    2;           0;   13;     m s-1  ; Main transport speed in water
+  0; 23;  25;    2;           0;   13;     m s-1  ; Main transport speed in ground water
+  0; 23;  27;    0;           0;    9; Degree_true; Main transport direction in the atmosphere
+  0; 23;  28;    0;           0;    9; Degree_true; Main transport direction in water
+  0; 23;  29;    0;           0;    9; Degree_true; Main transport direction in ground water
+  0; 23;  31;    0;           0;    2;  Code_Table; Possibility that plume will encounter precipitation in State in which incident occurred
+  0; 23;  32;    0;           0;    2;  Code_Table; Plume will encounter change in wind direction and/or speed flag
+# Class 24 - Radiological elements
+  0; 24;   1;  -11;           0;   28;         Bq*; Estimate of amount of radioactivity released up to specified time
+  0; 24;   2;  -11;           0;   28;          Bq; Estimated maximum potential release
+  0; 24;   3;    0;           0;    5;  Code_Table; Composition of release
+  0; 24;   4;    0;           0;   16;   CCITT_IA5; Element name
+  0; 24;   5;    0;           0;    9;     Numeric; Isotope mass
+  0; 24;  11;    2;           0;   32;     mSv*/**; Dose
+  0; 24;  12;    2;           0;   32;         mSv; Trajectory dose (defined location and expected time of arrival)
+  0; 24;  13;    2;           0;   32;         mSv; Gamma dose in air along the main transport path (defined location and time period)
+  0; 24;  21;    2;           0;   32;      Bq m-3; Air concentration (of named isotope type including gross beta)
+  0; 24;  22;    2;           0;   32;      Bq 1-1; Concentration in precipitation (of named isotope type)
+# Class 25 - Processing information
+  0; 25;   1;   -1;           0;    6;           m; Range-gate length
+  0; 25;   2;    0;           0;    4;     Numeric; Number of gates averaged
+  0; 25;   3;    0;           0;    8;     Numeric; Number of integrated pulses
+  0; 25;   4;    0;           0;    2;  Code_Table; Echo processing
+  0; 25;   5;    0;           0;    2;  Code_Table; Echo integration
+  0; 25;   6;    0;           0;    3;  Code_Table; Z to R conversion
+  0; 25;   7;    0;           0;   12;     Numeric; Z to R conversion factor
+  0; 25;   8;    2;           0;    9;     Numeric; Z to R conversion exponent
+  0; 25;   9;    0;           0;    4;  Flag_Table; Calibration method
+  0; 25;  10;    0;           0;    4;  Code_Table; Clutter treatment
+  0; 25;  11;    0;           0;    2;  Code_Table; Ground occultation correction (screening)
+  0; 25;  12;    0;           0;    2;  Code_Table; Range attenuation correction
+  0; 25;  13;    0;           0;    2;  Flag_Table; Bright-band correction
+  0; 25;  14;    0;           0;   12;     Numeric; Azimuth clutter cut-off (see Note)
+  0; 25;  15;    0;           0;    2;  Flag_Table; Radome attenuation correction
+  0; 25;  16;    5;           0;    6;      dB m-1; Clear-air attenuation correction
+  0; 25;  17;    0;           0;    2;  Flag_Table; Precipitation attenuation correction
+  0; 25;  18;    7;           0;    6;     Numeric; A to Z law for attenuation factor
+  0; 25;  19;    2;           0;    7;     Numeric; A to Z law for attenuation exponent
+  0; 25;  20;    0;           0;    2;  Code_Table; Mean speed estimation
+  0; 25;  21;    0;           0;    8;  Flag_Table; Wind computation enhancement
+  0; 25;  30;    0;           0;    2;  Code_Table; Running mean sea-surface temperature usage
+  0; 25;  32;    0;           0;    2;  Code_Table; Wind profiler mode information*
+  0; 25;  33;    0;           0;    2;  Code_Table; Wind profiler submode information*
+  0; 25;  34;    0;           0;    4;  Flag_Table; Wind profiler quality control test results* 
+  0; 25;  40;    0;           0;    4;  Code_Table; CO2 wind product derivation
+  0; 25;  41;    0;           0;    2;  Code_Table; Moving platform direction reporting method
+  0; 25;  42;    0;           0;    2;  Code_Table; Moving platform speed reporting method
+  0; 25;  43;    4;           0;   15;           s; Wave sampling interval (time)
+  0; 25;  44;    2;           0;   14;           m; Wave sampling interval (space)
+  0; 25;  45;    0;           0;   21;  Flag_Table; HIRS channel combination
+  0; 25;  46;    0;           0;    5;  Flag_Table; MSU channel combination
+  0; 25;  47;    0;           0;    4;  Flag_Table; SSU channel combination
+  0; 25;  48;    0;           0;   16;  Flag_Table; AMSU-A channel combination
+  0; 25;  49;    0;           0;    6;  Flag_Table; AMSU-B channel combination
+  0; 25;  51;    0;           0;    7;  Flag_Table; AVHRR channel combination
+  0; 25;  53;    0;           0;   12;  Flag_Table; Observation quality
+  0; 25;  60;    0;           0;   14;     Numeric; Software identification
+  0; 25;  70;    0;           0;    4;     Numeric; Major frame count
+  0; 25;  71;    0;           0;    5;     Numeric; Frame count
+  0; 25;  75;    0;           0;    5;     Numeric; Satellite antenna corrections version number
+  0; 25;  76;    8;           0;   30;     Log m-1; Log-10 of (Temperature-radiance central wavenumber) for ATOVS
+  0; 25;  77;    5;     -100000;   18;     Numeric; Bandwidth correction coefficient 1 for ATOVS
+  0; 25;  78;    5;           0;   17;     Numeric; Bandwidth correction coefficient 2 for ATOVS
+  0; 25;  79;    4;           0;   24;       W m-2; Albedo-radiance solar filtered irradiance for ATOVS
+  0; 25;  80;   10;           0;   14;           m; Albedo-radiance equivalent filter width for ATOVS
+  0; 25;  85;    0;           0;    7;     Numeric; Fraction of clear pixels in HIRS FOV
+# Class 26 - Non-coordinate location (time)
+  0; 26;   1;    1;           0;   12;        Hour; Principal time of daily reading in UTC of maximum temperature
+  0; 26;   2;    1;           0;   12;        Hour; Principal time of daily reading in UTC of minimum temperature
+  0; 26;   3;    0;       -1440;   12;      Minute; Time difference
+  0; 26;  10;    0;           0;   26;  Flag_Table; Hours included
+# Class 27 - Non-coordinate location (horizontal - 1)
+  0; 27;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy)
+  0; 27;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy)
+  0; 27;   3;    2;       -9000;   15;      Degree; Alternate latitude
+  0; 27;  20;    0;           0;   16;     Numeric; Satellite location counter
+  0; 27;  21;    0;           0;   16;     Numeric; Satellite sublocation dimension
+  0; 27;  31;    2; -1073741824;   31;           m; "In direction of 0 degrees longitude, distance from the Earths centre"
+# Class 28 - Non-coordinate location (horizontal - 2)
+  0; 28;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy)
+  0; 28;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy)
+  0; 28;   3;    2;      -18000;   16;      Degree; Alternate longitude
+  0; 28;  31;    2; -1073741824;   31;           m; "In direction 90 degrees East, distance from the Earths centre"
+# Class 29 - Map data
+  0; 29;   1;    0;           0;    3;  Code_Table; Projection type
+  0; 29;   2;    0;           0;    3;  Code_Table; Coordinate grid type
+# Class 30 - Image
+  0; 30;   1;    0;           0;    4;     Numeric; Pixel value (4 bits)
+  0; 30;   2;    0;           0;    8;     Numeric; Pixel value (8 bits)
+  0; 30;   4;    0;           0;   16;     Numeric; Pixel value (16 bits)
+  0; 30;  21;    0;           0;   12;     Numeric; Number of pixels per row
+  0; 30;  22;    0;           0;   12;     Numeric; Number of pixels per column
+  0; 30;  31;    0;           0;    4;  Code_Table; Picture type
+  0; 30;  32;    0;           0;   16;  Flag_Table; Combination with other data
+# Class 31 - Data description operator qualifiers
+  0; 31;   0;    0;           0;    1;     Numeric; Short delayed descriptor replication factor
+  0; 31;   1;    0;           0;    8;     Numeric; Delayed descriptor replication factor
+  0; 31;   2;    0;           0;   16;     Numeric; Extended delayed descriptor replication factor
+  0; 31;  11;    0;           0;    8;     Numeric; Delayed descriptor and data repetition factor
+  0; 31;  12;    0;           0;   16;     Numeric; Extended delayed descriptor and data repetition factor
+  0; 31;  21;    0;           0;    6;  Code_Table; Associated field significance
+  0; 31;  31;    0;           0;    1;  Flag_Table; Data present indicator
+# Class 33 - Quality information
+  0; 33;   1;    
+;           0;    1;           
+; Reserved
+  0; 33;   2;    0;           0;    2;  Code_Table; Quality information
+  0; 33;   3;    0;           0;    3;  Code_Table; Quality information
+  0; 33;   4;    
+;           0;    3;           
+; Reserved
+  0; 33;   7;    0;           0;    7;           %; Per cent confidence
+  0; 33;  20;    0;           0;    3;  Code_Table; Quality control indication of following value
+  0; 33;  21;    0;           0;    2;  Code_Table; Quality of following value
+  0; 33;  22;    0;           0;    2;  Code_Table; Quality of buoy satellite transmission
+  0; 33;  23;    0;           0;    2;  Code_Table; Quality of buoy location
+  0; 33;  24;    0;           0;    4;  Code_Table; Station elevation quality mark (for mobile stations)
+  0; 33;  25;    0;           0;    3;  Code_Table; ACARS interpolated values
+  0; 33;  26;    0;           0;    6;  Code_Table; Mixing ratio quality
+  0; 33;  27;    0;           0;    3;  Code_Table; Location quality class (range of radius of 66 % confidence)
+  0; 33;  30;    0;           0;   24;  Flag_Table; Scan line status flags for ATOVS
+  0; 33;  31;    0;           0;   24;  Flag_Table; Scan line quality flags for ATOVS
+  0; 33;  32;    0;           0;   24;  Flag_Table; Channel quality flags for ATOVS
+  0; 33;  33;    0;           0;   24;  Flag_Table; Field of view quality flags for ATOVS
+  0; 33;  35;    0;           0;    4;  Code_Table; Manual/automatic quality control
+  0; 33;  36;    0;           0;    7;           %; Nominal confidence threshold
+  0; 33;  37;    0;           0;   20;  Flag_Table; Wind correlation error
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-003-D
@@ -0,0 +1,1174 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	22
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	1	2	32
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	0	2	135
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-006-B
@@ -0,0 +1,648 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;   Code_Table; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     15;      0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;     20;      0;           0;    4;      Numeric; WMO Region sub-area
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     22;      0;           0;  224;    CCITT_IA5; Name of feature
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Identification of originating/generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+  0;    1;     33;      0;           0;    8;   Code_Table; Identification of originating/generating center
+  0;    1;     34;      0;           0;    8;   Code_Table; Identification of originating/generating sub-center
+  0;    1;     41;      5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;     42;      5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;     43;      5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;     60;      0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+  0;    1;     64;      0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;     75;      0;           0;   40;    CCITT_IA5; Ride station identification
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;        deg_K; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     20;      0;           0;    9;   Code_Table; Satellite classification
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     28;      0;           0;   18;            m; Segment size at nadir in X direction
+  0;    2;     29;      0;           0;   18;            m; Segment size at nadir in Y direction
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     37;      0;           0;    3;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Method of sea-surface temperature measurement
+  0;    2;     39;      0;           0;    3;   Code_Table; Method of wet-buld temperature measurement
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion of platform from current
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     44;      0;           0;    4;   Code_Table; Inicator for method of calculating spectral wave data
+  0;    2;     45;      0;           0;    4;   Code_Table; Indicator for type of platform
+  0;    2;     46;      0;           0;    4;   Code_Table; Wave measurement instrumentation
+  0;    2;     48;      0;           0;    4;   Code_Table; Satellite sensor indicator
+  0;    2;     49;      0;           0;    8;   Flag_Table; Geostationary satellite data-processing technique used
+  0;    2;     50;      0;           0;   20;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;    2;     52;      0;           0;    6;   Flag_Table; Geostationary imager satellite channels used
+  0;    2;     53;      0;           0;    4;   Code_Table; GOES-I/M  brightness temperature characteristics
+  0;    2;     54;      0;           0;    4;   Code_Table; GOES-I/M  soundings parameter characteristics
+  0;    2;     55;      0;           0;    4;   Code_Table; Geostationary soundings statistical parameters
+  0;    2;     56;      0;           0;    4;   Code_Table; Geostationary soundings accuracy statistics
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;    2;     58;      0;           0;    4;   Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;    2;     59;      0;           0;    4;   Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;    2;     60;      0;           0;    4;   Code_Table; Origin of surface information for GOES-I/M soundings
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     64;      0;           0;    2;   Code_Table; Aircraft roll angle quality
+  0;    2;     65;      0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    100;      1;           0;   12;           dB; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    140;      0;           0;    9;          deg; Satellite radar beam azimuth
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument serial number/identification
+  0;    2;    143;      0;           0;    7;   Code_Table; Ozone instrument type
+  0;    2;    144;      0;           0;    4;   Code_Table; Light source type for Brewer spectrophotometer
+  0;    2;    145;      0;           0;    4;   Code_Table; Wave length setting for Dobson instruments
+  0;    2;    146;      0;           0;    4;   Code_Table; Source conditions for Dobson instruments
+  0;    2;    150;      0;           0;    6;   Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number
+  0;    2;    151;      0;           0;    4;   Code_Table; Radiometer identifier
+  0;    2;    152;      0;           0;   31;   Flag_Table; Satellite instrument used in data processing
+  0;    2;    153;     -8;           0;   26;           Hz; Satellite channel center frequency
+  0;    2;    154;     -8;           0;   26;           Hz; Satellite channel band width
+  0;    2;    163;      0;           0;    4;   Code_Table; Height assignment method
+  0;    2;    164;      0;           0;    3;   Code_Table; Tracer correlation method
+  0;    2;    166;      0;           0;    4;   Code_Table; Radiance type
+  0;    2;    167;      0;           0;    4;   Code_Table; Radiance computational method
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to following value
+  0;    4;     32;      0;           0;    6;       Minute; Duration of time relating to following value
+  0;    4;     41;      0;       -1440;   12;       Minute; Time Difference, UTC-LMT
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipition equal to or more than 1mm
+  0;    4;    192;      0;           0;    3;   Code_Table; Season
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;    6;     11;      5;   -18000000;   26;          deg; Longitude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longitude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Height
+  0;    7;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     24;      2;       -9000;   15;          deg; Satellite zenith angle
+  0;    7;     25;      2;       -9000;   15;          deg; Solar zenith angle
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea/water surface
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Meteorological attribute significance
+  0;    8;      7;      0;           0;    4;   Code_Table; Dimensional significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Meteorological feature
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     14;      0;           0;    4;   Code_Table; Qualification for runway visual range
+  0;    8;     16;      0;           0;    3;   Code_Table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;    8;     17;      0;           0;    2;   Code_Table; Qualifier of the time when the forecast change is expected
+  0;    8;     20;      0;           0;   16;      Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     23;      0;           0;    6;   Code_Table; First order statistics
+  0;    8;     24;      0;           0;    6;   Code_Table; Difference statistics
+  0;    8;     25;      0;           0;    4;   Code_Table; Time difference qualifier
+  0;    8;     30;      0;           0;   13;      Numeric; Manual on Codes
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurance follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurance qualifier
+  0;    8;     60;      0;           0;    4;   Code_Table; Sample scanning mode significance
+  0;    8;     70;      0;           0;    4;   Code_Table; TOVS/ATOVS product qualifier
+  0;    8;     72;      0;           0;    3;   Code_table; Pixel(s) type
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;     31;      2; -1073741824;   31;            m; In direction of the North Pole, distance from the Earth's centre
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+  0;   10;     70;      0;        -400;   16;            m; Indicated aircraft altitude
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     16;      0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable wind
+  0;   11;     17;      0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable wind
+  0;   11;     19;      0;           0;    7;      Percent; Steadiness of wind
+  0;   11;     21;      9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;          1/s; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust speed
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     44;      0;           0;    9;     deg_true; Mean wind direction for surface - 1500m (5000 feet)
+  0;   11;     45;      1;           0;   12;          m/s; Mean wind speed for surface - 1500m (5000 feet)
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind speed
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear in 1 kilometer layer below
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear in1 kilometer layer above
+  0;   11;     70;      0;           0;   32; CCITT_IA5Designator; of the runway affected by wind shear
+  0;   11;     71;      3;        -128;   14;    m**2/s**2; Turbulent vertical momemtum flux
+  0;   11;     72;      3;        -128;   11;            K; m/s	Turbulent vertical buouancy flux
+  0;   11;     73;      2;       -1024;   13;    m**2/s**2; Turbulent kinetic energy
+  0;   11;     74;      2;       -1024;   10;    m**2/s**2; Dissipation energy
+  0;   11;     75;      2;           0;    8;   m**(2/3)/s; Mean turbulence intensity
+  0;   11;     76;      2;           0;    8;   m**(2/3)/s; Peak turbulence intensity
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation of temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+  0;   12;     64;      1;           0;   12;        deg_K; Instrument temperature
+  0;   12;     71;      1;           0;   12;        deg_K; Coldest cluster temperature
+  0;   12;     72;      6;           0;   31;    W/m**2/sr; Radiance
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     33;      1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     38;      0;           0;    2;   Code_Table; Superadiabatic indicator
+  0;   13;     39;      0;           0;    3;   Code_Table; Terrain type (ice/snow)
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipition
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipition
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      2;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over period specified
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     26;      0;           0;    7;      percent; Albedo at the top of clouds
+  0;   14;     27;      0;           0;    7;      percent; Albedo
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+  0;   14;     45;      0;           0;   11; W/m**2/sr/cm; Channel radiance
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air mass (slant path at 22km)
+  0;   15;     11;      3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;     15;      0;           0;   31;      Numeric; Maximum image spectral composition before normalization
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radius with respect to wind speed above threshold (large storms)
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      8;      0;           0;    5;   Code_Table; Cloud distribution for aviation
+  0;   20;      9;      0;           0;    4;   Code_Table; General Weather Indicator
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;      0;           0;    2;   Code_Table; Tendency of runway visual range
+  0;   20;     19;      0;           0;   72;    CCITT_IA5; Significant present or forecast weather
+  0;   20;     20;      0;           0;   32;    CCITT_IA5; Significant recent weather phenomena
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     81;      0;           0;    7;      percent; Cloud amount in segment
+  0;   20;     82;      0;           0;    7;      percent; Amount segment cloud free
+  0;   20;     90;      0;           0;    4;   Code_Table; Special clouds
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;           0;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;     62;      2;       -5000;   13;     Decibels; Backscatter
+  0;   21;     63;      1;           0;   10;      Percent; Radiometric resolution (noise value)
+  0;   21;     64;      0;           0;    8;      Numeric; Clutter noise estimate
+  0;   21;     65;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   21;     66;      0;           0;   12;   Flag_Table; Wave scatterometer product confidence
+  0;   21;     67;      0;           0;   13;   Flag_Table; Wind product confidence data
+  0;   21;     68;      0;           0;    8;   Flag_Table; Radar altimeter product confidence data
+  0;   21;     69;      0;           0;   10;   Flag_Table; SST product confidence data
+  0;   21;     71;      0;           0;   16;      Numeric; Peakiness
+  0;   21;     72;      0;           0;    4;   Flag_Table; Satellite altimeter calibration status
+  0;   21;     73;      0;           0;    9;   Flag_Table; Satellite altimeter instrument mode
+  0;   21;     75;      0;           0;    8;      Numeric; Spectral intensity
+  0;   21;     76;      0;           0;    3;   Code_Table; Representation of intensities
+  0;   21;     77;      3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;     78;      3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;     79;      3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;     80;      3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;     81;      3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;     82;      3;       -3000;   14;     Decibels; Open loop correction (auto gain control)
+  0;   21;     85;      0;       -3000;    4;      Numeric; ATSR sea surface temperature across-track band number
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave height
+  0;   22;     26;      2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national chart datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     40;      3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea/water temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea/water temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;     67;      0;           0;   10;   Code_Table; Instrument type for water temperature profile measurement
+  0;   22;     68;      0;           0;    7;   Code_Table; Water temperature profile recorder types
+  0;   22;     70;      2;           0;   13;            m; Significant wave height
+  0;   22;     71;      1;           0;    9;            s; Spectral peak wave period
+  0;   22;     72;      0;           0;   13;            m; Spectral peak wave length
+  0;   22;     73;      2;           0;   13;            m; Maximum wave height
+  0;   22;     74;      1;           0;    9;            s; Average wave period
+  0;   22;     75;      0;           0;   13;            m; Average wave length
+  0;   22;     76;      0;           0;    9;  Degree_True; Direction from which dominant waves are coming
+  0;   22;     77;      0;           0;    9;       Degree; Directional spred of dominant wave
+  0;   22;     78;      0;           0;   12;            s; Duration of wave record
+  0;   22;     79;      0;           0;   16;            m; Length of wave record
+  0;   22;     80;      3;           0;   10;           Hz; Waveband central frequency
+  0;   22;     81;      5;           0;   13;        m**-1; Waveband central wave number
+  0;   22;     82;      2;           0;   20;       m**2/s; Maximum non-directional spectral wave density
+  0;   22;     83;      2;           0;   20;         m**3; Maximum non-directional spectral wave number
+  0;   22;     84;      0;           0;    7;      Numeric; Band containing maximum non-directional spectral wave density
+  0;   22;     85;      0;           0;    7;      Numeric; Spectral wave density ratio
+  0;   22;     86;      0;           0;    9;  Degree_True; Mean direction from which waves are coming
+  0;   22;     87;      0;           0;    9;  Degree_True; Principal direction from which waves are coming
+  0;   22;     88;      2;           0;    7;      Numeric; First normalized polar coordinate from Fourier coefficients
+  0;   22;     89;      2;           0;    7;      Numeric; Second normalized polar coordinate from Fourier coefficients
+  0;   22;     90;      2;           0;   20;       m**2/s; Non-directional spectral estimate by wave frequency
+  0;   22;     91;      2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;     92;      2;           0;   20; m**2/rad**-1/s; Directional spectral estimate by wave frequency
+  0;   22;     93;      2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;     94;      0;           0;    7;      Numeric; Total number of wave bands
+  0;   22;     95;      0;           0;    8;       Degree; Directional spread of individual waves
+  0;   22;     96;      3;           0;    4;        s**-1; Spectral band width
+  0;   22;     97;      0;           0;   14;            m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0;   22;     98;      0;           0;   14;            m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0;   22;     99;      0;           0;    9;     deg_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0;   22;    100;      0;           0;    9;       Degree; Direction spread at low wave numbers (wavelength > 731 m)
+  0;   22;    101;      0;           0;   31;     Numberic; Total energy (wavelength > 731 m) at low wave numbers
+  0;   22;    120;      0;           0;    5;   Code_Table; Tide station automated water level check
+  0;   22;    121;      0;           0;    5;   Code_Table; Tide station manual water level check
+  0;   22;    122;      0;           0;    5;   Code_Table; Tide station automated Meteorological data check
+  0;   22;    123;      0;           0;    5;   Code_Table; Tide station manual Meteorological data check
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+  0;   24;      1;    -11;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;    -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     14;      0;           0;   12;      Numeric; Azimuth clutter cut-off
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   Code_Table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    2;   Code_Table; Moving platform direction reporting method
+  0;   25;     42;      0;           0;    2;   Code_Table; Moving platform speed reporting method
+  0;   25;     43;      4;           0;   15;            s; Wave sampling interval (time)
+  0;   25;     44;      2;           0;   14;            m; Wave sampling interval (space)
+  0;   25;     45;      0;           0;   21;   Flag_Table; HIRS channel combination
+  0;   25;     46;      0;           0;    5;   Flag_Table; MSU channel combination
+  0;   25;     47;      0;           0;    4;   Flag_Table; SSU channel combination
+  0;   25;     48;      0;           0;   16;   Flag_Table; AMSU-A channel combination
+  0;   25;     49;      0;           0;    6;   Flag_Table; AMSU-B channel combination
+  0;   25;     50;      0;           0;    7;   Flag_Table; AVHRR channel combination
+  0;   25;     51;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     53;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     60;      0;           0;   14;      Numeric; Software identification
+  0;   25;     70;      0;           0;    4;      Numeric; Major frame count
+  0;   25;     71;      0;           0;    5;      Numeric; Frame count
+  0;   25;     75;      0;           0;    5;      Numeric; Satellite antenna corrections version number
+  0;   25;     76;      8;           0;   30;        Log/m; Log-10 of (Temperature-radiance central wavenumber) for ATOVS
+  0;   25;     77;      5;     -100000;   18;      Numeric; Bandwidth correction coefficient 1 for ATOVS
+  0;   25;     78;      5;           0;   17;      Numeric; Bandwidth correction coefficient 2 for ATOVS
+  0;   25;     79;      4;           0;   24;       W/m**2; Albedo-radiance solar filtered irradiance for ATOVS
+  0;   25;     80;     10;           0;   14;            m; Albedo-radiance equivalent filter width for ATOVS
+  0;   25;     85;      0;           0;    7;      Numeric; Fraction of clear pixels in HIRS FOV
+  0;   26;      1;      1;           0;   12;         Hour; Principal time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;         Hour; Principal time of daily reading in UTC of minimum temperature
+  0;   26;      3;      0;       -1440;   12;       Minute; Time difference
+  0;   26;     10;      0;           0;   26;   Flag_Table; Hours included
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+  0;   27;     31;      2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance from the Earth's centre
+  0;   28;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;     31;      2; -1073741824;   31;            m; In direction of 90 degrees East, distance from the Earth's centre
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    3;   Code_Table; Coordinate grid type
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      Numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      Numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+  0;   31;      0;      0;           0;    1;      Numeric; Short delayed descriptor replication factor
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;     31;      0;           0;    1;   Flag_Table; Data present indicator
+  0;   33;      2;      0;           0;    2;   Code_Table; Quality information
+  0;   33;      3;      0;           0;    3;   Code_Table; Quality information
+  0;   33;      7;      0;           0;    7;      Percent; Per cent confidence
+  0;   33;     20;      0;           0;    3;   Code_Table; Quality control indication of following value
+  0;   33;     21;      0;           0;    2;   Code_Table; Quality of following value
+  0;   33;     22;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission
+  0;   33;     23;      0;           0;    2;   Code_Table; Quality of buoy location
+  0;   33;     24;      0;           0;    4;   Code_Table; Station elevation quality mark (for mobile stations)
+  0;   33;     25;      0;           0;    3;   Code_Table; ACARS interpolated values
+  0;   33;     26;      0;           0;    6;   Code_Table; Mixing ratio quality
+  0;   33;     27;      0;           0;    3;   Code_Table; Location quality class (range of radius of 66% confidence)
+  0;   33;     30;      0;           0;   24;   Flag_Table; Scan line status flags for ATOVS
+  0;   33;     31;      0;           0;   24;   Flag_Table; Scan line quality flags for ATOVS
+  0;   33;     32;      0;           0;   24;   Flag_Table; Channel quality flags for ATOVS
+  0;   33;     33;      0;           0;   24;   Flag_Table; Field of view quality flags for ATOVS
+  0;   33;     35;      0;           0;    4;   Code_Table; Manual/automatic quality control
+  0;   33;     36;      0;           0;    7;      Percent; Nominal confidence threshold
+  0;   33;     37;      0;           0;   20;   Flag_Table; Wind correlation error
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-004-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-128-001-B.001
@@ -0,0 +1,94 @@
+#
+# B2L-128-001-B.001 - Local BUFR Table B for center 128 (NRL Monterey),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+0	0	0	0	0	0	undef	undefined used for SSMI - temporary
+
+0	1	50	0	0	48	CCITT_IA5	NMC report identifier
+0	1	62	0	0	40	CCITT_IA5	National assigned station identifier
+
+0	2	28	0	0	32	Flag_Table	Geostationary sounder satellite channels used
+0	2	29	0	0	8	Flag_Table	Geostationary sounder satellite channels used
+0	2	190	0	0	8	Code_Table	U, v quality indicator
+0	2	191	0	0	4	Code_Table	W quality indicator
+
+0	4	44	0	0	3	Code_Table	Day of the week
+
+0	5	3	2	-9000	15	deg	Alternate latitude
+0	5	50	5	0	17	Numeric	Sigma level
+
+0	6	3	2	-18000	16	deg	Alternate longtiude
+
+0	8	0	0	0	4	Code_Table	Vertical significance (forecast soundings)
+0	8	31	0	0	8	BUFR Table A	Data category
+0	8	32	0	0	14	Code_Table	Data significance for simulated forecast
+0	8	33	0	0	3	Code_Table	Data significance for corrected forecast
+0	8	34	0	0	3	Code_Table	Data significance for simulated retrievals
+0	8	35	0	0	3	Code_Table	Data significance for corrected retrievals
+0	8	36	0	0	3	Code_Table	Data significance for simulated analysis
+0	8	37	0	0	3	Code_Table	Data significance for corrected analysis
+0	8	38	0	0	3	Code_Table	Data significance for sigma level data
+
+0	12	20	2	-2000	12	deg_K/day	Radiative heating profile
+0	12	40	-3	-2048	12	W/m**2	Sensible heat flux
+
+0	13	40	-3	-2048	12	W/m**2	Latent heat flux
+
+0	14	41	0	0	7	percent	Short wave albedo
+
+0	20	9	-1	-40	11	m	Ceiling
+0	20	18	-1	40	11	m	Low estimated height of cloud top
+0	20	19	-1	40	11	m	High estimated height of cloud top
+0	20	20	0	0	4	Code_Table	Low cloud amount
+0	20	21	0	0	4	Code_Table	Middle cloud amount
+0	20	22	0	0	4	Code_Table	High cloud amount
+0	20	23	0	0	7	percent	Satellite sensed effective cloud amount
+0	20	49	0	0	10	Code_Table	Type of stability measure
+0	20	50	0	0	10	Numeric	Value of stability
+
+0	22	105	-1	0	6	deg_true	Direction of waves
+0	22	143	2	2650	13	deg_K	Sea temperature
+
+0	25	31	0	0	2	Code_Table	15 day SST availability
+0	25	35	0	0	3	Code_Table	First guess adjustment
+0	25	36	3	-5000	14	Numeric	NSTAR average value
+0	25	37	0	0	2	Code_Table	HIRS-8 surface air temperature
+0	25	38	0	0	3	Code_Table	TOVS filter flags
+
+0	50	200	2	636700	24	km	Altitude(km)
+0	50	201	6	0	24	Rad(Si)/sec	Dosage
+0	50	202	6	0	24	Gauss	B-Field
+0	50	203	3	-20000	24	Re	Coordinate
+0	50	204	3	0	24	-	L-Shell
+
+0	51	200	-2	0	24	KeV/(cm2-s-Sr)	e-Energy Flux
+0	51	201	-2	0	24	#/(cm2-s-Sr)	e-Number Flux
+0	51	202	-2	0	24	KeV/(cm2-s-Sr)	i-Energy Flux
+0	51	203	-2	0	24	#/(cm2-s-Sr)	i-Number Flux
+0	51	204	6	-10	24	mhos	Ped Conduct.
+0	51	205	6	-10	24	mhos	Hall Conduct.
+
+0	52	200	5	0	26	-	S4
+0	52	201	5	0	25	-	SI
+0	52	202	5	0	24	-	PCT
+0	52	203	5	0	24	-	PRMS
+
+0	53	200	-1	0	25	cm**-3	Ne
+0	53	201	3	0	24	MHz	FE
+0	53	202	3	0	24	MHz	FoF2
+0	53	203	3	0	20	km	HE
+0	53	204	3	0	20	km	HF2
+
+#
+# Table definitions
+#
+0	63	000	0	0	0	-	End of Table Descriptors
+0	63	001	0	0	8	Numeric	Number of Dimensions
+0	63	002	0	0	8	Numeric	Dimension Size
+0	63	003	0	0	8	Code_Table	Object Type
+0	63	004	0	0	8	Flag_Table	Flags
+0	63	005	0	0	16	Numeric	Object Count
+0	63	006	0	0	16	Numeric	Object Offset
+0	63	007	0	0	8	Code_Table	Axis Label
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-008-0
@@ -0,0 +1,115 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################		
+		
+#01-09: WMCs		
+0	1	Melbourne
+0	2	Melbourne
+0	3	Melbourne
+0	4	Moscow
+0	5	Moscow
+0	6	Moscow
+0	7	"US National Weather Service, National Centres for Environmental Prediction(NCEP)"
+0	8	US National Weather Service TelecommunicationsGateway (NWSTG)
+0	9	US National Weather Service - Other
+#10-25: Centres in Region I		
+0	10	Cairo (RSMC/RAFC)
+0	11	Cairo (RSMC/RAFC)
+0	12	Dakar (RSMC/RAFC)
+0	13	Dakar (RSMC/RAFC)
+0	14	Nairobi (RSMC/RAFC)
+0	15	Nairobi (RSMC/RAFC)
+0	18	Tunis Casablanca (RSMC)
+0	19	Tunis Casablanca (RSMC)
+0	20	Las Palmas (RAFC)
+0	21	Algiers (RSMC)
+0	24	Pretoria (RSMC)
+0	25	La Runion (RSMC)
+#26-40: Centres in Region II		
+0	26	Khabarovsk (RSMC)
+0	27	Khabarovsk (RSMC)
+0	28	New Delhi (RSMC/RAFC)
+0	29	New Delhi (RSMC/RAFC)
+0	30	Novosibirsk (RSMC)
+0	31	Novosibirsk (RSMC)
+0	32	Tashkent (RSMC)
+0	33	Jeddah (RSMC)
+0	34	"Tokyo (RSMC), Japan Meteorological Agency"
+0	35	"Tokyo (RSMC), Japan Meteorological Agency"
+0	36	Bangkok
+0	37	Ulan Bator
+0	38	Beijing (RSMC)
+0	39	Beijing (RSMC)
+0	40	Seoul
+#41-50: Centres in Region III		
+0	41	Buenos Aires (RSMC/RAFC)
+0	42	Buenos Aires (RSMC/RAFC)
+0	43	Brasilia (RSMC/RAFC)
+0	44	Brasilia (RSMC/RAFC)
+0	45	Santiago
+0	46	Brazilian Space Agency  INPE
+#51-63: Centres in Region IV		
+0	51	Miami (RSMC/RAFC)
+0	52	"Miami RSMC, National Hurricane Center"
+0	53	Montreal (RSMC)
+0	54	Montreal (RSMC)
+0	55	San Francisco
+0	57	U.S. Air Force Air Force Global Weather Central 
+0	58	"Fleet Numerical Meteorology and Oceanography Center, Monterey, CA"
+0	59	"The NOAA Forecast Systems Laboratory, Boulder, CO, USA"
+0	60	United States National Centre for Atmospheric Research (NCAR)
+#64-73: Centres in Region V		
+0	64	Honolulu
+0	65	Darwin (RSMC)
+0	66	Darwin (RSMC)
+0	67	Melbourne (RSMC)
+0	69	Wellington (RSMC/RAFC)
+0	70	Wellington (RSMC/RAFC)
+0	71	Nadi (RSMC)
+#74-99: Centres in Region VI		
+0	74	UK Meteorological Office  Bracknell (RSMC)
+0	75	UK Meteorological Office  Bracknell (RSMC)
+0	76	Moscow (RSMC/RAFC)
+0	78	Offenbach (RSMC)
+0	79	Offenbach (RSMC)
+0	80	Rome (RSMC)
+0	81	Rome (RSMC)
+0	82	Norrkping
+0	83	Norrkping
+0	85	Toulouse (RSMC)
+0	86	Helsinki
+0	87	Belgrade
+0	88	Oslo
+0	89	Prague
+0	90	Episkopi
+0	91	Ankara
+0	92	Frankfurt/Main (RAFC)
+0	93	London (WAFC)
+0	94	Copenhagen
+0	95	Rota
+0	96	Athens
+0	97	European Space Agency (ESA)
+0	98	"ECMWF, RSMC"
+0	99	De Bilt
+0	110	Hong-Kong
+0	160	US NOAA/NESDIS
+0	210	Frascati (ESA/ESRIN)
+0	211	Lanion
+0	212	Lisboa
+0	213	Reykjavik
+0	254	EUMETSAT Operation Centre
+0	255	Missing value
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-000001-D
@@ -0,0 +1,83 @@
+#
+# BUFR Table D (Lists of High Density Wind Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	10	195
+	3	1	250
+	3	3	250
+	3	4	250
+	-1
+
+3	1	250
+	3	1	193
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	193
+	0	1	7
+	0	1	31
+	0	2	196
+	0	2	221
+	0	2	222
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	3	250
+	0	2	252
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	197
+	0	2	198
+	0	12	193
+	-1
+
+3	4	250
+	0	2	231
+	0	2	232
+	0	8	12
+	0	7	24
+	0	2	57
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	30	10
+	0	2	231
+	0	7	4
+	0	12	1
+	-1
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-005-B
@@ -0,0 +1,635 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     15;      0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;     20;      0;           0;    4;      Numeric; WMO Region sub-area
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     22;      0;           0;  224;    CCITT_IA5; Name of feature
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Identification of originating/generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+  0;    1;     33;      0;           0;    8;   Code_Table; Identification of originating/generating center
+  0;    1;     34;      0;           0;    8;   Code_Table; Identification of originating/generating sub-center
+  0;    1;     41;      5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;     42;      5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;     43;      5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;     60;      0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+  0;    1;     64;      0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;     75;      0;           0;   40;    CCITT_IA5; Ride station identification
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;          deg; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     37;      0;           0;    3;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Method of sea-surface temperature measurement
+  0;    2;     39;      0;           0;    3;   Code_Table; Method of wet-buld temperature measurement
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion of platform from current
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report
+  0;    2;     44;      0;           0;    4;   Code_Table; Inicator for method of calculating spectral wave data
+  0;    2;     45;      0;           0;    4;   Code_Table; Indicator for type of platform
+  0;    2;     46;      0;           0;    4;   Code_Table; Wave measurement instrumentation
+  0;    2;     48;      0;           0;    4;   Code_Table; Satellite sensor indicator
+  0;    2;     49;      0;           0;    8;   Flag_Table; Geostationary satellite data-processing technique used
+  0;    2;     50;      0;           0;   20;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;    2;     52;      0;           0;    6;   Flag_Table; Geostationary imager satellite channels used
+  0;    2;     53;      0;           0;    4;   Code_Table; GOES-I/M  brightness temperature characteristics
+  0;    2;     54;      0;           0;    4;   Code_Table; GOES-I/M  soundings parameter characteristics
+  0;    2;     55;      0;           0;    4;   Code_Table; Geostationary soundings statistical parameters
+  0;    2;     56;      0;           0;    4;   Code_Table; Geostationary soundings accuracy statistics
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;    2;     58;      0;           0;    4;   Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;    2;     59;      0;           0;    4;   Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;    2;     60;      0;           0;    4;   Code_Table; Origin of surface information for GOES-I/M soundings
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     64;      0;           0;    2;   Code_Table; Aircraft roll angle quality
+  0;    2;     65;      0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    100;      1;           0;   12;           dB; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    140;      2;           0;    9;          deg; Satellite radar beam azimuth
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument serial number/identification
+  0;    2;    143;      0;           0;    7;   Code_Table; Ozone instrument type
+  0;    2;    144;      0;           0;    4;   Code_Table; Light source type for Brewer spectrophotometer
+  0;    2;    145;      0;           0;    4;   Code_Table; Wave length setting for Dobson instruments
+  0;    2;    146;      0;           0;    4;   Code_Table; Source conditions for Dobson instruments
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to followinG value
+  0;    4;     32;      0;           0;    6;       Minute; Duration of time relating to following value
+  0;    4;     41;      0;       -1440;   12;       Minute; Time Difference, UTC-LMT
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipition equal to or more than 1mm
+  0;    4;    192;      0;           0;    3;   Code_Table; Season
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;    6;     11;      5;   -18000000;   26;          deg; Longitude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longitude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Height
+  0;    7;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     24;      2;       -9000;   15;          deg; Satellite zenith angle
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea/water surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Meteorological attribute significance
+  0;    8;      7;      0;           0;    4;   Code_Table; Dimensional significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Meteorological feature
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     14;      0;           0;    4;   Code_Table; Qualification for runway visual range
+  0;    8;     16;      0;           0;    3;   Code_Table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;    8;     17;      0;           0;    2;   Code_Table; Qualifier of the time when the forecast change is expected
+  0;    8;     20;      0;           0;   16;      Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     23;      0;           0;    6;   Code_Table; First order statistics
+  0;    8;     24;      0;           0;    6;   Code_Table; Difference statistics
+  0;    8;     25;      0;           0;    4;   Code_Table; Time difference qualifier
+  0;    8;     30;      0;           0;   13;      Numeric; Manual on Codes
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurance follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurance qualifier
+  0;    8;     60;      0;           0;    4;   Code_Table; Sample scanning mode significance
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;     31;      2; -1073741824;   31;            m; In direction of the North Pole, distance from the Earth's centre
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+  0;   10;     70;      0;        -400;   16;            m; Indicated aircraft altitude
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     16;      0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable wind
+  0;   11;     17;      0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable wind
+  0;   11;     21;      9;      -65536;   17;        s**-1; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;        s**-1; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust speed
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     44;      0;           0;    9;     deg_true; Mean wind direction for surface - 1500m
+  0;   11;     45;      1;           0;   12;          m/s; Mean wind speed for surface - 1500m
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind speed
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear in 1 kilometer layer below
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear in1 kilometer layer above
+  0;   11;     70;      0;           0;   32; CCITT_IA5Designator; of the runway affected by wind shear
+  0;   11;     71;      3;        -128;   14;   m**2/s**-2; Turbulent vertical momemtum flux
+  0;   11;     72;      3;        -128;   11;            K; m/s**-2	Turbulent vertical buouancy flux
+  0;   11;     73;      2;       -1024;   13;   m**2/s**-2; Turbulent kinetic energy
+  0;   11;     74;      2;       -1024;   10;   m**2/s**-2; Dissipation energy
+  0;   11;     75;      2;           0;    8; m**(2/3)/s**-1; Mean turbulence intensity
+  0;   11;     76;      2;           0;    8; m**(2/3)/s**-1; Peak turbulence intensity
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation of temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      4;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     33;      1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     38;      0;           0;    2;   Code_Table; Superadiabatic indicator
+  0;   13;     39;      0;           0;    3;   Code_Table; Terrain type (ice/snow)
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipition
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipition
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      2;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over period specified
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     26;      0;           0;    7;      percent; Albedo at the top of clouds
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air mass (slant path at 22km)
+  0;   15;     11;      3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;     15;      0;           0;   31;      Numeric; Maximum image spectral composition before normalization
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radius with respect to wind speed above threshold (large storms)
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      9;      0;           0;    4;   Code_Table; General Weather Indicator
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;      0;           0;    2;   Code_Table; Tendency of runway visual range
+  0;   20;     19;      0;           0;   72;    CCITT_IA5; Significant present or forecast weather
+  0;   20;     20;      0;           0;   32;    CCITT_IA5; Significant recent weather phenomena
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     90;      0;           0;    4;   Code_Table; Special clouds
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;           0;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;     62;      2;       -5000;   13;     Decibels; Backscatter
+  0;   21;     63;      1;           0;   10;      Percent; Radiometric resolution (noise value)
+  0;   21;     64;      0;           0;    8;      Numeric; Clutter noise estimate
+  0;   21;     65;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   21;     66;      0;           0;   12;   Flag_Table; Wave scatterometer product confidence
+  0;   21;     67;      0;           0;   13;   Flag_Table; Wind product confidence data
+  0;   21;     68;      0;           0;    8;   Flag_Table; Radar altimeter product confidence data
+  0;   21;     69;      0;           0;   10;   Flag_Table; SST product confidence data
+  0;   21;     71;      0;           0;   16;      Numeric; Peakiness
+  0;   21;     72;      0;           0;    4;   Flag_Table; Satellite altimeter calibration status
+  0;   21;     73;      0;           0;    9;   Flag_Table; Satellite altimeter instrument mode
+  0;   21;     75;      0;           0;    8;      Numeric; Spectral intensity
+  0;   21;     76;      0;           0;    3;   Code_Table; Representation of intensities
+  0;   21;     77;      3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;     78;      3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;     79;      3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;     80;      3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;     81;      3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;     82;      3;       -3000;   14;     Decibels; Open loop correction (auto gain control)
+  0;   21;     85;      0;       -3000;    4;      Numeric; ATSR sea surface temperature across-track band number
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     26;      2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national chart datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     40;      3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea/water temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea/water temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;     67;      0;           0;   10;   Code_Table; Instrument type for water temperature profile measurement
+  0;   22;     68;      0;           0;    7;   Code_Table; Water temperature profile recorder types
+  0;   22;     70;      2;           0;   13;            m; Significant wave height
+  0;   22;     71;      1;           0;    9;            s; Spectral peak wave period
+  0;   22;     72;      0;           0;   13;            m; Spectral peak wave length
+  0;   22;     73;      2;           0;   13;            m; Maximum wave height
+  0;   22;     74;      1;           0;    9;            s; Average wave period
+  0;   22;     75;      0;           0;   13;            m; Average wave length
+  0;   22;     76;      0;           0;    9;  Degree_True; Direction from which dominant waves are coming
+  0;   22;     77;      0;           0;    9;       Degree; Directional spred of dominant wave
+  0;   22;     78;      0;           0;   12;            s; Duration of wave record
+  0;   22;     79;      0;           0;   16;            m; Length of wave record
+  0;   22;     80;      3;           0;   10;           Hz; Waveband central frequency
+  0;   22;     81;      5;           0;   13;        m**-1; Waveband central wave number
+  0;   22;     82;      2;           0;   20;       m**2/s; Maximum non-directional spectral wave density
+  0;   22;     83;      2;           0;   20;         m**3; Maximum non-directional spectral wave number
+  0;   22;     84;      0;           0;    7;      Numeric; Band containing maximum non-directional spectral wave density
+  0;   22;     85;      0;           0;    7;      Numeric; Spectral wave density ratio
+  0;   22;     86;      0;           0;    9;  Degree_True; Mean direction from which waves are coming
+  0;   22;     87;      0;           0;    9;  Degree_True; Principal direction from which waves are coming
+  0;   22;     88;      2;           0;    7;      Numeric; First normalized polar coordinate from Fourier coefficients
+  0;   22;     89;      2;           0;    7;      Numeric; Second normalized polar coordinate from Fourier coefficients
+  0;   22;     90;      2;           0;   20;       m**2/s; Non-directional spectral estimate by wave frequency
+  0;   22;     91;      2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;     92;      2;           0;   20; m**2/rad**-1/s; Directional spectral estimate by wave frequency
+  0;   22;     93;      2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;     94;      0;           0;    7;      Numeric; Total number of wave bands
+  0;   22;     95;      0;           0;    8;       Degree; Directional spread of individual waves
+  0;   22;     96;      3;           0;    4;        s**-1; Spectral band width
+  0;   22;     97;      0;           0;   14;            m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0;   22;     98;      0;           0;   14;            m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0;   22;     99;      0;           0;    9;     deg_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0;   22;    100;      0;           0;    9;       Degree; Direction spread at low wave numbers (wavelength > 731 m)
+  0;   22;    101;      0;           0;   31;     Numberic; Total energy (wavelength > 731 m) at low wave numbers
+  0;   22;    120;      0;           0;    5;   Code_Table; Tide station automated water level check
+  0;   22;    121;      0;           0;    5;   Code_Table; Tide station manual water level check
+  0;   22;    122;      0;           0;    5;   Code_Table; Tide station automated Meteorological data check
+  0;   22;    123;      0;           0;    5;   Code_Table; Tide station manual Meteorological data check
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;     -1;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;     -1;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     14;      0;           0;   12;      Numeric; Azimuth clutter cut-off
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   Code_Table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    2;   Code_Table; Moving platform direction reporting method
+  0;   25;     42;      0;           0;    2;   Code_Table; Moving platform speed reporting method
+  0;   25;     43;      4;           0;   15;            s; Wave sampling interval (time)
+  0;   25;     44;      2;           0;   14;            m; Wave sampling interval (space)
+  0;   25;     45;      0;           0;   21;   Flag_Table; HIRS channel combination
+  0;   25;     46;      0;           0;    5;   Flag_Table; MSU channel combination
+  0;   25;     47;      0;           0;    4;   Flag_Table; SSU channel combination
+  0;   25;     48;      0;           0;   16;   Flag_Table; AMSU-A channel combination
+  0;   25;     49;      0;           0;    6;   Flag_Table; AMSU-B channel combination
+  0;   25;     50;      0;           0;    7;   Flag_Table; AVHRR channel combination
+  0;   25;     51;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     60;      0;           0;   14;      Numeric; Software identification
+
+  0;   26;      1;      1;           0;   12;         Hour; Principal time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;         Hour; Principal time of daily reading in UTC of minimum temperature
+  0;   26;      3;      0;       -1440;   12;       Minute; Time difference
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+  0;   27;     31;      2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance from the Earth's centre
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;     31;      2; -1073741824;   31;            m; In direction of 90 degrees East, distance from the Earth's centre
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      Numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      Numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;      Numeric; Short delayed descriptor replication factor
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;     31;      0;           0;    1;   Flag_Table; Data present indicator
+
+  0;   33;      2;      0;           0;    2;   Code_Table; Quality information
+  0;   33;      3;      0;           0;    3;   Code_Table; Quality information
+  0;   33;      7;      0;           0;    7;      Percent; Per cent confidence
+  0;   33;     20;      0;           0;    3;   Code_Table; Quality control indication of following value
+  0;   33;     21;      0;           0;    2;   Code_Table; Quality of following value
+  0;   33;     22;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission
+  0;   33;     23;      0;           0;    2;   Code_Table; Quality of buoy location
+  0;   33;     24;      0;           0;    4;   Code_Table; Station elevation quality mark (for mobile stations)
+  0;   33;     25;      0;           0;    3;   Code_Table; ACARS interpolated values
+  0;   33;     26;      0;           0;    6;   Code_Table; Mixing ratio quality
+  0;   33;     27;      0;           0;    3;   Code_Table; Location quality class
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-000-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	Message Type 005-001 SATWIND GOES. INFRARED CHANNEL
+237	Message Type 005-002 SATWIND GOES. VISIBLE CHANNEL
+238	Message Type 005-003 SATWIND GOES. WATER VAPOR CHANNEL
+239	Message Type 005-004 SATWIND GOES. CHANNEL COMBINATION 
+240	Message Type 005-021 SATWIND INDIA. INFRARED CHANNEL
+241	Message Type 005-022 SATWIND INDIA. VISIBLE CHANNEL
+242	Message Type 005-023 SATWIND INDIA. WATER VAPOR CHANNEL
+243	Message Type 005-024 SATWIND INDIA. CHANNEL COMBINATION
+244	Message Type 005-041 SATWIND JAPAN. INFRARED CHANNEL
+245	Message Type 005-042 SATWIND JAPAN. VISIBLE CHANNEL
+246	Message Type 005-043 SATWIND JAPAN. WATER VAPOR CHANNEL
+247	Message Type 005-044 SATWIND JAPAN. CHANNEL COMBINATION
+248	Message Type 005-061 SATWIND EUMETSAT. INFRARED CHANNEL
+249	Message Type 005-062 SATWIND EUMETSAT. VISIBLE CHANNEL
+250	Message Type 005-063 SATWIND EUMETSAT. WATER VAPOR CHANNEL
+251	Message Type 005-064 SATWIND EUMETSAT. CHANNEL COMBINATION
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-009-0
@@ -0,0 +1,115 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################		
+		
+#01-09: WMCs		
+0	1	Melbourne
+0	2	Melbourne
+0	3	Melbourne
+0	4	Moscow
+0	5	Moscow
+0	6	Moscow
+0	7	"US National Weather Service, National Centres for Environmental Prediction(NCEP)"
+0	8	US National Weather Service TelecommunicationsGateway (NWSTG)
+0	9	US National Weather Service - Other
+#10-25: Centres in Region I		
+0	10	Cairo (RSMC/RAFC)
+0	11	Cairo (RSMC/RAFC)
+0	12	Dakar (RSMC/RAFC)
+0	13	Dakar (RSMC/RAFC)
+0	14	Nairobi (RSMC/RAFC)
+0	15	Nairobi (RSMC/RAFC)
+0	18	Tunis Casablanca (RSMC)
+0	19	Tunis Casablanca (RSMC)
+0	20	Las Palmas (RAFC)
+0	21	Algiers (RSMC)
+0	24	Pretoria (RSMC)
+0	25	La Runion (RSMC)
+#26-40: Centres in Region II		
+0	26	Khabarovsk (RSMC)
+0	27	Khabarovsk (RSMC)
+0	28	New Delhi (RSMC/RAFC)
+0	29	New Delhi (RSMC/RAFC)
+0	30	Novosibirsk (RSMC)
+0	31	Novosibirsk (RSMC)
+0	32	Tashkent (RSMC)
+0	33	Jeddah (RSMC)
+0	34	"Tokyo (RSMC), Japan Meteorological Agency"
+0	35	"Tokyo (RSMC), Japan Meteorological Agency"
+0	36	Bangkok
+0	37	Ulan Bator
+0	38	Beijing (RSMC)
+0	39	Beijing (RSMC)
+0	40	Seoul
+#41-50: Centres in Region III		
+0	41	Buenos Aires (RSMC/RAFC)
+0	42	Buenos Aires (RSMC/RAFC)
+0	43	Brasilia (RSMC/RAFC)
+0	44	Brasilia (RSMC/RAFC)
+0	45	Santiago
+0	46	Brazilian Space Agency  INPE
+#51-63: Centres in Region IV		
+0	51	Miami (RSMC/RAFC)
+0	52	"Miami RSMC, National Hurricane Center"
+0	53	Montreal (RSMC)
+0	54	Montreal (RSMC)
+0	55	San Francisco
+0	57	U.S. Air Force Air Force Global Weather Central 
+0	58	"Fleet Numerical Meteorology and Oceanography Center, Monterey, CA"
+0	59	"The NOAA Forecast Systems Laboratory, Boulder, CO, USA"
+0	60	United States National Centre for Atmospheric Research (NCAR)
+#64-73: Centres in Region V		
+0	64	Honolulu
+0	65	Darwin (RSMC)
+0	66	Darwin (RSMC)
+0	67	Melbourne (RSMC)
+0	69	Wellington (RSMC/RAFC)
+0	70	Wellington (RSMC/RAFC)
+0	71	Nadi (RSMC)
+#74-99: Centres in Region VI		
+0	74	UK Meteorological Office  Bracknell (RSMC)
+0	75	UK Meteorological Office  Bracknell (RSMC)
+0	76	Moscow (RSMC/RAFC)
+0	78	Offenbach (RSMC)
+0	79	Offenbach (RSMC)
+0	80	Rome (RSMC)
+0	81	Rome (RSMC)
+0	82	Norrkping
+0	83	Norrkping
+0	85	Toulouse (RSMC)
+0	86	Helsinki
+0	87	Belgrade
+0	88	Oslo
+0	89	Prague
+0	90	Episkopi
+0	91	Ankara
+0	92	Frankfurt/Main (RAFC)
+0	93	London (WAFC)
+0	94	Copenhagen
+0	95	Rota
+0	96	Athens
+0	97	European Space Agency (ESA)
+0	98	"ECMWF, RSMC"
+0	99	De Bilt
+0	110	Hong-Kong
+0	160	US NOAA/NESDIS
+0	210	Frascati (ESA/ESRIN)
+0	211	Lanion
+0	212	Lisboa
+0	213	Reykjavik
+0	254	EUMETSAT Operation Centre
+0	255	Missing value
--- /dev/null
+++ grads-2.0.a9/data/tables/convert.c
@@ -0,0 +1,170 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+#define MAX_BUF 1024
+
+main (int argc, char *argv[])
+{
+    
+    int   line, i, iflag;
+    char  buf[MAX_BUF];
+    char  tokbuf[MAX_BUF];  /* copy of buf[] for strtok() to work on */
+    int   f, x, y, scale, ref, dw;
+    char  *valp;
+
+    char* units;
+    char* description;
+    char file_in[70], file_out[70];
+    FILE *fp_in, *fp_out;
+
+    if ( argc != 2 )
+    {
+      printf(" ERROR:  no arguments\n");
+      printf(" convert <filename:\n");
+      exit(-1);
+    }
+    sprintf(file_in,"%s.old",argv[1]);
+    printf(" full input file name =%s\n", file_in);
+    sprintf(file_out,"%s",argv[1]);
+    printf(" full output file name =%s\n", file_out);
+    sprintf(buf, "mv %s %s.old\n", argv[1], argv[1]);
+    system(buf);
+    
+    if( (fp_in = fopen( file_in, "r" )) == NULL )
+    {
+        sprintf( buf, "Can't open input file \"%s\"\n", file_in );
+        exit(1);
+    }
+    if( (fp_out = fopen( file_out, "w" )) == NULL )
+    {
+        sprintf( buf, "Can't open output file \"%s\"\n", file_in );
+        exit(1);
+    }
+    
+    for( line=1; fgets( buf, MAX_BUF, fp_in ) != NULL; line++ )
+    {
+        iflag = 0;
+        valp = buf;
+        if( *valp == '#')
+        {
+          fprintf(fp_out,"%s", buf);
+        } else if ( strlen(buf) == 1 ) {
+          fprintf(fp_out,"\n");
+        }else{
+          /*
+          * Since strtok() mangles the string it works on, let strtok() use
+          * a copy of buf.
+          */
+
+          strcpy( tokbuf, buf );
+
+          /*
+          * Trim trailing whitespace in 'tokbuf' (this makes it easier
+          * to get the description later on).
+          */
+
+          /*  092997  LAH: Added char cast to correct Linux warning */
+          /* 100997 LAH: Added ulong_t cast */
+          for( valp=&tokbuf[strlen(tokbuf)-1]; isspace( *valp ); valp-- )
+             *valp = (char) NULL;
+
+          /* Get F, X, and Y portion and compute table location */
+
+          if( (valp = strtok( tokbuf, " -\t" )) == NULL )
+          {
+            printf("Line %d: Missing F descriptor\n", line);
+            iflag = 1;
+          }
+          else
+            f = atoi( valp );
+
+          if (iflag == 0)
+          {
+            if( (valp = strtok( NULL, " -\t" )) == NULL )
+            {
+              printf("Line %d: Missing X descriptor\n", line);
+              iflag =1;
+           
+            }
+            else
+              x = atoi( valp );
+          }
+
+          if ( iflag == 0)
+          {
+            if( (valp = strtok( NULL, " \t" )) == NULL )
+            {
+              printf("%Line %d: Missing Y descriptor\n", line);
+              iflag = 1;
+            }
+            else
+             y = atoi( valp );
+          }
+
+          
+/* Check for descriptor duplication. */
+          if (iflag == 0 )
+          {
+      	    if( (valp = strtok( NULL, " \t" )) == NULL )
+            {
+              printf("Line %d: Missing Scale value\n", line);
+            } else
+              scale = atoi( valp );
+          }
+
+          if ( iflag == 0 )
+          {
+            if( (valp = strtok( NULL, " \t" )) == NULL )
+            {
+              printf("Line %d: Missing Reference Value\n", line );
+              iflag =1;
+            } else
+              ref = atoi( valp );
+          }
+
+          if ( iflag == 0 )
+          {
+            if( (valp = strtok( NULL, " \t" )) == NULL )
+            {
+              printf(" Line %d: Missing Data Width value\n", line );
+              iflag = 1;
+            } else
+              dw = atoi( valp );
+          }
+
+
+          if ( iflag == 0)
+          {
+            if( (units = strtok( NULL, " \t\n" )) == NULL )
+            {
+              printf("Line %d: Missing Units description\n", line );
+              iflag == 1;
+            }
+          }
+
+          /* Ignore leading whitespace. */
+
+          /*  092997  LAH: Added cast to correct Linux warning */
+          for( valp=units+strlen(units)+1; *valp != (char) NULL; valp++ )
+          {
+            /* 100997 LAH: Added ulong_t cast */
+            if( !isspace( *valp ) )
+                break;
+          }
+
+          /*  092997  LAH: Added cast to correct Linux warning */
+          if( *valp == '\n' || *valp == (char) NULL )
+            description = strdup( "???" );
+          else
+            description = strdup( valp );
+
+          if ( iflag == 0)
+          {
+            fprintf(fp_out, "%3d;%5d;%7d;%7d;%12d;%5d; %12s; %s\n",
+	            f,x,y,scale,ref,dw,units,description);
+          }
+        }
+     }
+     return 0;
+}
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-010-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-128-001-D.001
@@ -0,0 +1,25 @@
+#
+# B2L-128-001-D.001 - Local BUFR Table D (Lists of Common Sequences)
+# for center 128 (NRL Monterey), Minor Local Version 1
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+
+# Phony local descriptor for debugging purposes
+#
+#3	5	1
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	0	2	104		# Antenna polarization            (4 bits)
+#	0	2	113		# Number of azimuth looks         (4 bits)
+#	-1
+#
+3	5	1
+	0	2	 11		# Radiosonde type                 (8 bits)
+	0	2	 22		# Satellite DP technique used     (8 bits)
+	0	2	102		# Antenna height above tower base (8 bits)
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-006-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-002-B
@@ -0,0 +1,710 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#                                       Data
+#F      X       Y       Scale   RefVal  Width   Units           Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; TABLE A ENTRY
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; TABLE A  DATA CATEGORY DESCRIPTIO
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; TABLE A DATA CATEGORY DESCRIPTION
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR EDITION NUMBER
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y DESCRIPTOR TO BE ADDED OR DEFIN
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; ELEMENT NAME LN 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; ELEMENT NAME LN 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; UNITS NAME
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; UNITS SCALE SIGN
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; UNITS SCALE
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; UNITS REFERENCE SIGN
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; UNITS REFERENCE VALUE
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; ELEMENT DATA WIDTH
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; DESCRIPTOR DEFINING SEQUENCE
+  0;    1;      1;      0;           0;    7;      NUMERIC; WMO BLOCK NUMBER
+  0;    1;      2;      0;           0;   10;      NUMERIC; WMO STATION NUMBER
+  0;    1;      3;      0;           0;    3;      NUMERIC; WMO REGION NUMBER
+  0;    1;      4;      0;           0;    3;      NUMERIC; WMO REGION SUB-AREA
+  0;    1;      5;      0;           0;   17;      NUMERIC; BUOY/PLATFORM IDENTIFIER
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; AIRCRAFT IDENTIFIER (FLIGHT NUMBE
+  0;    1;      7;      0;           0;   10;   CODE_TABLE; SAID SATELLITE IDENTIFIER
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; AIRCRAFT REGISTRATION NUMBER (TAI
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; TYPE OF COMMERCIAL ACFT
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; STATIONARY BOUY PLATFORM IDENTIFI
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; SHIP CALL SIGN
+  0;    1;     12;      0;           0;    9; DEGREES_TRUE; DIRECTION OF MOTION OBSERVING PLA
+  0;    1;     13;      0;           0;   10; METER/SECOND; SPEED OF MOTION OF OBSERVING PLAT
+  0;    1;     14;      2;           0;   10; METER/SECOND; PLATFORM DRIFT SPEED (HIGH PRECIS
+  0;    1;     15;      0;           0;    4;   CODE_TABLE; TRUE DIR OF MOVING PLATFORM PAST
+  0;    1;     16;      0;           0;    4;   CODE_TABLE; AVG SPD MOVING PLATFORM PAST 3 HO
+  0;    1;     21;      0;           0;   14;      NUMERIC; SYNOPTIC FEATURE ID
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; STORM IDENTIFIER
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO STORM NAME
+  0;    1;     31;      0;           0;   16;   CODE_TABLE; GENERATING CENTER
+  0;    1;     32;      0;           0;    8;   CODE_TABLE; GENERATING APPLICATION
+  0;    1;     50;      0;           0;   48;    CCITT_IA5; NMC REPORT IDENTIFIER
+  0;    1;     62;      0;           0;   40;    CCITT_IA5; NAT'L ASSIGNED STATION IDENTIFIER
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICLI ICAO LOCATION IDENTIFIER
+  0;    1;    164;      0;           0;   32;    CCITT_IA5; SEQNUM  LDM SEQUENCE NUMBER
+  0;    1;    192;      0;           0;    4;    CCITT_IA5; RADIOSONDE REPORT PART
+  0;    1;    193;      0;           0;   64;    CCITT_IA5; SATELLITE IDENTIFIER
+  0;    1;    194;      0;           0;   64;    CCITT_IA5; BUHD BULLETIN HEADER
+  0;    1;    195;      0;           0;    8;    CCITT_IA5; SACO  COUNTRY/AGENCY OPERATING SATELLITE
+  0;    1;    196;      0;           0;   16;    CCITT_IA5; SANA INDICATOR FIGURE FOR SATELLITE NAME
+  0;    1;    197;      0;           0;   64;    CCITT_IA5; RADIOSONDE SHIP OR MOBILE LND STN
+  0;    1;    198;      0;           0;   64;    CCITT_IA5; RPID REPORT IDENTIFIER
+  0;    1;    204;      0;           0;    8;   CODE_TABLE; SWPR SATELLITE WIND PRODUCER
+  0;    2;      1;      0;           0;    2;   CODE_TABLE; TYPE OF STATION
+  0;    2;      2;      0;           0;    4;   FLAG_TABLE; TYPE OF INSTR. FOR WIND MEASUREME
+  0;    2;      3;      0;           0;    4;   CODE_TABLE; TYPE OF MEASURING INSTRUMENT USED
+  0;    2;      4;      0;           0;    4;   CODE_TABLE; TYPE OF INSTR/CROP FOR EVAP/EVAPO
+  0;    2;      5;      2;           0;    7;      DEGREES; PRECISION OF TEMPERATURE OBS.
+  0;    2;     11;      0;           0;    8;   CODE_TABLE; RADIOSONDE TYPE
+  0;    2;     12;      0;           0;    4;   CODE_TABLE; RADIOSONDE COMPUTATIONAL METHOD
+  0;    2;     13;      0;           0;    4;   CODE_TABLE; SOLAR AND INFRARED RADIATION CORR
+  0;    2;     14;      0;           0;    7;   CODE_TABLE; TRACKING TECHNIQUE/STATUS OF SYST
+  0;    2;     15;      0;           0;    4;   CODE_TABLE; RADIOSONDE COMPLETENESS
+  0;    2;     21;      0;           0;    9;   FLAG_TABLE; SATELLITE INSTRUMENT DATA USED IN
+  0;    2;     22;      0;           0;    8;   FLAG_TABLE; SATELLITE DATA PROCESSING TECHNIQ
+  0;    2;     23;      0;           0;    8;   CODE_TABLE; CMCM SATELLITE DERIVED WIND COMPUTATIO
+  0;    2;     24;      0;           0;    4;   CODE_TABLE; INT. MEAN HUMIDITY COMPUTATIONAL
+  0;    2;     25;      0;           0;   25;   FLAG_TABLE; SATELLITE CHANNEL(S) USED IN COMP
+  0;    2;     26;      2;           0;   12;       METERS; CROSS TRACK RESOLUTION
+  0;    2;     27;      2;           0;   12;       METERS; ALONG TRACK RESOLUTION
+  0;    2;     28;      0;           0;   32;   FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U
+  0;    2;     29;      0;           0;    8;   FLAG_TABLE; GEOSTAT. SOUNDER SATELL CHAN'LS U
+  0;    2;     30;      0;           0;    3;   CODE_TABLE; METH OF CURRENT MEASUREMENT
+  0;    2;     31;      0;           0;    5;   CODE_TABLE; DURATION & TIME OF CURRENT CODE M
+  0;    2;     32;      0;           0;    2;   CODE_TABLE; INDICATOR FOR DIGITIZATION
+  0;    2;     33;      0;           0;    3;   CODE_TABLE; METHOD OF SALINITY/DEPTH MEASUREM
+  0;    2;     34;      0;           0;    5;   CODE_TABLE; DROGUE TYPE
+  0;    2;     35;      0;           0;    9;       METERS; CABLE LENGTH
+  0;    2;     36;      0;           0;    2;   CODE_TABLE; BUOY TYPE
+  0;    2;     37;      0;           0;    3;   CODE_TABLE; METHOD OF TIDAL OBSERVATION
+  0;    2;     38;      0;           0;    3;   CODE_TABLE; METH OF SEA SURFACE TEMPERATURE M
+  0;    2;     39;      0;           0;    3;   CODE_TABLE; METH OF WET BULB TEMPERATURE MEAS
+  0;    2;     40;      0;           0;    4;   CODE_TABLE; METH RMV CODE VELOC & MOTION OF P
+  0;    2;     41;      0;           0;    6;   CODE_TABLE; METH FOR EST RPTS OF SYNOP FEATUR
+  0;    2;     42;      0;           0;    6;   CODE_TABLE; METHOD OF REPORT CONSTRUCTION
+  0;    2;     43;      0;           0;    6;   CODE_TABLE; PRECISION OF LAT/LON REPORT
+  0;    2;     51;      0;           0;    4;   CODE_TABLE; INDIC TO SPECIFY OBS METH EXTRM T
+  0;    2;     61;      0;           0;    3;   CODE_TABLE; AIRCRAFT NAVIGATION   SYSTEM
+  0;    2;     62;      0;           0;    4;   CODE_TABLE; TYPE OF AIRCRAFT DATA RELAY SYSTE
+  0;    2;     63;      2;      -18000;   16;      DEGREES; AIRCRAFT ROLL ANGLE
+  0;    2;     70;      0;           0;    4;   CODE_TABLE; ORIGINAL SPECIFICATION OF LAT/LON
+  0;    2;    101;      0;           0;    4;   CODE_TABLE; TYPE OF ANTENNA
+  0;    2;    102;      0;           0;    8;       METERS; ANTENNA HGT ABOVE TOWER
+  0;    2;    103;      0;           0;    2;        FLAGE; TABLE     RADOME
+  0;    2;    104;      0;           0;    4;   CODE_TABLE; ANTENNA POLARIZATION
+  0;    2;    105;      0;           0;    6;           DB; MAXIMUM ANTENNA GAIN
+  0;    2;    106;      1;           0;    6;      DEGREES; 3 - DB BANDWIDTH
+  0;    2;    107;      0;           0;    6;           DB; SIDELOBE SUPRESSION
+  0;    2;    108;      0;           0;    6;           DB; CROSSPOL DISCRI. (ON AXIS)
+  0;    2;    109;      2;           0;   12; DEGREES/SECOND; ANTENNA SPEED (AZIMUTH)
+  0;    2;    110;      2;           0;   12; DEGREES/SECOND; ANTENNA SPEED (ELEVATION)
+  0;    2;    111;      1;           0;   10;      DEGREES; RADAR INCIDENCE ANGLE
+  0;    2;    112;      1;           0;   12;      DEGREES; RADAR AZIMUTH ANGLE
+  0;    2;    113;      0;           0;    4;     NUMERICS; NO. OF AZIMUTH LOOKS
+  0;    2;    114;      0;           0;   15;         M**2; ANTENNA EFFECTIVE SURFACE AREA
+  0;    2;    121;      8;           0;    7;           HZ; MEAN FREQUENCY
+  0;    2;    122;      6;        -128;    8;           HZ; FREQUENCY AGILITY RANGE
+  0;    2;    123;      4;           0;    7;        WATTS; PEAK POWER
+  0;    2;    124;      1;           0;    7;        WATTS; AVERAGE POWER
+  0;    2;    125;      1;           0;    8;           HZ; PULSE REPETITION FREQUENCY
+  0;    2;    126;      7;           0;    6;       SECOND; PULSE WIDTH
+  0;    2;    127;      6;           0;    7;           HZ; RECEIVER INTERMEDIATE FREQUENCY
+  0;    2;    128;      5;           0;    6;           HZ; INTERMEDIATE FREQUENCY BANDWIDTH
+  0;    2;    129;      0;        -150;    5;           DB; MINIMUM DETECTABLE SIGNAL
+  0;    2;    130;      0;           0;    7;           DB; DYNAMIC RANGE
+  0;    2;    131;      0;           0;    2;   FLAG_TABLE; SENSITIVITY TIME CONTROL
+  0;    2;    132;      2;           0;    6;      DEGREES; AZIMUTH POINTING ACCURACY
+  0;    2;    133;      2;           0;    6;      DEGREES; ELEVATION POINTING ACCURACY
+  0;    2;    134;      2;           0;   16;      DEGREES; ANTENNA BEAM AZIMUTH
+  0;    2;    135;      2;       -9000;   15;      DEGREES; ANTENNA ELEVATION
+  0;    2;    140;      0;           0;    9;      DEGREES; SATELLITE RADAR BEAM AZIMUTH ANGL
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; MEAS.TYPE SERIAL NBR/IDENT
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; OZONE INSTRUMENT
+  0;    2;    143;      0;           0;    7;      NUMERIC; INSTRUMENT TYPE
+  0;    2;    183;      0;           0;    1;   CODE_TABLE; QUALITY OF PRESSURE MEASUREMENT
+  0;    2;    184;      0;           0;    1;   CODE_TABLE; QUALITY OF WATER SFC TEMP MEASURE
+  0;    2;    185;      0;           0;    1;   CODE_TABLE; QUALITY OF AIR TEMP MEASUREMENT
+  0;    2;    186;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDIC FOR FOLLOWING
+  0;    2;    187;      0;           0;    1;   CODE_TABLE; QUALITY OF BUOY SATELLIT TRANSMIS
+  0;    2;    188;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDICATOR FOR BUOY L
+  0;    2;    189;      0;           0;    3;   CODE_TABLE; QUAL CONTROL INDIC FOR BUOY TIME
+  0;    2;    190;      0;           0;    8;   CODE_TABLE; U, V QUALITY INDICATOR
+  0;    2;    191;      0;           0;    4;   CODE_TABLE; W QUALITY INDICATOR
+  0;    2;    192;      0;           0;    6;   CODE_TABLE; RADIOSONDE CORRECTION TYPE APPLIE
+  0;    2;    193;      0;           0;    3;   CODE_TABLE; IND TYPE OF STN OPERATION PAST/PR
+  0;    2;    200;      0;           0;    4;   CODE_TABLE; OBJECTIVE FORECAST TECHNIQUE USED
+  0;    2;    206;      0;           0;    4;        MONTH; MONTH  - RELEASE TIME
+  0;    2;    207;      0;           0;    6;          DAY; DAY    - RELEASE TIME
+  0;    2;    208;      0;           0;    5;         HOUR; HOUR   - RELEASE TIME
+  0;    2;    209;      0;           0;    6;       MINUTE; MINUTE - RELEASE TIME
+  0;    2;    210;      0;           0;    3;   FLAG_TABLE; STATION/SEA LEVEL COMPARISON
+  0;    4;      1;      0;           0;   12;         YEAR; YEAR   YEAR
+  0;    4;      2;      0;           0;    4;        MONTH; MNTH MONTH
+  0;    4;      3;      0;           0;    6;          DAY; DAYS DAY
+  0;    4;      4;      0;           0;    5;         HOUR; HOUR HOUR
+  0;    4;      5;      0;           0;    6;       MINUTE; MINU MINUTE
+  0;    4;      6;      0;           0;    6;       SECOND; SECOND
+  0;    4;     11;      0;       -1024;   11;        YEARS; TIME INCREMENT
+  0;    4;     12;      0;       -1024;   11;       MONTHS; TIME INCREMENT
+  0;    4;     13;      0;       -1024;   11;         DAYS; TIME INCREMENT
+  0;    4;     14;      0;       -1024;   11;        HOURS; TIME INCREMENT
+  0;    4;     15;      0;       -2048;   12;      MINUTES; TIME INCREMENT
+  0;    4;     16;      0;       -4096;   13;      SECONDS; TIME INCREMENT
+  0;    4;     21;      0;       -1024;   11;        YEARS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     22;      0;       -1024;   11;       MONTHS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     23;      0;       -1024;   11;         DAYS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     24;      0;       -2048;   12;        HOURS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     25;      0;       -2048;   12;      MINUTES; TIME PERIOD OR DISPLACEMENT
+  0;    4;     26;      0;       -4096;   13;      SECONDS; TIME PERIOD OR DISPLACEMENT
+  0;    4;     31;      0;           0;    8;         HOUR; DUR OF TIME REL TO FOLLOWING VALU
+  0;    4;     41;      0;       -1440;   12;       MINUTE; TIME DIFFERENCE UTC - LMT
+  0;    4;     43;      0;           0;    9;          DAY; DAY OF THE YEAR
+  0;    4;     44;      0;           0;    3;   CODE_TABLE; DAY OF THE WEEK
+  0;    4;     53;      0;           0;    6;      NUMERIC; NUMBER OF DAYS WITH PRECIP => 1MM
+  0;    4;    192;      0;           0;   12;        HOURS; RECIEPT TIME - REPORT TIME
+  0;    4;    193;      0;           0;   12;      MINUTES; RECIEPT TIME - REPORT TIME
+  0;    4;    194;      0;           0;   12;        HOURS; RELEASE TIME OF SONDE
+  0;    4;    195;      0;           0;    5;         HOUR; FORECAST CYCLE HOUR
+  0;    4;    200;      0;           0;   12;         YEAR; RCYR YEAR   - TIME OF RECEIPT
+  0;    4;    201;      0;           0;    4;        MONTH; RCMO MONTH  - TIME OF RECEIPT
+  0;    4;    202;      0;           0;    6;          DAY; RCDY DAY    - TIME OF RECEIPT
+  0;    4;    203;      0;           0;    5;         HOUR; RCHR HOUR   - TIME OF RECEIPT
+  0;    4;    204;      0;           0;    6;       MINUTE; RCMI MINUTE - TIME OF RECEIPT
+  0;    4;    205;      0;           0;    6;       SECOND; SECOND - TIME OF RECEIPT
+  0;    4;    206;      0;           0;   32;       SECOND; DATA BASE INGEST TIME FROM 1 JAN
+  0;    4;    207;      0;           0;    5;         HOUR; HOUR - TIME OF MAX WIND (GUST)
+  0;    4;    208;      0;           0;    6;       MINUTE; MINUTE - TIME OF NAX WIND (GUST)
+  0;    5;      1;      5;    -9000000;   25;      DEGREES; LATITUDE(HIGH ACCURACY)
+  0;    5;      2;      2;       -9000;   15;      DEGREES; CLAT LATITUDE(COARSE ACCURACY)
+  0;    5;      3;      2;       -9000;   15;      DEGREES; ALTERNATE LATITUDE
+  0;    5;     11;      5;    -9000000;   25;      DEGREES; LATITUDE INCREMENT(HIGH ACCURACY)
+  0;    5;     12;      2;       -9000;   15;      DEGREES; LATITUDE INCREMENT(COARSE ACCURAC
+  0;    5;     21;      2;           0;   16; DEGREES_TRUE; BEARING OR AZIMUTH
+  0;    5;     22;      2;           0;   16; DEGREES_TRUE; SOLAR AZIMUTH
+  0;    5;     30;      0;           0;   12;      DEGREES; DIRECTION (SPECTRAL)
+  0;    5;     31;      0;           0;   12;      NUMERIC; ROW NUMBER
+  0;    5;     33;      1;           0;   16;       METERS; PIXEL SIZE ON HORIZONTAL-1
+  0;    5;     40;      0;           0;   24;      NUMERIC; ORBIT NUMBER
+  0;    5;     41;      0;           0;    8;      NUMERIC; SCAN LINE NUMBER
+  0;    5;     42;      0;           0;    6;      NUMERIC; CHANNEL NUMBER
+  0;    5;     43;      0;           0;    8;      NUMERIC; FIELD OF VIEW NUMBER
+  0;    5;     50;      5;           0;   17;      NUMERIC; SIGMA LEVEL
+  0;    5;     52;      0;           0;    5;      NUMERIC; CHANNEL NUMBER INCREMENT
+  0;    5;     53;      0;           0;    5;      NUMERIC; FIELD OF VIEW NUMBER INCREMENT
+  0;    6;      1;      5;   -18000000;   26;      DEGREES; LONGITUDE (HIGH ACCURACY)
+  0;    6;      2;      2;      -18000;   16;      DEGREES; CLON LONGITUDE (COARSE ACCURACY)
+  0;    6;      3;      2;      -18000;   16;      DEGREES; ALTERNATE LONGITUDE
+  0;    6;     11;      5;   -18000000;   26;      DEGREES; LONGITUDE INCREMENT (HIGH ACCURAC
+  0;    6;     12;      2;      -18000;   16;      DEGREES; LONGITUDE INCREMENT (COARSE ACCUR
+  0;    6;     21;      1;           0;   13;       METERS; DISTANCE
+  0;    6;     30;      5;           0;   13;        RAD/M; WAVENUMBER (SPECTRAL)
+  0;    6;     31;      0;           0;   12;      NUMERIC; COLUMN NUMBER
+  0;    6;     33;      1;           0;   16;       METERS; PIXEL SIZE ON HORIZONTAL-2
+  0;    7;      1;      0;        -400;   15;       METERS; HEIGHT OF STATION
+  0;    7;      2;      1;         -40;   16;       METERS; HEIGHT OR ALTITUDE
+  0;    7;      3;      1;        -400;   17;    M**2/S**2; GEOPOTENTIAL
+  0;    7;      4;     -1;           0;   14;      PASCALS; PRLC PRESSURE
+  0;    7;      5;      0;        -400;   12;       METERS; HEIGHT INCREMENT
+  0;    7;      6;      0;           0;   15;       METERS; HEIGHT ABOVE STATION
+  0;    7;      7;      0;       -1000;   17;            M; HEIGHT
+  0;    7;      8;      0;      -10000;   20;    M**2/S**2; GEOPOTENTIAL
+  0;    7;     21;      2;       -9000;   15;      DEGREES; ELEVATION
+  0;    7;     22;      2;       -9000;   15;      DEGREES; SOLAR ELEVATION
+  0;    7;     61;      2;           0;   14;       METERS; DEPTH BELOW LAND SURFACE
+  0;    7;     62;      1;           0;   17;       METERS; DEPTH BELOW SEA SURFACE
+  0;    7;    190;      0;           0;   12;       METERS; HEIGHT INCREMENT
+  0;    7;    192;      0;        -400;   17;          GPM; FLIGHT LEVEL (PRESSURE ALTITUDE)
+  0;    7;    193;      0;        -400;   17;         GPDM; FLIGHT LEVEL (PRESSURE ALTITUDE)
+  0;    7;    194;      0;        -400;   15;            M; HEIGHT OR ALTITUDE ABOVE MSL
+  0;    8;      1;      0;           0;    7;   FLAG_TABLE; VERTICAL SOUNDING SIGNIFICANCE
+  0;    8;      2;      0;           0;    6;   CODE_TABLE; VERT. SIGNIFICANCE (SFC OBSERVATI
+  0;    8;      3;      0;           0;    6;   CODE_TABLE; VERT. SIGNIFICANCE (SAT OBSERVATI
+  0;    8;      4;      0;           0;    3;   CODE_TABLE; PHASE OF AIRCRAFT FLIGHT
+  0;    8;      5;      0;           0;    4;   CODE_TABLE; SURFACE SYNOPTIC FEATURE SIGNIFIC
+  0;    8;     10;      0;           0;    4;   CODE_TABLE; VERT SIGNIFICANCE(FORECAST SOUNDI
+  0;    8;     11;      0;           0;    6;   CODE_TABLE; HORIZONTAL SIGNIFICANCE
+  0;    8;     12;      0;           0;    2;   CODE_TABLE; LAND/SEA QUALIFIER
+  0;    8;     13;      0;           0;    2;   CODE_TABLE; DAY/NIGHT QUALIFIER
+  0;    8;     20;      0;           0;   16;      NUMERIC; TOTAL NR MISG ENTITIES W/RES TO A
+  0;    8;     21;      0;           0;    5;   CODE_TABLE; TIME SIGNIFICANCE
+  0;    8;     22;      0;           0;   16;      NUMERIC; TOTAL NUMBER(W/RESPECT TO ACCUM O
+  0;    8;     23;      0;           0;    7;   CODE_TABLE; FIRST ORDER STATISTICS
+  0;    8;     24;      0;           0;    7;   CODE_TABLE; DIFFERENCE STATISTICS
+  0;    8;     31;      0;           0;    8;         BUFR; TABLE A    DATA CATEGORY
+  0;    8;     32;      0;           0;   14;   CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL
+  0;    8;     51;      0;           0;    3;   CODE_TABLE; QUALIFIER-NR MISG VALUES IN CALC
+  0;    8;     52;      0;           0;    5;   CODE_TABLE; COND. FOR  WHICH NR OF DAYS OF OC
+  0;    8;     53;      0;           0;    2;   CODE_TABLE; DAY OF OCCURRENCE QUALIFIER
+  0;    8;    192;      0;           0;   16;      NUMERIC; UPDATE SEQUENCE NUMBER
+  0;    8;    193;      0;           0;   16;      NUMERIC; OBSERVATION DATABASE KEY
+  0;    8;    194;      0;           0;    6;   CODE_TABLE; CORRECTION INDICATOR
+  0;    8;    195;      0;           0;    6;   CODE_TABLE; QUALITY CONTROL TYPE
+  0;    8;    196;      0;           0;    6;   CODE_TABLE; QUALITY CONTROL DECISION
+  0;    8;    197;      0;           0;    5;   CODE_TABLE; RECORD TEMPERATURE KEY
+  0;    8;    198;      0;           0;    4;   CODE_TABLE; TIME SIGNIFICANCE
+  0;    8;    199;      0;           0;    3;   CODE_TABLE; SUWS SOURCE UNITS OF WIND SPEED
+  0;    8;    200;      0;           0;    4;      NUMERIC; NMC QUALITY MARK
+  0;    8;    202;      0;           0;    6;   CODE_TABLE; RCTS RECEIPT TIME SIGNIFICANT
+  0;    8;    232;      0;           0;   14;   CODE_TABLE; DATA SIGNIF-INTERACTIVE RETRIEVAL
+  0;    9;      6;      3;           0;   10;      SECONDS; TIME OF ASCENDING NODE
+  0;   10;      1;      0;        -400;   15;       METERS; HEIGHT OF LAND SURFACE
+  0;   10;      2;      1;         -40;   16;       METERS; HEIGHT
+  0;   10;      3;      1;        -400;   17;    M**2/S**2; GEOPOTENTIAL
+  0;   10;      4;      1;           0;   14;      PASCALS; PRESSURE
+  0;   10;      7;      0;       -1000;   17;       METERS; HGHT HEIGHT
+  0;   10;      8;      0;      -10000;   20;    M**2/S**2; GEOPOTENTIAL
+  0;   10;     50;      2;           0;   16;       METERS; STD. DEV. ALTITUDE
+  0;   10;     51;      1;           0;   14;      PASCALS; PRESSURE REDUCED TO MSL
+  0;   10;     52;      1;           0;   14;      PASCALS; ALTIMETER SETTING (QNH)
+  0;   10;     60;      1;       -1024;   11;      PASCALS; PRESSURE CHANGE
+  0;   10;     61;      1;        -500;   10;      PASCALS; 3 HOUR PRESSURE CHANGE
+  0;   10;     62;      1;       -1000;   11;      PASCALS; 24 HOUR PRESSURE CHANGE
+  0;   10;     63;      0;           0;    4;   CODE_TABLE; CHARACTERISTIC OF PRESSURE TENDEN
+  0;   10;    192;      0;        -400;   17;          GPM; GEOPOTENTIAL HEIGHT
+  0;   10;    193;      0;        -400;   17;         GPDM; GEOPOTENTIAL HEIGHT
+  0;   10;    194;      0;       -2000;   17;          GPM; DEPARTURE FROM ICAO STD ATMOSPHER
+  0;   10;    195;      0;        -400;   17;           DM; GEOMETRIC HEIGHT
+  0;   11;      1;      0;           0;    9; DEGREES_TRUE; WDIR WIND DIRECTION
+  0;   11;      2;      1;           0;   12; METERS/SECOND; WSPD WIND SPEED
+  0;   11;      3;      1;       -4096;   13; METERS/SECOND; U-COMPONENT
+  0;   11;      4;      1;       -4096;   13; METERS/SECOND; V-COMPONENT
+  0;   11;      5;      1;        -512;   10; PASCALS/SECOND; W-COMPONENT
+  0;   11;      6;      2;       -4096;   13; METERS/SECOND; W-COMPONENT
+  0;   11;     11;      0;           0;    9; DEGREES_TRUE; WIND DIRECTION AT 10 METERS
+  0;   11;     12;      1;           0;   12; METERS/SECOND; WIND SPEED AT 10 METERS
+  0;   11;     13;      0;           0;    9; DEGREES_TRUE; WIND DIRECTION AT 5 METERS
+  0;   11;     14;      1;           0;   12; METERS/SECOND; WIND SPEED AT 5 METERS
+  0;   11;     21;      9;      -65536;   17;   SECOND**-1; RELATIVE VORTICITY
+  0;   11;     22;      9;      -65536;   17;   SECOND**-1; DIVERGENCE
+  0;   11;     23;      2;      -65536;   17;  M**2/SECOND; VELOCITY POTENTIAL
+  0;   11;     31;      0;           0;    4;   CODE_TABLE; DEGREE OF TURBULENCE
+  0;   11;     32;      1;         -40;   16;       METERS; HEIGHT OF BASE OF TURBULENCE
+  0;   11;     33;      1;         -40;   16;       METERS; HEIGHT OF TOP OF TURBULENCE
+  0;   11;     34;      1;       -1024;   11; METERS/SECOND; VERTICAL GUST VELOCITY
+  0;   11;     35;      2;       -8192;   14; METERS/SECOND**2VERTICAL; GUST ACCELERATION
+  0;   11;     36;      1;           0;   10; METERS/SECOND; MAXIMUM DERIVED EQUIVALENT VERTIC
+  0;   11;     41;      1;           0;   12; METERS/SECOND; MAX WIND SPEED (GUSTS)
+  0;   11;     42;      1;           0;   12; METERS/SECOND; MAX WIND SPEED(10 MIN MEAN WIND)
+  0;   11;     43;      0;           0;    9; DEGREES_TRUE; MAXIMUM WIND GUST DIRECTION
+  0;   11;     44;      0;           0;    9; DEGREES_TRUE; SFC-5000FT MEAN LYR WIND DIRECTIO
+  0;   11;     49;      0;           0;    9; DEGREES_TRUE; STD. DEV. OF WIND DIRECTION
+  0;   11;     50;      1;           0;   12; METERS/SECOND; STD. DEV. HORIZ WIND SPEED
+  0;   11;     51;      1;           0;    8; METERS/SECOND; STD DEV VERT WIND COMPONENT
+  0;   11;     61;      1;           0;   12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER BEL
+  0;   11;     62;      1;           0;   12; METERS/SECOND; ABSOLUTE WIND SHEAR(1KM LAYER ABO
+  0;   11;    192;      1;       -1024;   11; METERS/SECOND; MEAN U-COMPONENT
+  0;   11;    193;      1;       -1024;   11; METERS/SECOND; MEAN V-COMPONENT
+  0;   11;    194;      1;        -128;    8; METERS/SECOND; MEAN W-COMPONENT
+  0;   11;    195;      1;           0;    9; METERS/SECOND; STANDARD DEVIATION U
+  0;   11;    196;      1;           0;    9; METERS/SECOND; STANDARD DEVIATION V
+  0;   11;    197;      1;           0;    6; METERS/SECOND; STANDARD DEVIATION W
+  0;   11;    198;      1;           0;   12; METERS/SECOND; WIND SPEED 10000FT (EXTRAPLOATED)
+  0;   11;    199;      1;           0;   12; METERS/SECOND; WIND SPEED 20000FT (EXTRAPOLATED)
+  0;   11;    200;      1;           0;   12; METERS/SECOND; INFLATED WIND SPEED (MOS)
+  0;   11;    201;      1;           0;   12; METERS/SECOND; MEAN WIND SPEED PAST 12 HRS
+  0;   11;    210;      1;           0;   12; METERS/SECOND; ROOT MEAN SQUARE VECTOR WIND ERRO
+  0;   11;    221;      0;           0;    9; DEGREES_TRUE; MEAN WIND DIR 5000FT-10000FT
+  0;   11;    222;      1;           0;   12; METERS/SECOND; MEAN WIND SPEED 5000FT-10000FT
+  0;   11;    223;      1;           0;   12; METERS/SECOND; 10 METER EXTRAPOLATED WIND SPEED
+  0;   11;    224;      1;           0;   12; METERS/SECOND; 20 METER EXTRAPOLATED WIND SPEED
+  0;   12;      1;      1;           0;   12; DEGREES_KELVIN; TMDB TEMPERATURE/DRY BULB TEMPERATURE
+  0;   12;      2;      1;           0;   12; DEGREES_KELVIN; WET BULB TEMPERATURE
+  0;   12;      3;      1;           0;   12; DEGREES_KELVIN; DEW POINT TEMPERATURE
+  0;   12;      4;      1;           0;   12; DEGREES_KELVIN; DRY BULB TEMPERATURE AT 2 METERS
+  0;   12;      5;      1;           0;   12; DEGREES_KELVIN; WET BULB TEMPERATURE AT 2 METERS
+  0;   12;      6;      1;           0;   12; DEGREES_KELVIN; DEW POINT TEMPERATURE AT 2 METERS
+  0;   12;      7;      1;           0;   12; DEGREES_KELVIN; VIRTUAL TEMPERATURE
+  0;   12;     11;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE
+  0;   12;     12;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE
+  0;   12;     13;      1;           0;   12; DEGREES_KELVIN; GROUND MINIMUM TEMPERATURE PAST 1
+  0;   12;     14;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     15;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     16;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     17;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE AT 2MTRS,PAST
+  0;   12;     20;      2;       -2000;   12;          DEG; K/DAY       RADIATIVE HEATING PROFILE
+  0;   12;     30;      1;           0;   12; DEGREES_KELVIN; SOIL TEMPERATURE
+  0;   12;     40;      3;       -2048;   12; WATTS/METER**2; SENSIBLE HEAT FLUX
+  0;   12;     51;      1;           0;   10; DEGREES_KELVIN; STANDARD DEVIATION TEMPERATURE
+  0;   12;     52;      1;           0;   12; DEGREES_KELVIN; HIGHEST DAILY MEAN TEMPERATURE
+  0;   12;     53;      1;           0;   12; DEGREES_KELVIN; LOWEST DAILY MEAN TEMPERATURE
+  0;   12;     61;      1;           0;   12; DEGREES_KELVIN; SKIN TEMPERATURE
+  0;   12;     62;      1;           0;   12; DEGREES_KELVIN; EQUIVALENT BLACK BODY TEMPERATURE
+  0;   12;     63;      1;           0;   12; DEGREES_KELVIN; BRIGHTNESS TEMPERATURE
+  0;   12;    192;      0;           0;    6;   CODE_TABLE; PRECISION OF AIRCRAFT TEMPERATURE
+  0;   12;    193;      1;           0;   12; DEGREES_KELVIN; TEMPERATURE (CITY)
+  0;   12;    194;      1;           0;   12; DEGREES_KELVIN; MAXIMUM TEMPERATURE (CITY)
+  0;   12;    195;      1;           0;   12; DEGREES_KELVIN; MINIMUM TEMPERATURE (CITY)
+  0;   12;    200;      1;           0;   12; DEGREES_KELVIN; DAYTIME MAX TEMPERATURE
+  0;   12;    201;      1;           0;   12; DEGREES_KELVIN; NIGHTTIME MIN TEMPERATURE (MOS)
+  0;   13;      1;      5;           0;   14;        KG/KG; SPECIFIC HUMIDITY
+  0;   13;      2;      5;           0;   14;        KG/KG; MIXING RATIO
+  0;   13;      3;      0;           0;    7;            %; RELATIVE HUMIDITY
+  0;   13;      4;      1;           0;   10;      PASCALS; VAPOR PRESSURE
+  0;   13;      5;      3;           0;    7;  KG/METER**3; VAPOR DENSITY
+  0;   13;      6;      1;         -40;   16;       METERS; MIXING HEIGHTS
+  0;   13;     11;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION/TOTAL WATER E
+  0;   13;     12;      2;          -2;   12;       METERS; DEPTH OF FRESH SNOW
+  0;   13;     13;      2;          -2;   16;       METERS; TOTAL SNOW DEPTH
+  0;   13;     14;      4;           0;   12; KG/METER**2/SEC; RAINFALL/WATER EQUIV OF SNOW(AVG
+  0;   13;     15;      7;           0;   12; METERS/SECOND; SNOWFALL (AVERAGED RATE)
+  0;   13;     16;      0;           0;    7;  KG/METER**2; PRECIPITABLE WATER
+  0;   13;     19;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 1 HOUR
+  0;   13;     20;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 3 HOURS
+  0;   13;     21;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 6 HOURS
+  0;   13;     22;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 12 HOURS
+  0;   13;     23;      1;          -1;   14;  KG/METER**2; TOTAL PRECIPITATION PAST 24 HOURS
+  0;   13;     31;      0;           0;    7;  KG/METER**2; EVAPOTRANSPIRATION
+  0;   13;     32;      1;           0;    8;  KG/METER**2; EVAP/EVAPOTRANSPIRATION
+  0;   13;     40;      3;       -2048;   12; WATTS/METER**2; LATENT HEAT FLUX
+  0;   13;     41;      0;           0;    4;   CODE_TABLE; PASQUELL-GIFFORD STAB
+  0;   13;     42;      0;         -20;    6; DEGREES_KELVIN; PARCEL LIFTED INDEX (TO 500 HPA)
+  0;   13;     43;      0;         -20;    6; DEGREES_KELVIN; BEST LIFTED INDEX (TO 500 HPA)
+  0;   13;     51;      0;           0;    4;   CODE_TABLE; FREQ GRP, PRECIPITATION
+  0;   13;     52;      1;          -1;   14;          KG/; M**2        HIGHEST DAILY AMT OF PRECIPITATIO
+  0;   13;    192;      0;           0;    6;   CODE_TABLE; PRECIPITABLE WATER QUALITY
+  0;   13;    193;      4;          -1;   14;     KGM/M**2; 24 HR PRECIPITATION (CITY)
+  0;   13;    194;      0;           0;    3;   CODE_TABLE; INDIC INCLUSION/OMISSION OF PRECI
+  0;   14;      1;      3;       -2048;   12; JOULES/METER**2; LONGWAVE RADIATION. INTEGRATED 24
+  0;   14;      2;      3;       -2048;   12; JOULES/METER**2; LONGWAVE RAD. INTEGRATED SPEC.PER
+  0;   14;      3;      3;       -2048;   12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED 24 HOUR
+  0;   14;      4;      3;       -2048;   12; JOULES/METER**2; SHORTWAVE RAD. INTEGRATED SPEC PE
+  0;   14;     11;      3;       -2048;   12; JOULES/METER**2; NET LONGWAVE RAD. INTEG. 24 HOURS
+  0;   14;     12;      3;       -2048;   12; JOULES/METER**2; NET LONGWAVE RAD. INT SPEC PERIOD
+  0;   14;     13;      3;       -2048;   12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG 24 HOURS
+  0;   14;     14;      3;       -2048;   12; JOULES/METER**2; NET SHORTWAVE RAD. INTEG SPEC PER
+  0;   14;     15;      4;      -16384;   15; JOULES/METER**2; NET RAD INTEGRATED OVER 24 HOURS
+  0;   14;     16;      4;      -16384;   15; JOULES/METER**2; NET RADIATION INTEG OVR PD SPECIF
+  0;   14;     17;      3;       -2048;   12; WATTS/METER**2; INSTANTANEOUS LONG WAVE RADIATION
+  0;   14;     18;      3;       -2048;   12; WATTS/METER**2; INSTANTANEOUS SHORT WAVE RADIATIO
+  0;   14;     19;      0;           0;    7;            %; SURFACE ALBEDO
+  0;   14;     20;      4;           0;   15; JOULES/METER**2; GLOBAL SOLAR RAD INTEG OVER  24 H
+  0;   14;     21;      4;           0;   15; JOULES/METER**2; GLOBAL RADIATION INTEG OVER PD SP
+  0;   14;     22;      4;           0;   15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER  24
+  0;   14;     23;      4;           0;   15; JOULES/METER**2; DIFFUSE SOLAR RAD INTEG OVER PD S
+  0;   14;     24;      4;           0;   15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER  24 H
+  0;   14;     25;      4;           0;   15; JOULES/METER**2; DIRECT SOLAR RAD INTEG OVER PD SP
+  0;   14;     31;      0;           0;   11;      MINUTES; TOTAL SUNSHINE
+  0;   14;     32;      0;           0;   10;        HOURS; TOTAL SUNSHINE
+  0;   14;     33;      0;           0;    9;            %; TOTAL SUNSHINE(PERCENTAGE)
+  0;   14;     41;      0;           0;    7;            %; SHORT WAVE ALBEDO
+  0;   14;     42;      0;           0;    7;            %; BI-DIRECTIONAL REFLECTANCE
+  0;   14;    200;      0;           0;    7;            %; PERCENT OF POSSIBLE SUNSHINE
+  0;   15;      1;      0;           0;   10;       DOBSON; UNITS    OZONE
+  0;   15;      2;      2;           0;   10;      NUMERIC; AIR-MASS (SLANT PATH AT 22KM)
+  0;   15;     11;      3;       14000;   12;     LOG/M**2; LOG_E OF INTEGRATED ELECTRON DENS
+  0;   19;      1;      0;           0;    6;   CODE_TABLE; TYPE OF SYNOPTIC FEATURE
+  0;   19;      2;      2;           0;   12;       METERS; EFFECTIVE RADIUS OF FEATURE
+  0;   19;      3;      0;           0;    8; METERS/SECOND; WIND SPEED THRESHOLD
+  0;   19;      4;      2;           0;   12;       METERS; EFF RAD OF FEAT W/RESP TO WINDS A
+  0;   19;      5;      0;           0;    9;          DEG; TRUE        DIRECTION OF MOTION OF FEATURE
+  0;   19;      6;      2;           0;   14; METERS/SECOND; SPEED OF MOTION OF FEATURE
+  0;   19;      7;      3;           0;   12;       METERS; EFFECTIVE RADIUS OF FEATURE
+  0;   19;      8;      0;           0;    3;   CODE_TABLE; VERTICAL EXTENT OF CIRCULATION
+  0;   19;      9;      3;           0;   12;       METERS; EFF. RAD. W/RESPECT TO FFF ABV TH
+  0;   20;      1;      1;           0;   13;       METERS; HORIZONTAL VISIBILITY
+  0;   20;      2;      1;           0;    7;       METERS; VERTICAL VISIBILITY
+  0;   20;      3;      0;           0;    9;   CODE_TABLE; PRESENT WEATHER
+  0;   20;      4;      0;           0;    5;   CODE_TABLE; PAST WEATHER (1)
+  0;   20;      5;      0;           0;    5;   CODE_TABLE; PAST WEATHER (2)
+  0;   20;      9;      1;         -40;   11;       METERS; CEILING
+  0;   20;     10;      0;           0;    7;            %; CLOUD COVER (TOTAL)
+  0;   20;     11;      0;           0;    4;   CODE_TABLE; CLOUD AMOUNT
+  0;   20;     12;      0;           0;    6;   CODE_TABLE; CLOUD TYPE
+  0;   20;     13;      1;         -40;   11;       METERS; HEIGHT OF BASE OF CLOUD
+  0;   20;     14;      1;         -40;   11;       METERS; HEIGHT OF TOP OF CLOUD
+  0;   20;     15;      1;           0;   14;      PASCALS; PRESSURE AT THE BASE OF CLOUD
+  0;   20;     16;      1;           0;   14;      PASCALS; PRESSURE AT THE TOP OF CLOUD
+  0;   20;     17;      0;           0;    4;   CODE_TABLE; CLOUD TOP DESCRIPTION
+  0;   20;     18;      1;          40;   11;       METERS; LOWEST HGT OF CLD TOP
+  0;   20;     19;      1;          40;   11;       METERS; HIGHEST HGT OF CLD TOP
+  0;   20;     20;      0;           0;    4; CODE_TABLE(02001LOW; CLOUD AMOUNT
+  0;   20;     21;      0;           0;    4; CODE_TABLE(02001MIDDLE; CLOUD AMOUNT
+  0;   20;     22;      0;           0;    4; CODE_TABLE(02001HIGH; CLOUD AMOUNT
+  0;   20;     23;      0;           0;    7;            %; SATELLITE SENSED EFF CLOUD AMOUNT
+  0;   20;     31;      2;           0;    7;       METERS; ICE DEPOSIT (THICKNESS)
+  0;   20;     32;      0;           0;    3;   CODE_TABLE; RATE OF ICE ACCRETION
+  0;   20;     33;      0;           0;    4;   FLAG_TABLE; CAUSE OF ICE ACCRETION
+  0;   20;     34;      0;           0;    5;   CODE_TABLE; SEA ICE CONCENTRATION
+  0;   20;     35;      0;           0;    4;   CODE_TABLE; AMOUNT AND TYPE OF ICE
+  0;   20;     36;      0;           0;    5;   CODE_TABLE; ICE SITUATION
+  0;   20;     37;      0;           0;    5;   CODE_TABLE; ICE DEVELOPMENT
+  0;   20;     38;      0;           0;   12; DEGREES_TRUE; BEARING OF ICE EDGE
+  0;   20;     39;      1;           0;   13;       METERS; ICE DISTANCE
+  0;   20;     41;      0;           0;    4;   CODE_TABLE; AIRFRAME ICING
+  0;   20;     51;      0;           0;    7;            %; AMOUNT OF LOW CLOUDS
+  0;   20;     52;      0;           0;    7;            %; AMOUNT OF MIDDLE CLOUDS
+  0;   20;     53;      0;           0;    7;            %; AMOUNT OF HIGH CLOUDS
+  0;   20;     61;      0;           0;   12;       METERS; RUNWAY VISUAL RANGE (RVR)
+  0;   20;     62;      0;           0;    5;   CODE_TABLE; STATE OF GROUND(W /WO SNOW)
+  0;   20;     63;      0;           0;   10;   CODE_TABLE; SPECIAL PHENOMENA
+  0;   20;    192;      0;           0;    7;   CODE_TABLE; VISIBILITY TOWARDS SEA(WMO TABLE
+  0;   20;    200;      0;           0;    7;            %; MEAN CLD COVER (OPAQUE) PAST 12 H
+  0;   21;      1;      0;         -64;    7;           DB; HORIZONTAL REFLECTIVITY
+  0;   21;      2;      0;         -64;    7;           DB; VERTICAL REFLECTIVITY
+  0;   21;      3;      1;          -5;    7;           DB; DIFFERENTIAL REFLECTIVITY
+  0;   21;      5;      0;         -65;    6;           DB; LINEAR DEPOLARIZATION RATIO
+  0;   21;      6;      0;         -65;    6;           DB; CIRCULAR DEPOLARIZATION RATIO
+  0;   21;     11;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN X DIRECT
+  0;   21;     12;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Y DIRECT
+  0;   21;     13;      0;        -128;    8; METERS/SECOND; DOPPLER MEAN VELOCITY IN Z DIRECT
+  0;   21;     14;      1;       -4096;   13; METERS/SECOND; DOPPLER MEAN VELOCITY (RADIAL)
+  0;   21;     17;      1;           0;    8; METERS/SECOND; DOPPLER VELOCITY SPECTRAL WIDTH
+  0;   21;     21;      3;           0;    4;       METERS; ECHO TOPS
+  0;   21;     30;      0;         -32;    8;           DB; SIGNAL TO NOISE RATIO
+  0;   21;     31;      0;           0;    7; KILOGRAMS/METER*VERT.; INTEGRATED LIQ. WATER CONTE
+  0;   21;     36;      7;           0;   12; METERS/SECOND; RADAR RAINFALL INTENSITY
+  0;   21;     41;      2;           0;    8;       METERS; BRIGHT BAND HEIGHT
+  0;   21;     51;      0;        -256;    8;           DB; SIGNAL POWER ABOVE 1MW
+  0;   21;     62;      2;       -5000;   13;     DECIBELS; BACKSCATTER
+  0;   21;     63;      0;           0;    7;            %; NOISE FIGURE
+  0;   21;     64;      0;           0;   10;      NUMERIC; CLUTTER NOISE ESTIMATE
+  0;   21;     65;      0;        -127;    8;      NUMERIC; MISSING PACKET COUNTER
+  0;   21;     66;      0;           0;   12;   FLAG_TABLE; WAVE SCATTEROMETER PRODUCT CONFID
+  0;   21;     67;      0;           0;   12;   FLAG_TABLE; WIND SCATTEROMETER PRODUCT CONFID
+  0;   21;     68;      0;           0;    8;   FLAG_TABLE; RADAR ALTIMETER PRODUCT CONFIDENC
+  0;   21;     69;      0;           0;    7;   FLAG_TABLE; ATSR SEA SFC TEMP QUAL ANALYSIS T
+  0;   21;     70;      0;           0;   15;   FLAG_TABLE; REPROCESSED WIND SCATTEROMETER PR
+  0;   21;     71;      0;           0;   16;      NUMERIC; PEAKINESS
+  0;   21;     72;      0;           0;    4;   FLAG_TABLE; SATELLITE ALTIMETER CALIBRATION S
+  0;   21;     73;      0;           0;    9;   FLAG_TABLE; SATELLITE ALTIMETER INSTRUMENT MO
+  0;   21;     74;      2;        -512;   10; DEGREES_KELVIN; MULTI/SINGLE VIEW DIFFERENCE
+  0;   21;     75;      0;           0;    8;      NUMERIC; SPECTRAL INTENSITY
+  0;   21;     76;      0;           0;    3;   CODE_TABLE; REPRESENTATION OF INTENSITIES
+  0;   21;     77;      3;           0;   14;       METERS; ALTITUDE CORRECTION (IONOSPHERE)
+  0;   21;     78;      3;           0;    9;       METERS; ALTITUDE CORRECTION (DRY TROPOSPH
+  0;   21;     79;      3;        2000;   10;       METERS; ALTITUDE CORRECTION (WET TROPOSPH
+  0;   21;     80;      3;           0;   11;       METERS; ALTITUDE CORRECTION (CALIB. CONST
+  0;   21;     81;      3;           0;   10;       METERS; OPEN LOOP CORRECTION (HGT-TIME LO
+  0;   21;     82;      3;       -3000;   14;     DECIBELS; OPEN LOOP CORRECTION (AUTO GAIN C
+  0;   21;     83;      0;           0;    7;            %; AMBIGUITY REMOVAL CONFIDENCE
+  0;   21;     84;      0;           0;    3;   CODE_TABLE; ATSR SEA SFC TEMP QUALITY SUMMARY
+  0;   21;     85;      0;           0;    4;      NUMERIC; ATSR SEA SFC TEMP ACROSS TRACK BA
+  0;   21;    192;      0;           0;    7;           DB; SPECTRAL PEAK POWER 0TH MOMENT
+  0;   21;    193;      1;       -4096;   13; METERS/SECOND; SPECTRAL PEAK POWER 1ST MOMENT
+  0;   21;    194;      1;           0;    8; METERS/SECOND; SPECTRAL PEAK POWER 2ND MOMENT
+  0;   22;      1;      0;           0;    9; DEGREES_TRUE; DIRECTION OF WAVES
+  0;   22;      2;      0;           0;    9; DEGREES_TRUE; DIRECTION OF WIND WAVES
+  0;   22;      3;      0;           0;    9; DEGREES_TRUE; DIRECTION OF SWELL WAVES
+  0;   22;      4;      0;           0;    9; DEGREES_TRUE; DIRECTION OF CURRENT WAVES
+  0;   22;     11;      0;           0;    6;      SECONDS; PERIOD OF WAVES
+  0;   22;     12;      0;           0;    6;      SECONDS; PERIOD OF WIND WAVES
+  0;   22;     13;      0;           0;    6;      SECONDS; PERIOD OF SWELL WAVES
+  0;   22;     21;      1;           0;   10;       METERS; HEIGHT OF WAVES
+  0;   22;     22;      1;           0;   10;       METERS; HEIGHT OF WIND WAVES
+  0;   22;     23;      1;           0;   10;       METERS; HEIGHT OF SWELL WAVES
+  0;   22;     25;      2;           0;   10;       METERS; STANDARD DEVIATION WAVE
+  0;   22;     26;      2;           0;   10;       METERS; STANDARD DEVIATION SIG WAVE HEIGH
+  0;   22;     31;      2;           0;   13; METERS/SECOND; SPEED OF CURRENT
+  0;   22;     37;      3;      -10000;   15;       METERS; TIDAL ELEV WITH RESPECT TO LAND D
+  0;   22;     38;      3;      -10000;   15;       METERS; TIDAL ELEV WITH RESPECT TO CHART
+  0;   22;     39;      3;       -5000;   12;       METERS; MET RESIDUAL TIDAL ELEV (SURGE OR
+  0;   22;     41;      1;           0;   12; DEGREES_KELVIN; SEA SFC TEM (15 DAY RUNNING MEAN)
+  0;   22;     42;      1;           0;   12; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;     43;      2;           0;   15; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;     44;      1;           0;   14; METERS/SECOND; SOUND VELOCITY
+  0;   22;     50;      2;           0;    8;            K; STD DEV SEA-SURFACE TEMPERATURE
+  0;   22;     61;      0;           0;    4;   CODE_TABLE; STATE OF SEA
+  0;   22;     62;      2;           0;   12;   PARTS/1000; SALINITY
+  0;   22;     63;      0;           0;   14;       METERS; TOTAL WATER DEPTH
+  0;   22;    105;      1;           0;    6; DEGREES_TRUE; DIRECTION OF WAVES
+  0;   22;    143;      2;        2650;   13; DEGREES_KELVIN; SEA TEMPERATURE
+  0;   22;    192;      0;           0;    4;   CODE_TABLE; TIDE INDICATOR
+  0;   22;    193;      1;           0;   10;       METERS; ABS VALUE DEPT OF TIDE FROM PRED
+  0;   22;    194;      3;        -305;   12;       METERS; DEPT OF TIDE FROM MEAN LOWER LOW
+  0;   23;      1;      0;           0;    3;   CODE_TABLE; ACCIDENT EARLY NOTIFICATION ART.A
+  0;   23;      2;      0;           0;    5;   CODE_TABLE; ACTIVITY OR FACILITY INVOLVED IN
+  0;   23;      3;      0;           0;    3;   CODE_TABLE; TYPE OF RELEASE
+  0;   23;      4;      0;           0;    3;   CODE_TABLE; COUNTERMEASURES TAKEN NR BORDER
+  0;   23;      5;      0;           0;    2;   CODE_TABLE; CAUSE  OF INCIDENT
+  0;   23;      6;      0;           0;    3;   CODE_TABLE; INCIDENT SITUATION
+  0;   23;      7;      0;           0;    3;   CODE_TABLE; CHARACTERISTIC OF RELEASE
+  0;   23;      8;      0;           0;    2;   CODE_TABLE; STATE OF CURRENT RELEASE
+  0;   23;      9;      0;           0;    2;   CODE_TABLE; STATE OF EXPECTED RELEASE
+  0;   23;     16;      0;           0;    2;   CODE_TABLE; POSS. OF SIG CHEM.TOXIC HEALTH EF
+  0;   23;     17;      6;           0;   20; METER**3/SECOND; FLOW DISCHARGE OF MAJ. RECIPIENT
+  0;   23;     18;      0;           0;    3;   CODE_TABLE; RELEASE BEHAVIOR OVER TIME
+  0;   23;     19;      0;      -15000;   17;       METERS; ACTUAL RELEASE HEIGHT
+  0;   23;     21;      0;      -15000;   17;       METERS; EFFECTIVE RELEASE HEIGHT
+  0;   23;     22;      0;           0;   24;       METERS; DIST. OF REL PT OR SITE OF INCIDE
+  0;   23;     23;      1;           0;   12; METERS/SECOND; MAIN TRANSPORT SPEED IN ATMOSPHER
+  0;   23;     24;      2;           0;   13; METERS/SECOND; MAIN TRANSPORT SPEED IN WATER
+  0;   23;     25;      2;           0;   13; METERS/SECOND; MAIN TRANSPORT SPEED IN GROUND WA
+  0;   23;     27;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN ATMOSPHERE
+  0;   23;     28;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN WATER
+  0;   23;     29;      0;           0;    9; DEGREES_TRUE; MAIN TRANSPORT DIR IN GROUND WATE
+  0;   23;     31;      0;           0;    2;   CODE_TABLE; POSS PLUME/PRECIP ENCOUNTER
+  0;   23;     32;      0;           0;    2;   CODE_TABLE; PLUME ENCOUNTER DIR/SPD CHANGE
+  0;   24;      1;      1;           0;   28;           BQ; EST. OF RADIOACTIVITY REL.TO SPEC
+  0;   24;      2;      1;           0;   28;           BQ; EST MAXIMUM POTENTIAL RELEASE
+  0;   24;      3;      0;           0;    5;   CODE_TABLE; COMPOSITION OF RELEASE
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; ELEMENT NAME
+  0;   24;      5;      0;           0;    9;      NUMERIC; ISOTOPE MASS
+  0;   24;     11;      2;           0;   32;          MSV; DOSE
+  0;   24;     12;      2;           0;   32;          MSV; TRAJ DOSE(DEF LOC & EXP TIME OF A
+  0;   24;     13;      2;           0;   32;          MSV; GAMMA DOSE IN AIR ALG MAIN TRAN P
+  0;   24;     21;      2;           0;   32;  BQ/METER**3; AIR CONC.(NAMED ISOTOPE INC GROSS
+  0;   24;     22;      2;           0;   32;         BQ/L; CONC IN PRECIP(OF NAMED ISOTOPE T
+  0;   25;      1;      1;           0;    6;       METERS; RANGE GATE LENGTH
+  0;   25;      2;      0;           0;    4;      NUMERIC; NR OF GATES AVERAGED
+  0;   25;      3;      0;           0;    8;      NUMERIC; NR. OF INTEGRATED PULSES
+  0;   25;      4;      0;           0;    2;   CODE_TABLE; ECHO PROCESSING
+  0;   25;      5;      0;           0;    2;   CODE_TABLE; ECHO INTEGRATION
+  0;   25;      6;      0;           0;    3;   CODE_TABLE; Z TO R CONVERSION
+  0;   25;      7;      0;           0;   12;      NUMERIC; Z TO R CONVERSION FACTOR
+  0;   25;      8;      2;           0;    9;      NUMERIC; Z TO R CONVERSION EXPONENT
+  0;   25;      9;      0;           0;    4;   FLAG_TABLE; CALIBRATION METHOD
+  0;   25;     10;      0;           0;    4;   CODE_TABLE; CLUTTER TREATMENT
+  0;   25;     11;      0;           0;    2;   CODE_TABLE; GND. OCCULTATION CORR. (SCREENING
+  0;   25;     12;      0;           0;    2;   CODE_TABLE; RANGE ATTENUATION CORRECTION
+  0;   25;     13;      0;           0;    2;   FLAG_TABLE; BRIGHT BAND CORRECTION
+  0;   25;     15;      0;           0;    2;   FLAG_TABLE; RADOME ATTENUATION CORRECTION
+  0;   25;     16;      5;           0;    6;     DB/METER; CLEAR AIR ATTENUATION CORRECTION
+  0;   25;     17;      0;           0;    2;   FLAG_TABLE; PRECIPITATION ATTENUATION CORRECT
+  0;   25;     18;      7;           0;    6;      NUMERIC; A TO Z LAW FOR ATTENUATION FACTOR
+  0;   25;     19;      2;           0;    7;      NUMERIC; A TO Z LAW FOR ATTENUATION EXPONE
+  0;   25;     20;      0;           0;    2;   CODE_TABLE; MEAN SPEED ESTIMATION
+  0;   25;     21;      0;           0;    8;   FLAG_TABLE; WIND COMPUTATION ENHANCEMENT
+  0;   25;     30;      0;           0;    2;   CODE_TABLE; SST USAGE
+  0;   25;     31;      0;           0;    2;   CODE_TABLE; 15 DAY SST AVAILABILITY
+  0;   25;     32;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE
+  0;   25;     33;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER SUBMODE
+  0;   25;     34;      0;           0;    4;   CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL
+  0;   25;     35;      0;           0;    3;   CODE_TABLE; FIRST GUESS ADJUSTMENT
+  0;   25;     36;      3;       -5000;   14;      NUMERIC; NSTAR AVERAGE VALUE
+  0;   25;     37;      0;           0;    2;   CODE_TABLE; HIRS-8 SFC AIR TEMP
+  0;   25;     38;      0;           0;    3;   CODE_TABLE; TOVS FILTER FLAGS
+  0;   25;    202;      0;           0;    4;   FLAG_TABLE; TEMPERATURE CHANNEL SELECTION FLA
+  0;   25;    204;      0;           0;    8;   FLAG_TABLE; MATCHUP QUALITY TEST FLAGS
+  0;   25;    205;      0;           0;    8;   FLAG_TABLE; RETRIEVAL/DPI QUALITY TEST FLAGS
+  0;   25;    209;      3;           0;   12; DECIMAL_HOURS; DPI TIME DIFFERENCE (READ AS MINU
+  0;   25;    210;      3;           0;   19;       METERS; DPI DISTANCE
+  0;   25;    211;      3;           0;   12; DECIMAL_HOURS; QUANTITATIVE RETRIEVAL TIME DIFFE
+  0;   25;    212;      3;           0;   19;       METERS; QUANTITATIVE RETRIEVAL DISTANCE
+  0;   26;      1;      1;           0;   12;         HOUR; PCPL TIME OF DAILY RDG IN UTC MAX
+  0;   26;      2;      1;           0;   12;         HOUR; PCPL TIME OF DAILY RDG IN UTC MIN
+  0;   26;     31;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR NORTH
+  0;   26;     32;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR NORTH
+  0;   26;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR NORTH
+  0;   27;      1;      5;    -9000000;   25;      DEGREES; LATITUDE (HIGH ACCURACY)
+  0;   27;      2;      2;       -9000;   15;      DEGREES; LATITUDE (COARSE ACCURACY)
+  0;   27;      3;      2;       -9000;   15;      DEGREES; ALTERNATE LATITUDE
+  0;   27;     20;      0;           0;   16;      NUMERIC; SATELLITE LOCATION COUNTER
+  0;   27;     21;      0;           0;   16;      NUMERIC; SATELLITE SUB-LOCATION DIMENSIONS
+  0;   27;     31;      2;  -107341824;   31;       METERS; DIST FM EARTH CENTER IN DIR 0 DEG
+  0;   27;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR N DIR 0 DEG
+  0;   28;      1;      5;   -18000000;   26;      DEGREES; LONGITUDE (HIGH ACCURACY)
+  0;   28;      2;      2;      -18000;   16;      DEGREES; LONGITUDE (COARSE ACCURACY)
+  0;   28;      3;      2;      -18000;   16;      DEGREES; ALTERNATE LONGITUDE
+  0;   28;     31;      2;  -107341824;   31;       METERS; DIST FMEARTH CENTER IN DIR 90 DEG
+  0;   28;     41;      5;  -107341824;   31; METERS/SECOND; VEL W/RESP EARTH CTR IN DIR 90 DE
+  0;   29;      1;      0;           0;    3;   CODE_TABLE; PROJECTION TYPE
+  0;   29;      2;      0;           0;    3;   CODE_TABLE; COORDINATE GRID TYPE
+  0;   30;      1;      0;           0;    4;      NUMERIC; PIXEL VALUE (4 BITS)
+  0;   30;     21;      0;           0;   12;      NUMERIC; NUMBER OF PIXELS PER ROW
+  0;   30;     22;      0;           0;   12;      NUMERIC; NUMBER OF PIXELS PER COLUMN
+  0;   30;     31;      0;           0;    4;   CODE_TABLE; PICTURE TYPE
+  0;   30;     32;      0;           0;   16;   FLAG_TABLE; COMBINED PICTURE
+  0;   31;      0;      0;           0;    1;   FLAG_TABLE; DELAYED REPLICATION SWITCH
+  0;   31;      1;      0;           0;    8;      NUMERIC; DELAYED DESCRIPTOR REPLICATION FA
+  0;   31;      2;      0;           0;   16;      NUMERIC; EXT DELAYED DESCRIPTOR REPLICAT.
+  0;   31;     11;      0;           0;    8;      NUMERIC; DELAYED DESC. & DATA REPITIT. FAC
+  0;   31;     12;      0;           0;   16;      NUMERIC; EXT DELAYED DESC. & DATA REPITIT.
+  0;   31;     21;      0;           0;    6;   CODE_TABLE; ASSOCIATED FIELD SIGNIFICANCE
+  0;   31;     31;      0;           0;    1;   FLAG_TABLE; DATA PRESENT INDICATOR
+  0;   31;    192;      0;           0;    9;   CODE_TABLE; NOAA WIND PROFILER HIGH/LOW MODE
+  0;   31;    193;      0;           0;    2;   CODE_TABLE; NOAA WIND PROFILER SUBMODE
+  0;   31;    194;      0;           0;    4;   CODE_TABLE; NOAA WIND PROFILER Q/C TEST RESUL
+  0;   33;      2;      0;           0;    2;   CODE_TABLE; QUALITY INFORMATION
+  0;   33;      3;      0;           0;    3;   CODE_TABLE; QUALITY INFORMATION
+  0;   33;      4;      0;           0;    7;            %; % CONFIDENCE
+  0;   33;    216;      0;           0;    4;   CODE_TABLE; SWQM SATELLITE WIND QUALITY MARK
+  0;   50;      1;      0;           0;   17;      NUMERIC; REPORT SEQUENCE NUMBER
+  0;   50;     20;      0;           0;    4;   CODE_TABLE; DATA QUALITY INDICATOR
+  0;   55;      6;      0;           0;   10;   CODE_TABLE; NMC REPORT TYPE
+  0;   58;      1;      0;           0;   48;    CCITT_IA5; BULLETIN HEADING
+  0;   58;      2;      0;           0;   80;    CCITT_IA5; AIRCRAFT TYPE
+  0;   58;      3;      0;        -400;   17;          GPM; ICING BASE
+  0;   58;      4;      0;        -400;   17;          GPM; ICING TOP
+  0;   58;      5;      0;           0;  224;    CCITT_IA5; COMPLETE BULLETIN HEADER
+  0;   58;      6;      0;           0;   64;    CCITT_IA5; BULTIM BULLETIN HEADER DATE/TIME DATA
+  0;   58;      7;      0;           0;   24;    CCITT_IA5; BBB WMO BBB INDICATOR
+  0;   60;      1;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      2;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      3;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .01 INCH PAS
+  0;   60;      4;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      5;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      6;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .10 INCH PAS
+  0;   60;      7;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;      8;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;      9;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .25 INCH PAS
+  0;   60;     10;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     11;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     12;      0;           0;    7;            %; PROB. OF LIQ PCPN GE .50 INCH PAS
+  0;   60;     13;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     14;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     15;      0;           0;    7;            %; PROB. OF LIQ PCP GE 1.00 INCH PAS
+  0;   60;     16;      0;           0;    7;            %; PROB. OF LIQ PCP GE 2.00 INCH PAS
+  0;   60;     17;      0;           0;    7;            %; PROB. OF LIQ PCP GE 2.00 INCH PAS
+  0;   60;     18;      0;           0;    7;            %; REL FRQ GE .01 LQ EQV PCP PAST 12
+  0;   60;     19;      0;           0;    7;            %; REL FRQ GE .01 LQ EQV PCP PAST 24
+  0;   60;     20;      0;           0;    7;            %; COND PROB PCP TYPE FREEZING
+  0;   60;     21;      0;           0;    7;            %; COND PROB PCP TYPE SNOW
+  0;   60;     22;      0;           0;    7;            %; COND PROB PCP TYPE LIQUID
+  0;   60;     23;      0;           0;    7;            %; COND PROB PCP TYPE DRIZZLE
+  0;   60;     24;      0;           0;    7;            %; COND PROB PCP TYPE CONTINUOUS
+  0;   60;     25;      0;           0;    7;            %; COND PROB PCP TYPE SHOWERS
+  0;   60;     26;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 6HRS
+  0;   60;     27;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 12HRS
+  0;   60;     28;      0;           0;    7;            %; PROB SNOW AMT GE TRACE PAST 24HRS
+  0;   60;     29;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 6HRS
+  0;   60;     30;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 12HRS
+  0;   60;     31;      0;           0;    7;            %; PROB SNOW AMT GE 2.0IN PAST 24HRS
+  0;   60;     32;      0;           0;    7;            %; PROB SNOW AMT GE 4.0IN PAST 12HRS
+  0;   60;     33;      0;           0;    7;            %; PROB SNOW AMT GE 4.0IN PAST 24HRS
+  0;   60;     34;      0;           0;    7;            %; PROB SNOW AMT GE 6.0IN PAST 12HRS
+  0;   60;     35;      0;           0;    7;            %; PROB SNOW AMT GE 6.0IN PAST 24HRS
+  0;   60;     36;      0;           0;    7;            %; COND PROB SNOW PAST 12 HRS
+  0;   60;     37;      0;           0;    7;            %; COND REL FRQ PROB SNOW PAST 12 HR
+  0;   60;     38;      0;           0;    7;            %; PROB OPAQUE SKY COVER  CLEAR
+  0;   60;     39;      0;           0;    7;            %; PROB OPAQUE SKY COVER  SCATTERED
+  0;   60;     40;      0;           0;    7;            %; PROB OPAQUE SKY COVER  BROKEN
+  0;   60;     41;      0;           0;    7;            %; PROB OPAQUE SKY COVER  OVERCAST
+  0;   60;     42;      0;           0;    7;            %; PROB CIG HGT < 200 FT
+  0;   60;     43;      0;           0;    7;            %; PROB CIG HGT 200-400 FT
+  0;   60;     44;      0;           0;    7;            %; PROB CIG HGT 500-900 FT
+  0;   60;     45;      0;           0;    7;            %; PROB CIG HGT 1000-3000 FT
+  0;   60;     46;      0;           0;    7;            %; PROB CIG HGT 3100-6500 FT
+  0;   60;     47;      0;           0;    7;            %; PROB CIG HGT 6600-12000 FT
+  0;   60;     48;      0;           0;    7;            %; PROB CIG HGT GT 12000 FT
+  0;   60;     49;      0;           0;    7;            %; PROB VSBY < 0/2 MILES
+  0;   60;     50;      0;           0;    7;            %; PROB VSBY < 0/2 - 7/8 MILES
+  0;   60;     51;      0;           0;    7;            %; PROB VSBY < 0 - 2 3/4 MILES
+  0;   60;     52;      0;           0;    7;            %; PROB VSBY < 3 - 5 MILES
+  0;   60;     53;      0;           0;    7;            %; PROB VSBY > 5   MILES
+  0;   60;     54;      0;           0;    7;            %; PROB OBS TO VISION  BLOWING PHENO
+  0;   60;     55;      0;           0;    7;            %; PROB OBS TO VISION  HAZE
+  0;   60;     56;      0;           0;    7;            %; PROB OBS TO VISION  FOG
+  0;   60;     57;      0;           0;    7;            %; PROB OBS TO VISION  NONE
+  0;   60;     58;      0;           0;    7;            %; PROB TSTM PAST 6 HRS
+  0;   60;     59;      0;           0;    7;            %; PROB TSTM PAST 12HRS
+  0;   60;     60;      0;           0;    7;            %; PROB TSTM PAST 24HRS
+  0;   60;     61;      0;           0;    7;            %; PROB SVR WX PAST 6 HRS
+  0;   60;     62;      0;           0;    7;            %; PROB SVR WX PAST 12HRS
+  0;   60;     63;      0;           0;    7;            %; PROB SVR WX PAST 24HRS
+  0;   60;     64;      0;           0;    7;            %; CLIM AVG CLD COVER (OPAQUE)
+  0;   60;     65;      1;           0;   12; METERS/SECOND; CLIMATIC WIND SPEED
+  0;   60;     66;      1;           0;   12; DEGREES_KELVIN; CLIMATIC(NORMAL) DAY MAX TEMP
+  0;   60;     67;      1;           0;   12; DEGREES_KELVIN; CLIMATIC(NORMAL) NIGHT MIN TEMP
+  0;   60;     90;      0;           0;    4;   CODE_TABLE; QUANT PCP FCST (CATEGORIES)
+  0;   60;     91;      0;           0;    3;   CODE_TABLE; COND PCP TYPE FCST (CATS)
+  0;   60;     92;      0;           0;    3;   CODE_TABLE; COND PCP CHARACTER FCST (CATS)
+  0;   60;     93;      0;           0;    3;   CODE_TABLE; QUANT SNOW AMT FCST (CATS)
+  0;   60;     94;      0;           0;    4;   CODE_TABLE; CIG HEIGHT FCST (CATS)
+  0;   60;     95;      0;           0;    3;   CODE_TABLE; VISIBILITY FCST (CATS)
+  0;   60;     96;      0;           0;    3;   CODE_TABLE; OBSTRUCT TO VISION FCST (CATS)
+  0;   60;     97;      0;           0;    2;   CODE_TABLE; THUNDERSTORM FCST (CATS)
+  0;   60;     98;      0;           0;    2;   CODE_TABLE; SEVERE WEATHER FCST (CATS)
+  0;   63;      0;      0;           0;   16;        BYTES; BIT COUNT
+  0;   63;    255;      0;           0;    1;      NUMERIC; FILL BIT
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-005-B.new
@@ -0,0 +1,609 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;  0;   1;    0;           0;   24;   CCITT_IA5; Table A: entry
+  0;  0;   2;    0;           0;  256;   CCITT_IA5; Table A: data category description, line 1
+  0;  0;   3;    0;           0;  256;   CCITT_IA5; Table A: data category description, line 2
+  0;  0;   5;    0;           0;   24;   CCITT_IA5; BUFR edition number
+  0;  0;  10;    0;           0;    8;   CCITT_IA5; F descriptor to be added or defined
+  0;  0;  11;    0;           0;   16;   CCITT_IA5; X descriptor to be added or defined
+  0;  0;  12;    0;           0;   24;   CCITT_IA5; Y descriptor to be added or defined
+  0;  0;  13;    0;           0;  256;   CCITT_IA5; Element name, line 1
+  0;  0;  14;    0;           0;  256;   CCITT_IA5; Element name, line 2
+  0;  0;  15;    0;           0;  192;   CCITT_IA5; Units name
+  0;  0;  16;    0;           0;    8;   CCITT_IA5; Units scale sign
+  0;  0;  17;    0;           0;   24;   CCITT_IA5; Units scale
+  0;  0;  18;    0;           0;    8;   CCITT_IA5; Units reference sign
+  0;  0;  19;    0;           0;   80;   CCITT_IA5; Units reference value
+  0;  0;  20;    0;           0;   24;   CCITT_IA5; Element data width
+  0;  0;  30;    0;           0;   48;   CCITT_IA5; Descriptor defining sequence
+  0;  1;   1;    0;           0;    7;     Numeric; WMO block number
+  0;  1;   2;    0;           0;   10;     Numeric; WMO station number
+  0;  1;   3;    0;           0;    3;     Numeric; WMO region number
+  0;  1;   4;    0;           0;    3;     Numeric; WMO region sub-area
+  0;  1;   5;    0;           0;   17;     Numeric; Buoy/platform identifier
+  0;  1;   6;    0;           0;   64;   CCITT_IA5; Aircraft identifier (flight number)
+  0;  1;   7;    0;           0;   10;  Code_Table; Satellite identifier
+  0;  1;   8;    0;           0;   64;   CCITT_IA5; Aircraft registration number (tail number)
+  0;  1;   9;    0;           0;   64;   CCITT_IA5; Type of commerical aircraft
+  0;  1;  10;    0;           0;   64;   CCITT_IA5; Stationary buoy platform identifier
+  0;  1;  11;    0;           0;   72;   CCITT_IA5; Ship or mobile land station identifier
+  0;  1;  12;    0;           0;    9;    deg_true; Direction of motion of moving observing platform
+  0;  1;  13;    0;           0;   10;         m/s; Speed of motion of moving observing platform
+  0;  1;  14;    2;           0;   10;         m/s; Platform drift speed (high precision)
+  0;  1;  15;    0;           0;  160;   CCITT_IA5; Station or site name
+  0;  1;  20;    0;           0;    4;     Numeric; WMO Region sub-area
+  0;  1;  21;    0;           0;   14;     Numeric; Synoptic feature identifier
+  0;  1;  22;    0;           0;  224;   CCITT_IA5; Name of feature
+  0;  1;  25;    0;           0;   24;   CCITT_IA5; Storm identifier
+  0;  1;  26;    0;           0;   64;   CCITT_IA5; WMO storm name
+  0;  1;  31;    0;           0;   16;  Code_Table; Identification of originating/generating center
+  0;  1;  32;    0;           0;    8;  Code_Table; Generating application
+  0;  1;  33;    0;           0;    8;  Code_Table; Identification of originating/generating center
+  0;  1;  34;    0;           0;    8;  Code_Table; Identification of originating/generating sub-center
+  0;  1;  41;    5; -1073741824;   31;         m/s; Absolute platform velocity - first component
+  0;  1;  42;    5; -1073741824;   31;         m/s; Absolute platform velocity - second component
+  0;  1;  43;    5; -1073741824;   31;         m/s; Absolute platform velocity - third component
+  0;  1;  60;    0;           0;   64;   CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;  1;  63;    0;           0;   64;   CCITT_IA5; ICAO location indicator
+  0;  1;  64;    0;           0;   32;   CCITT_IA5; Runway designator
+  0;  1;  75;    0;           0;   40;   CCITT_IA5; Ride station identification
+  0;  2;   1;    0;           0;    2;  Code_Table; Type of station
+  0;  2;   2;    0;           0;    4;  Flag_Table; Type of instrumentation for wind measurement
+  0;  2;   3;    0;           0;    4;  Code_Table; Type of measuring instrumentation used
+  0;  2;   4;    0;           0;    4;  Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;  2;   5;    2;           0;    7;         deg; Precision of temperature observed
+  0;  2;  11;    0;           0;    8;  Code_Table; Radiosonde type
+  0;  2;  12;    0;           0;    4;  Code_Table; Radiosonde computational method
+  0;  2;  13;    0;           0;    4;  Code_Table; Solar and infrared radiation correction
+  0;  2;  14;    0;           0;    7;  Code_Table; Tracking technique/status of system
+  0;  2;  15;    0;           0;    4;  Code_Table; Radiosonde completeness
+  0;  2;  21;    0;           0;    9;  Flag_Table; Satellite instrumentation data used in processing
+  0;  2;  22;    0;           0;    8;  Flag_Table; Satellite data processing technique used
+  0;  2;  23;    0;           0;    4;  Code_Table; Satellite derived wind computation method
+  0;  2;  24;    0;           0;    4;  Code_Table; Integrated mean humidity computational method
+  0;  2;  25;    0;           0;   25;  Flag_Table; Satellite channel(s) used in computation
+  0;  2;  26;    2;           0;   12;           m; Cross track resolution
+  0;  2;  27;    2;           0;   12;           m; Along track resolution
+  0;  2;  30;    0;           0;    3;  Code_Table; Method of current measurement
+  0;  2;  31;    0;           0;    5;  Code_Table; Duration and time of current measurement
+  0;  2;  32;    0;           0;    2;  Code_Table; Indicator for digitization
+  0;  2;  33;    0;           0;    3;  Code_Table; Method of salinity/depth measurement
+  0;  2;  34;    0;           0;    5;  Code_Table; Drogue type
+  0;  2;  35;    0;           0;    9;           m; Cable length
+  0;  2;  36;    0;           0;    2;  Code_Table; Buoy type
+  0;  2;  37;    0;           0;    3;  Code_Table; Method of tidal observation
+  0;  2;  38;    0;           0;    4;  Code_Table; Method of sea-surface temperature measurement
+  0;  2;  39;    0;           0;    3;  Code_Table; Method of wet-buld temperature measurement
+  0;  2;  40;    0;           0;    4;  Code_Table; Method of removing velocity and motion of platform from current
+  0;  2;  41;    0;           0;    6;  Code_Table; Method for estimating reports related to synoptic features
+  0;  2;  42;    0;           0;    6;  Code_Table; Method of report construction
+  0;  2;  43;    0;           0;    6;  Code_Table; Precision of latitude/longitude report
+  0;  2;  44;    0;           0;    4;  Code_Table; Inicator for method of calculating spectral wave data
+  0;  2;  45;    0;           0;    4;  Code_Table; Indicator for type of platform
+  0;  2;  46;    0;           0;    4;  Code_Table; Wave measurement instrumentation
+  0;  2;  48;    0;           0;    4;  Code_Table; Satellite sensor indicator
+  0;  2;  49;    0;           0;    8;  Flag_Table; Geostationary satellite data-processing technique used
+  0;  2;  50;    0;           0;   20;  Flag_Table; Geostationary sounder satellite channels used
+  0;  2;  51;    0;           0;    4;  Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;  2;  52;    0;           0;    6;  Flag_Table; Geostationary imager satellite channels used
+  0;  2;  53;    0;           0;    4;  Code_Table; GOES-I/M  brightness temperature characteristics
+  0;  2;  54;    0;           0;    4;  Code_Table; GOES-I/M  soundings parameter characteristics
+  0;  2;  55;    0;           0;    4;  Code_Table; Geostationary soundings statistical parameters
+  0;  2;  56;    0;           0;    4;  Code_Table; Geostationary soundings accuracy statistics
+  0;  2;  57;    0;           0;    4;  Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;  2;  58;    0;           0;    4;  Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;  2;  59;    0;           0;    4;  Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;  2;  60;    0;           0;    4;  Code_Table; Origin of surface information for GOES-I/M soundings
+  0;  2;  61;    0;           0;    3;  Code_Table; Aircraft navigation system
+  0;  2;  62;    0;           0;    4;  Code_Table; Type of aircraft data relay system
+  0;  2;  63;    2;      -18000;   16;         deg; Aircraft roll angle
+  0;  2;  64;    0;           0;    2;  Code_Table; Aircraft roll angle quality
+  0;  2;  65;    0;           0;   40;   CCITT_IA5; ACARS ground receiving station
+  0;  2;  70;    0;           0;    4;  Code_Table; Original specification of latitude/longitude
+  0;  2; 100;    1;           0;   12;          dB; Radar constant
+  0;  2; 101;    0;           0;    4;  Code_Table; Type of antenna
+  0;  2; 102;    0;           0;    8;           m; Antenna height above tower
+  0;  2; 103;    0;           0;    2;  Flag_Table; Radome
+  0;  2; 104;    0;           0;    4;  Code_Table; Antenna polarisation
+  0;  2; 105;    0;           0;    6;          dB; Maximum antenna gain
+  0;  2; 106;    1;           0;    6;         deg; 3-dB bandwidth
+  0;  2; 107;    0;           0;    6;          dB; Sidelobe suppression
+  0;  2; 108;    0;           0;    6;          dB; Crosspol discrimination (on axis)
+  0;  2; 109;    2;           0;   12;       deg/s; Antenna speed (azimuth)
+  0;  2; 110;    2;           0;   12;       deg/s; Antenna speed (elevation)
+  0;  2; 111;    1;           0;   10;         deg; Radar incidence angle
+  0;  2; 112;    1;           0;   12;         deg; Radar azimuth angle
+  0;  2; 113;    0;           0;    4;     Numeric; Number of azimuth looks
+  0;  2; 114;    0;           0;   15;        m**2; Antenna effective surface area
+  0;  2; 121;   -8;           0;    7;          Hz; Mean frequency
+  0;  2; 122;   -6;        -128;    8;          Hz; Frequency agility range
+  0;  2; 123;   -4;           0;    7;           W; Peak power
+  0;  2; 124;   -1;           0;    7;           W; Average power
+  0;  2; 125;   -1;           0;    8;          Hz; Pulse repetition frequency
+  0;  2; 126;    7;           0;    6;           s; Pulse width
+  0;  2; 127;   -6;           0;    7;          Hz; Receiver intermediate frequency
+  0;  2; 128;   -5;           0;    6;          Hz; Intermediate frequency bandwidth
+  0;  2; 129;    0;        -150;    5;          dB; Minimum detectable signal
+  0;  2; 130;    0;           0;    7;          dB; Dynamic range
+  0;  2; 131;    0;           0;    2;  Flag_Table; Sensitivity time control
+  0;  2; 132;    2;           0;    6;         deg; Azimuth pointing accuracy
+  0;  2; 133;    2;           0;    6;         deg; Elevation pointing accuracy
+  0;  2; 134;    2;           0;   16;         deg; Antenna beam azimuth
+  0;  2; 135;    2;       -9000;   15;         deg; Antenna elevation
+  0;  2; 136;   -3;           0;   16;           m; Range processed by range attenuation correction
+  0;  2; 140;    2;           0;    9;         deg; Satellite radar beam azimuth
+  0;  2; 141;    0;           0;   24;   CCITT_IA5; Measurement type
+  0;  2; 142;    0;           0;   32;   CCITT_IA5; Ozone instrument serial number/identification
+  0;  2; 143;    0;           0;    7;  Code_Table; Ozone instrument type
+  0;  2; 144;    0;           0;    4;  Code_Table; Light source type for Brewer spectrophotometer
+  0;  2; 145;    0;           0;    4;  Code_Table; Wave length setting for Dobson instruments
+  0;  2; 146;    0;           0;    4;  Code_Table; Source conditions for Dobson instruments
+  0;  4;   1;    0;           0;   12;        Year; Year
+  0;  4;   2;    0;           0;    4;          mo; Month
+  0;  4;   3;    0;           0;    6;         Day; Day
+  0;  4;   4;    0;           0;    5;          hr; Hour
+  0;  4;   5;    0;           0;    6;         min; Minute
+  0;  4;   6;    0;           0;    6;           s; Second
+  0;  4;  11;    0;       -1024;   11;        Year; Time increment
+  0;  4;  12;    0;       -1024;   11;          mo; Time increment
+  0;  4;  13;    0;       -1024;   11;        Days; Time increment
+  0;  4;  14;    0;       -1024;   11;          hr; Time increment
+  0;  4;  15;    0;       -2048;   12;         min; Time increment
+  0;  4;  16;    0;       -4096;   13;           s; Time increment
+  0;  4;  21;    0;       -1024;   11;        Year; Time period or displacement
+  0;  4;  22;    0;       -1024;   11;          mo; Time period or displacement
+  0;  4;  23;    0;       -1024;   11;        Days; Time period or displacement
+  0;  4;  24;    0;       -2048;   12;          hr; Time period or displacement
+  0;  4;  25;    0;       -2048;   12;         min; Time period or displacement
+  0;  4;  26;    0;       -4096;   13;           s; Time period or displacement
+  0;  4;  31;    0;           0;    8;          hr; Duration of time relative to followinG value
+  0;  4;  32;    0;           0;    6;      Minute; Duration of time relating to following value
+  0;  4;  41;    0;       -1440;   12;      Minute; Time Difference, UTC-LMT
+  0;  4;  43;    0;           0;    9;         Day; Day of the year
+  0;  4;  53;    0;           0;    6;     Numeric; Number of days with precipition equal to or more than 1mm
+  0;  4; 192;    0;           0;    3;  Code_Table; Season
+  0;  5;   1;    5;    -9000000;   25;         deg; Latitude (high accuracy)
+  0;  5;   2;    2;       -9000;   15;         deg; Latitude (coarse accuracy)
+  0;  5;  11;    5;    -9000000;   25;         deg; Latitude increment (high accuracy)
+  0;  5;  12;    2;       -9000;   15;         deg; Latitude increment (coarse accuracy)
+  0;  5;  21;    2;           0;   16;    deg_true; Bearing or azimuth
+  0;  5;  22;    2;           0;   16;    deg_true; Solar azimuth
+  0;  5;  30;    0;           0;   12;         deg; Direction (spectral)
+  0;  5;  31;    0;           0;   12;     Numeric; Row number
+  0;  5;  33;   -1;           0;   16;           m; Pixel size on horizontal - 1
+  0;  5;  40;    0;           0;   24;     Numeric; Orbit number
+  0;  5;  41;    0;           0;    8;     Numeric; Scan line number
+  0;  5;  42;    0;           0;    6;     Numeric; Channel number
+  0;  5;  43;    0;           0;    8;     Numeric; Field of view number
+  0;  5;  52;    0;           0;    5;     Numeric; Channel number increment
+  0;  5;  53;    0;           0;    5;     Numeric; Field of view number increment
+  0;  6;   1;    5;   -18000000;   26;         deg; Longitude (high accuracy)
+  0;  6;   2;    2;      -18000;   16;         deg; Longitude (coarse accuracy)
+  0;  6;  11;    5;   -18000000;   26;         deg; Longitude increment (high accuracy)
+  0;  6;  12;    2;      -18000;   16;         deg; Longitude increment (coarse accuracy)
+  0;  6;  21;   -1;           0;   13;           m; Distance
+  0;  6;  30;    5;           0;   13;       rad/m; Wavenumber (spectral)
+  0;  6;  31;    0;           0;   12;     Numeric; Column number
+  0;  6;  33;   -1;           0;   16;           m; Pixel size on horizontal - 2
+  0;  7;   1;    0;        -400;   15;           m; Height of station
+  0;  7;   2;   -1;         -40;   16;           m; Height or altitude
+  0;  7;   3;   -1;        -400;   17;   m**2/s**2; Geopotential
+  0;  7;   4;   -1;           0;   14;          Pa; Pressure
+  0;  7;   5;    0;        -400;   12;           m; Height increment
+  0;  7;   6;    0;           0;   15;           m; Height above station
+  0;  7;   7;    0;       -1000;   17;           m; Height
+  0;  7;   8;    0;      -10000;   20;   m**2/s**2; Geopotential
+  0;  7;  21;    2;       -9000;   15;         deg; Elevation
+  0;  7;  22;    2;       -9000;   15;         deg; Solar elevation
+  0;  7;  24;    2;       -9000;   15;         deg; Satellite zenith angle
+  0;  7;  61;    2;           0;   14;           m; Depth below land surface
+  0;  7;  62;    1;           0;   17;           m; Depth below sea/water surface
+  0;  7; 190;    0;           0;   12;           m; Height increment
+  0;  8;   1;    0;           0;    7;  Flag_Table; Vertical sounding significance
+  0;  8;   2;    0;           0;    6;  Code_Table; Vertical significance (surface observations)
+  0;  8;   3;    0;           0;    6;  Code_Table; Vertical significance (satellite observations)
+  0;  8;   4;    0;           0;    3;  Code_Table; Phase of aircraft flight
+  0;  8;   5;    0;           0;    4;  Code_Table; Meteorological attribute significance
+  0;  8;   7;    0;           0;    4;  Code_Table; Dimensional significance
+  0;  8;  11;    0;           0;    6;  Code_Table; Meteorological feature
+  0;  8;  12;    0;           0;    2;  Code_Table; land/sea qualifier
+  0;  8;  13;    0;           0;    2;  Code_Table; Day/night qualifier
+  0;  8;  14;    0;           0;    4;  Code_Table; Qualification for runway visual range
+  0;  8;  16;    0;           0;    3;  Code_Table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;  8;  17;    0;           0;    2;  Code_Table; Qualifier of the time when the forecast change is expected
+  0;  8;  20;    0;           0;   16;     Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;  8;  21;    0;           0;    5;  Code_Table; Time significance
+  0;  8;  22;    0;           0;   16;     Numeric; Total number (with respect to accumulation or average)
+  0;  8;  23;    0;           0;    6;  Code_Table; First order statistics
+  0;  8;  24;    0;           0;    6;  Code_Table; Difference statistics
+  0;  8;  25;    0;           0;    4;  Code_Table; Time difference qualifier
+  0;  8;  30;    0;           0;   13;     Numeric; Manual on Codes
+  0;  8;  51;    0;           0;    3;  Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;  8;  52;    0;           0;    5;  Code_Table; Condition for which number of days of occurance follows
+  0;  8;  53;    0;           0;    2;  Code_Table; Day of occurance qualifier
+  0;  8;  60;    0;           0;    4;  Code_Table; Sample scanning mode significance
+  0; 10;   1;    0;        -400;   15;           m; Height of land surface
+  0; 10;   2;   -1;         -40;   16;           m; Height
+  0; 10;   3;   -1;        -400;   17;   m**2/s**2; Geopotential
+  0; 10;   4;   -1;           0;   14;          Pa; Pressure
+  0; 10;   7;    0;       -1000;   17;           m; Height
+  0; 10;   8;    0;      -10000;   20;   m**2/s**2; Geopotential
+  0; 10;  31;    2; -1073741824;   31;           m; In direction of the North Pole, distance from the Earth's centre
+  0; 10;  50;    2;           0;   16;           m; Standard deviation altitude
+  0; 10;  51;   -1;           0;   14;          Pa; Pressure reduced to mean sea level
+  0; 10;  52;   -1;           0;   14;          Pa; Altimeter setting (QNH)
+  0; 10;  60;   -1;       -1024;   11;          Pa; Pressure change
+  0; 10;  61;   -1;        -500;   10;          Pa; 3 hour pressure change
+  0; 10;  62;   -1;       -1000;   11;          Pa; 24 hour pressure change
+  0; 10;  63;    0;           0;    4;  Code_Table; Characteristic of pressure tendency
+  0; 10;  70;    0;        -400;   16;           m; Indicated aircraft altitude
+  0; 11;   1;    0;           0;    9;    deg_true; Wind direction
+  0; 11;   2;    1;           0;   12;         m/s; Wind speed
+  0; 11;   3;    1;       -4096;   13;         m/s; U-component
+  0; 11;   4;    1;       -4096;   13;         m/s; V-component
+  0; 11;   5;    1;        -512;   10;        Pa/s; W-component
+  0; 11;   6;    2;       -4096;   13;         m/s; W-component
+  0; 11;  11;    0;           0;    9;    deg_true; Wind direction at 10 m
+  0; 11;  12;    1;           0;   12;         m/s; Wind speed at 10 m
+  0; 11;  13;    0;           0;    9;    deg_true; Wind direction at 5 m
+  0; 11;  14;    1;           0;   12;         m/s; Wind speed at 5 m
+  0; 11;  16;    0;           0;    9;    deg_true; Extreme counterclockwise wind direction of a variable wind
+  0; 11;  17;    0;           0;    9;    deg_true; Extreme clockwise wind direction of a variable wind
+  0; 11;  21;    9;      -65536;   17;       s**-1; Relative vorticity
+  0; 11;  22;    9;      -65536;   17;       s**-1; Divergence
+  0; 11;  23;   -2;      -65536;   17;      m**2/s; Velocity potential
+  0; 11;  31;    0;           0;    4;  Code_Table; Degree of turbulence
+  0; 11;  32;   -1;         -40;   16;           m; Height of base of turbulence
+  0; 11;  33;   -1;         -40;   16;           m; Height of top of turbulence
+  0; 11;  34;    1;       -1024;   11;         m/s; Vertical gust velocity
+  0; 11;  35;    2;       -8192;   14;      m/s**2; Vertical gust acceleration
+  0; 11;  36;    1;           0;   10;         m/s; Maximum derived equivalent vertical gust speed
+  0; 11;  41;    1;           0;   12;         m/s; Maximum wind speed (gusts)
+  0; 11;  42;    1;           0;   12;         m/s; Maximum wind speed (10 minute mean wind)
+  0; 11;  43;    0;           0;    9;    deg_true; Maximum wind gust direction
+  0; 11;  44;    0;           0;    9;    deg_true; Mean wind direction for surface - 1500m
+  0; 11;  45;    1;           0;   12;         m/s; Mean wind speed for surface - 1500m
+  0; 11;  49;    0;           0;    9;    deg_true; Standard deviation of wind direction
+  0; 11;  50;    1;           0;   12;         m/s; Standard deviation horizontal wind speed
+  0; 11;  51;    1;           0;    8;         m/s; Standard deviation vertical wind speed
+  0; 11;  61;    1;           0;   12;         m/s; Absolute wind shear in 1 kilometer layer below
+  0; 11;  62;    1;           0;   12;         m/s; Absolute wind shear in1 kilometer layer above
+  0; 11;  70;    0;           0;   32;CCITT_IA5Designator; of the runway affected by wind shear
+  0; 11;  71;    3;        -128;   14;  m**2/s**-2; Turbulent vertical momemtum flux
+  0; 11;  72;    3;        -128;   11;           K; m/s**-2	Turbulent vertical buouancy flux
+  0; 11;  73;    2;       -1024;   13;  m**2/s**-2; Turbulent kinetic energy
+  0; 11;  74;    2;       -1024;   10;  m**2/s**-2; Dissipation energy
+  0; 11;  75;    2;           0;    8;m**(2/3)/s**-1; Mean turbulence intensity
+  0; 11;  76;    2;           0;    8;m**(2/3)/s**-1; Peak turbulence intensity
+  0; 12;   1;    1;           0;   12;       deg_K; Temperature/dry bulb temperature
+  0; 12;   2;    1;           0;   12;       deg_K; Wet bulb temperature
+  0; 12;   3;    1;           0;   12;       deg_K; Dewpoint temperature
+  0; 12;   4;    1;           0;   12;       deg_K; Dry bulb temperature at 2 meters
+  0; 12;   5;    1;           0;   12;       deg_K; Wet bulb temperature at 2 meters
+  0; 12;   6;    1;           0;   12;       deg_K; Dewpoint temperature at 2 meters
+  0; 12;   7;    1;           0;   12;       deg_K; Virtual temperature
+  0; 12;  11;    1;           0;   12;       deg_K; Maximum temperature
+  0; 12;  12;    1;           0;   12;       deg_K; Minimum temperature
+  0; 12;  13;    1;           0;   12;       deg_K; Ground minimum temperature past 12 hours
+  0; 12;  14;    1;           0;   12;       deg_K; Maximum temperature at 2 meters, past 12 hours
+  0; 12;  15;    1;           0;   12;       deg_K; Minimum temperature at 2 meters, past 12 hours
+  0; 12;  16;    1;           0;   12;       deg_K; Maximum temperature at 2 meters, past 24 hours
+  0; 12;  17;    1;           0;   12;       deg_K; Minimum temperature at 2 meters, past 24 hours
+  0; 12;  30;    1;           0;   12;       deg_K; Soil temperature
+  0; 12;  51;    1;           0;   10;       deg_K; Standard deviation of temperature
+  0; 12;  52;    1;           0;   12;       deg_K; Highest daily mean temperature
+  0; 12;  53;    1;           0;   12;       deg_K; Lowest daily mean temperature
+  0; 12;  61;    1;           0;   12;       deg_K; Skin temperature
+  0; 12;  62;    1;           0;   12;       deg_K; Equivalent black body temperature
+  0; 12;  63;    1;           0;   12;       deg_K; Brightness temperature
+  0; 13;   1;    5;           0;   14;       kg/kg; Specific humidity
+  0; 13;   2;    5;           0;   14;       kg/kg; Mixing ratio
+  0; 13;   3;    0;           0;    7;     percent; Relative humidity
+  0; 13;   4;   -1;           0;   10;          Pa; Vapor pressure
+  0; 13;   5;    3;           0;    7;     kg/m**3; Vapor density
+  0; 13;   6;   -1;         -40;   16;           m; Mixing heights
+  0; 13;  11;    4;          -1;   14;     kg/m**2; Total precipitation/total water equivalent
+  0; 13;  12;    2;          -2;   12;           m; Depth of fresh snow
+  0; 13;  13;    2;          -2;   16;           m; Total snow depth
+  0; 13;  14;    4;           0;   12;   kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0; 13;  15;    7;           0;   12;         m/s; Snowfall (averaged rate)
+  0; 13;  16;    0;           0;    7;     kg/m**2; Precipitable water
+  0; 13;  19;    1;          -1;   14;     kg/m**2; Total precipitation past 1 hour
+  0; 13;  20;    1;          -1;   14;     kg/m**2; Total precipitation past 3 hours
+  0; 13;  21;    1;          -1;   14;     kg/m**2; Total precipitation past 6 hours
+  0; 13;  22;    1;          -1;   14;     kg/m**2; Total precipitation past 12 hours
+  0; 13;  23;    1;          -1;   14;     kg/m**2; Total precipitation past 24 hours
+  0; 13;  31;    0;           0;    7;     kg/m**2; Evapotranspiration
+  0; 13;  32;    1;           0;    8;     kg/m**2; Evaporation/evapotranspiration
+  0; 13;  33;    1;           0;   10;     kg/m**2; Evaporation/evapotranspiration
+  0; 13;  38;    0;           0;    2;  Code_Table; Superadiabatic indicator
+  0; 13;  39;    0;           0;    3;  Code_Table; Terrain type (ice/snow)
+  0; 13;  41;    0;           0;    4;  Code_Table; Pasquill-Gifford stability category
+  0; 13;  42;    0;         -20;    6;       deg_K; Parcel lifted index (to 500 hPa)
+  0; 13;  43;    0;         -20;    6;       deg_K; Best lifted index (to 500 hPa)
+  0; 13;  51;    0;           0;    4;  Code_Table; Frequency group, precipition
+  0; 13;  52;    1;          -1;   14;     kg/m**2; Highest daily amount of precipition
+  0; 14;   1;   -3;       -2048;   12; Joules/m**2; Longwave radiation, integrated over 24 hours
+  0; 14;   2;   -3;       -2048;   12; Joules/m**2; Longwave radiation, integrated over period specified
+  0; 14;   3;   -3;       -2048;   12; Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0; 14;   4;   -3;       -2048;   12; Joules/m**2; Shortwave radiation, integrated over period specified
+  0; 14;  11;   -3;       -2048;   12; Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0; 14;  12;   -3;       -2048;   12; Joules/m**2; Net longwave radiation, integrated over period specified
+  0; 14;  13;   -3;       -2048;   12; Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0; 14;  14;   -3;       -2048;   12; Joules/m**2; Net shortwave radiation, integrated over period specified
+  0; 14;  15;   -4;      -16384;   15; Joules/m**2; Net radiation, integrated over 24 hours
+  0; 14;  16;   -4;      -16384;   15; Joules/m**2; Net radiation, integrated over period specified
+  0; 14;  17;   -3;       -2048;   12;      W/m**2; Instantaneous long wave radiation
+  0; 14;  18;   -3;       -2048;   12;      W/m**2; Instantaneous short wave radiation
+  0; 14;  19;    0;           0;    7;     percent; Surface albedo
+  0; 14;  20;   -4;           0;   15; Joules/m**2; Global solar radiation, integrated over 24 hours
+  0; 14;  21;   -4;           0;   15; Joules/m**2; Global radiation, integrated over period specified
+  0; 14;  22;   -4;           0;   15; Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0; 14;  23;   -4;           0;   15; Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0; 14;  24;   -4;           0;   15; Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0; 14;  25;   -4;           0;   15; Joules/m**2; Direct solar radiation, integrated over period specified
+  0; 14;  26;    0;           0;    7;     percent; Albedo at the top of clouds
+  0; 14;  31;    0;           0;   11;         min; Total sunshine
+  0; 14;  32;    0;           0;   10;          hr; Total sunshine
+  0; 14;  33;    0;           0;    9;     percent; Total sunshine
+  0; 14;  42;    0;           0;    7;     percent; Bi-directional reflectance
+  0; 15;   1;    0;           0;   10;      Dobson; units	Ozone
+  0; 15;   2;    2;           0;   10;     Numeric; Air mass (slant path at 22km)
+  0; 15;  11;    3;       14000;   13; log(1/m**2); Log 10 of integrated electron density
+  0; 15;  15;    0;           0;   31;     Numeric; Maximum image spectral composition before normalization
+  0; 19;   1;    0;           0;    6;  Code_Table; Type of synoptic features
+  0; 19;   2;   -2;           0;   12;           m; Effective radius of feature
+  0; 19;   3;    0;           0;    8;         m/s; Wind speed threshold
+  0; 19;   4;   -2;           0;   12;           m; Effective radius of feature with respect to wind speeds above threshold
+  0; 19;   5;    0;           0;    9;    deg_true; Direction of motion of features
+  0; 19;   6;    2;           0;   14;         m/s; Speed of motion of features
+  0; 19;   7;   -3;           0;   12;           m; Effective radius of features
+  0; 19;   8;    0;           0;    3;  Code_Table; Vertical extent of circulation
+  0; 19;   9;   -3;           0;   12;           m; Effective radius with respect to wind speed above threshold (large storms)
+  0; 20;   1;   -1;           0;   13;           m; Horizontal visibility
+  0; 20;   2;   -1;           0;    7;           m; Vertical visibility
+  0; 20;   3;    0;           0;    9;  Code_Table; Present weather
+  0; 20;   4;    0;           0;    5;  Code_Table; Past weather (1)
+  0; 20;   5;    0;           0;    5;  Code_Table; Past weather (2)
+  0; 20;   9;    0;           0;    4;  Code_Table; General Weather Indicator
+  0; 20;  10;    0;           0;    7;     percent; Cloud cover (total)
+  0; 20;  11;    0;           0;    4;  Code_Table; Cloud amount
+  0; 20;  12;    0;           0;    6;  Code_Table; Cloud type
+  0; 20;  13;   -1;         -40;   11;           m; Height of base of cloud
+  0; 20;  14;   -1;         -40;   11;           m; Height of top of cloud
+  0; 20;  15;   -1;           0;   14;          Pa; Pressure at the base of cloud
+  0; 20;  16;   -1;           0;   14;          Pa; Pressure at the top of cloud
+  0; 20;  17;    0;           0;    4;  Code_Table; Cloud top description
+  0; 20;  18;    0;           0;    2;  Code_Table; Tendency of runway visual range
+  0; 20;  19;    0;           0;   72;   CCITT_IA5; Significant present or forecast weather
+  0; 20;  20;    0;           0;   32;   CCITT_IA5; Significant recent weather phenomena
+  0; 20;  31;    2;           0;    7;           m; Ice deposit (thickness)
+  0; 20;  32;    0;           0;    3;  Code_Table; Rate of ice accretion
+  0; 20;  33;    0;           0;    4;  Flag_Table; Cause of ice accretion
+  0; 20;  34;    0;           0;    5;  Code_Table; Sea ice concentration
+  0; 20;  35;    0;           0;    4;  Code_Table; Amount and type of ice
+  0; 20;  36;    0;           0;    5;  Code_Table; Ice situation
+  0; 20;  37;    0;           0;    5;  Code_Table; Ice development
+  0; 20;  38;    0;           0;   12;    deg_true; Bearing of ice edge
+  0; 20;  39;   -1;           0;   13;           m; Ice distance
+  0; 20;  41;    0;           0;    4;  Code_Table; Airframe icing
+  0; 20;  51;    0;           0;    7;     percent; Amount of low clouds
+  0; 20;  52;    0;           0;    7;     percent; Amount of middle clouds
+  0; 20;  53;    0;           0;    7;     percent; Amount of high clouds
+  0; 20;  61;    0;           0;   12;           m; Runway visual range (RVR)
+  0; 20;  62;    0;           0;    5;  Code_Table; State of the ground(with or without snow)
+  0; 20;  63;    0;           0;   10;  Code_Table; Special phenomena
+  0; 20;  90;    0;           0;    4;  Code_Table; Special clouds
+  0; 21;   1;    0;         -64;    7;          dB; Horizontal reflectivity
+  0; 21;   2;    0;         -64;    7;          dB; Vertical reflectivity
+  0; 21;   3;    1;          -5;    7;          dB; Differential reflectivity
+  0; 21;   5;    0;         -65;    6;          dB; Linear depolarization ratio
+  0; 21;   6;    0;         -65;    6;          dB; Circular depolarization ratio
+  0; 21;  11;    0;        -128;    8;         m/s; Doppler mean velocity in X direction
+  0; 21;  12;    0;        -128;    8;         m/s; Doppler mean velocity in Y direction
+  0; 21;  13;    0;        -128;    8;         m/s; Doppler mean velocity in Z direction
+  0; 21;  14;    1;       -4096;   13;         m/s; Doppler mean velocity (radiational)
+  0; 21;  17;    1;           0;    8;         m/s; Doppler velocity spectral width
+  0; 21;  21;   -3;           0;    4;           m; Echo tops
+  0; 21;  30;    0;         -32;    8;          dB; Signal to noise ratio
+  0; 21;  31;    0;           0;    7;     kg/m**2; Vertical integrated liquid water content
+  0; 21;  36;    7;           0;   12;         m/s; Radar rainfall intensity
+  0; 21;  41;   -2;           0;    8;           m; Bright band height
+  0; 21;  51;    0;        -256;    8;          dB; Signal power above 1 MW
+  0; 21;  62;    2;       -5000;   13;    Decibels; Backscatter
+  0; 21;  63;    1;           0;   10;     Percent; Radiometric resolution (noise value)
+  0; 21;  64;    0;           0;    8;     Numeric; Clutter noise estimate
+  0; 21;  65;    0;        -127;    8;     Numeric; Missing packet counter
+  0; 21;  66;    0;           0;   12;  Flag_Table; Wave scatterometer product confidence
+  0; 21;  67;    0;           0;   13;  Flag_Table; Wind product confidence data
+  0; 21;  68;    0;           0;    8;  Flag_Table; Radar altimeter product confidence data
+  0; 21;  69;    0;           0;   10;  Flag_Table; SST product confidence data
+  0; 21;  71;    0;           0;   16;     Numeric; Peakiness
+  0; 21;  72;    0;           0;    4;  Flag_Table; Satellite altimeter calibration status
+  0; 21;  73;    0;           0;    9;  Flag_Table; Satellite altimeter instrument mode
+  0; 21;  75;    0;           0;    8;     Numeric; Spectral intensity
+  0; 21;  76;    0;           0;    3;  Code_Table; Representation of intensities
+  0; 21;  77;    3;           0;   14;           m; Altitude correction (ionosphere)
+  0; 21;  78;    3;           0;    9;           m; Altitude correction (dry troposphere)
+  0; 21;  79;    3;        2000;   10;           m; Altitude correction (wet troposphere)
+  0; 21;  80;    3;           0;   11;           m; Altitude correction (calibration constant)
+  0; 21;  81;    3;           0;   10;           m; Open loop correction (height-time loop)
+  0; 21;  82;    3;       -3000;   14;    Decibels; Open loop correction (auto gain control)
+  0; 21;  85;    0;       -3000;    4;     Numeric; ATSR sea surface temperature across-track band number
+  0; 22;   1;    0;           0;    9;    deg_true; Direction of waves
+  0; 22;   2;    0;           0;    9;    deg_true; Direction of wind waves
+  0; 22;   3;    0;           0;    9;    deg_true; Direction of swell waves
+  0; 22;   4;    0;           0;    9;    deg_true; Direction of current waves
+  0; 22;  11;    0;           0;    6;           s; Period of waves
+  0; 22;  12;    0;           0;    6;           s; Period of wind waves
+  0; 22;  13;    0;           0;    6;           s; Period of swell waves
+  0; 22;  21;    1;           0;   10;           m; Height of waves
+  0; 22;  22;    1;           0;   10;           m; Height of wind waves
+  0; 22;  23;    1;           0;   10;           m; Height of swell waves
+  0; 22;  25;    2;           0;   10;           m; Standard deviation wave
+  0; 22;  26;    2;           0;   10;           m; Standard deviation of significant wave height
+  0; 22;  31;    2;           0;   13;         m/s; Speed of current
+  0; 22;  37;    3;      -10000;   15;           m; Tidal elevation with respect to national chart datum
+  0; 22;  38;    3;      -10000;   15;           m; Tidal elevation with respect to local chart datum
+  0; 22;  39;    3;       -5000;   12;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  40;    3;       -5000;   14;           m; Meteorological residual tidal elevation (surge or offset)
+  0; 22;  41;    1;           0;   12;       deg_K; Sea surface temperature (15 day running mean)
+  0; 22;  42;    1;           0;   12;       deg_K; Sea/water temperature
+  0; 22;  43;    2;           0;   15;       deg_K; Sea/water temperature
+  0; 22;  44;    1;           0;   14;         m/s; Sound velocity
+  0; 22;  50;    2;           0;    8;           K; Standard deviation sea surface temperature
+  0; 22;  61;    0;           0;    4;  Code_Table; State of sea
+  0; 22;  62;    2;           0;   14;         ppt; Salinity
+  0; 22;  63;    0;           0;   14;           m; Total water depth
+  0; 22;  67;    0;           0;   10;  Code_Table; Instrument type for water temperature profile measurement
+  0; 22;  68;    0;           0;    7;  Code_Table; Water temperature profile recorder types
+  0; 22;  70;    2;           0;   13;           m; Significant wave height
+  0; 22;  71;    1;           0;    9;           s; Spectral peak wave period
+  0; 22;  72;    0;           0;   13;           m; Spectral peak wave length
+  0; 22;  73;    2;           0;   13;           m; Maximum wave height
+  0; 22;  74;    1;           0;    9;           s; Average wave period
+  0; 22;  75;    0;           0;   13;           m; Average wave length
+  0; 22;  76;    0;           0;    9; Degree_True; Direction from which dominant waves are coming
+  0; 22;  77;    0;           0;    9;      Degree; Directional spred of dominant wave
+  0; 22;  78;    0;           0;   12;           s; Duration of wave record
+  0; 22;  79;    0;           0;   16;           m; Length of wave record
+  0; 22;  80;    3;           0;   10;          Hz; Waveband central frequency
+  0; 22;  81;    5;           0;   13;       m**-1; Waveband central wave number
+  0; 22;  82;    2;           0;   20;      m**2/s; Maximum non-directional spectral wave density
+  0; 22;  83;    2;           0;   20;        m**3; Maximum non-directional spectral wave number
+  0; 22;  84;    0;           0;    7;     Numeric; Band containing maximum non-directional spectral wave density
+  0; 22;  85;    0;           0;    7;     Numeric; Spectral wave density ratio
+  0; 22;  86;    0;           0;    9; Degree_True; Mean direction from which waves are coming
+  0; 22;  87;    0;           0;    9; Degree_True; Principal direction from which waves are coming
+  0; 22;  88;    2;           0;    7;     Numeric; First normalized polar coordinate from Fourier coefficients
+  0; 22;  89;    2;           0;    7;     Numeric; Second normalized polar coordinate from Fourier coefficients
+  0; 22;  90;    2;           0;   20;      m**2/s; Non-directional spectral estimate by wave frequency
+  0; 22;  91;    2;           0;   20;        m**3; Non-directional spectral estimate by wave number
+  0; 22;  92;    2;           0;   20;m**2/rad**-1/s; Directional spectral estimate by wave frequency
+  0; 22;  93;    2;           0;   20;        m**4; Directional spectral estimate by wave number
+  0; 22;  94;    0;           0;    7;     Numeric; Total number of wave bands
+  0; 22;  95;    0;           0;    8;      Degree; Directional spread of individual waves
+  0; 22;  96;    3;           0;    4;       s**-1; Spectral band width
+  0; 22;  97;    0;           0;   14;           m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0; 22;  98;    0;           0;   14;           m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0; 22;  99;    0;           0;    9;    deg_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0; 22; 100;    0;           0;    9;      Degree; Direction spread at low wave numbers (wavelength > 731 m)
+  0; 22; 101;    0;           0;   31;    Numberic; Total energy (wavelength > 731 m) at low wave numbers
+  0; 22; 120;    0;           0;    5;  Code_Table; Tide station automated water level check
+  0; 22; 121;    0;           0;    5;  Code_Table; Tide station manual water level check
+  0; 22; 122;    0;           0;    5;  Code_Table; Tide station automated Meteorological data check
+  0; 22; 123;    0;           0;    5;  Code_Table; Tide station manual Meteorological data check
+  0; 23;   1;    0;           0;    3;  Code_Table; Accident early notification - article applicable
+  0; 23;   2;    0;           0;    5;  Code_Table; Activity or facility involved in incident
+  0; 23;   3;    0;           0;    3;  Code_Table; Type of release
+  0; 23;   4;    0;           0;    3;  Code_Table; Countermeasures taken near border
+  0; 23;   5;    0;           0;    2;  Code_Table; Cause of incident
+  0; 23;   6;    0;           0;    3;  Code_Table; Incident situation
+  0; 23;   7;    0;           0;    3;  Code_Table; Characteristic of release
+  0; 23;   8;    0;           0;    2;  Code_Table; State of current release
+  0; 23;   9;    0;           0;    2;  Code_Table; State of expected release
+  0; 23;  16;    0;           0;    2;  Code_Table; Possibility of significant chemical toxic health effect
+  0; 23;  17;    6;           0;   20;      m**3/s; Flow discharge of major recipient
+  0; 23;  18;    0;           0;    3;  Code_Table; release behavior over time
+  0; 23;  19;    0;      -15000;   17;           m; Actual release height
+  0; 23;  21;    0;      -15000;   17;           m; Effective release height
+  0; 23;  22;    0;           0;   24;           m; Distance of relative point or site of incident
+  0; 23;  23;    1;           0;   12;         m/s; Main transport speed in atmosphere
+  0; 23;  24;    2;           0;   13;         m/s; Main transport speed in water
+  0; 23;  25;    2;           0;   13;         m/s; Main transport speed in ground water
+  0; 23;  27;    0;           0;    9;    deg_true; Main transport direction in atmosphere
+  0; 23;  28;    0;           0;    9;    deg_true; Main transport direction in water
+  0; 23;  29;    0;           0;    9;    deg_true; Main transport direction in ground water
+  0; 23;  31;    0;           0;    2;  Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0; 23;  32;    0;           0;    2;  Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+  0; 24;   1;   -1;           0;   28;          Bq; Estimate of radiatioactivity released up to specified time
+  0; 24;   2;   -1;           0;   28;          Bq; Estimated maximum potential release
+  0; 24;   3;    0;           0;    5;  Code_Table; Composition of release
+  0; 24;   4;    0;           0;   16;   CCITT_IA5; Element name
+  0; 24;   5;    0;           0;    9;     Numeric; Isotope mass
+  0; 24;  11;    2;           0;   32;         mSv; Dose
+  0; 24;  12;    2;           0;   32;         mSv; Trajectory dose (defined location and expected time of arrival)
+  0; 24;  13;    2;           0;   32;         mSv; Gamma dose in air along the main transport path (defined location and time period
+  0; 24;  21;    2;           0;   32;     Bq/m**3; Air concentration (named isotope type including gross beta)
+  0; 24;  22;    2;           0;   32;        Bq/l; Concentration in precipitation (of named isotope type)
+  0; 25;   1;   -1;           0;    6;           m; Range gate length
+  0; 25;   2;    0;           0;    4;     Numeric; Number of gates averaged
+  0; 25;   3;    0;           0;    8;     Numeric; Number of integrated pulses
+  0; 25;   4;    0;           0;    2;  Code_Table; Echo processing
+  0; 25;   5;    0;           0;    2;  Code_Table; Echo integration
+  0; 25;   6;    0;           0;    3;  Code_Table; Z to R conversion
+  0; 25;   7;    0;           0;   12;     Numeric; Z to R conversion factor
+  0; 25;   8;    2;           0;    9;     Numeric; Z to R conversion exponent
+  0; 25;   9;    0;           0;    4;  Flag_Table; Calibration method
+  0; 25;  10;    0;           0;    4;  Code_Table; Clutter treatment
+  0; 25;  11;    0;           0;    2;  Code_Table; Ground occultation correction (screening)
+  0; 25;  12;    0;           0;    2;  Code_Table; Range attenuation correction
+  0; 25;  13;    0;           0;    2;  Flag_Table; Bright band correction
+  0; 25;  14;    0;           0;   12;     Numeric; Azimuth clutter cut-off
+  0; 25;  15;    0;           0;    2;  Flag_Table; Radome attenuation correction
+  0; 25;  16;    5;           0;    6;        dB/m; Clear air attenuation correction
+  0; 25;  17;    0;           0;    2;  Flag_Table; Precipitation attenuation correction
+  0; 25;  18;    7;           0;    6;     Numeric; A to Z law for attenuation factor
+  0; 25;  19;    2;           0;    7;     Numeric; A to Z law for attenuation exponent
+  0; 25;  20;    0;           0;    2;  Code_Table; Mean speed estimation
+  0; 25;  21;    0;           0;    8;  Flag_Table; Wind computation enhancement
+  0; 25;  30;    0;           0;    2;  Code_Table; SST usage
+  0; 25;  32;    0;           0;    2;  Code_Table; NOAA wind profiler high/low mode data
+  0; 25;  33;    0;           0;    2;  Code_Table; NOAA wind profiler submode
+  0; 25;  34;    0;           0;    4;  Code_Table; NOAA wind profiler Q/C test results
+  0; 25;  40;    0;           0;    4;  Code_Table; CO2 wind product derivation
+  0; 25;  41;    0;           0;    2;  Code_Table; Moving platform direction reporting method
+  0; 25;  42;    0;           0;    2;  Code_Table; Moving platform speed reporting method
+  0; 25;  43;    4;           0;   15;           s; Wave sampling interval (time)
+  0; 25;  44;    2;           0;   14;           m; Wave sampling interval (space)
+  0; 25;  45;    0;           0;   21;  Flag_Table; HIRS channel combination
+  0; 25;  46;    0;           0;    5;  Flag_Table; MSU channel combination
+  0; 25;  47;    0;           0;    4;  Flag_Table; SSU channel combination
+  0; 25;  48;    0;           0;   16;  Flag_Table; AMSU-A channel combination
+  0; 25;  49;    0;           0;    6;  Flag_Table; AMSU-B channel combination
+  0; 25;  50;    0;           0;    7;  Flag_Table; AVHRR channel combination
+  0; 25;  51;    0;           0;   12;  Flag_Table; Observation quality
+  0; 25;  60;    0;           0;   14;     Numeric; Software identification
+  0; 26;   1;    1;           0;   12;        Hour; Principal time of daily reading in UTC of maximum temperature
+  0; 26;   2;    1;           0;   12;        Hour; Principal time of daily reading in UTC of minimum temperature
+  0; 26;   3;    0;       -1440;   12;      Minute; Time difference
+  0; 27;   1;    5;    -9000000;   25;         deg; Latitude (high accuracy)
+  0; 27;   2;    2;       -9000;   15;         deg; Latitude (coarse accuracy)
+  0; 27;   3;    2;       -9000;   15;         deg; Alternate latitude
+  0; 27;  20;    0;           0;   16;     Numeric; Satellite locationon counter
+  0; 27;  21;    0;           0;   16;     Numeric; Satellite sub-locationon dimensions
+  0; 27;  31;    2; -1073741824;   31;           m; In direction of 0 degrees longitude, distance from the Earth's centre
+  0; 28;   1;    5;   -18000000;   26;         deg; Longitude (high accuracy)
+  0; 28;   2;    2;      -18000;   16;         deg; Longitude (coarse accuracy)
+  0; 28;   3;    2;      -18000;   16;         deg; Alternate longtiude
+  0; 28;  31;    2; -1073741824;   31;           m; In direction of 90 degrees East, distance from the Earth's centre
+  0; 29;   1;    0;           0;    3;  Code_Table; Projection type
+  0; 29;   2;    0;           0;    2;  Code_Table; Coordinate grid type
+  0; 30;   1;    0;           0;    4;     Numeric; Pixel value (4 bits)
+  0; 30;   2;    0;           0;    8;     Numeric; Pixel value (8 bits)
+  0; 30;   4;    0;           0;   16;     Numeric; Pixel value (16 bits)
+  0; 30;  21;    0;           0;   12;     Numeric; Number of pixels per row
+  0; 30;  22;    0;           0;   12;     Numeric; Number of pixels per column
+  0; 30;  31;    0;           0;    4;  Code_Table; Picture type
+  0; 30;  32;    0;           0;   16;  Flag_Table; Combined picture
+  0; 31;   0;    0;           0;    1;     Numeric; Short delayed descriptor replication factor
+  0; 31;   1;    0;           0;    8;     Numeric; Delayed descriptor replication factor
+  0; 31;   2;    0;           0;   16;     Numeric; Extended delayed descriptor replication factor
+  0; 31;  11;    0;           0;    8;     Numeric; Delayed descriptor and data repetion factor
+  0; 31;  12;    0;           0;   16;     Numeric; Extended delayed descriptor and data repitition factor
+  0; 31;  21;    0;           0;    6;  Code_Table; Associated field significance
+  0; 31;  31;    0;           0;    1;  Flag_Table; Data present indicator
+  0; 33;   2;    0;           0;    2;  Code_Table; Quality information
+  0; 33;   3;    0;           0;    3;  Code_Table; Quality information
+  0; 33;   7;    0;           0;    7;     Percent; Per cent confidence
+  0; 33;  20;    0;           0;    3;  Code_Table; Quality control indication of following value
+  0; 33;  21;    0;           0;    2;  Code_Table; Quality of following value
+  0; 33;  22;    0;           0;    2;  Code_Table; Quality of buoy satellite transmission
+  0; 33;  23;    0;           0;    2;  Code_Table; Quality of buoy location
+  0; 33;  24;    0;           0;    4;  Code_Table; Station elevation quality mark (for mobile stations)
+  0; 33;  25;    0;           0;    3;  Code_Table; ACARS interpolated values
+  0; 33;  26;    0;           0;    6;  Code_Table; Mixing ratio quality
+  0; 33;  27;    0;           0;    3;  Code_Table; Location quality class
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-009-B
@@ -0,0 +1,819 @@
+#
+# WMO source file name = BufrTabB-11-2000.txt 
+# Master Table B Version 9 
+# 
+#                   Reference    Bit 
+# F   X    Y Scale    Value     Width     Units     Comments 
+#-------------------------------------------------------------- 
+# Class 00 - BUFR table entries 
+  0;  0;   1;    0;           0;   24;   CCITT_IA5; Table A:  entry 
+  0;  0;   2;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 1" 
+  0;  0;   3;    0;           0;  256;   CCITT_IA5; "Table A:  data category description, line 2" 
+  0;  0;   5;    0;           0;   24;   CCITT_IA5; BUFR edition number 
+  0;  0;  10;    0;           0;    8;   CCITT_IA5; F descriptor to be added or defined 
+  0;  0;  11;    0;           0;   16;   CCITT_IA5; X descriptor to be added or defined 
+  0;  0;  12;    0;           0;   24;   CCITT_IA5; Y descriptor to be added or defined 
+  0;  0;  13;    0;           0;  256;   CCITT_IA5; "Element name, line 1" 
+  0;  0;  14;    0;           0;  256;   CCITT_IA5; "Element name, line 2" 
+  0;  0;  15;    0;           0;  192;   CCITT_IA5; Units name 
+  0;  0;  16;    0;           0;    8;   CCITT_IA5; Units scale sign 
+  0;  0;  17;    0;           0;   24;   CCITT_IA5; Units scale 
+  0;  0;  18;    0;           0;    8;   CCITT_IA5; Units reference sign 
+  0;  0;  19;    0;           0;   80;   CCITT_IA5; Units reference value 
+  0;  0;  20;    0;           0;   24;   CCITT_IA5; Element data width 
+  0;  0;  30;    0;           0;   48;   CCITT_IA5; Descriptor defining sequence 
+# Class 01 - Identification 
+  0;  1;   1;    0;           0;    7;     Numeric; WMO block number 
+  0;  1;   2;    0;           0;   10;     Numeric; WMO station number 
+  0;  1;   3;    0;           0;    3;  Code_Table; WMO Region number/geographical area 
+  0;  1;   4;    0;           0;    3;     Numeric; WMO Region sub-area (see Note 9) 
+  0;  1;   5;    0;           0;   17;     Numeric; Buoy/platform identifier 
+  0;  1;   6;    0;           0;   64;   CCITT_IA5; Aircraft flight number 
+  0;  1;   7;    0;           0;   10;  Code_Table; Satellite identifier 
+  0;  1;   8;    0;           0;   64;   CCITT_IA5; Aircraft registration number 
+  0;  1;   9;    0;           0;   64;   CCITT_IA5; Type of commercial aircraft 
+  0;  1;  10;    0;           0;   64;   CCITT_IA5; Stationary buoy platform identifier; e.g. C-MAN buoys 
+  0;  1;  11;    0;           0;   72;   CCITT_IA5; Ship or mobile land station identifier 
+  0;  1;  12;    0;           0;    9; Degree_true; Direction of motion of moving observing platform 
+  0;  1;  13;    0;           0;   10;       m s1; Speed of motion of moving observing platform 
+  0;  1;  14;    2;           0;   10;       m s1; Platform drift speed (high precision) 
+  0;  1;  15;    0;           0;  160;   CCITT_IA5; Station or site name 
+  0;  1;  18;    0;           0;   40;   CCITT_IA5; Short station or site name 
+  0;  1;  20;    0;           0;    4;     Numeric; WMO Region sub-area 
+  0;  1;  21;    0;           0;   14;     Numeric; Synoptic feature identifier 
+  0;  1;  22;    0;           0;  224;   CCITT_IA5; Name of feature (see Note 11) 
+  0;  1;  25;    0;           0;   24;   CCITT_IA5; Storm identifier 
+  0;  1;  26;    0;           0;   64;   CCITT_IA5; WMO storm name* 
+  0;  1;  27;    0;           0;   80;   CCITT_IA5; WMO long storm name 
+  0;  1;  31;    0;           0;   16;  Code_Table; Identification of originating/generating centre (see Note 10) 
+  0;  1;  32;    0;           0;    8;from originating cen; Generating application 
+  0;  1;  33;    0;           0;    8;  Code_Table; Identification of originating/generating centre 
+  0;  1;  34;    0;           0;    8;  Code_Table; Identification of originating/generating sub-centre 
+  0;  1;  41;    5; -1073741824;   31;       m s-1; Absolute platform velocity - first component (see Note 6) 
+  0;  1;  42;    5; -1073741824;   31;       m s-1; Absolute platform velocity - second component (see Note 6) 
+  0;  1;  43;    5; -1073741824;   31;       m s-1; Absolute platform velocity - third component (see Note 6) 
+  0;  1;  50;    0;           0;   17;     Numeric; Platform transmitter ID number 
+  0;  1;  51;    0;           0;   96;   CCITT_IA5; Platform transmitter ID number 
+  0;  1;  60;    0;           0;   64;   CCITT_IA5; Aircraft reporting point (Beacon identifier) 
+  0;  1;  62;    0;           0;   32;   CCITT_IA5; Short ICAO location indicator 
+  0;  1;  63;    0;           0;   64;   CCITT_IA5; ICAO location indicator 
+  0;  1;  64;    0;           0;   32;   CCITT_IA5; Runway designator 
+  0;  1;  75;    0;           0;   40;   CCITT_IA5; Tide station identification 
+# Class 02 - Instrumentation 
+  0;  2;   1;    0;           0;    2;  Code_Table; Type of station 
+  0;  2;   2;    0;           0;    4;  Flag_Table; Type of instrumentation for wind measurement 
+  0;  2;   3;    0;           0;    4;  Code_Table; Type of measuring equipment used 
+  0;  2;   4;    0;           0;    4;  Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported 
+  0;  2;   5;    2;           0;    7;           K; Precision of temperature observation 
+  0;  2;  11;    0;           0;    8;  Code_Table; Radiosonde type 
+  0;  2;  12;    0;           0;    4;  Code_Table; Radiosonde computational method 
+  0;  2;  13;    0;           0;    4;  Code_Table; Solar and infrared radiation correction 
+  0;  2;  14;    0;           0;    7;  Code_Table; Tracking technique/status of system used 
+  0;  2;  15;    0;           0;    4;  Code_Table; Radiosonde completeness 
+  0;  2;  19;    0;           0;   11;  Code_Table; Satellite instruments 
+  0;  2;  20;    0;           0;    9;  Code_Table; Satellite classification 
+  0;  2;  21;    0;           0;    9;  Flag_Table; Satellite instrument data used in processing* 
+  0;  2;  22;    0;           0;    8;  Flag_Table; Satellite data-processing technique used 
+  0;  2;  23;    0;           0;    4;  Code_Table; Satellite derived wind computation method 
+  0;  2;  24;    0;           0;    4;  Code_Table; Integrated mean humidity computational method 
+  0;  2;  25;    0;           0;   25;  Flag_Table; Satellite channel(s) used in computation 
+  0;  2;  26;    2;           0;   12;           m; Cross track resolution 
+  0;  2;  27;    2;           0;   12;           m; Along track resolution 
+  0;  2;  28;    0;           0;   18;           m; Segment size at nadir in X direction 
+  0;  2;  29;    0;           0;   18;           m; Segment size at nadir in Y direction 
+  0;  2;  30;    0;           0;    3;  Code_Table; Method of current measurement 
+  0;  2;  31;    0;           0;    5;  Code_Table; Duration and time of current measurement 
+  0;  2;  32;    0;           0;    2;  Code_Table; Indicator for digitization 
+  0;  2;  33;    0;           0;    3;  Code_Table; Method of salinity/depth measurement 
+  0;  2;  34;    0;           0;    5;  Code_Table; Drogue type 
+  0;  2;  35;    0;           0;    9;           m; Cable length 
+  0;  2;  36;    0;           0;    2;  Code_Table; Buoy type 
+  0;  2;  37;    0;           0;    3;  Code_Table; Method of tidal observation 
+  0;  2;  38;    0;           0;    4;  Code_Table; Method of sea-surface temperature measurement 
+  0;  2;  39;    0;           0;    3;  Code_Table; Method of wet-bulb temperature measurement 
+  0;  2;  40;    0;           0;    4;  Code_Table; Method of removing velocity and motion of platform from current 
+  0;  2;  41;    0;           0;    6;  Code_Table; Method for estimating reports related to synoptic features 
+  0;  2;  44;    0;           0;    4;  Code_Table; Indicator for method of calculating spectral wave data 
+  0;  2;  45;    0;           0;    4;  Code_Table; Indicator for type of platform 
+  0;  2;  46;    0;           0;    4;  Code_Table; Wave measurement instrumentation 
+  0;  2;  48;    0;           0;    4;  Code_Table; Satellite sensor indicator 
+  0;  2;  49;    0;           0;    8;  Flag_Table; Geostationary satellite data-processing technique used 
+  0;  2;  50;    0;           0;   20;  Flag_Table; Geostationary sounder satellite channels used 
+  0;  2;  51;    0;           0;    4;  Code_Table; Indicator to specify observing method for extreme temperatures 
+  0;  2;  52;    0;           0;    6;  Flag_Table; Geostationary imager satellite channels used 
+  0;  2;  53;    0;           0;    4;  Code_Table; GOES-I/M brightness temperature characteristics 
+  0;  2;  54;    0;           0;    4;  Code_Table; GOES-I/M soundings parameter characteristics 
+  0;  2;  55;    0;           0;    4;  Code_Table; Geostationary soundings statistical parameters 
+  0;  2;  56;    0;           0;    4;  Code_Table; Geostationary soundings accuracy statistics 
+  0;  2;  57;    0;           0;    4;  Code_Table; Origin of first guess information for GOES-I/M soundings 
+  0;  2;  58;    0;           0;    4;  Valid times of first guess information for GOES-I/M soundings 
+  0;  2;  59;    0;           0;    4;  Code_Table; Origin of analysis information for GOES-I/M soundings 
+  0;  2;  60;    0;           0;    4;  Code_Table; Origin of surface information for GOES-I/M soundings 
+  0;  2;  61;    0;           0;    3;  Code_Table; Aircraft navigational system 
+  0;  2;  62;    0;           0;    4;  Code_Table; Type of aircraft data relay system 
+  0;  2;  63;    2;      -18000;   16;      Degree; Aircraft roll angle 
+  0;  2;  64;    0;           0;    2;  Code_Table; Aircraft roll angle quality 
+  0;  2;  65;    0;           0;   40;   CCITT_IA5; ACARS ground receiving station 
+  0;  2;  70;    0;           0;    4;  Code_Table; Original specification of latitude/longitude 
+  0;  2;  91;    0;           4;   10;           A; Entry sensor 4/20 mA 
+  0;  2; 100;    1;           0;   12;          dB; Radar constant* 
+  0;  2; 101;    0;           0;    4;  Code_Table; Type of antenna 
+  0;  2; 102;    0;           0;    8;           m; Antenna height above tower base 
+  0;  2; 103;    0;           0;    2;  Flag_Table; Radome 
+  0;  2; 104;    0;           0;    4;  Code_Table; Antenna polarisation 
+  0;  2; 105;    0;           0;    6;          dB; Maximum antenna gain 
+  0;  2; 106;    1;           0;    6;      Degree; 3-dB beamwidth 
+  0;  2; 107;    0;           0;    6;          dB; Sidelobe suppression 
+  0;  2; 108;    0;           0;    6;          dB; Crosspol discrimination (on axis) 
+  0;  2; 109;    2;           0;   12;  Degree s-1; Antenna speed (azimuth) 
+  0;  2; 110;    2;           0;   12;  Degree s-1; Antenna speed (elevation) 
+  0;  2; 111;    1;           0;   10;      Degree; Radar incidence angle 
+  0;  2; 112;    1;           0;   12;      Degree; Radar look angle 
+  0;  2; 113;    0;           0;    4;     Numeric; Number of azimuth looks 
+  0;  2; 114;    0;           0;   15;          m2; Antenna effective surface area 
+  0;  2; 121;   -8;           0;    7;          Hz; Mean frequency 
+  0;  2; 122;   -6;        -128;    8;          Hz; Frequency agility range 
+  0;  2; 123;   -4;           0;    7;           W; Peak power 
+  0;  2; 124;   -1;           0;    7;           W; Average power 
+  0;  2; 125;   -1;           0;    8;          Hz; Pulse repetition frequency 
+  0;  2; 126;    7;           0;    6;           s; Pulse width 
+  0;  2; 127;   -6;           0;    7;          Hz; Receiver intermediate frequency 
+  0;  2; 128;   -5;           0;    6;          Hz; Intermediate frequency bandwidth 
+  0;  2; 129;    0;        -150;    5;          dB; Minimum detectable signal 
+  0;  2; 130;    0;           0;    7;          dB; Dynamic range 
+  0;  2; 131;    0;           0;    2;  Flag_Table; Sensitivity time control (STC) 
+  0;  2; 132;    2;           0;    6;      Degree; Azimuth pointing accuracy 
+  0;  2; 133;    2;           0;    6;      Degree; Elevation pointing accuracy 
+  0;  2; 134;    2;           0;   16;      Degree; Antenna beam azimuth 
+  0;  2; 135;    2;       -9000;   15;      Degree; Antenna elevation 
+  0;  2; 136;   -3;           0;   16;           m; Range processed by range attenuation correction 
+  0;  2; 140;    0;           0;    9;      Degree; Satellite radar beam azimuth angle 
+  0;  2; 141;    0;           0;   24;   CCITT_IA5; Measurement type 
+  0;  2; 142;    0;           0;   32;   CCITT_IA5; Ozone instrument serial number/ identification 
+  0;  2; 143;    0;           0;    7;  Code_Table; Ozone instrument type 
+  0;  2; 144;    0;           0;    4;  Code_Table; Light source type for Brewer spectro photometer 
+  0;  2; 145;    0;           0;    4;  Code_Table; Wave length setting for Dobson instruments 
+  0;  2; 146;    0;           0;    4;  Code_Table; Source conditions for Dobson instruments 
+  0;  2; 148;    0;           0;    5;  Code_Table; Data collection and/or location system 
+  0;  2; 149;    0;           0;    6;  Code_Table; Type of data buoy 
+  0;  2; 150;    0;           0;    6;  Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number 
+  0;  2; 151;    0;           0;    4;  Code_Table; Radiometer identifier 
+  0;  2; 152;    0;           0;   31;  Flag_Table; Satellite instrument used in data processing(6) 
+  0;  2; 153;   -8;           0;   26;          Hz; Satellite channel centre frequency 
+  0;  2; 154;   -8;           0;   26;          Hz; Satellite channel band width 
+  0;  2; 163;    0;           0;    4;  Code_Table; Height assignment method 
+  0;  2; 164;    0;           0;    3;  Code_Table; Tracer correlation method 
+  0;  2; 166;    0;           0;    4;  Code_Table; Radiance type 
+  0;  2; 167;    0;           0;    4;  Code_Table; Radiance computational method 
+  0;  2; 168;   -3;           0;   16;          Pa; Hydrostatic pressure of lower end of cable (thermistor string) 
+  0;  2; 169;    0;           0;    4;  Code_Table; Anemometer type 
+  0;  2; 172;    0;           0;    8;  Code_Table; Product type for retrieved atmospheric gases 
+# Class 04 - Location (time) 
+  0;  4;   1;    0;           0;   12;        Year; Year 
+  0;  4;   2;    0;           0;    4;       Month; Month 
+  0;  4;   3;    0;           0;    6;         Day; Day 
+  0;  4;   4;    0;           0;    5;        Hour; Hour 
+  0;  4;   5;    0;           0;    6;      Minute; Minute 
+  0;  4;   6;    0;           0;    6;      Second; Second 
+  0;  4;  11;    0;       -1024;   11;        Year; Time increment 
+  0;  4;  12;    0;       -1024;   11;       Month; Time increment 
+  0;  4;  13;    0;       -1024;   11;         Day; Time increment 
+  0;  4;  14;    0;       -1024;   11;        Hour; Time increment 
+  0;  4;  15;    0;       -2048;   12;      Minute; Time increment 
+  0;  4;  16;    0;       -4096;   13;      Second; Time increment 
+  0;  4;  17;    0;       -1440;   12;      Minute; Reference time period for accumulated or extreme data 
+  0;  4;  21;    0;       -1024;   11;        Year; Time period or displacement 
+  0;  4;  22;    0;       -1024;   11;       Month; Time period or displacement 
+  0;  4;  23;    0;       -1024;   11;         Day; Time period or displacement 
+  0;  4;  24;    0;       -2048;   12;        Hour; Time period or displacement 
+  0;  4;  25;    0;       -2048;   12;      Minute; Time period or displacement 
+  0;  4;  26;    0;       -4096;   13;      Second; Time period or displacement 
+  0;  4;  31;    0;           0;    8;        Hour; Duration of time relating to following value 
+  0;  4;  32;    0;           0;    6;      Minute; Duration of time relating to following value 
+  0;  4;  41;    0;       -1440;   12;      Minute; "Time difference, UTC -LMT (see Note 6)" 
+  0;  4;  43;    0;           0;    9;         Day; Day of the year 
+  0;  4;  53;    0;           0;    6;     Numeric; Number of days with precipitation equal to or more than 1 mm 
+  0;  4;  65;    0;        -128;    8;      Minute; Short time increment 
+  0;  4;  73;    0;        -128;    8;         Day; Short time period or displacement 
+  0;  4;  74;    0;        -128;    8;        Hour; Short time period or displacement 
+  0;  4;  75;    0;        -128;    8;      Minute; Short time period or displacement 
+# Class 05 - Location (horizontal -1) 
+  0;  5;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy) 
+  0;  5;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy) 
+  0;  5;  11;    5;    -9000000;   25;      Degree; Latitude increment (high accuracy) 
+  0;  5;  12;    2;       -9000;   15;      Degree; Latitude increment (coarse accuracy) 
+  0;  5;  21;    2;           0;   16; Degree_true; Bearing or azimuth 
+  0;  5;  22;    2;           0;   16; Degree_true; Solar azimuth 
+  0;  5;  30;    0;           0;   12;      Degree; Direction (spectral) 
+  0;  5;  31;    0;           0;   12;     Numeric; Row number 
+  0;  5;  33;   -1;           0;   16;           m; Pixel size on horizontal - 1 
+  0;  5;  34;    0;           0;   11;     Numeric; Along track row number 
+  0;  5;  40;    0;           0;   24;     Numeric; Orbit number 
+  0;  5;  41;    0;           0;    8;     Numeric; Scan line number 
+  0;  5;  42;    0;           0;    6;     Numeric; Channel number 
+  0;  5;  43;    0;           0;    8;     Numeric; Field of view number 
+  0;  5;  52;    0;           0;    5;     Numeric; Channel number increment 
+  0;  5;  53;    0;           0;    5;     Numeric; Field of view number increment 
+# Class 06 - Location (horizontal - 2) 
+  0;  6;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy) 
+  0;  6;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy) 
+  0;  6;  11;    5;   -18000000;   26;      Degree; Longitude increment (high accuracy) 
+  0;  6;  12;    2;      -18000;   16;      Degree; Longitude increment (coarse accuracy) 
+  0;  6;  21;   -1;           0;   13;           m; Distance 
+  0;  6;  30;    5;           0;   13;     rad m-1; Wave number (spectral) 
+  0;  6;  31;    0;           0;   12;     Numeric; Column number 
+  0;  6;  33;   -1;           0;   16;           m; Pixel size on horizontal - 2 
+  0;  6;  34;    0;           0;    7;     Numeric; Cross-track cell number 
+  0;  6;  40;    0;           0;   13;           m; Radius of confidence 
+# Class 07 - Location (vertical) 
+  0;  7;   1;    0;        -400;   15;           m; Height of station 
+  0;  7;   2;   -1;         -40;   16;           m; Height or altitude 
+  0;  7;   3;   -1;        -400;   17;      m2 s-2; Geopotential 
+  0;  7;   4;   -1;           0;   14;          Pa; Pressure 
+  0;  7;   5;    0;        -400;   12;           m; Height increment 
+  0;  7;   6;    0;           0;   15;           m; Height above station 
+  0;  7;   7;    0;       -1000;   17;           m; Height 
+  0;  7;   8;    0;      -10000;   20;      m2 s-2; Geopotential 
+  0;  7;   9;    0;       -1000;   17;         gpm; Geopotential height 
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation (see Note 1) 
+  0;  7;  21;    2;       -9000;   15;      Degree; Elevation 
+  0;  7;  22;    2;       -9000;   15;      Degree; Solar elevation 
+  0;  7;  24;    2;       -9000;   15;      Degree; Satellite zenith angle 
+  0;  7;  25;    2;       -9000;   15;      Degree; Solar zenith angle 
+  0;  7;  61;    2;           0;   14;           m; Depth below land surface 
+  0;  7;  62;    1;           0;   17;           m; Depth below sea/water surface 
+  0;  7;  64;    0;           0;    4;           m; Height above station (sensor height artificially corrected) (see Note 2) 
+  0;  7;  70;    0;           0;   10;           m; Drogue depth 
+# Class 08 - Significance qualifiers 
+  0;  8;   1;    0;           0;    7;  Flag_Table; Vertical sounding significance 
+  0;  8;   2;    0;           0;    6;  Code_Table; Vertical significance (surface observations) 
+  0;  8;   3;    0;           0;    6;  Code_Table; Vertical significance (satellite observations) 
+  0;  8;   4;    0;           0;    3;  Code_Table; Phase of aircraft flight 
+  0;  8;   5;    0;           0;    4;  Code_Table; Meteorological attribute significance 
+  0;  8;   6;    0;           0;    9;  Flag_Table; Ozone vertical sounding significance 
+  0;  8;   7;    0;           0;    4;  Code_Table; Dimensional significance 
+  0;  8;   8;    0;           0;    9;  Flag_Table; Radiation vertical sounding significance 
+  0;  8;  11;    0;           0;    6;  Code_Table; Meteorological feature 
+  0;  8;  12;    0;           0;    2;  Code_Table; Land/sea qualifier 
+  0;  8;  13;    0;           0;    2;  Code_Table; Day/night qualifier 
+  0;  8;  14;    0;           0;    4;  Code_Table; Qualifier for runway visual range 
+  0;  8;  16;    0;           0;    3;  Code_Table; Change qualifier of a trend-type forecast or an aerodrome forecast 
+  0;  8;  17;    0;           0;    2;  Code_Table; Qualifier of the time when the forecast change is expected 
+  0;  8;  18;    0;           0;   17;  Flag_Table; SEAWINDS land/ice surface type 
+  0;  8;  20;    0;           0;   16;     Numeric; Total number of missing entities (with respect to accumulation or average) 
+  0;  8;  21;    0;           0;    5;  Code_Table; Time significance 
+  0;  8;  22;    0;           0;   16;     Numeric; Total number (with respect to accumulation or average) 
+  0;  8;  23;    0;           0;    6;  Code_Table; First order statistics 
+  0;  8;  24;    0;           0;    6;  Code_Table; Difference statistics 
+  0;  8;  25;    0;           0;    4;  Code_Table; Time difference qualifier 
+  0;  8;  30;    0;           0;   13;     Numeric; "Manual on Codes (Volume I.1, Section C) Code table from which data are derived" 
+  0;  8;  31;    0;           0;    8;     Numeric; Data category CREX table A 
+  0;  8;  35;    0;           0;    3;  Code_Table; Type of monitoring exercise 
+  0;  8;  36;    0;           0;    3;  Code_Table; Type of centre or station performing monitoring 
+  0;  8;  51;    0;           0;    3;  Code_Table; Qualifier for number of missing values in calculation of statistic 
+  0;  8;  52;    0;           0;    5;  Code_Table; Condition for which number of days of occurrence follows 
+  0;  8;  53;    0;           0;    2;  Code_Table; Day of occurrence qualifier 
+  0;  8;  60;    0;           0;    4;  Code_Table; Sample scanning mode significance 
+  0;  8;  70;    0;           0;    4;  Code_Table; TOVS/ATOVS product qualifier 
+  0;  8;  72;    0;           0;    3;  Code_Table; Pixel(s) type 
+# Class 10 - Non-coordinate location (vertical) 
+  0; 10;   1;    0;        -400;   15;           m; Height of land surface 
+  0; 10;   2;   -1;         -40;   16;           m; Height 
+  0; 10;   3;   -1;        -400;   17;      m2 s-2; Geopotential 
+  0; 10;   4;   -1;           0;   14;          Pa; Pressure 
+  0; 10;   7;    0;       -1000;   17;           m; Height 
+  0; 10;   8;    0;      -10000;   20;      m2 s-2; Geopotential 
+  0; 10;   9;    0;       -1000;   17;         gpm; Geopotential height 
+  0; 10;  10;   -1;           0;   14;          Pa; Minimum pressure reduced to mean sea level 
+  0; 10;  11;   -1;           0;   14;          Pa; Maximum pressure reduced to mean sea level 
+  0; 10;  31;    2; -1073741824;   31;           m; "In direction of the North Pole, distance from the Earths centre" 
+  0; 10;  40;    0;           0;   10;     Numeric; Number of retrieved layers 
+  0; 10;  50;    2;           0;   16;           m; Standard deviation altitude 
+  0; 10;  51;   -1;           0;   14;          Pa; Pressure reduced to mean sea level 
+  0; 10;  52;   -1;           0;   14;          Pa; Altimeter setting (QNH) 
+  0; 10;  60;   -1;       -1024;   11;          Pa; Pressure change 
+  0; 10;  61;   -1;        -500;   10;          Pa; 3-hour pressure change 
+  0; 10;  62;   -1;       -1000;   11;          Pa; 24-hour pressure change 
+  0; 10;  63;    0;           0;    4;  Code_Table; Characteristic of pressure tendency 
+  0; 10;  70;    0;        -400;   16;           m; Indicated aircraft altitude 
+# Class 11 - Wind and turbulence 
+  0; 11;   1;    0;           0;    9; Degree_true; Wind direction 
+  0; 11;   2;    1;           0;   12;       m s-1; Wind speed 
+  0; 11;   3;    1;       -4096;   13;       m s-1; u-component 
+  0; 11;   4;    1;       -4096;   13;       m s-1; v-component 
+  0; 11;   5;    1;        -512;   10;      Pa s-1; w-component 
+  0; 11;   6;    2;       -4096;   13;       m s-1; w-component 
+  0; 11;  10;    0;           0;    9; Degree_true; Wind direction associated with wind speed which follows 
+  0; 11;  11;    0;           0;    9; Degree_true; Wind direction at 10 m 
+  0; 11;  12;    1;           0;   12;       m s-1; Wind speed at 10 m 
+  0; 11;  13;    0;           0;    9; Degree_true; Wind direction at 5 m 
+  0; 11;  14;    1;           0;   12;       m s-1; Wind speed at 5 m 
+  0; 11;  16;    0;           0;    9; Degree_true; Extreme counterclockwise wind direction of a variable wind 
+  0; 11;  17;    0;           0;    9; Degree_true; Extreme clockwise wind direction of a variable wind 
+  0; 11;  19;    0;           0;    7;           %; Steadiness of wind* 
+  0; 11;  21;    9;      -65536;   17;         s-1; Relative vorticity 
+  0; 11;  22;    9;      -65536;   17;         s-1; Divergence 
+  0; 11;  23;   -2;      -65536;   17;      m2 s-1; Velocity potential 
+  0; 11;  31;    0;           0;    4;  Code_Table; Degree of turbulence 
+  0; 11;  32;   -1;         -40;   16;           m; Height of base of turbulence 
+  0; 11;  33;   -1;         -40;   16;           m; Height of top of turbulence 
+  0; 11;  34;    1;       -1024;   11;       m s-1; Vertical gust velocity 
+  0; 11;  35;    2;       -8192;   14;       m s-2; Vertical gust acceleration 
+  0; 11;  36;    1;           0;   10;       m s-1; Maximum derived equivalent vertical gust speed 
+  0; 11;  37;    0;           0;    6;  Code_Table; Turbulence Index 
+  0; 11;  38;    0;           0;    5;  Code_Table; Time of occurrence of Peak Eddy Dissipation Rate 
+  0; 11;  40;    1;           0;   12;       m s-1; Maximum wind speed (mean wind) 
+  0; 11;  41;    1;           0;   12;       m s-1; Maximum wind speed (gusts) 
+  0; 11;  42;    1;           0;   12;       m s-1; Maximum wind speed (10-min mean wind) 
+  0; 11;  43;    0;           0;    9; Degree_true; Maximum wind gust direction 
+  0; 11;  44;    0;           0;    9; Degree_true; Mean wind direction for surface - 1500 m (5000 feet) 
+  0; 11;  45;    1;           0;   12;       m s-1; Mean wind speed for surface - 1500 m (5000 feet) 
+  0; 11;  46;    1;           0;   12;       m s-1; Maximum instantaneous wind speed 
+  0; 11;  47;    1;           0;   12;       m s-1; Maximum instantaneous wind speed over 10 minutes 
+  0; 11;  49;    0;           0;    9; Degree_true; Standard deviation of wind direction 
+  0; 11;  50;    1;           0;   12;       m s-1; Standard deviation of horizontal wind speed 
+  0; 11;  51;    1;           0;    8;       m s-1; Standard deviation of vertical wind speed 
+  0; 11;  52;    2;           0;   13;       m s-1; Formal uncertainty in wind speed 
+  0; 11;  53;    2;           0;   15; Degree_true; Formal uncertainty in wind direction 
+  0; 11;  61;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer below 
+  0; 11;  62;    1;           0;   12;       m s-1; Absolute wind shear in 1 km layer above 
+  0; 11;  70;    0;           0;   32;   CCITT_IA5; Designator of the runway affected by wind shear (including ALL) 
+  0; 11;  71;    3;        -128;   14;      m2 s-2; Turbulent vertical momentum flux 
+  0; 11;  72;    3;        -128;   11;     K m s-1; Turbulent vertical buoyancy flux 
+  0; 11;  73;    2;       -1024;   13;      m2 s-2; Turbulent kinetic energy 
+  0; 11;  74;    2;       -1024;   10;      m2 s-2; Dissipation energy 
+  0; 11;  75;    2;           0;    8;    m2/3 s-1; Mean turbulence intensity (eddy dissipation rate) 
+  0; 11;  76;    2;           0;    8;    m2/3 s-1; Peak turbulence intensity (eddy dissipation rate) 
+  0; 11;  81;    2;           0;   16; Degree_true; Model wind direction at 10m 
+  0; 11;  82;    2;           0;   14;       m s-1; Model wind speed at 10m 
+# Class 12 - Temperature 
+  0; 12;   1;    1;           0;   12;           K; Temperature/dry-bulb temperature 
+  0; 12;   2;    1;           0;   12;           K; Wet-bulb temperature 
+  0; 12;   3;    1;           0;   12;           K; Dew-point temperature 
+  0; 12;   4;    1;           0;   12;           K; Dry-bulb temperature at 2 m 
+  0; 12;   5;    1;           0;   12;           K; Wet-bulb temperature at 2 m 
+  0; 12;   6;    1;           0;   12;           K; Dew-point temperature at 2 m 
+  0; 12;   7;    1;           0;   12;           K; Virtual temperature 
+  0; 12;  11;    1;           0;   12;           K; "Maximum temperature, at height and over period specified" 
+  0; 12;  12;    1;           0;   12;           K; "Minimum temperature, at height and over period specified" 
+  0; 12;  13;    1;           0;   12;           K; "Ground minimum temperature, past 12 hours" 
+  0; 12;  14;    1;           0;   12;           K; "Maximum temperature at 2 m, past 12 hours" 
+  0; 12;  15;    1;           0;   12;           K; "Minimum temperature at 2 m, past 12 hours" 
+  0; 12;  16;    1;           0;   12;           K; "Maximum temperature at 2 m, past 24 hours" 
+  0; 12;  17;    1;           0;   12;           K; "Minimum temperature at 2 m, past 24 hours" 
+  0; 12;  21;    2;           0;   16;           K; Maximum temperature at 2m 
+  0; 12;  22;    2;           0;   16;           K; Minimum temperature at 2m 
+  0; 12;  30;    1;           0;   12;           K; Soil temperature 
+  0; 12;  51;    1;           0;   10;           K; Standard deviation temperature 
+  0; 12;  52;    1;           0;   12;           K; Highest daily mean temperature 
+  0; 12;  53;    1;           0;   12;           K; Lowest daily mean temperature 
+  0; 12;  61;    1;           0;   12;           K; Skin temperature 
+  0; 12;  62;    1;           0;   12;           K; Equivalent black body temperature 
+  0; 12;  63;    1;           0;   12;           K; Brightness temperature 
+  0; 12;  64;    1;           0;   12;           K; Instrument temperature 
+  0; 12;  65;    1;           0;   12;           K; Standard deviation brightness temperature 
+  0; 12;  71;    1;           0;   12;           K; Coldest cluster temperature 
+  0; 12;  72;    6;           0;   31;  W m-2 sr-1; Radiance 
+  0; 12;  75;   -3;           0;   16;  W m-3 sr-1; Spectral radiance 
+  0; 12;  76;    3;           0;   16;  W m-2 sr-1; Radiance 
+  0; 12; 101;    2;           0;   16;           K; Temperature/dry-bulb temperature 
+  0; 12; 102;    2;           0;   16;           K; Wet-bulb temperature 
+  0; 12; 103;    2;           0;   16;           K; Dew-point temperature 
+  0; 12; 104;    2;           0;   16;           K; Dry-bulb temperature at 2m 
+  0; 12; 105;    2;           0;   16;           K; Web-bulb temperature at 2m 
+  0; 12; 106;    2;           0;   16;           K; Dew-point temperature at 2m 
+  0; 12; 107;    2;           0;   16;           K; Virtual temperature 
+  0; 12; 111;    2;           0;   16;           K; "Maximum temperature, at height and over period specified" 
+  0; 12; 112;    2;           0;   16;           K; "Minimum temperature, at height and over period specified" 
+  0; 12; 113;    2;           0;   16;           K; "Ground minimum temperature, past 12 hours" 
+  0; 12; 114;    2;           0;   16;           K; "Maximum temperature at 2m, past 12 hours" 
+  0; 12; 115;    2;           0;   16;           K; "Minimum temperature at 2m, past 12 hours" 
+  0; 12; 116;    2;           0;   16;           K; "Maximum temperature at 2m, past 24 hours" 
+  0; 12; 117;    2;           0;   16;           K; "Minimum temperature at 2m, past 24 hours" 
+  0; 12; 130;    2;           0;   16;           K; Soil temperature 
+  0; 12; 152;    2;           0;   16;           K; Highest daily mean temperature 
+  0; 12; 153;    2;           0;   16;           K; Lowest daily mean temperature 
+  0; 12; 161;    2;           0;   16;           K; Skin temperature 
+  0; 12; 162;    2;           0;   16;           K; Equivalent black body temperature 
+  0; 12; 163;    2;           0;   16;           K; Brightness temperature 
+  0; 12; 164;    2;           0;   16;           K; Instrument temperature 
+  0; 12; 171;    2;           0;   16;           K; Coldest cluster temperature 
+# Class 13 - Hygrographic and hydrological elements 
+  0; 13;   1;    5;           0;   14;     kg kg-1; Specific humidity 
+  0; 13;   2;    5;           0;   14;     kg kg-1; Mixing ratio 
+  0; 13;   3;    0;           0;    7;           %; Relative humidity 
+  0; 13;   4;   -1;           0;   10;          Pa; Vapour pressure 
+  0; 13;   5;    3;           0;    7;      kg m-3; Vapour density 
+  0; 13;   6;   -1;         -40;   16;           m; Mixing heights 
+  0; 13;   7;    0;           0;    7;           %; Minimum relative humidity 
+  0; 13;   8;    0;           0;    7;           %; Maximum relative humidity 
+  0; 13;  11;    1;          -1;   14;      kg m-2; Total precipitation/total water equivalent 
+  0; 13;  12;    2;          -2;   12;           m; Depth of fresh snow 
+  0; 13;  13;    2;          -2;   16;           m; Total snow depth 
+  0; 13;  14;    4;           0;   12;  kg m-2 s-1; Rainfall/water equivalent of snow (averaged rate) 
+  0; 13;  15;    7;           0;   12;       m s-1; Snowfall  (averaged rate) 
+  0; 13;  16;    0;           0;    7;      kg m-2; Precipitable water 
+  0; 13;  19;    1;          -1;   14;      kg m-2; Total precipitation past 1 hour 
+  0; 13;  20;    1;          -1;   14;      kg m-2; Total precipitation past 3 hours 
+  0; 13;  21;    1;          -1;   14;      kg m-2; Total precipitation past 6 hours 
+  0; 13;  22;    1;          -1;   14;      kg m-2; Total precipitation past 12 hours 
+  0; 13;  23;    1;          -1;   14;      kg m-2; Total precipitation past 24 hours 
+  0; 13;  31;    0;           0;    7;      kg m-2; Evapotranspiration 
+  0; 13;  32;    1;           0;    8;      kg m-2; Evaporation/evapotranspiration 
+  0; 13;  33;    1;           0;   10;      kg m-2; Evaporation/evapotranspiration 
+  0; 13;  38;    0;           0;    2;  Code_Table; Superadiabatic indicator 
+  0; 13;  39;    0;           0;    3;  Code_Table; Terrain type (ice/snow) 
+  0; 13;  41;    0;           0;    4;  Code_Table; Pasquill-Gifford stability category 
+  0; 13;  42;    0;         -20;    6;           K; Parcel lifted index (to 500 hPa) 
+  0; 13;  43;    0;         -20;    6;           K; Best lifted index (to 500 hPa) 
+  0; 13;  51;    0;           0;    4;  Code_Table; "Frequency group, precipitation" 
+  0; 13;  52;    1;          -1;   14;      kg m-2; Highest daily amount of precipitation 
+  0; 13;  60;    1;         -10;   17;      kg m-2; Total accumulated precipitation 
+  0; 13;  71;    2;           0;   14;           m; Upstream water level 
+  0; 13;  72;    2;           0;   14;           m; Downstream water level 
+  0; 13;  73;    2;           0;   14;           m; Maximum water level 
+  0; 13;  80;    1;           0;   10;     pH unit; Water pH 
+  0; 13;  81;    3;           0;   14; Siemens m-1; Water conductivity 
+  0; 13;  82;    1;           0;   12;           K; Water temperature 
+  0; 13;  83;    6;           0;   15;      Kg m-3; Dissolved oxygen 
+  0; 13;  84;    0;           0;   14;       Lumen; Turbidity 
+  0; 13;  85;    3;           0;   14;           V; Oxydation Reduction Potential (ORP) 
+# Class 14 - Radiation and radiance 
+  0; 14;   1;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over 24 hours" 
+  0; 14;   2;   -3;       -2048;   12;       J m-2; "Long-wave radiation, integrated over period specified" 
+  0; 14;   3;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over 24 hours" 
+  0; 14;   4;   -3;       -2048;   12;       J m-2; "Short-wave radiation, integrated over period specified" 
+  0; 14;  11;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over 24 hours" 
+  0; 14;  12;   -3;       -2048;   12;       J m-2; "Net long-wave radiation, integrated over period specified" 
+  0; 14;  13;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over 24 hours" 
+  0; 14;  14;   -3;       -2048;   12;       J m-2; "Net short-wave radiation, integrated over period specified" 
+  0; 14;  15;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over 24 hours" 
+  0; 14;  16;   -4;      -16384;   15;       J m-2; "Net radiation, integrated over period specified" 
+  0; 14;  17;   -3;       -2048;   12;       W m-2; Instantaneous long-wave radiation 
+  0; 14;  18;   -3;       -2048;   12;       W m-2; Instantaneous short-wave radiation 
+  0; 14;  19;    0;           0;    7;           %; Surface albedo 
+  0; 14;  20;   -4;           0;   15;       J m-2; "Global solar radiation, integrated over 24 hours" 
+  0; 14;  21;   -4;           0;   15;       J m-2; "Global radiation, integrated over period specified" 
+  0; 14;  22;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over 24 hours" 
+  0; 14;  23;   -4;           0;   15;       J m-2; "Diffuse solar radiation, integrated over period specified" 
+  0; 14;  24;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over 24 hours" 
+  0; 14;  25;   -4;           0;   15;       J m-2; "Direct solar radiation, integrated over period specified" 
+  0; 14;  26;    0;           0;    7;           %; Albedo at the top of clouds 
+  0; 14;  27;    0;           0;    7;           %; Albedo 
+  0; 14;  28;   -2;           0;   16;       J m-2; "Global solar radiation (high accuracy), integrated over period specified" 
+  0; 14;  29;   -2;           0;   16;       J m-2; "Diffuse solar radiation (high accuracy), integrated over period specified" 
+  0; 14;  30;   -2;           0;   16;       J m-2; "Direct solar radiation (high accuracy), integrated over period specified" 
+  0; 14;  31;    0;           0;   11;      Minute; Total sunshine 
+  0; 14;  32;    0;           0;   10;        Hour; Total sunshine 
+  0; 14;  33;    0;           0;    9;           %; Total sunshine 
+  0; 14;  34;    0;           0;   11;      Minute; Sunshine over period specified 
+  0; 14;  42;    0;           0;    7;           %; Bidirectional reflectance 
+  0; 14;  45;    0;           0;   11;Wm-2 sr-1 cm-1; Channel radiance 
+  0; 14;  51;   -3;           0;   14;       J m-2; Direct solar radiation integrated over last hour 
+# Class 15 - Physical/chemical constituents 
+  0; 15;   1;    0;           0;   10;      Dobson; Ozone 
+  0; 15;   2;    2;           0;   10;     Numeric; Air mass (slant path at 22 km) 
+  0; 15;   3;    4;           0;    9;      Pascal; Measured ozone partial pressure (sounding) 
+  0; 15;   4;    3;           0;   11;     Numeric; Ozone sounding correction factor 
+  0; 15;   5;    0;           0;   10;          DU; Ozone p 
+  0; 15;  11;    3;       14000;   13;  log (1/m2); Log 10 of integrated electron density 
+  0; 15;  15;    0;           0;   31;     Numeric; Maximum image spectral component before normalization 
+  0; 15;  20;    8;           0;   21;      kg m-2; Integrated 03 density 
+# Class 19 - Synoptic features 
+  0; 19;   1;    0;           0;    6;  Code_Table; Type of synoptic feature 
+  0; 19;   2;   -2;           0;   12;           m; Effective radius of feature 
+  0; 19;   3;    0;           0;    8;       m s-1; Wind speed threshold 
+  0; 19;   4;   -2;           0;   12;           m; Effective radius with respect to wind speeds above threshold 
+  0; 19;   5;    0;           0;    9; Degree_true; Direction of motion of feature 
+  0; 19;   6;    2;           0;   14;       m s-1; Speed of motion of feature 
+  0; 19;   7;   -3;           0;   12;           m; Effective radius of feature 
+  0; 19;   8;    0;           0;    3;  Code_Table; Vertical extent of circulation 
+  0; 19;   9;   -3;           0;   12;           m; Effective radius with respect to wind speeds above threshold (large storms) 
+  0; 19;  10;    0;           0;    4;  Code_Table; Method for tracking the centre of synoptic feature 
+# Class 20 - Observed phenomena 
+  0; 20;   1;   -1;           0;   13;           m; Horizontal visibility 
+  0; 20;   2;   -1;           0;    7;           m; Vertical visibility 
+  0; 20;   3;    0;           0;    9;  Code_Table; Present weather 
+  0; 20;   4;    0;           0;    5;  Code_Table; Past weather (1) 
+  0; 20;   5;    0;           0;    5;  Code_Table; Past weather (2) 
+  0; 20;   8;    0;           0;    5;  Code_Table; Cloud distribution for aviation 
+  0; 20;   9;    0;           0;    4;  Code_Table; General Weather Indicator (TAF/METAR) 
+  0; 20;  10;    0;           0;    7;           %; Cloud cover (total) 
+  0; 20;  11;    0;           0;    4;  Code_Table; Cloud amount 
+  0; 20;  12;    0;           0;    6;  Code_Table; Cloud type 
+  0; 20;  13;   -1;         -40;   11;           m; Height of base of cloud 
+  0; 20;  14;   -1;         -40;   11;           m; Height of top of cloud 
+  0; 20;  15;   -1;           0;   14;          Pa; Pressure at base of cloud 
+  0; 20;  16;   -1;           0;   14;          Pa; Pressure at top of cloud 
+  0; 20;  17;    0;           0;    4;  Code_Table; Cloud top description 
+  0; 20;  18;    0;           0;    2;  Code_Table; Tendency of runway visual range 
+  0; 20;  19;    0;           0;   72;   CCITT_IA5; Significant present or forecast weather 
+  0; 20;  20;    0;           0;   32;   CCITT_IA5; Significant recent weather phenomena 
+  0; 20;  31;    2;           0;    7;           m; Ice deposit (thickness) 
+  0; 20;  32;    0;           0;    3;  Code_Table; Rate of ice accretion 
+  0; 20;  33;    0;           0;    4;  Flag_Table; Cause of ice accretion 
+  0; 20;  34;    0;           0;    5;  Code_Table; Sea ice concentration 
+  0; 20;  35;    0;           0;    4;  Code_Table; Amount and type of ice 
+  0; 20;  36;    0;           0;    5;  Code_Table; Ice situation 
+  0; 20;  37;    0;           0;    5;  Code_Table; Ice development 
+  0; 20;  38;    0;           0;   12; Degree_true; Bearing of ice edge 
+  0; 20;  39;   -1;           0;   13;           m; Ice distance 
+  0; 20;  41;    0;           0;    4;  Code_Table; Airframe icing 
+  0; 20;  51;    0;           0;    7;           %; Amount of low clouds 
+  0; 20;  52;    0;           0;    7;           %; Amount of middle clouds 
+  0; 20;  53;    0;           0;    7;           %; Amount of high clouds 
+  0; 20;  61;    0;           0;   12;           m; Runway visual range (RVR) 
+  0; 20;  62;    0;           0;    5;  Code_Table; State of the ground (with or without snow) 
+  0; 20;  63;    0;           0;   10;  Code_Table; Special phenomena 
+  0; 20;  70;    0;           0;    7;     Numeric; Minimum number of atmospherics 
+  0; 20;  71;    0;           0;    4;  Code_Table; Accuracy of fix and rate of atmospherics 
+  0; 20;  81;    0;           0;    7;           %; Cloud amount in segment 
+  0; 20;  82;    0;           0;    7;           %; Amount segment cloud free 
+  0; 20;  90;    0;           0;    4;  Code_Table; Special clouds 
+# Class 21 - Radar data 
+  0; 21;   1;    0;         -64;    7;          dB; Horizontal reflectivity 
+  0; 21;   2;    0;         -64;    7;          dB; Vertical reflectivity 
+  0; 21;   3;    1;          -5;    7;          dB; Differential reflectivity 
+  0; 21;   5;    0;         -65;    6;          dB; Linear depolarisation ratio  
+  0; 21;   6;    0;         -65;    6;          dB; Circular depolarisation ratio  
+  0; 21;  11;    0;        -128;    8;       m s-1; Doppler mean velocity in X-direction 
+  0; 21;  12;    0;        -128;    8;       m s-1; Doppler mean velocity in Y-direction 
+  0; 21;  13;    0;        -128;    8;       m s-1; Doppler mean velocity in Z-direction 
+  0; 21;  14;    1;       -4096;   13;       m s-1; Doppler mean velocity (radial) 
+  0; 21;  17;    1;           0;    8;       m s-1; Doppler velocity spectral width 
+  0; 21;  21;   -3;           0;    4;           m; Echo tops  
+  0; 21;  30;    0;         -32;    8;          dB; Signal to noise ratio 
+  0; 21;  31;    0;           0;    7;      kg m-2; Vertically integrated liquid-water content 
+  0; 21;  36;    7;           0;   12;       m s-1; Radar rainfall intensity  
+  0; 21;  41;   -2;           0;    8;           m; Bright-band height  
+  0; 21;  51;    0;        -256;    8;          dB; Signal power above 1 mW 
+  0; 21;  62;    2;       -5000;   13;    Decibels; Backscatter 
+  0; 21;  63;    1;           0;   10;           %; Radiometric resolution (noise value) 
+  0; 21;  64;    0;           0;    8;     Numeric; Clutter noise estimate 
+  0; 21;  65;    0;        -127;    8;     Numeric; Missing packet counter 
+  0; 21;  66;    0;           0;   12;  Flag_Table; Wave scatterometer product confidence data 
+  0; 21;  67;    0;           0;   13;  Flag_Table; Wind product confidence data 
+  0; 21;  68;    0;           0;    8;  Flag_Table; Radar altimeter product confidence data 
+  0; 21;  69;    0;           0;   10;  Flag_Table; SST product confidence data 
+  0; 21;  70;    0;           0;   23;  Flag_Table; SST product confidence data (SADIST-2) 
+  0; 21;  71;    0;           0;   16;     Numeric; Peakiness 
+  0; 21;  72;    0;           0;    4;  Flag_Table; Satellite altimeter calibration status 
+  0; 21;  73;    0;           0;    9;  Flag_Table; Satelllite altimeter instrument mode 
+  0; 21;  75;    0;           0;    8;     Numeric; Image spectrum intensity 
+  0; 21;  76;    0;           0;    3;  Code_Table; Representation of intensities 
+  0; 21;  77;    3;           0;   14;           m; Altitude correction (ionosphere) 
+  0; 21;  78;    3;           0;    9;           m; Altitude correction (dry troposphere) 
+  0; 21;  79;    3;        2000;   10;           m; Altitude correction (wet troposphere) 
+  0; 21;  80;    3;           0;   11;           m; Altitude correction (calibration constant) 
+  0; 21;  81;    3;           0;   10;           m; Open loop correction (height-time loop) 
+  0; 21;  82;    3;       -3000;   14;    Decibels; Open loop correction (auto gain control) 
+  0; 21;  85;    0;           0;    4;     Numeric; ATSR sea surface temperature across- track band number 
+  0; 21;  91;    0;        -100;    8;          dB; Radar signal Doppler spectrum 0th moment 
+  0; 21;  92;    0;        -100;    8;          dB; "RASS signal Doppler spectrum 0th moment, referring to RASS signal" 
+  0; 21; 101;    0;           0;    3;     Numeric; Number of vector ambiguities 
+  0; 21; 102;    0;           0;    3;     Numeric; Index of selected wind vector 
+  0; 21; 103;    0;           0;    5;     Numeric; Total number of sigma-0 measurements 
+  0; 21; 104;    3;      -30000;   15;     Numeric; Likelihood computed for solution 
+  0; 21; 105;    2;      -10000;   14;          dB; Normalized radar cross-section 
+  0; 21; 106;    3;           0;   14;     Numeric; Kp variance coefficient (Alpha) 
+  0; 21; 107;    8;           0;   16;     Numeric; Kp variance coefficient (Beta) 
+  0; 21; 109;    0;           0;   17;  Flag_Table; SEAWINDS wind vector cell quality 
+  0; 21; 110;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (forward of satellite) 
+  0; 21; 111;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (forward of satellite) 
+  0; 21; 112;    0;           0;    6;     Numeric; Number of inner-beam Sigma-0 (aft of satellite) 
+  0; 21; 113;    0;           0;    6;     Numeric; Number of outer-beam Sigma-0 (aft of satellite) 
+  0; 21; 114;    3;     -140000;   18;          dB; Kp variance coefficent (Gamma) 
+  0; 21; 115;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 quality 
+  0; 21; 116;    0;           0;   17;  Flag_Table; SEAWINDS sigma-0 mode 
+  0; 21; 117;    2;           0;   16;     Numeric; Sigma-0 variance quality control 
+  0; 21; 118;    2;      -10000;   14;          dB; Attenuation correction on sigma-0 
+  0; 21; 119;    0;           0;    6;  Code_Table; Wind scatterometer geophysical model function 
+  0; 21; 120;    3;           0;   10;     Numeric; Probability of rain 
+  0; 21; 121;    0;           0;    8;     Numeric; SEAWINDS NOF* rain index 
+  0; 21; 122;    2;      -10000;   14;          dB; Attenuation correction of sigma-0 (from tB) 
+  0; 21; 123;    2;      -30000;   15;          dB; SEAWINDS normalized radar cross section 
+# Class 22 - Oceanographic elements 
+  0; 22;   1;    0;           0;    9; Degree_true; Direction of waves  
+  0; 22;   2;    0;           0;    9; Degree_true; Direction of wind waves  
+  0; 22;   3;    0;           0;    9; Degree_true; Direction of swell waves  
+  0; 22;   4;    0;           0;    9; Degree_true; Direction of current  
+  0; 22;  11;    0;           0;    6;           s; Period of waves  
+  0; 22;  12;    0;           0;    6;           s; Period of wind waves  
+  0; 22;  13;    0;           0;    6;           s; Period of swell waves  
+  0; 22;  21;    1;           0;   10;           m; Height of waves  
+  0; 22;  22;    1;           0;   10;           m; Height of wind waves  
+  0; 22;  23;    1;           0;   10;           m; Height of swell waves  
+  0; 22;  25;    2;           0;   10;           m; Standard deviation wave height 
+  0; 22;  26;    2;           0;   10;           m; Standard deviation of significant wave height 
+  0; 22;  31;    2;           0;   13;       m s-1; Speed of current  
+  0; 22;  35;    2;           0;   14;           m; Tidal elevation with respect to local chart datum 
+  0; 22;  36;    2;           0;   14;           m; Meteorological residual tidal elevation (surge or offset) 
+  0; 22;  37;    3;      -10000;   15;           m; Tidal elevation with respect to national land datum 
+  0; 22;  38;    3;      -10000;   15;           m; Tidal elevation with respect to local chart datum 
+  0; 22;  39;    3;       -5000;   12;           m; Meteorological residual tidal elevation (surge or offset) 
+  0; 22;  40;    3;       -5000;   14;           m; Meteorological residual tidal elevation (surge or offset) 
+  0; 22;  41;    1;           0;   12;           K; Sea-surface temperature (15-day running mean) 
+  0; 22;  42;    1;           0;   12;           K; Sea/water temperature 
+  0; 22;  43;    2;           0;   15;           K; Sea/water temperature 
+  0; 22;  44;    1;           0;   14;       m s-1; Sound velocity  
+  0; 22;  50;    2;           0;    8;           K; Standard deviation sea-surface temperature 
+  0; 22;  61;    0;           0;    4;  Code_Table; State of the sea  
+  0; 22;  62;    2;           0;   14;Part per thousand; Salinity 
+  0; 22;  63;    0;           0;   14;           m; Total water depth  
+  0; 22;  67;    0;           0;   10;  Code_Table; Instrument type for water temperature profile measurement 
+  0; 22;  68;    0;           0;    7;  Code_Table; Water temperature profile recorder types 
+  0; 22;  70;    2;           0;   13;           m; Significant wave height 
+  0; 22;  71;    1;           0;    9;           s; Spectral peak wave period 
+  0; 22;  72;    0;           0;   13;           m; Spectral peak wave length 
+  0; 22;  73;    2;           0;   13;           m; Maximum wave height 
+  0; 22;  74;    1;           0;    9;           s; Average wave period 
+  0; 22;  75;    0;           0;   13;           m; Average wave length 
+  0; 22;  76;    0;           0;    9; Degree_true; Direction from which dominant waves are coming 
+  0; 22;  77;    0;           0;    9;      Degree; Directional spread of dominant wave 
+  0; 22;  78;    0;           0;   12;           s; Duration of wave record 
+  0; 22;  79;    0;           0;   16;           m; Length of wave record 
+  0; 22;  80;    3;           0;   10;          Hz; Waveband central frequency 
+  0; 22;  81;    5;           0;   13;         m-1; Waveband central wave number 
+  0; 22;  82;    2;           0;   20;        m2 s; Maximum non-directional spectral wave density 
+  0; 22;  83;    2;           0;   20;          m3; Maximum non-directional spectral wave number 
+  0; 22;  84;    0;           0;    7;     Numeric; Band containing maximum non- directional spectral wave density 
+  0; 22;  85;    0;           0;    7;     Numeric; Spectral wave density ratio 
+  0; 22;  86;    0;           0;    9; Degree_true; Mean direction from which waves are coming 
+  0; 22;  87;    0;           0;    9; Degree_true; Principal direction from which waves are coming 
+  0; 22;  88;    2;           0;    7;     Numeric; First normalized polar coordinate from Fourier coefficients 
+  0; 22;  89;    2;           0;    7;     Numeric; Second normalized polar coordinate from Fourier coefficients 
+  0; 22;  90;    2;           0;   20;        m2 s; Non-directional spectral estimate by wave frequency 
+  0; 22;  91;    2;           0;   20;          m3; Non-directional spectral estimate by wave number 
+  0; 22;  92;    2;           0;   20;  m2 rad-1 s; Directional spectral estimate by wave frequency 
+  0; 22;  93;    2;           0;   20;          m4; Directional spectral estimate by wave number 
+  0; 22;  94;    0;           0;    7;     Numeric; Total number of wave bands 
+  0; 22;  95;    0;           0;    8;      Degree; Directional spread of individual waves 
+  0; 22;  96;    3;           0;    4;         s-1; Spectral band width 
+  0; 22;  97;    0;           0;   14;           m; Mean wavelength > 731 m of image spectrum at low wave numbers 
+  0; 22;  98;    0;           0;   14;           m; Wavelength spread (wavelength > 731 m) at low wave numbers 
+  0; 22;  99;    0;           0;    9; Degree_true; Mean direction at low wave numbers (wavelength > 731 m) 
+  0; 22; 100;    0;           0;    9;      Degree; Direction spread at low wave numbers(wavelength > 731 m) 
+  0; 22; 101;    0;           0;   31;     Numeric; Total energy (wavelength > 731m) at low wave numbers 
+  0; 22; 120;    0;           0;    5;  Code_Table; Tide station automated water level check 
+  0; 22; 121;    0;           0;    5;  Code_Table; Tide station manual water level check 
+  0; 22; 122;    0;           0;    5;  Code_Table; Tide station automated meteorological data check 
+  0; 22; 123;    0;           0;    5;  Code_Table; Tide station manual meteorological data check 
+  0; 22; 141;    2;           0;   15;           K; Sea-surface temperature (15-day running mean) 
+# Class 23 - Dispersal and transport 
+  0; 23;   1;    0;           0;    3;  Code_Table; Accident early notification  article applicable 
+  0; 23;   2;    0;           0;    5;  Code_Table; Activity or facility involved in incident 
+  0; 23;   3;    0;           0;    3;  Code_Table; Type of release  
+  0; 23;   4;    0;           0;    3;  Code_Table; Countermeasures taken near border 
+  0; 23;   5;    0;           0;    2;  Code_Table; Cause of incident  
+  0; 23;   6;    0;           0;    3;  Code_Table; Incident situation  
+  0; 23;   7;    0;           0;    3;  Code_Table; Characteristics of release 
+  0; 23;   8;    0;           0;    2;  Code_Table; State of current release  
+  0; 23;   9;    0;           0;    2;  Code_Table; State of expected release  
+  0; 23;  16;    0;           0;    2;  Code_Table; Possibility of significant chemical toxic health effect 
+  0; 23;  17;    6;           0;   20;     m3 s-1 ; Flow discharge of major recipient 
+  0; 23;  18;    0;           0;    3;  Code_Table; Release behaviour over time 
+  0; 23;  19;    0;      -15000;   17;           m; Actual release height 
+  0; 23;  21;    0;      -15000;   17;           m; Effective release height 
+  0; 23;  22;    0;           0;   24;           m; Distance of release point or site of incident 
+  0; 23;  23;    1;           0;   12;     m s-1  ; Main transport speed in the atmosphere 
+  0; 23;  24;    2;           0;   13;     m s-1  ; Main transport speed in water 
+  0; 23;  25;    2;           0;   13;     m s-1  ; Main transport speed in ground water 
+  0; 23;  27;    0;           0;    9; Degree_true; Main transport direction in the atmosphere 
+  0; 23;  28;    0;           0;    9; Degree_true; Main transport direction in water 
+  0; 23;  29;    0;           0;    9; Degree_true; Main transport direction in ground water 
+  0; 23;  31;    0;           0;    2;  Code_Table; Possibility that plume will encounter precipitation in State in which incident occurred 
+  0; 23;  32;    0;           0;    2;  Code_Table; Plume will encounter change in wind direction and/or speed flag 
+# Class 24 - Radiological elements 
+  0; 24;   1;  -11;           0;   28;         Bq*; Estimate of amount of radioactivity released up to specified time 
+  0; 24;   2;  -11;           0;   28;          Bq; Estimated maximum potential release 
+  0; 24;   3;    0;           0;    5;  Code_Table; Composition of release 
+  0; 24;   4;    0;           0;   16;   CCITT_IA5; Element name 
+  0; 24;   5;    0;           0;    9;     Numeric; Isotope mass 
+  0; 24;  11;    2;           0;   32;     mSv*/**; Dose 
+  0; 24;  12;    2;           0;   32;         mSv; Trajectory dose (defined location and expected time of arrival) 
+  0; 24;  13;    2;           0;   32;         mSv; Gamma dose in air along the main transport path (defined location and time period) 
+  0; 24;  21;    2;           0;   32;      Bq m-3; Air concentration (of named isotope type including gross beta) 
+  0; 24;  22;    2;           0;   32;      Bq 1-1; Concentration in precipitation (of names isotope type) 
+  0; 24;  23;    1;           0;   14;         s-1; Pulse rate of beta radiation 
+  0; 24;  24;    1;           0;   14;         s-1; Pulse rate of gamma radiation 
+# Class 25 - Processing information 
+  0; 25;   1;   -1;           0;    6;           m; Range-gate length 
+  0; 25;   2;    0;           0;    4;     Numeric; Number of gates averaged 
+  0; 25;   3;    0;           0;    8;     Numeric; Number of integrated pulses 
+  0; 25;   4;    0;           0;    2;  Code_Table; Echo processing 
+  0; 25;   5;    0;           0;    2;  Code_Table; Echo integration 
+  0; 25;   6;    0;           0;    3;  Code_Table; Z to R conversion 
+  0; 25;   7;    0;           0;   12;     Numeric; Z to R conversion factor 
+  0; 25;   8;    2;           0;    9;     Numeric; Z to R conversion exponent 
+  0; 25;   9;    0;           0;    4;  Flag_Table; Calibration method 
+  0; 25;  10;    0;           0;    4;  Code_Table; Clutter treatment 
+  0; 25;  11;    0;           0;    2;  Code_Table; Ground occultation correction (screening) 
+  0; 25;  12;    0;           0;    2;  Code_Table; Range attenuation correction 
+  0; 25;  13;    0;           0;    2;  Flag_Table; Bright-band correction 
+  0; 25;  14;    0;           0;   12;     Numeric; Azimuth clutter cut-off (see Note) 
+  0; 25;  15;    0;           0;    2;  Flag_Table; Radome attenuation correction 
+  0; 25;  16;    5;           0;    6;      dB m-1; Clear-air attenuation correction 
+  0; 25;  17;    0;           0;    2;  Flag_Table; Precipitation attenuation correction 
+  0; 25;  18;    7;           0;    6;     Numeric; A to Z law for attenuation factor 
+  0; 25;  19;    2;           0;    7;     Numeric; A to Z law for attenuation exponent 
+  0; 25;  20;    0;           0;    2;  Code_Table; Mean speed estimation 
+  0; 25;  21;    0;           0;    8;  Flag_Table; Wind computation enhancement 
+  0; 25;  30;    0;           0;    2;  Code_Table; Running mean sea-surface temperature usage 
+  0; 25;  32;    0;           0;    2;  Code_Table; Wind profiler mode information* 
+  0; 25;  33;    0;           0;    2;  Code_Table; Wind profiler submode information* 
+  0; 25;  34;    0;           0;    4;  Flag_Table; Wind profiler quality control test results*  
+  0; 25;  36;    0;           0;    4;  Code_Table; Atmospherics location method 
+  0; 25;  40;    0;           0;    4;  Code_Table; CO2 wind product derivation 
+  0; 25;  41;    0;           0;    2;  Code_Table; Moving platform direction reporting method 
+  0; 25;  42;    0;           0;    2;  Code_Table; Moving platform speed reporting method 
+  0; 25;  43;    4;           0;   15;           s; Wave sampling interval (time) 
+  0; 25;  44;    2;           0;   14;           m; Wave sampling interval (space) 
+  0; 25;  45;    0;           0;   21;  Flag_Table; HIRS channel combination 
+  0; 25;  46;    0;           0;    5;  Flag_Table; MSU channel combination 
+  0; 25;  47;    0;           0;    4;  Flag_Table; SSU channel combination 
+  0; 25;  48;    0;           0;   16;  Flag_Table; AMSU-A channel combination 
+  0; 25;  49;    0;           0;    6;  Flag_Table; AMSU-B channel combination 
+  0; 25;  51;    0;           0;    7;  Flag_Table; AVHRR channel combination 
+  0; 25;  53;    0;           0;   12;  Flag_Table; Observation quality 
+  0; 25;  60;    0;           0;   14;     Numeric; Software identification 
+  0; 25;  70;    0;           0;    4;     Numeric; Major frame count 
+  0; 25;  71;    0;           0;    5;     Numeric; Frame count 
+  0; 25;  75;    0;           0;    5;     Numeric; Satellite antenna corrections version number 
+  0; 25;  76;    8;           0;   30;     Log m-1; Log-10 of (Temperature-radiance central wavenumber) for ATOVS 
+  0; 25;  77;    5;     -100000;   18;     Numeric; Bandwidth correction coefficient 1 for ATOVS 
+  0; 25;  78;    5;           0;   17;     Numeric; Bandwidth correction coefficient 2 for ATOVS 
+  0; 25;  79;    4;           0;   24;       W m-2; Albedo-radiance solar filtered irradiance for ATOVS 
+  0; 25;  80;   10;           0;   14;           m; Albedo-radiance equivalent filter width for ATOVS 
+  0; 25;  85;    0;           0;    7;     Numeric; Fraction of clear pixels in HIRS FOV 
+  0; 25;  86;    0;           0;    2;  Code_Table; Depth correction indicator 
+  0; 25;  91;    3;      -18192;   13;          dB; Structure constant of the refraction index (cn2) 
+  0; 25;  92;    2;       28000;   14;       m s-1; Acoustic propagation velocity 
+  0; 25;  93;    0;           0;    8;  Flag_Table; RASS computation correction 
+# Class 26 - Non-coordinate location (time) 
+  0; 26;   1;    1;           0;   12;        Hour; Principal time of daily reading in UTC of maximum temperature 
+  0; 26;   2;    1;           0;   12;        Hour; Principal time of daily reading in UTC of minimum temperature 
+  0; 26;   3;    0;       -1440;   12;      Minute; Time difference 
+  0; 26;  10;    0;           0;   26;  Flag_Table; Hours included 
+# Class 27 - Non-coordinate location (horizontal - 1) 
+  0; 27;   1;    5;    -9000000;   25;      Degree; Latitude (high accuracy) 
+  0; 27;   2;    2;       -9000;   15;      Degree; Latitude (coarse accuracy) 
+  0; 27;   3;    2;       -9000;   15;      Degree; Alternate latitude 
+  0; 27;  20;    0;           0;   16;     Numeric; Satellite location counter 
+  0; 27;  21;    0;           0;   16;     Numeric; Satellite sublocation dimension 
+  0; 27;  31;    2; -1073741824;   31;           m; "In direction of 0 degrees longitude, distance from the Earths centre" 
+# Class 28 - Non-coordinate location (horizontal - 2) 
+  0; 28;   1;    5;   -18000000;   26;      Degree; Longitude (high accuracy) 
+  0; 28;   2;    2;      -18000;   16;      Degree; Longitude (coarse accuracy) 
+  0; 28;   3;    2;      -18000;   16;      Degree; Alternate longitude 
+  0; 28;  31;    2; -1073741824;   31;           m; "In direction 90 degrees East, distance from the Earths centre" 
+# Class 29 - Map data 
+  0; 29;   1;    0;           0;    3;  Code_Table; Projection type 
+  0; 29;   2;    0;           0;    3;  Code_Table; Coordinate grid type 
+# Class 30 - Image 
+  0; 30;   1;    0;           0;    4;     Numeric; Pixel value (4 bits) 
+  0; 30;   2;    0;           0;    8;     Numeric; Pixel value (8 bits) 
+  0; 30;   4;    0;           0;   16;     Numeric; Pixel value (16 bits) 
+  0; 30;  21;    0;           0;   12;     Numeric; Number of pixels per row 
+  0; 30;  22;    0;           0;   12;     Numeric; Number of pixels per column 
+  0; 30;  31;    0;           0;    4;  Code_Table; Picture type 
+  0; 30;  32;    0;           0;   16;  Flag_Table; Combination with other data 
+# Class 31 - Data description operator qualifiers 
+  0; 31;   0;    0;           0;    1;     Numeric; Short delayed descriptor replication factor 
+  0; 31;   1;    0;           0;    8;     Numeric; Delayed descriptor replication factor 
+  0; 31;   2;    0;           0;   16;     Numeric; Extended delayed descriptor replication factor 
+  0; 31;  11;    0;           0;    8;     Numeric; Delayed descriptor and data repetition factor 
+  0; 31;  12;    0;           0;   16;     Numeric; Extended delayed descriptor and data repetition factor 
+  0; 31;  21;    0;           0;    6;  Code_Table; Associated field significance 
+  0; 31;  31;    0;           0;    1;  Flag_Table; Data present indicator 
+# Class 33 - Quality information 
+  0; 33;   2;    0;           0;    2;  Code_Table; Quality information 
+  0; 33;   3;    0;           0;    3;  Code_Table; Quality information 
+  0; 33;   7;    0;           0;    7;           %; Per cent confidence 
+  0; 33;  20;    0;           0;    3;  Code_Table; Quality control indication of following value 
+  0; 33;  21;    0;           0;    2;  Code_Table; Quality of following value 
+  0; 33;  22;    0;           0;    2;  Code_Table; Quality of buoy satellite transmission 
+  0; 33;  23;    0;           0;    2;  Code_Table; Quality of buoy location 
+  0; 33;  24;    0;           0;    4;  Code_Table; Station elevation quality mark (for mobile stations) 
+  0; 33;  25;    0;           0;    3;  Code_Table; ACARS interpolated values 
+  0; 33;  26;    0;           0;    6;  Code_Table; Moisture quality 
+  0; 33;  27;    0;           0;    3;  Code_Table; Location quality class (range of radius of 66 % confidence) 
+  0; 33;  30;    0;           0;   24;  Flag_Table; Scan line status flags for ATOVS 
+  0; 33;  31;    0;           0;   24;  Flag_Table; Scan line quality flags for ATOVS 
+  0; 33;  32;    0;           0;   24;  Flag_Table; Channel quality flags for ATOVS 
+  0; 33;  33;    0;           0;   24;  Flag_Table; Field of view quality flags for ATOVS 
+  0; 33;  35;    0;           0;    4;  Code_Table; Manual/automatic quality control 
+  0; 33;  36;    0;           0;    7;           %; Nominal confidence threshold 
+  0; 33;  37;    0;           0;   20;  Flag_Table; Wind correlation error 
+  0; 33;  40;    0;           0;    7;           %; Confidence interval 
+  0; 33;  41;    0;           0;    2;  Code_Table; Attribute of following value 
+# Class 35 - Data monitoring information 
+  0; 35;   0;    0;           0;   10;  Code_Table; FM and regional code number 
+  0; 35;   1;    0;           0;    3;  Code_Table; Time-frame for monitoring 
+  0; 35;  11;    0;           0;   14;     Numeric; Number of reports actually received 
+  0; 35;  21;    0;           0;   48;   Character; Bulletin being monitored (TTAAii) 
+  0; 35;  22;    0;           0;   48;   Character; Bulletin being monitored (YYGGgg) 
+  0; 35;  30;    0;           0;    4;  Code_Table; Discrepancies in the availability of expected data 
+  0; 35;  31;    0;           0;    7;  Code_Table; Qualifier on monitoring results 
+  0; 35;  32;    0;           0;    4;  Code_Table; Cause of missing data 
+  0; 35;  33;    0;           0;    7;  Code_Table; Observation and collection deficiencies 
+  0; 35;  34;    0;           0;    3;  Code_Table; Statistical trends for availability of data (during the survey period(s)) 
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-007-0
@@ -0,0 +1,115 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################		
+		
+#01-09: WMCs		
+0	1	Melbourne
+0	2	Melbourne
+0	3	Melbourne
+0	4	Moscow
+0	5	Moscow
+0	6	Moscow
+0	7	"US National Weather Service, National Centres for Environmental Prediction(NCEP)"
+0	8	US National Weather Service TelecommunicationsGateway (NWSTG)
+0	9	US National Weather Service - Other
+#10-25: Centres in Region I		
+0	10	Cairo (RSMC/RAFC)
+0	11	Cairo (RSMC/RAFC)
+0	12	Dakar (RSMC/RAFC)
+0	13	Dakar (RSMC/RAFC)
+0	14	Nairobi (RSMC/RAFC)
+0	15	Nairobi (RSMC/RAFC)
+0	18	Tunis Casablanca (RSMC)
+0	19	Tunis Casablanca (RSMC)
+0	20	Las Palmas (RAFC)
+0	21	Algiers (RSMC)
+0	24	Pretoria (RSMC)
+0	25	La Runion (RSMC)
+#26-40: Centres in Region II		
+0	26	Khabarovsk (RSMC)
+0	27	Khabarovsk (RSMC)
+0	28	New Delhi (RSMC/RAFC)
+0	29	New Delhi (RSMC/RAFC)
+0	30	Novosibirsk (RSMC)
+0	31	Novosibirsk (RSMC)
+0	32	Tashkent (RSMC)
+0	33	Jeddah (RSMC)
+0	34	"Tokyo (RSMC), Japan Meteorological Agency"
+0	35	"Tokyo (RSMC), Japan Meteorological Agency"
+0	36	Bangkok
+0	37	Ulan Bator
+0	38	Beijing (RSMC)
+0	39	Beijing (RSMC)
+0	40	Seoul
+#41-50: Centres in Region III		
+0	41	Buenos Aires (RSMC/RAFC)
+0	42	Buenos Aires (RSMC/RAFC)
+0	43	Brasilia (RSMC/RAFC)
+0	44	Brasilia (RSMC/RAFC)
+0	45	Santiago
+0	46	Brazilian Space Agency  INPE
+#51-63: Centres in Region IV		
+0	51	Miami (RSMC/RAFC)
+0	52	"Miami RSMC, National Hurricane Center"
+0	53	Montreal (RSMC)
+0	54	Montreal (RSMC)
+0	55	San Francisco
+0	57	U.S. Air Force Air Force Global Weather Central 
+0	58	"Fleet Numerical Meteorology and Oceanography Center, Monterey, CA"
+0	59	"The NOAA Forecast Systems Laboratory, Boulder, CO, USA"
+0	60	United States National Centre for Atmospheric Research (NCAR)
+#64-73: Centres in Region V		
+0	64	Honolulu
+0	65	Darwin (RSMC)
+0	66	Darwin (RSMC)
+0	67	Melbourne (RSMC)
+0	69	Wellington (RSMC/RAFC)
+0	70	Wellington (RSMC/RAFC)
+0	71	Nadi (RSMC)
+#74-99: Centres in Region VI		
+0	74	UK Meteorological Office  Bracknell (RSMC)
+0	75	UK Meteorological Office  Bracknell (RSMC)
+0	76	Moscow (RSMC/RAFC)
+0	78	Offenbach (RSMC)
+0	79	Offenbach (RSMC)
+0	80	Rome (RSMC)
+0	81	Rome (RSMC)
+0	82	Norrkping
+0	83	Norrkping
+0	85	Toulouse (RSMC)
+0	86	Helsinki
+0	87	Belgrade
+0	88	Oslo
+0	89	Prague
+0	90	Episkopi
+0	91	Ankara
+0	92	Frankfurt/Main (RAFC)
+0	93	London (WAFC)
+0	94	Copenhagen
+0	95	Rota
+0	96	Athens
+0	97	European Space Agency (ESA)
+0	98	"ECMWF, RSMC"
+0	99	De Bilt
+0	110	Hong-Kong
+0	160	US NOAA/NESDIS
+0	210	Frascati (ESA/ESRIN)
+0	211	Lanion
+0	212	Lisboa
+0	213	Reykjavik
+0	254	EUMETSAT Operation Centre
+0	255	Missing value
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-000001-B
@@ -0,0 +1,52 @@
+#
+# BUFR Table B - Local table for ECMWF encode/decode of 
+# High Density Winds from GOES, ref. IPD-1008 release 3 Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;     31;      0;           0;   16;   Code_Table; Identification of originating/generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+
+  0;    2;    196;      0;           0;    9;   Code_Table; Satellite Classification
+  0;    2;    197;      8;           0;   26;           Hz; Satellite Channel Center Frequency
+  0;    2;    198;      8;           0;   26;           Hz; Satellite Channel Band Width
+  0;    2;    221;      0;           0;   18;            M; Segment Size At Nadir In X Direction
+  0;    2;    222;      0;           0;   18;            M; Segment Size At Nadir In Y Direction
+  0;    2;    231;      0;           0;    4;   Code_Table; Height Assignment Method
+  0;    2;    232;      0;           0;    3;   Code_Table; Tracer Correlation Method
+  0;    2;    252;      0;           0;   31;   Flag_Table; Satellite Instrument Data Used In Processing
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;     24;      2;       -9000;   15;          deg; Satellite zenith angle
+
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;    193;      1;           0;   12;        deg_K; Coldest Cluster Temperature
+
+
+  0;   31;     31;      0;           0;    1;   Flag_Table; Data present indicator
+
+  0;   33;      7;      0;           0;    7;      Percent; Per cent confidence
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-000-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-006001-B
@@ -0,0 +1,814 @@
+#
+# BUFR Table B - Classification of Elements (edited by Mr. Spurlin last on April 12, 2001)
+#
+#						Data
+#F	X	Y	Scale	RefVal		Width	Units		Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;   Code_Table; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship or mobile land station identifier
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     15;      0;           0;  160;    CCITT_IA5; Station or site name
+  0;    1;     18;      0;           0;   40;    CCITT_IA5; Short station or site name
+  0;    1;     20;      0;           0;    4;      Numeric; WMO Region sub-area
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     22;      0;           0;  224;    CCITT_IA5; Name of feature
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Identification of originating/generating center
+  0;    1;     32;      0;           0;    8;   Code_Table; Generating application
+  0;    1;     33;      0;           0;    8;   Code_Table; Identification of originating/generating center
+  0;    1;     34;      0;           0;    8;   Code_Table; Identification of originating/generating sub-center
+  0;    1;     41;      5; -1073741824;   31;          m/s; Absolute platform velocity - first component
+  0;    1;     42;      5; -1073741824;   31;          m/s; Absolute platform velocity - second component
+  0;    1;     43;      5; -1073741824;   31;          m/s; Absolute platform velocity - third component
+  0;    1;     50;      0;           0;   17;      Numeric; Platform transmitter ID number
+  0;    1;     51;      0;           0;   96;    CCITT_IA5; Platform transmitter ID nubmer
+  0;    1;     60;      0;           0;   64;    CCITT_IA5; Aircraft reporting point (Beacon identifier)
+  0;    1;     62;      0;           0;   32;    CCITT_IA5; Aircraft reporting point (Beacon idnetifier)
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+  0;    1;     64;      0;           0;   32;    CCITT_IA5; Runway designator
+  0;    1;     75;      0;           0;   40;    CCITT_IA5; Ride station identification
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;        deg_K; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     19;      0;           0;   11;   Code_Table; Satellite instruments
+  0;    2;     20;      0;           0;    9;   Code_Table; Satellite classification
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     28;      0;           0;   18;            m; Segment size at nadir in X direction
+  0;    2;     29;      0;           0;   18;            m; Segment size at nadir in Y direction
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     37;      0;           0;    3;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Method of sea-surface temperature measurement
+  0;    2;     39;      0;           0;    3;   Code_Table; Method of wet-buld temperature measurement
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion of platform from current
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     44;      0;           0;    4;   Code_Table; Inicator for method of calculating spectral wave data
+  0;    2;     45;      0;           0;    4;   Code_Table; Indicator for type of platform
+  0;    2;     46;      0;           0;    4;   Code_Table; Wave measurement instrumentation
+  0;    2;     48;      0;           0;    4;   Code_Table; Satellite sensor indicator
+  0;    2;     49;      0;           0;    8;   Flag_Table; Geostationary satellite data-processing technique used
+  0;    2;     50;      0;           0;   20;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;    2;     52;      0;           0;    6;   Flag_Table; Geostationary imager satellite channels used
+  0;    2;     53;      0;           0;    4;   Code_Table; GOES-I/M  brightness temperature characteristics
+  0;    2;     54;      0;           0;    4;   Code_Table; GOES-I/M  soundings parameter characteristics
+  0;    2;     55;      0;           0;    4;   Code_Table; Geostationary soundings statistical parameters
+  0;    2;     56;      0;           0;    4;   Code_Table; Geostationary soundings accuracy statistics
+  0;    2;     57;      0;           0;    4;   Code_Table; Origin of first guess information for GOES-I/M soundings
+  0;    2;     58;      0;           0;    4;   Code_Table; Valid times of first guess information for GOES-I/M soundings
+  0;    2;     59;      0;           0;    4;   Code_Table; Origin of analysis information for GOES-I/M soundings
+  0;    2;     60;      0;           0;    4;   Code_Table; Origin of surface information for GOES-I/M soundings
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     64;      0;           0;    2;   Code_Table; Aircraft roll angle quality
+  0;    2;     65;      0;           0;   40;    CCITT_IA5; ACARS ground receiving station
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;     91;      0;           4;   10;            A; Entry sensor 4/20 mA
+  0;    2;    100;      1;           0;   12;           dB; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    140;      0;           0;    9;          deg; Satellite radar beam azimuth
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument serial number/identification
+  0;    2;    143;      0;           0;    7;   Code_Table; Ozone instrument type
+  0;    2;    144;      0;           0;    4;   Code_Table; Light source type for Brewer spectrophotometer
+  0;    2;    145;      0;           0;    4;   Code_Table; Wave length setting for Dobson instruments
+  0;    2;    146;      0;           0;    4;   Code_Table; Source conditions for Dobson instruments
+  0;    2;    148;      0;           0;    5;   Code_Table; Data collection and/or location system
+  0;    2;    149;      0;           0;    6;   Code_Table; Type of data buoy
+  0;    2;    150;      0;           0;    6;   Code_Table; TOVS/ATOVS/AVHRR instrumentation channel number
+  0;    2;    151;      0;           0;    4;   Code_Table; Radiometer identifier
+  0;    2;    152;      0;           0;   31;   Flag_Table; Satellite instrument used in data processing
+  0;    2;    153;     -8;           0;   26;           Hz; Satellite channel center frequency
+  0;    2;    154;     -8;           0;   26;           Hz; Satellite channel band width
+  0;    2;    163;      0;           0;    4;   Code_Table; Height assignment method
+  0;    2;    164;      0;           0;    3;   Code_Table; Tracer correlation method
+  0;    2;    166;      0;           0;    4;   Code_Table; Radiance type
+  0;    2;    167;      0;           0;    4;   Code_Table; Radiance computational method
+  0;    2;    168;     -3;           0;   16;           Pa; Hydrostatic pressure of lower end of cable (thermistor string)
+  0;    2;    169;      0;           0;    4;   Code_Table; Anemometer type
+  0;    2;    172;      0;           0;    8;   Code_Table; Product type for retrieved atmospheric gases
+  0;    2;    196;      0;           0;    9;   Code_Table; Satellite Classification
+  0;    2;    197;     -8;           0;   26;           Hz; Satellite Channel Center Frequency
+  0;    2;    198;     -8;           0;   26;           Hz; Satellite Channel Band Width
+  0;    2;    221;      0;           0;   18;            M; Segment Size At Nadir In X Direction
+  0;    2;    222;      0;           0;   18;            M; Segment Size At Nadir In Y Direction
+  0;    2;    231;      0;           0;    4;   Code_Table; Height Assignment Method
+  0;    2;    232;      0;           0;    3;   Code_Table; Tracer Correlation Method
+  0;    2;    252;      0;           0;   31;   Flag_Table; Satellite Instrument Data Used In Processing
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     17;      0;       -1440;   12;          min; Reference time period for accumulated or extreme data
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to following value
+  0;    4;     32;      0;           0;    6;       Minute; Duration of time relating to following value
+  0;    4;     41;      0;       -1440;   12;       Minute; Time Difference, UTC-LMT
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipition equal to or more than 1mm
+  0;    4;     65;      0;        -128;    8;          min; Short time increment
+  0;    4;     73;      0;        -128;    8;          Day; Short time period or displacement
+  0;    4;     74;      0;        -128;    8;         Hour; Short time period or displacement
+  0;    4;     75;      0;        -128;    8;       Minute; Short time period or displacement
+  0;    4;    192;      0;           0;    3;   Code_Table; Season
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     34;      0;           0;   11;      Numeric; Along Track row number
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;    6;     11;      5;   -18000000;   26;          deg; Longitude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longitude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+  0;    6;     34;      0;           0;    7;      Numeric; Cross-track cell number
+  0;    6;     40;      0;           0;   13;            m; Radius of confidence
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Height
+  0;    7;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;      9;      0;       -1000;   17;          gpm; Geopotential height
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     24;      2;       -9000;   15;          deg; Satellite zenith angle
+  0;    7;     25;      2;       -9000;   15;          deg; Solar zenith angle
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea/water surface
+  0;    7;     64;      0;           0;    4;            m; Height above station (sensor height artificially corrected)
+  0;    7;     70;      0;           0;   10;            m; Drogue depth
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Meteorological attribute significance
+  0;    8;      6;      0;           0;    9;   Flag_Table; Ozone vertical sounding significance
+  0;    8;      7;      0;           0;    4;   Code_Table; Dimensional significance
+  0;    8;      8;      0;           0;    9;   Flag_Table; Radiation vertical sounding significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Meteorological feature
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     14;      0;           0;    4;   Code_Table; Qualification for runway visual range
+  0;    8;     16;      0;           0;    3;   Code_Table; Change indicator of a trend-type forecast or an aerodrome forecast
+  0;    8;     17;      0;           0;    2;   Code_Table; Qualifier of the time when the forecast change is expected
+  0;    8;     18;      0;           0;   17;   Flag_Table; SEAWINDS land/ice surface type
+  0;    8;     20;      0;           0;   16;      Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     23;      0;           0;    6;   Code_Table; First order statistics
+  0;    8;     24;      0;           0;    6;   Code_Table; Difference statistics
+  0;    8;     25;      0;           0;    4;   Code_Table; Time difference qualifier
+  0;    8;     30;      0;           0;   13;      Numeric; Manual on Codes Volume I.1 Section C table identifier
+  0;    8;     31;      0;           0;    8;      Numeric; Data category CREX table A
+  0;    8;     35;      0;           0;    3;   Code_Table; Type of monitoring exercise
+  0;    8;     36;      0;           0;    3;   Code_Table; Type of center or station performing monitoring
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurrence follows
+  0;    8;     53;      0;           0;    2;   Code_Table; Day of occurance qualifier
+  0;    8;     60;      0;           0;    4;   Code_Table; Sample scanning mode significance
+  0;    8;     70;      0;           0;    4;   Code_Table; TOVS/ATOVS product qualifier
+  0;    8;     72;      0;           0;    3;   Code_table; Pixel(s) type
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;      9;      0;       -1000;   17;          gpm; Geopotential height
+  0;   10;     10;     -1;           0;   14;           Pa; Minimum pressure reduced to mean sea level
+  0;   10;     11;     -1;           0;   14;           Pa; Maximum pressure reduced to mean sea level
+  0;   10;     31;      2; -1073741824;   31;            m; In direction of the North Pole, distance from the Earth's centre
+  0;   10;     40;      0;           0;   10;      Numeric; Number of retrieved layer
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+  0;   10;     70;      0;        -400;   16;            m; Indicated aircraft altitude
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     10;      0;           0;    9;          deg; true	Wind direction associated with wind speed which follows
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     16;      0;           0;    9;     deg_true; Extreme counterclockwise wind direction of a variable wind
+  0;   11;     17;      0;           0;    9;     deg_true; Extreme clockwise wind direction of a variable wind
+  0;   11;     19;      0;           0;    7;      Percent; Steadiness of wind
+  0;   11;     21;      9;      -65536;   17;          1/s; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;          1/s; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust speed
+  0;   11;     37;      0;           0;    6;   Code_Table; Turbulence Index
+  0;   11;     38;      0;           0;    5;   Code_Table; Time of occurrence of Peak Eddy Dissipation Rate
+  0;   11;     40;      1;           0;   12;          m/s; Maximum wind speed (mean wind)
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     44;      0;           0;    9;     deg_true; Mean wind direction for surface - 1500m (5000 feet)
+  0;   11;     45;      1;           0;   12;          m/s; Mean wind speed for surface - 1500m (5000 feet)
+  0;   11;     46;      1;           0;   12;          m/s; Maximum instantaneous wind speed
+  0;   11;     47;      1;           0;   12;          m/s; Maximum instantaneous wind speed over 10 minutes
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind speed
+  0;   11;     52;      2;           0;   13;          m/s; Formal uncertainty in wind speed
+  0;   11;     53;      2;           0;   15;          deg; true	Formal uncertainty in wind direction
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear in 1 kilometer layer below
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear in1 kilometer layer above
+  0;   11;     70;      0;           0;   32;    CCITT_IA5; Designator of the runway affected by wind shear
+  0;   11;     71;      3;        -128;   14;    m**2/s**2; Turbulent vertical momentum flux
+  0;   11;     72;      3;        -128;   11;            K; m/s		Turbulent vertical buoyancy flux
+  0;   11;     73;      2;       -1024;   13;    m**2/s**2; Turbulent kinetic energy
+  0;   11;     74;      2;       -1024;   10;    m**2/s**2; Dissipation energy
+  0;   11;     75;      2;           0;    8;   m**(2/3)/s; Mean turbulence intensity
+  0;   11;     76;      2;           0;    8;   m**(2/3)/s; Peak turbulence intensity
+  0;   11;     81;      2;           0;   16;          deg; true	Model wind direction at 10m
+  0;   11;     82;      2;           0;   14;          m/s; Model wind speed at 10 m
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     21;      2;           0;   16;          deg; K		Maximum temperature at 2m
+  0;   12;     22;      2;           0;   16;          deg; K		Minimum temperature at 2m
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation of temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+  0;   12;     64;      1;           0;   12;        deg_K; Instrument temperature
+  0;   12;     65;      1;           0;   12;          deg; K		Standard deviation brightness temperature
+  0;   12;     71;      1;           0;   12;        deg_K; Coldest cluster temperature
+  0;   12;     72;      6;           0;   31;    W/m**2/sr; Radiance
+  0;   12;     75;     -3;           0;   16;            W; m-3 sr-1	Spectral radiance
+  0;   12;     76;      3;           0;   16;            W; m-2 sr-1	Radiance
+  0;   12;    101;      2;           0;   16;        deg_K; Temperature/dry-bulb temperature
+  0;   12;    102;      2;           0;   16;        deg_K; Wet-bulb temperature
+  0;   12;    103;      2;           0;   16;        deg_K; Dew-point temperature
+  0;   12;    104;      2;           0;   16;        deg_K; Dry-bulb temperature at 2m
+  0;   12;    105;      2;           0;   16;        deg_K; Web-bulb temperature at 2m
+  0;   12;    106;      2;           0;   16;        deg_K; Dew-point temperature at 2m
+  0;   12;    107;      2;           0;   16;        deg_K; Virtual temperature
+  0;   12;    111;      2;           0;   16;        deg_K; Maximum temperature, at height and over period specified
+  0;   12;    112;      2;           0;   16;        deg_K; Minimum temperature, at height and over period specified
+  0;   12;    113;      2;           0;   16;        deg_K; Ground minimum temperature, past 12 hours
+  0;   12;    114;      2;           0;   16;        deg_K; Maximum temperature at 2m, past 12 hours
+  0;   12;    115;      2;           0;   16;        deg_K; Minimum temperature at 2m, past 12 hours
+  0;   12;    116;      2;           0;   16;        deg_K; Maximum temperature at 2m, past 24 hours
+  0;   12;    117;      2;           0;   16;        deg_K; Minimum temperature at 2m, past 24 hours
+  0;   12;    130;      2;           0;   16;        deg_K; Soil temperature
+  0;   12;    152;      2;           0;   16;        deg_K; Highest daily mean temperature
+  0;   12;    153;      2;           0;   16;        deg_K; Lowest daily mean temperature
+  0;   12;    161;      2;           0;   16;        deg_K; Skin temperature
+  0;   12;    162;      2;           0;   16;        deg_K; Equivalent black body temperature
+  0;   12;    163;      2;           0;   16;        deg_K; Brightness temperature
+  0;   12;    164;      2;           0;   16;        deg_K; Instrument temperature
+  0;   12;    171;      2;           0;   16;        deg_K; Coldest cluster temperature
+  0;   12;    193;      1;           0;   12;        deg_K; Coldest Cluster Temperature
+
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;      7;      0;           0;    7;      percent; Minimum relative humidity
+  0;   13;      8;      0;           0;    7;      percent; Maximum relative humidity
+  0;   13;     11;      1;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     33;      1;           0;   10;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     38;      0;           0;    2;   Code_Table; Superadiabatic indicator
+  0;   13;     39;      0;           0;    3;   Code_Table; Terrain type (ice/snow)
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipition
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipition
+  0;   13;     55;      4;           0;    8;    KG/M**2*S; INTENSITY OF PRECIPITATION
+  0;   13;     60;      1;         -10;   17;           kg; m-2		Total accumulated precipitation
+  0;   13;     71;      2;           0;   14;            m; Upstream water level
+  0;   13;     72;      2;           0;   14;            m; Downstream water level
+  0;   13;     73;      2;           0;   14;            m; Maximum water level
+  0;   13;     80;      1;           0;   10;           pH; unit		Water pH
+  0;   13;     81;      3;           0;   14;      Siemens; m-1	Water conductivity
+  0;   13;     82;      1;           0;   12;          deg; K		Water temperature
+  0;   13;     83;      6;           0;   15;           Kg; m-3		Dissolved oxygen
+  0;   13;     84;      0;           0;   14;        Lumen; Turbidity
+  0;   13;     85;      3;           0;   14;            V; Oxydation Reduction Potential (ORP)
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      2;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over period specified
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     26;      0;           0;    7;      percent; Albedo at the top of clouds
+  0;   14;     27;      0;           0;    7;      percent; Albedo
+  0;   14;     28;     -2;           0;   16;       J/m**2; Global solar radiation (high accuracy, integrated over period specified
+  0;   14;     29;     -2;           0;   16;       J/m**2; Diffuse solar radiation (high accuracy, integrated over period specified
+  0;   14;     30;     -2;           0;   16;       J/m**2; Direct solar radiation (high accuracy, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine
+  0;   14;     34;      0;           0;   11;          min; Sunshine of period specified
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+  0;   14;     45;      0;           0;   11; W/m**2/sr/cm; Channel radiance
+  0;   14;     51;     -3;           0;   14;       j/m**2; Direct solar radiation integrated over last hour
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air mass (slant path at 22km)
+  0;   15;      3;      4;           0;    9;       Pascal; Measured ozone partial pressure
+  0;   15;      4;      3;           0;   11;      Numeric; Ozone sounding correction factor
+  0;   15;      5;      0;           0;   10;           DU; Ozone p
+  0;   15;     11;      3;       14000;   13;  log(1/m**2); Log 10 of integrated electron density
+  0;   15;     15;      0;           0;   31;      Numeric; Maximum image spectral composition before normalization
+  0;   15;     20;      8;           0;   21;      kg/m**2; Integrated Ozone density
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radius with respect to wind speed above threshold (large storms)
+  0;   19;     10;      0;           0;    4;   Code_Table; Method for tracking the center of synoptic feature
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;      8;      0;           0;    5;   Code_Table; Cloud distribution for aviation
+  0;   20;      9;      0;           0;    4;   Code_Table; General Weather Indicator
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     18;      0;           0;    2;   Code_Table; Tendency of runway visual range
+  0;   20;     19;      0;           0;   72;    CCITT_IA5; Significant present or forecast weather
+  0;   20;     20;      0;           0;   32;    CCITT_IA5; Significant recent weather phenomena
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+  0;   20;     70;      0;           0;    7;      Numeric; Minimum number of atmospherics
+  0;   20;     71;      0;           0;    4;   Code_Table; Accuracy of fix and rate of atmospherics
+  0;   20;     81;      0;           0;    7;      percent; Cloud amount in segment
+  0;   20;     82;      0;           0;    7;      percent; Amount segment cloud free
+  0;   20;     90;      0;           0;    4;   Code_Table; Special clouds
+
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;           0;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+  0;   21;     62;      2;       -5000;   13;     Decibels; Backscatter
+  0;   21;     63;      1;           0;   10;      Percent; Radiometric resolution (noise value)
+  0;   21;     64;      0;           0;    8;      Numeric; Clutter noise estimate
+  0;   21;     65;      0;        -127;    8;      Numeric; Missing packet counter
+  0;   21;     66;      0;           0;   12;   Flag_Table; Wave scatterometer product confidence
+  0;   21;     67;      0;           0;   13;   Flag_Table; Wind product confidence data
+  0;   21;     68;      0;           0;    8;   Flag_Table; Radar altimeter product confidence data
+  0;   21;     69;      0;           0;   10;   Flag_Table; SST product confidence data
+  0;   21;     70;      0;           0;   23;   Flag_Table; SST product confidence data (SADIST-2)
+  0;   21;     71;      0;           0;   16;      Numeric; Peakiness
+  0;   21;     72;      0;           0;    4;   Flag_Table; Satellite altimeter calibration status
+  0;   21;     73;      0;           0;    9;   Flag_Table; Satellite altimeter instrument mode
+  0;   21;     75;      0;           0;    8;      Numeric; Spectral intensity
+  0;   21;     76;      0;           0;    3;   Code_Table; Representation of intensities
+  0;   21;     77;      3;           0;   14;            m; Altitude correction (ionosphere)
+  0;   21;     78;      3;           0;    9;            m; Altitude correction (dry troposphere)
+  0;   21;     79;      3;        2000;   10;            m; Altitude correction (wet troposphere)
+  0;   21;     80;      3;           0;   11;            m; Altitude correction (calibration constant)
+  0;   21;     81;      3;           0;   10;            m; Open loop correction (height-time loop)
+  0;   21;     82;      3;       -3000;   14;     Decibels; Open loop correction (auto gain control)
+  0;   21;     85;      0;       -3000;    4;      Numeric; ATSR sea surface temperature across-track band number
+  0;   21;     91;      0;        -100;    8;           dB; Radar signal Doppler spectrum 0th moment
+  0;   21;     92;      0;        -100;    8;           dB; RASS signal Doppler spectrum 0th moment, referring to RASS signal
+  0;   21;    101;      0;           0;    3;      Numeric; Number of vector ambiguities
+  0;   21;    102;      0;           0;    3;      Numeric; Index of selected wind vector
+  0;   21;    103;      0;           0;    5;      Numeric; Total number of sigma-0 measurements
+  0;   21;    104;      3;      -30000;   15;      Numeric; Likelihood computed for solution
+  0;   21;    105;      2;      -10000;   14;           dB; Normalized radar cross-section
+  0;   21;    106;      3;           0;   14;      Numeric; Kp variance coefficient (Alpha)
+  0;   21;    107;      8;           0;   16;      Numeric; Kp variance coefficient (Beta)
+  0;   21;    109;      0;           0;   17;         Flag; table	SEAWINDS wind vector cell quality
+  0;   21;    110;      0;           0;    6;      Numeric; Number of inner-beam Sigma-0 (forward of satellite)
+  0;   21;    111;      0;           0;    6;      Numeric; Number of outer-beam Sigma-0 (forward of satellite)
+  0;   21;    112;      0;           0;    6;      Numeric; Number of inner-beam Sigma-0 (aft of satellite)
+  0;   21;    113;      0;           0;    6;      Numeric; Number of outer-beam Sigma-0 (aft of satellite)
+  0;   21;    114;      3;     -140000;   18;           dB; Kp variance coefficent (Gamma)
+  0;   21;    115;      0;           0;   17;         Flag; table	SEAWINDS sigma-0 quality
+  0;   21;    116;      0;           0;   17;         Flag; table	SEAWINDS sigma-0 mode
+  0;   21;    117;      2;           0;   16;      Numeric; Sigma-0 variance quality control
+  0;   21;    118;      2;      -10000;   14;           dB; Attenuation correction on sigma-0
+  0;   21;    119;      0;           0;    6;         Code; table	Wind scatterometer geophysical model function
+  0;   21;    120;      3;           0;   10;      Numeric; Probability of rain
+  0;   21;    121;      0;           0;    8;      Numeric; SEAWINDS NOF* rain index
+  0;   21;    122;      2;      -10000;   14;           dB; Attenuation correction of sigma-0 (from tB)
+  0;   21;    123;      2;      -30000;   15;           dB; SEAWINDS normalized radar cross section
+
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave height
+  0;   22;     26;      2;           0;   10;            m; Standard deviation of significant wave height
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     35;      2;           0;   14;            m; Tidal elevation with respect to local chart datum
+  0;   22;     36;      2;           0;   14;            m; Meteorological residual tida elevation (surge or offset)
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national chart datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     40;      3;       -5000;   14;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea/water temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea/water temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+  0;   22;     67;      0;           0;   10;   Code_Table; Instrument type for water temperature profile measurement
+  0;   22;     68;      0;           0;    7;   Code_Table; Water temperature profile recorder types
+  0;   22;     70;      2;           0;   13;            m; Significant wave height
+  0;   22;     71;      1;           0;    9;            s; Spectral peak wave period
+  0;   22;     72;      0;           0;   13;            m; Spectral peak wave length
+  0;   22;     73;      2;           0;   13;            m; Maximum wave height
+  0;   22;     74;      1;           0;    9;            s; Average wave period
+  0;   22;     75;      0;           0;   13;            m; Average wave length
+  0;   22;     76;      0;           0;    9;  Degree_True; Direction from which dominant waves are coming
+  0;   22;     77;      0;           0;    9;       Degree; Directional spred of dominant wave
+  0;   22;     78;      0;           0;   12;            s; Duration of wave record
+  0;   22;     79;      0;           0;   16;            m; Length of wave record
+  0;   22;     80;      3;           0;   10;           Hz; Waveband central frequency
+  0;   22;     81;      5;           0;   13;        m**-1; Waveband central wave number
+  0;   22;     82;      2;           0;   20;       m**2/s; Maximum non-directional spectral wave density
+  0;   22;     83;      2;           0;   20;         m**3; Maximum non-directional spectral wave number
+  0;   22;     84;      0;           0;    7;      Numeric; Band containing maximum non-directional spectral wave density
+  0;   22;     85;      0;           0;    7;      Numeric; Spectral wave density ratio
+  0;   22;     86;      0;           0;    9;  Degree_True; Mean direction from which waves are coming
+  0;   22;     87;      0;           0;    9;  Degree_True; Principal direction from which waves are coming
+  0;   22;     88;      2;           0;    7;      Numeric; First normalized polar coordinate from Fourier coefficients
+  0;   22;     89;      2;           0;    7;      Numeric; Second normalized polar coordinate from Fourier coefficients
+  0;   22;     90;      2;           0;   20;       m**2/s; Non-directional spectral estimate by wave frequency
+  0;   22;     91;      2;           0;   20;         m**3; Non-directional spectral estimate by wave number
+  0;   22;     92;      2;           0;   20; m**2/rad**-1/s; Directional spectral estimate by wave frequency
+  0;   22;     93;      2;           0;   20;         m**4; Directional spectral estimate by wave number
+  0;   22;     94;      0;           0;    7;      Numeric; Total number of wave bands
+  0;   22;     95;      0;           0;    8;       Degree; Directional spread of individual waves
+  0;   22;     96;      3;           0;    4;        s**-1; Spectral band width
+  0;   22;     97;      0;           0;   14;            m; Mean wavelength > 731 m of image spectrum at low wave numbers
+  0;   22;     98;      0;           0;   14;            m; Wavelength spread (wavelength > 731 m) at low wave numbers
+  0;   22;     99;      0;           0;    9;     deg_true; Mean direction at low wave numbers (wavelength > 731 m)
+  0;   22;    100;      0;           0;    9;       Degree; Direction spread at low wave numbers (wavelength > 731 m)
+  0;   22;    101;      0;           0;   31;     Numberic; Total energy (wavelength > 731 m) at low wave numbers
+  0;   22;    120;      0;           0;    5;   Code_Table; Tide station automated water level check
+  0;   22;    121;      0;           0;    5;   Code_Table; Tide station manual water level check
+  0;   22;    122;      0;           0;    5;   Code_Table; Tide station automated Meteorological data check
+  0;   22;    123;      0;           0;    5;   Code_Table; Tide station manual Meteorological data check
+  0;   22;    141;      2;           0;   15;   Code_Table; Sea-surface temperature (15-day running mean)
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;    -11;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;    -11;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+  0;   24;     23;      1;           0;   14;    pulse/sec; Pulse rate of beta radiation
+  0;   24;     24;      1;           0;   14;    pulse/sec; Pulse rate of beta radiation
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     14;      0;           0;   12;      Numeric; Azimuth clutter cut-off
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   Code_Table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    2;   Code_Table; Moving platform direction reporting method
+  0;   25;     42;      0;           0;    2;   Code_Table; Moving platform speed reporting method
+  0;   25;     43;      4;           0;   15;            s; Wave sampling interval (time)
+  0;   25;     44;      2;           0;   14;            m; Wave sampling interval (space)
+  0;   25;     45;      0;           0;   21;   Flag_Table; HIRS channel combination
+  0;   25;     46;      0;           0;    5;   Flag_Table; MSU channel combination
+  0;   25;     47;      0;           0;    4;   Flag_Table; SSU channel combination
+  0;   25;     48;      0;           0;   16;   Flag_Table; AMSU-A channel combination
+  0;   25;     49;      0;           0;    6;   Flag_Table; AMSU-B channel combination
+  0;   25;     50;      0;           0;    7;   Flag_Table; AVHRR channel combination
+  0;   25;     51;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     53;      0;           0;   12;   Flag_Table; Observation quality
+  0;   25;     60;      0;           0;   14;      Numeric; Software identification
+  0;   25;     70;      0;           0;    4;      Numeric; Major frame count
+  0;   25;     71;      0;           0;    5;      Numeric; Frame count
+  0;   25;     75;      0;           0;    5;      Numeric; Satellite antenna corrections version number
+  0;   25;     76;      8;           0;   30;        Log/m; Log-10 of (Temperature-radiance central wavenumber) for ATOVS
+  0;   25;     77;      5;     -100000;   18;      Numeric; Bandwidth correction coefficient 1 for ATOVS
+  0;   25;     78;      5;           0;   17;      Numeric; Bandwidth correction coefficient 2 for ATOVS
+  0;   25;     79;      4;           0;   24;       W/m**2; Albedo-radiance solar filtered irradiance for ATOVS
+  0;   25;     80;     10;           0;   14;            m; Albedo-radiance equivalent filter width for ATOVS
+  0;   25;     85;      0;           0;    7;      Numeric; Fraction of clear pixels in HIRS FOV
+  0;   25;     86;      0;           0;    2;         Code; table	Depth correction indicator
+  0;   25;     91;      3;      -18192;   13;           dB; Structure constant of the refraction index (cn2)
+  0;   25;     92;      2;       28000;   14;            m; s-1		Acoustic propagation velocity
+  0;   25;     93;      0;           0;    8;         Flag; table	RASS computation correction
+
+
+  0;   26;      1;      1;           0;   12;         Hour; Principal time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;         Hour; Principal time of daily reading in UTC of minimum temperature
+  0;   26;      3;      0;       -1440;   12;       Minute; Time difference
+  0;   26;     10;      0;           0;   26;   Flag_Table; Hours included
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+  0;   27;     31;      2; -1073741824;   31;            m; In direction of 0 degrees longitude, distance from the Earth's centre
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+  0;   28;     31;      2; -1073741824;   31;            m; In direction of 90 degrees East, distance from the Earth's centre
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    3;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      Numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      Numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;      Numeric; Short delayed descriptor replication factor
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+  0;   31;     31;      0;           0;    1;   Flag_Table; Data present indicator
+
+  0;   33;      2;      0;           0;    2;   Code_Table; Quality information
+  0;   33;      3;      0;           0;    3;   Code_Table; Quality information
+  0;   33;      7;      0;           0;    7;      Percent; Per cent confidence
+  0;   33;     20;      0;           0;    3;   Code_Table; Quality control indication of following value
+  0;   33;     21;      0;           0;    2;   Code_Table; Quality of following value
+  0;   33;     22;      0;           0;    2;   Code_Table; Quality of buoy satellite transmission
+  0;   33;     23;      0;           0;    2;   Code_Table; Quality of buoy location
+  0;   33;     24;      0;           0;    4;   Code_Table; Station elevation quality mark (for mobile stations)
+  0;   33;     25;      0;           0;    3;   Code_Table; ACARS interpolated values
+  0;   33;     26;      0;           0;    6;   Code_Table; Mixing ratio quality
+  0;   33;     27;      0;           0;    3;   Code_Table; Location quality class (range of radius of 66% confidence)
+  0;   33;     30;      0;           0;   24;   Flag_Table; Scan line status flags for ATOVS
+  0;   33;     31;      0;           0;   24;   Flag_Table; Scan line quality flags for ATOVS
+  0;   33;     32;      0;           0;   24;   Flag_Table; Channel quality flags for ATOVS
+  0;   33;     33;      0;           0;   24;   Flag_Table; Field of view quality flags for ATOVS
+  0;   33;     35;      0;           0;    4;   Code_Table; Manual/automatic quality control
+  0;   33;     36;      0;           0;    7;      Percent; Nominal confidence threshold
+  0;   33;     37;      0;           0;   20;   Flag_Table; Wind correlation error
+  0;   33;     40;      0;           0;    7;      percent; Confidence interval
+  0;   33;     41;      0;           0;    2;   Code_Table; Attribute of following value
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-004-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-006001-D
@@ -0,0 +1,2673 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	45
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	01	0
+	2	2	0
+	3	4	30
+	3	4	31
+	-1
+
+3	1	46
+	0	1	7
+	0	1	12
+	0	2	48
+	0	21	119
+	0	25	60
+	2	2	124
+	0	2	26
+	0	2	27
+	2	2	0
+	0	5	40
+	-1
+
+3	1	47
+	0	1	7
+	0	25	60
+	0	1	33
+	0	1	34
+	0	1	12
+	3	1	45
+	0	2	21
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1 
+
+3	1	48
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	140
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	1
+	2	2	0
+	0	25	10
+	0	21	64
+	-1
+
+3	1	49
+	0	2	111
+	0	2	112
+	0	21	62
+	0	21	63
+	0	21	65
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	55
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	0	1	12
+	0	1	14
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	1	65
+	0	1	6
+	0	1	8
+	0	2	1
+	0	2	2
+	0	2	5
+	0	2	62
+	0	2	70
+	0	2	65
+	-1
+
+3	1	66
+	3	1	11
+	3	1	13
+	3	1	23
+	0	7	4
+	0	2	64
+	0	8	4
+	-1
+
+3	1	71
+	0	1	7
+	0	1	31
+	0	1	20
+	0	1	28
+	0	1	29
+	-1
+
+3	1	72
+	3	1	71
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	193
+	0	1	7
+	0	1	31
+	0	2	196
+	0	2	221
+	0	2	222
+	-1
+
+3	1	194
+	0	1	194
+	0	1	12
+	0	1	13
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	195
+	0	1	195
+	0	1	12
+	0	1	13
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	196
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	197
+	0	1	6
+	0	1	8
+	0	2	61
+	0	2	62
+	0	2	2
+	0	2	5
+	0	2	70
+	0	2	63
+	0	2	1
+	-1
+
+ 3	1	200
+	0	1	32
+	0	33	194
+	-1
+
+ 3	1	201
+	1	1	3
+	0	33	193
+	-1
+
+ 3	1	202
+	0	1	31
+	0	1	32
+	-1
+
+ 3	1	237
+	0	1	7
+	0	1	12
+	0	2	21
+	3	1	11
+	0	4	4
+	0	4	5
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1
+
+ 3	1	238
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	192
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	001
+	2	2	0
+	0	25	10
+	0	21	194
+	-1
+
+ 3	1	239
+	0	2	111
+	0	2	112
+	0	21	192
+	0	21	193
+	0	21	195
+	-1
+
+ 3	1	240
+	2	1	131
+	2	2	129
+	0	22	21
+	2	1	0
+	2	2	0
+	-1
+
+ 3	1	241
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	0
+	2	2	0
+	-1
+
+ 3	1	242
+	0	21	207
+	0	21	208
+	0	21	209
+	0	21	210
+	0	21	211
+	0	21	212
+	-1
+
+ 3	1	250
+	3	1	193
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	6
+	0	10	4
+	0	10	51
+	0	10	62
+	0	10	63
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	13
+	3	2	6
+	3	2	3
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	2	205
+	2	1	131
+	2	2	129
+	0	22	21
+	2	1	0
+	2	2	0
+	-1
+
+3	2	206
+	3	2	205
+	2	1	130
+	2	2	129
+	0	22	11
+	2	1	0
+	2	2	0
+	0	22	1
+	0	11	1
+	0	11	2
+	-1
+
+3	2	207
+	0	22	193
+	0	22	194
+	0	22	195
+	0	22	196
+	0	22	197
+	-1
+
+3	2	250
+	1	2	0
+	0	31	1
+	0	20	193
+	0	20	194
+	0	20	12
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	3	33
+	0	20	10
+	0	20	16
+	-1
+
+3	3	41
+	0	2	152
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	153
+	0	2	154
+	0	12	71
+	-1
+
+3	3	249
+	0	2	252
+	1	4	0
+	0	31	1
+	0	2	199
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	3	250
+	0	2	252
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	197
+	0	2	198
+	0	12	193
+	-1
+
+3	3	251
+	0	2	252
+	1	5	0
+	0	31	1
+	0	2	254
+	0	2	251
+	0	2	197
+	0	2	198
+	0	12	63
+	-1
+
+3	3	252
+	0	2	252
+	1	5	0
+	0	31	1
+	0	2	254
+	0	2	251
+	0	2	197
+	0	2	198
+	0	12	194
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	4	11
+	0	2	163
+	0	2	164
+	0	8	12
+	0	7	24
+	0	2	167
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	3	10
+	0	2	163
+	0	7	4
+	0	12	1
+	-1
+
+3	4	30
+	0	27	31
+	0	28	31
+	0	10	31
+	-1
+
+3	4	31
+	0	1	41
+	0	1	42
+	0	1	43
+	-1
+
+3	4	32
+	0	2	151
+	0	2	154
+	0	20	81
+	0	20	82
+	0	20	12
+	-1
+
+3	4	33
+	0	2	152
+	0	2	166
+	0	2	167
+	0	2	153
+	0	2	154
+	0	12	75
+	0	12	76
+	0	12	63
+	-1
+
+3	4	34
+	1	2	4
+	0	27	1
+	0	28	1
+	0	7	22
+	0	5	43
+	0	20	10
+	0	20	16
+	0	33	3
+	0	10	40
+	-1
+
+3	4	228
+	0	5	217
+	0	6	217
+	0	7	217
+	-1
+
+3	4	229
+	0	1	208
+	0	1	209
+	0	1	210
+	-1
+
+3	4	250
+	0	2	231
+	0	2	232
+	0	8	12
+	0	7	24
+	0	2	57
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	3	10
+	0	2	231
+	0	7	4
+	0	12	1
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	6	20
+	3	6	24
+	1	2	6
+	0	22	38
+	0	22	39
+	-1
+
+3	6	21
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	122
+	0	22	123
+	0	12	1
+	3	3	2
+	-1
+
+3	6	22
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	-1
+
+3	6	23
+	0	1	15
+	3	1	23
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	0	22	120
+	0	22	121
+	-1
+
+3	6	24
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	42
+	0	22	120
+	0	22	121
+	0	4	25
+	0	4	15
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	7	9
+	3	1	31
+	3	2	13
+	-1
+
+3	7	11
+	0	1	63
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	0	7	6
+	0	11	1
+	0	11	16
+	0	11	17
+	0	11	2
+	0	11	41
+	0	7	6
+	0	12	1
+	0	12	3
+	0	10	52
+	0	20	9
+	-1
+
+3	7	12
+	1	3	0
+	0	31	1
+	0	8	23
+	0	5	21
+	0	20	1
+	-1
+
+3	7	13
+	1	6	0
+	0	31	1
+	0	1	64
+	0	8	14
+	0	20	61
+	0	8	14
+	0	20	61
+	0	20	18
+	-1
+
+3	7	14
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	15
+	1	1	0
+	0	31	1
+	3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	0	20	2
+	-1
+
+3	7	16
+	1	1	0
+	0	31	1
+	0	20	20
+	-1
+
+3	7	17
+	1	1	0
+	0	31	1
+	0	11	70
+	-1
+
+3	7	18
+	0	8	16
+	1	2	0
+	0	31	1
+	0	8	17
+	3	1	12
+	1	4	0
+	0	31	1
+	0	7	6
+	0	11	1
+	0	11	2
+	0	11	41
+	0	20	9
+	1	1	0
+	0	31	1
+	0	20	1
+	3	7	14
+	-1
+
+3	7	20
+	3	7	11
+	3	7	14
+	3	7	16
+	-1
+
+3	7	21
+	3	7	11
+	3	7	12
+	3	7	13
+	3	7	14
+	3	7	15
+	3	7	16
+	3	7	17
+	3	7	18
+	3	7	15
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	8	7
+	3	1	55
+	3	2	11
+	0	7	62
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	9	194
+	3	1	194
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	195
+	3	1	195
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	196
+	3	1	196
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	10	5
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	03	25
+	-1
+
+3	10	6
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	23
+	-1
+
+3	10	7
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	24
+	-1
+
+3	10	8
+	3	10	11
+	1	1	19
+	3	10	12
+	0	2	150
+	0	25	79
+	0	25	80
+	0	33	32
+	0	14	45
+	-1
+
+3	10	9
+	3	10	11
+	1	1	15
+	3	10	12
+	-1
+
+3	10	10
+	3	10	11
+	1	1	5
+	3	10	12
+	-1
+
+3	10	11
+	0	8	70
+	0	1	33
+	0	1	34
+	0	8	70
+	0	1	33
+	0	1	34
+	0	1	7
+	0	2	48
+	0	5	40
+	0	25	75
+	2	1	133
+	0	5	41
+	2	1	0
+	0	5	43
+	0	25	70
+	0	33	30
+	0	33	31
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	2	2	131
+	2	1	138
+	0	4	6
+	2	1	0
+	2	2	0
+	0	5	1
+	0	6	1
+	2	2	126
+	0	7	1
+	2	2	0
+	0	7	24
+	0	5	21
+	0	7	25
+	0	5	22
+	0	33	33
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	-1
+
+3	10	12
+	0	2	150
+	0	25	76
+	0	25	77
+	0	25	78
+	0	33	32
+	2	1	132
+	2	2	129
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	13
+	0	1	7
+	0	5	40
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	4	6
+	0	5	1
+	0	6	1
+	0	7	25
+	0	5	43
+	0	25	85
+	2	1	131
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	2	2	0
+	2	1	0
+	2	1	132
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	14
+	3	1	72
+	3	3	41
+	3	4	11
+	-1
+
+3	10	15
+	3	1	72
+	0	7	24
+	0	10	2
+	3	3	41
+	1	1	3
+	3	4	32
+	0	2	152
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	1	1	3
+	3	4	33
+	-1
+
+3	10	16
+	3	1	72
+	0	7	24
+	0	10	2
+	3	3	41
+	1	1	12
+	3	4	32
+	0	2	152
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	1	1	12
+	3	4	33
+	-1
+
+3	10	20
+	3	10	22
+	3	1	11
+	3	1	13
+	3	1	21
+	3	4	34
+	3	10	21
+	-1
+
+3	10	21
+	1	8	0
+	0	31	1
+	2	1	131
+	2	2	129
+	0	7	4
+	0	7	4
+	2	2	0
+	2	1	0
+	0	15	20
+	0	10	2
+	-1
+
+3	10	22
+	0	1	7
+	0	2	19
+	0	1	33
+	0	2	172
+	-1
+
+3	10	193
+	3	1	250
+	3	3	250
+	3	2	250
+	3	3	249
+	3	3	251
+	-1
+
+3	10	194
+	3	1	250
+	3	3	250
+	3	2	250
+	3	3	249
+	3	3	252
+	-1
+
+3	10	195
+	3	1	250
+	3	3	250
+	3	4	250
+	-1
+
+3	10	196
+	3	1	250
+	3	3	249
+	3	3	251
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	11	2
+	3	1	65
+	3	1	66
+	3	11	3
+	3	11	4
+	-1
+
+3	11	3
+	0	10	70
+	0	11	1
+	0	11	2
+	0	12	1
+	0	13	2
+	-1
+
+3	11	4
+	1	1	0
+	0	31	0
+	0	11	34
+	1	1	0
+	0	31	0
+	0	11	35
+	1	1	0
+	0	31	0
+	0	11	75
+	1	1	0
+	0	31	0
+	0	11	76
+	1	1	0
+	0	31	0
+	0	33	25
+	1	1	0
+	0	31	0
+	0	33	26
+	-1
+
+3	11	193
+	3	1	197
+	3	1	011
+	3	1	012
+	3	1	023
+	0	8	004
+	0	7	004
+	0	8	021
+	0	11	001
+	0	11	002
+	0	11	031
+	0	11	034
+	0	11	035
+	0	12	001
+	0	12	003
+	0	13	003
+	0	20	041
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	2	2	126
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	12	19
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	6	12
+	2	1	129
+	0	6	30
+	2	1	0
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	20
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	4	12
+	0	6	30
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	21
+	3	1	47
+	1	1	3
+	3	1	49
+	0	11	12
+	0	11	11
+	0	21	67
+	-1
+
+3	12	22
+	3	1	47
+	0	8	22
+	0	11	12
+	0	11	50
+	0	22	70
+	0	22	26
+	3	12	41
+	0	10	50
+	0	21	68
+	0	21	71
+	0	21	72
+	0	21	73
+	3	12	42
+	0	21	62
+	0	15	11
+	-1
+
+3	12	23
+	3	1	47
+	1	3	3
+	0	8	22
+	0	12	61
+	0	22	50
+	0	21	69
+	0	21	85
+	-1
+
+3	12	24
+	3	12	20
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	25
+	3	12	19
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	26
+	3	1	46
+	3	1	11
+	3	1	13
+	3	10	23
+	3	12	31
+	1	1	4
+	3	12	30
+	0	21	110
+	3	1	23
+	3	21	27
+	0	21	111
+	3	1	23
+	3	21	27
+	0	21	111
+	3	1	23
+	3	21	27
+	0	21	113
+	3	1	23
+	3	21	27
+	-1
+
+3	12	27
+	3	1	47
+	1	5	9
+	3	1	23
+	0	7	21
+	0	12	61
+	0	7	21
+	0	12	61
+	0	21	85
+	0	21	70
+	-1
+
+3	12	28
+	3	1	46
+	3	1	11
+	3	1	13
+	3	1	23
+	0	8	25
+	2	1	136
+	0	4	6
+	2	1	0
+	3	12	31
+	3	12	32
+	1	1	4
+	3	12	30
+	1	1	2
+	3	12	33
+	0	21	110
+	3	1	23
+	3	21	28
+	0	21	111
+	3	1	23
+	3	21	28
+	0	21	112
+	3	1	23
+	3	21	28
+	0	21	113
+	3	1	23
+	3	21	28
+	-1
+
+3	12	30
+	2	1	130
+	2	2	129
+	0	11	12
+	2	2	0
+	2	1	0
+	0	11	52
+	2	1	135
+	2	2	130
+	0	11	11
+	2	2	0
+	2	1	0
+	0	11	53
+	0	21	104
+	-1
+
+3	12	31
+	0	5	34
+	0	6	34
+	0	21	109
+	0	11	81
+	0	11	82
+	0	21	101
+	0	21	102
+	0	21	103
+	-1
+
+3	12	32
+	0	21	120
+	0	21	121
+	0	13	55
+	0	21	122
+	-1
+
+3	12	33
+	0	2	104
+	0	8	22
+	0	12	63
+	0	12	65
+	-1
+
+3	12	41
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	00
+	2	2	00
+	-1
+
+3	12	42
+	0	21	77
+	0	21	78
+	0	21	79
+	0	21	80
+	0	21	81
+	0	21	82
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	16	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	1	33
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	7	2
+	0	7	2
+	-1
+
+3	16	3
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	11	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	4
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	11	31
+	0	8	7
+	0	8	11
+	-1
+
+3	16	5
+	1	8	0
+	0	31	1
+	0	8	5
+	0	8	7
+	0	5	2
+	0	6	2
+	0	1	26
+	0	19	1
+	0	8	7
+	0	8	5
+	-1
+
+3	16	6
+	1	12	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	11
+	0	20	12
+	0	8	7
+	0	8	11
+	-1
+
+3	16	7
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	19	5
+	0	19	6
+	0	8	7
+	0	8	11
+	-1
+
+3	16	8
+	1	11	0
+	0	31	1
+	0	8	1
+	0	8	7
+	0	8	23
+	1	3	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	8	23
+	0	8	7
+	0	8	1
+	-1
+
+3	16	9
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	41
+	0	8	7
+	0	8	11
+	-1
+
+3	16	10
+	1	7	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	1	22
+	0	5	2
+	0	6	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	11
+	1	16	0
+	0	31	1
+	0	8	11
+	0	1	22
+	0	8	7
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	20	90
+	0	8	21
+	0	8	7
+	0	8	11
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	-1
+
+3	21	21	
+	0	2	3
+	0	2	101
+	2	1	130
+	0	2	106
+	2	1	0
+	2	1	132
+	2	2	130
+	0	2	121
+	2	2	0
+	2	1	0
+	2	1	133
+	2	2	129
+	0	25	1
+	2	2	0
+	2	1	0
+	-1
+
+3	21	22
+	0	10	7
+	2	4	1
+	0	31	21
+	0	11	1
+	2	4	0
+	0	11	2
+	2	4	1
+	0	31	21
+	0	11	6
+	2	4	0
+	0	21	30
+	-1		
+
+3	21	23
+	0	7	7
+	0	21	91
+	0	21	30
+	2	2	129
+	0	21	14
+	2	1	129
+	0	21	17
+	2	2	0
+	2	1	0
+	-1		
+
+3	21	24
+	0	7	7
+	2	4	1
+	0	31	21
+	0	12	7
+	0	11	6
+	2	4	0
+	0	21	30
+	-1		
+
+3	21	025
+	0	07	7
+	0	21	91
+	0	21	30
+	2	02	129
+	0	21	14
+	2	01	129
+	0	21	17
+	2	02	0
+	2	01	0
+	0	21	92
+	0	21	30
+	0	25	92
+	2	01	129
+	2	02	129
+	0	21	17
+	2	02	0
+	2	01	0
+	-1		
+
+3	21	26
+	0	10	7
+	2	4	1
+	0	31	21
+	0	12	7
+	0	25	91
+	0	11	71
+	0	11	72
+	0	11	73
+	0	11	74
+	2	4	0
+	-1
+
+3	21	27
+	0	21	118
+	2	2	129
+	2	1	132
+	0	2	112
+	2	1	0
+	2	1	131
+	0	2	111
+	2	1	0
+	2	2	0
+	0	2	104
+	0	21	105
+	0	21	106
+	0	21	107
+	0	21	114
+	0	21	115
+	0	21	116
+	0	8	18
+	0	21	117
+	-1
+
+3	21	28
+	0	21	118
+	2	2	129
+	2	1	132
+	0	2	112
+	2	1	0
+	2	1	131
+	0	2	111
+	2	1	0
+	2	2	0
+	0	2	104
+	0	21	123
+	0	21	106
+	0	21	107
+	0	21	114
+	0	21	115
+	0	21	116
+	0	8	18
+	0	21	117
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B3M-000-005-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- /dev/null
+++ grads-2.0.a9/data/tables/B3L-160000-006001-D.txt
@@ -0,0 +1,2673 @@
+#
+# BUFR Table D (Lists of Common Sequences)
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+3	0	2
+	0	0	2
+	0	0	3
+	-1
+
+3	0	3
+	0	0	10
+	0	0	11
+	0	0	12
+	-1
+
+3	0	4
+	3	0	3
+	0	0	13
+	0	0	14
+	0	0	15
+	0	0	16
+	0	0	17
+	0	0	18
+	0	0	19
+	0	0	20
+	-1
+
+3	0	10
+	3	0	3
+	1	1	0
+	0	31	1
+	0	0	30
+	-1
+
+3	1	1
+	0	1	1
+	0	1	2
+	-1
+
+3	1	2
+	0	1	3
+	0	1	4
+	0	1	5
+	-1
+
+3	1	3
+	0	1	11
+	0	1	12
+	0	1	13
+	-1
+
+3	1	11
+	0	4	1
+	0	4	2
+	0	4	3
+	-1
+
+3	1	12
+	0	4	4
+	0	4	5
+	-1
+
+3	1	13
+	0	4	4
+	0	4	5
+	0	4	6
+	-1
+
+3	1	21
+	0	5	1
+	0	6	1
+	-1
+
+3	1	22
+	0	5	1
+	0	6	1
+	0	7	1
+	-1
+
+3	1	23
+	0	5	2
+	0	6	2
+	-1
+
+3	1	24
+	0	5	2
+	0	6	2
+	0	7	1
+	-1
+
+3	1	25
+	3	1	23
+	0	4	3
+	3	1	12
+	-1
+
+3	1	26
+	3	1	21
+	0	4	3
+	0	4	3
+	0	4	4
+	0	4	4
+	0	4	5
+	0	4	5
+	-1
+
+3	1	31
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	32
+	3	1	1
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	33
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	-1
+
+3	1	34
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	35
+	0	1	5
+	0	1	12
+	0	1	13
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	36
+	3	1	3
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	37
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	22
+	-1
+
+3	1	38
+	3	1	1
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	39
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	-1
+
+3	1	40
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	24
+	-1
+
+3	1	41
+	0	1	7
+	0	2	21
+	0	2	22
+	3	1	11
+	3	1	12
+	-1
+
+3	1	42
+	3	1	41
+	3	1	21
+	-1
+
+3	1	43
+	0	1	7
+	0	2	23
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	44
+	0	1	7
+	0	2	24
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	45
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	01	0
+	2	2	0
+	3	4	30
+	3	4	31
+	-1
+
+3	1	46
+	0	1	7
+	0	1	12
+	0	2	48
+	0	21	119
+	0	25	60
+	2	2	124
+	0	2	26
+	0	2	27
+	2	2	0
+	0	5	40
+	-1
+
+3	1	47
+	0	1	7
+	0	25	60
+	0	1	33
+	0	1	34
+	0	1	12
+	3	1	45
+	0	2	21
+	3	1	11
+	3	1	12
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1 
+
+3	1	48
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	140
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	1
+	2	2	0
+	0	25	10
+	0	21	64
+	-1
+
+3	1	49
+	0	2	111
+	0	2	112
+	0	21	62
+	0	21	63
+	0	21	65
+	-1
+
+3	1	51
+	0	1	6
+	0	2	61
+	3	1	11
+	3	1	12
+	3	1	21
+	0	8	4
+	-1
+
+3	1	55
+	0	1	5
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	21
+	0	1	12
+	0	1	14
+	-1
+
+3	1	62
+	1	1	0
+	0	31	1
+	3	1	1
+	-1
+
+3	1	65
+	0	1	6
+	0	1	8
+	0	2	1
+	0	2	2
+	0	2	5
+	0	2	62
+	0	2	70
+	0	2	65
+	-1
+
+3	1	66
+	3	1	11
+	3	1	13
+	3	1	23
+	0	7	4
+	0	2	64
+	0	8	4
+	-1
+
+3	1	71
+	0	1	7
+	0	1	31
+	0	1	20
+	0	1	28
+	0	1	29
+	-1
+
+3	1	72
+	3	1	71
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	1	193
+	0	1	7
+	0	1	31
+	0	2	196
+	0	2	221
+	0	2	222
+	-1
+
+3	1	194
+	0	1	194
+	0	1	12
+	0	1	13
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	195
+	0	1	195
+	0	1	12
+	0	1	13
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	196
+	3	1	3
+	0	2	11
+	0	2	12
+	3	1	11
+	3	1	12
+	3	1	23
+	0	7	1
+	-1
+
+ 3	1	197
+	0	1	6
+	0	1	8
+	0	2	61
+	0	2	62
+	0	2	2
+	0	2	5
+	0	2	70
+	0	2	63
+	0	2	1
+	-1
+
+ 3	1	200
+	0	1	32
+	0	33	194
+	-1
+
+ 3	1	201
+	1	1	3
+	0	33	193
+	-1
+
+ 3	1	202
+	0	1	31
+	0	1	32
+	-1
+
+ 3	1	237
+	0	1	7
+	0	1	12
+	0	2	21
+	3	1	11
+	0	4	4
+	0	4	5
+	2	1	138
+	2	2	131
+	0	4	6
+	2	1	0
+	2	2	0
+	3	1	23
+	-1
+
+ 3	1	238
+	0	2	104
+	0	2	121
+	0	2	113
+	0	2	26
+	0	2	27
+	0	2	111
+	0	2	192
+	2	2	127
+	0	1	13
+	2	2	126
+	0	7	001
+	2	2	0
+	0	25	10
+	0	21	194
+	-1
+
+ 3	1	239
+	0	2	111
+	0	2	112
+	0	21	192
+	0	21	193
+	0	21	195
+	-1
+
+ 3	1	240
+	2	1	131
+	2	2	129
+	0	22	21
+	2	1	0
+	2	2	0
+	-1
+
+ 3	1	241
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	0
+	2	2	0
+	-1
+
+ 3	1	242
+	0	21	207
+	0	21	208
+	0	21	209
+	0	21	210
+	0	21	211
+	0	21	212
+	-1
+
+ 3	1	250
+	3	1	193
+	3	1	11
+	3	1	13
+	3	1	21
+	-1
+
+3	2	1
+	0	10	4
+	0	10	51
+	0	10	61
+	0	10	63
+	-1
+
+3	2	2
+	0	10	4
+	0	7	4
+	0	10	3
+	0	10	61
+	0	10	63
+	-1
+
+3	2	3
+	0	11	11
+	0	11	12
+	0	12	4
+	0	12	6
+	0	13	3
+	0	20	1
+	0	20	3
+	0	20	4
+	0	20	5
+	-1
+
+3	2	4
+	0	20	10
+	0	8	2
+	0	20	11
+	0	20	13
+	0	20	12
+	0	20	12
+	0	20	12
+	-1
+
+3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	-1
+
+3	2	6
+	0	10	4
+	0	10	51
+	0	10	62
+	0	10	63
+	-1
+
+3	2	11
+	3	2	1
+	3	2	3
+	3	2	4
+	-1
+
+3	2	12
+	3	2	2
+	3	2	3
+	3	2	4
+	-1
+
+3	2	13
+	3	2	6
+	3	2	3
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	2	21
+	0	22	1
+	0	22	11
+	0	22	21
+	-1
+
+3	2	22
+	0	22	2
+	0	22	12
+	0	22	22
+	-1
+
+3	2	23
+	0	22	3
+	0	22	13
+	0	22	23
+	-1
+
+3	2	24
+	3	2	22
+	1	1	2
+	3	2	23
+	-1
+
+3	2	51
+	0	10	4
+	0	10	51
+	0	7	4
+	0	10	3
+	0	12	4
+	0	12	51
+	0	12	16
+	0	12	17
+	0	13	4
+	1	2	4
+	0	8	51
+	0	8	20
+	-1
+
+3	2	205
+	2	1	131
+	2	2	129
+	0	22	21
+	2	1	0
+	2	2	0
+	-1
+
+3	2	206
+	3	2	205
+	2	1	130
+	2	2	129
+	0	22	11
+	2	1	0
+	2	2	0
+	0	22	1
+	0	11	1
+	0	11	2
+	-1
+
+3	2	207
+	0	22	193
+	0	22	194
+	0	22	195
+	0	22	196
+	0	22	197
+	-1
+
+3	2	250
+	1	2	0
+	0	31	1
+	0	20	193
+	0	20	194
+	0	20	12
+	-1
+
+3	3	1
+	0	7	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	2
+	0	7	4
+	0	11	1
+	0	11	2
+	-1
+
+3	3	3
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	-1
+
+3	3	4
+	0	7	4
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	11
+	0	7	3
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	12
+	0	7	4
+	0	8	1
+	0	11	1
+	0	11	2
+	-1
+
+3	3	13
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	13	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	14
+	0	7	4
+	0	8	1
+	0	10	3
+	0	12	1
+	0	12	3
+	0	11	1
+	0	11	2
+	-1
+
+3	3	21
+	0	7	4
+	0	7	4
+	2	4	7
+	0	31	21
+	-1
+
+3	3	22
+	3	3	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	23
+	3	3	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	24
+	3	3	21
+	0	13	16
+	2	4	0
+	-1
+
+3	3	25
+	0	2	25
+	2	4	7
+	0	31	21
+	0	12	63
+	2	4	0
+	-1
+
+3	3	26
+	0	7	4
+	0	8	3
+	2	4	7
+	0	31	21
+	0	12	1
+	2	4	0
+	-1
+
+3	3	27
+	0	7	4
+	2	4	7
+	0	31	21
+	0	10	3
+	2	4	0
+	-1
+
+3	3	31
+	0	7	4
+	0	8	3
+	0	7	21
+	0	7	22
+	0	8	12
+	0	12	61
+	-1
+
+3	3	32
+	0	20	11
+	0	20	16
+	-1
+
+3	3	33
+	0	20	10
+	0	20	16
+	-1
+
+3	3	41
+	0	2	152
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	153
+	0	2	154
+	0	12	71
+	-1
+
+3	3	249
+	0	2	252
+	1	4	0
+	0	31	1
+	0	2	199
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	3	250
+	0	2	252
+	0	2	23
+	0	7	4
+	0	11	1
+	0	11	2
+	0	2	197
+	0	2	198
+	0	12	193
+	-1
+
+3	3	251
+	0	2	252
+	1	5	0
+	0	31	1
+	0	2	254
+	0	2	251
+	0	2	197
+	0	2	198
+	0	12	63
+	-1
+
+3	3	252
+	0	2	252
+	1	5	0
+	0	31	1
+	0	2	254
+	0	2	251
+	0	2	197
+	0	2	198
+	0	12	194
+	-1
+
+3	4	1
+	0	8	3
+	0	10	4
+	0	12	1
+	0	11	1
+	0	11	2
+	-1
+
+3	4	2
+	0	8	3
+	0	10	4
+	0	11	1
+	0	11	2
+	-1
+
+3	4	3
+	0	8	3
+	0	12	1
+	-1
+
+3	4	4
+	0	8	3
+	0	10	4
+	0	20	10
+	0	12	1
+	-1
+
+3	4	5
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	-1
+
+3	4	6
+	0	14	1
+	0	14	1
+	0	14	3
+	-1
+
+3	4	11
+	0	2	163
+	0	2	164
+	0	8	12
+	0	7	24
+	0	2	167
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	3	10
+	0	2	163
+	0	7	4
+	0	12	1
+	-1
+
+3	4	30
+	0	27	31
+	0	28	31
+	0	10	31
+	-1
+
+3	4	31
+	0	1	41
+	0	1	42
+	0	1	43
+	-1
+
+3	4	32
+	0	2	151
+	0	2	154
+	0	20	81
+	0	20	82
+	0	20	12
+	-1
+
+3	4	33
+	0	2	152
+	0	2	166
+	0	2	167
+	0	2	153
+	0	2	154
+	0	12	75
+	0	12	76
+	0	12	63
+	-1
+
+3	4	34
+	1	2	4
+	0	27	1
+	0	28	1
+	0	7	22
+	0	5	43
+	0	20	10
+	0	20	16
+	0	33	3
+	0	10	40
+	-1
+
+3	4	228
+	0	5	217
+	0	6	217
+	0	7	217
+	-1
+
+3	4	229
+	0	1	208
+	0	1	209
+	0	1	210
+	-1
+
+3	4	250
+	0	2	231
+	0	2	232
+	0	8	12
+	0	7	24
+	0	2	57
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	8	21
+	0	4	24
+	1	10	4
+	0	8	21
+	0	4	4
+	0	4	5
+	0	4	6
+	0	8	1
+	0	4	4
+	0	4	5
+	0	4	6
+	0	11	1
+	0	11	2
+	1	3	10
+	0	2	231
+	0	7	4
+	0	12	1
+	-1
+
+3	6	1
+	0	2	32
+	1	2	0
+	0	31	1
+	0	7	62
+	0	22	42
+	-1
+
+3	6	2
+	0	2	31
+	0	22	4
+	0	22	31
+	-1
+
+3	6	3
+	0	2	2
+	0	11	11
+	0	11	12
+	0	12	4
+	-1
+
+3	6	4
+	0	2	32
+	0	2	33
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	43
+	0	22	62
+	-1
+
+3	6	5
+	0	2	31
+	1	3	0
+	0	31	1
+	0	7	62
+	0	22	4
+	0	22	31
+	-1
+
+3	6	6
+	3	6	3
+	3	6	2
+	0	22	63
+	-1
+
+3	6	7
+	0	1	12
+	0	1	14
+	3	6	8
+	0	4	24
+	0	27	3
+	0	28	3
+	-1
+
+3	6	8
+	0	2	34
+	0	2	35
+	0	2	36
+	-1
+
+3	6	20
+	3	6	24
+	1	2	6
+	0	22	38
+	0	22	39
+	-1
+
+3	6	21
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	122
+	0	22	123
+	0	12	1
+	3	3	2
+	-1
+
+3	6	22
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	-1
+
+3	6	23
+	0	1	15
+	3	1	23
+	3	1	11
+	3	1	12
+	0	22	38
+	0	22	39
+	0	22	120
+	0	22	121
+	-1
+
+3	6	24
+	0	1	75
+	3	1	11
+	3	1	12
+	0	22	42
+	0	22	120
+	0	22	121
+	0	4	25
+	0	4	15
+	-1
+
+3	7	1
+	3	1	31
+	3	2	11
+	-1
+
+3	7	2
+	3	1	32
+	3	2	11
+	-1
+
+3	7	3
+	3	7	1
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	4
+	3	7	2
+	1	1	0
+	0	31	1
+	3	2	5
+	-1
+
+3	7	5
+	3	7	1
+	1	1	4
+	3	2	5
+	-1
+
+3	7	6
+	3	7	2
+	1	1	4
+	3	2	5
+	-1
+
+3	7	7
+	3	1	31
+	3	2	12
+	-1
+
+3	7	8
+	3	1	32
+	3	2	12
+	-1
+
+3	7	9
+	3	1	31
+	3	2	13
+	-1
+
+3	7	11
+	0	1	63
+	0	2	1
+	3	1	11
+	3	1	12
+	3	1	24
+	0	7	6
+	0	11	1
+	0	11	16
+	0	11	17
+	0	11	2
+	0	11	41
+	0	7	6
+	0	12	1
+	0	12	3
+	0	10	52
+	0	20	9
+	-1
+
+3	7	12
+	1	3	0
+	0	31	1
+	0	8	23
+	0	5	21
+	0	20	1
+	-1
+
+3	7	13
+	1	6	0
+	0	31	1
+	0	1	64
+	0	8	14
+	0	20	61
+	0	8	14
+	0	20	61
+	0	20	18
+	-1
+
+3	7	14
+	1	1	0
+	0	31	1
+	0	20	19
+	-1
+
+3	7	15
+	1	1	0
+	0	31	1
+	3	2	5
+	0	8	2
+	0	20	11
+	0	20	12
+	0	20	13
+	0	20	2
+	-1
+
+3	7	16
+	1	1	0
+	0	31	1
+	0	20	20
+	-1
+
+3	7	17
+	1	1	0
+	0	31	1
+	0	11	70
+	-1
+
+3	7	18
+	0	8	16
+	1	2	0
+	0	31	1
+	0	8	17
+	3	1	12
+	1	4	0
+	0	31	1
+	0	7	6
+	0	11	1
+	0	11	2
+	0	11	41
+	0	20	9
+	1	1	0
+	0	31	1
+	0	20	1
+	3	7	14
+	-1
+
+3	7	20
+	3	7	11
+	3	7	14
+	3	7	16
+	-1
+
+3	7	21
+	3	7	11
+	3	7	12
+	3	7	13
+	3	7	14
+	3	7	15
+	3	7	16
+	3	7	17
+	3	7	18
+	3	7	15
+	-1
+
+3	8	1
+	3	1	33
+	3	2	11
+	0	22	42
+	-1
+
+3	8	2
+	3	1	34
+	3	2	11
+	0	22	42
+	-1
+
+3	8	3
+	3	1	35
+	3	2	11
+	0	22	42
+	-1
+
+3	8	4
+	3	1	36
+	3	2	11
+	0	22	42
+	-1
+
+3	8	5
+	3	8	4
+	3	2	24
+	-1
+
+3	8	6
+	0	10	4
+	0	10	61
+	0	10	63
+	0	11	1
+	0	11	2
+	0	12	4
+	0	13	3
+	0	22	42
+	-1
+
+3	8	7
+	3	1	55
+	3	2	11
+	0	7	62
+	0	22	42
+	-1
+
+3	9	1
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	2
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	3
+	3	1	37
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	4
+	3	1	38
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	5
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	6
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	7
+	3	1	37
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	8
+	3	1	38
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	11
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	12
+	3	1	39
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	13
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	14
+	3	1	39
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	15
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	16
+	3	1	40
+	1	1	0
+	0	31	1
+	3	3	12
+	-1
+
+3	9	17
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	13
+	-1
+
+3	9	18
+	3	1	40
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	19
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	3	11
+	-1
+
+3	9	20
+	3	1	31
+	0	2	3
+	1	4	0
+	0	31	1
+	0	7	3
+	0	11	3
+	0	11	4
+	0	11	5
+	-1
+
+3	9	194
+	3	1	194
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	195
+	3	1	195
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	9	196
+	3	1	196
+	3	2	4
+	1	1	0
+	0	31	1
+	3	3	14
+	-1
+
+3	10	1
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	26
+	3	3	25
+	-1
+
+3	10	2
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	9
+	3	3	23
+	-1
+
+3	10	3
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	6
+	3	3	23
+	-1
+
+3	10	4
+	3	1	42
+	3	3	31
+	3	3	32
+	1	1	3
+	3	3	24
+	-1
+
+3	10	5
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	03	25
+	-1
+
+3	10	6
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	23
+	-1
+
+3	10	7
+	3	1	42
+	3	3	31
+	3	3	33
+	1	1	0
+	0	31	1
+	3	3	24
+	-1
+
+3	10	8
+	3	10	11
+	1	1	19
+	3	10	12
+	0	2	150
+	0	25	79
+	0	25	80
+	0	33	32
+	0	14	45
+	-1
+
+3	10	9
+	3	10	11
+	1	1	15
+	3	10	12
+	-1
+
+3	10	10
+	3	10	11
+	1	1	5
+	3	10	12
+	-1
+
+3	10	11
+	0	8	70
+	0	1	33
+	0	1	34
+	0	8	70
+	0	1	33
+	0	1	34
+	0	1	7
+	0	2	48
+	0	5	40
+	0	25	75
+	2	1	133
+	0	5	41
+	2	1	0
+	0	5	43
+	0	25	70
+	0	33	30
+	0	33	31
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	2	2	131
+	2	1	138
+	0	4	6
+	2	1	0
+	2	2	0
+	0	5	1
+	0	6	1
+	2	2	126
+	0	7	1
+	2	2	0
+	0	7	24
+	0	5	21
+	0	7	25
+	0	5	22
+	0	33	33
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	0	2	151
+	0	12	64
+	-1
+
+3	10	12
+	0	2	150
+	0	25	76
+	0	25	77
+	0	25	78
+	0	33	32
+	2	1	132
+	2	2	129
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	13
+	0	1	7
+	0	5	40
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	4	6
+	0	5	1
+	0	6	1
+	0	7	25
+	0	5	43
+	0	25	85
+	2	1	131
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	0	2	150
+	0	8	23
+	0	8	72
+	0	14	27
+	0	8	72
+	0	14	27
+	2	2	0
+	2	1	0
+	2	1	132
+	2	2	129
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	0	2	150
+	0	8	23
+	0	8	72
+	0	12	63
+	0	8	72
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	10	14
+	3	1	72
+	3	3	41
+	3	4	11
+	-1
+
+3	10	15
+	3	1	72
+	0	7	24
+	0	10	2
+	3	3	41
+	1	1	3
+	3	4	32
+	0	2	152
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	1	1	3
+	3	4	33
+	-1
+
+3	10	16
+	3	1	72
+	0	7	24
+	0	10	2
+	3	3	41
+	1	1	12
+	3	4	32
+	0	2	152
+	0	2	24
+	0	7	4
+	0	7	4
+	0	13	3
+	1	1	12
+	3	4	33
+	-1
+
+3	10	20
+	3	10	22
+	3	1	11
+	3	1	13
+	3	1	21
+	3	4	34
+	3	10	21
+	-1
+
+3	10	21
+	1	8	0
+	0	31	1
+	2	1	131
+	2	2	129
+	0	7	4
+	0	7	4
+	2	2	0
+	2	1	0
+	0	15	20
+	0	10	2
+	-1
+
+3	10	22
+	0	1	7
+	0	2	19
+	0	1	33
+	0	2	172
+	-1
+
+3	10	193
+	3	1	250
+	3	3	250
+	3	2	250
+	3	3	249
+	3	3	251
+	-1
+
+3	10	194
+	3	1	250
+	3	3	250
+	3	2	250
+	3	3	249
+	3	3	252
+	-1
+
+3	10	195
+	3	1	250
+	3	3	250
+	3	4	250
+	-1
+
+3	10	196
+	3	1	250
+	3	3	249
+	3	3	251
+	-1
+
+3	11	1
+	3	1	51
+	0	7	2
+	0	12	1
+	0	11	1
+	0	11	2
+	0	11	31
+	0	11	32
+	0	11	33
+	0	20	41
+	-1
+
+3	11	2
+	3	1	65
+	3	1	66
+	3	11	3
+	3	11	4
+	-1
+
+3	11	3
+	0	10	70
+	0	11	1
+	0	11	2
+	0	12	1
+	0	13	2
+	-1
+
+3	11	4
+	1	1	0
+	0	31	0
+	0	11	34
+	1	1	0
+	0	31	0
+	0	11	35
+	1	1	0
+	0	31	0
+	0	11	75
+	1	1	0
+	0	31	0
+	0	11	76
+	1	1	0
+	0	31	0
+	0	33	25
+	1	1	0
+	0	31	0
+	0	33	26
+	-1
+
+3	11	193
+	3	1	197
+	3	1	011
+	3	1	012
+	3	1	023
+	0	8	004
+	0	7	004
+	0	8	021
+	0	11	001
+	0	11	002
+	0	11	031
+	0	11	034
+	0	11	035
+	0	12	001
+	0	12	003
+	0	13	003
+	0	20	041
+	-1
+
+3	12	1
+	3	1	43
+	3	4	1
+	-1
+
+3	12	2
+	3	1	43
+	3	4	2
+	-1
+
+3	12	3
+	3	1	42
+	3	4	3
+	-1
+
+3	12	4
+	3	1	42
+	3	4	4
+	-1
+
+3	12	5
+	3	1	42
+	0	20	14
+	-1
+
+3	12	6
+	3	1	44
+	3	4	5
+	-1
+
+3	12	7
+	3	1	42
+	3	4	6
+	-1
+
+3	12	10
+	0	1	7
+	0	5	40
+	0	2	21
+	0	5	41
+	0	4	1
+	0	4	43
+	-1
+
+3	12	11
+	2	2	131
+	2	1	149
+	0	4	6
+	2	1	0
+	2	2	126
+	0	10	2
+	2	2	0
+	0	5	43
+	0	5	53
+	-1
+
+3	12	12
+	2	2	129
+	2	1	132
+	1	1	19
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	13
+	0	5	42
+	2	2	129
+	2	1	135
+	0	12	63
+	2	1	0
+	2	2	0
+	-1
+
+3	12	14
+	3	12	10
+	3	12	11
+	1	5	56
+	3	1	23
+	0	5	42
+	0	5	52
+	3	12	12
+	3	12	13
+	-1
+
+3	12	15
+	1	9	11
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	4
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	16
+	3	12	10
+	3	12	11
+	3	12	15
+	-1
+
+3	12	17
+	1	9	8
+	3	1	23
+	0	5	42
+	0	5	52
+	2	2	129
+	2	1	132
+	1	1	3
+	0	12	63
+	2	2	0
+	2	1	0
+	-1
+
+3	12	18
+	3	12	10
+	3	12	11
+	3	12	17
+	-1
+
+3	12	19
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	6	12
+	2	1	129
+	0	6	30
+	2	1	0
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	20
+	3	1	47
+	3	1	48
+	0	15	15
+	0	29	2
+	0	21	76
+	1	4	12
+	0	6	30
+	1	2	12
+	0	5	30
+	0	21	75
+	0	21	66
+	-1
+
+3	12	21
+	3	1	47
+	1	1	3
+	3	1	49
+	0	11	12
+	0	11	11
+	0	21	67
+	-1
+
+3	12	22
+	3	1	47
+	0	8	22
+	0	11	12
+	0	11	50
+	0	22	70
+	0	22	26
+	3	12	41
+	0	10	50
+	0	21	68
+	0	21	71
+	0	21	72
+	0	21	73
+	3	12	42
+	0	21	62
+	0	15	11
+	-1
+
+3	12	23
+	3	1	47
+	1	3	3
+	0	8	22
+	0	12	61
+	0	22	50
+	0	21	69
+	0	21	85
+	-1
+
+3	12	24
+	3	12	20
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	25
+	3	12	19
+	0	8	60
+	0	8	22
+	0	8	60
+	0	8	22
+	0	25	14
+	0	22	101
+	0	22	97
+	0	22	98
+	0	22	99
+	0	22	100
+	-1
+
+3	12	26
+	3	1	46
+	3	1	11
+	3	1	13
+	3	10	23
+	3	12	31
+	1	1	4
+	3	12	30
+	0	21	110
+	3	1	23
+	3	21	27
+	0	21	111
+	3	1	23
+	3	21	27
+	0	21	111
+	3	1	23
+	3	21	27
+	0	21	113
+	3	1	23
+	3	21	27
+	-1
+
+3	12	27
+	3	1	47
+	1	5	9
+	3	1	23
+	0	7	21
+	0	12	61
+	0	7	21
+	0	12	61
+	0	21	85
+	0	21	70
+	-1
+
+3	12	28
+	3	1	46
+	3	1	11
+	3	1	13
+	3	1	23
+	0	8	25
+	2	1	136
+	0	4	6
+	2	1	0
+	3	12	31
+	3	12	32
+	1	1	4
+	3	12	30
+	1	1	2
+	3	12	33
+	0	21	110
+	3	1	23
+	3	21	28
+	0	21	111
+	3	1	23
+	3	21	28
+	0	21	112
+	3	1	23
+	3	21	28
+	0	21	113
+	3	1	23
+	3	21	28
+	-1
+
+3	12	30
+	2	1	130
+	2	2	129
+	0	11	12
+	2	2	0
+	2	1	0
+	0	11	52
+	2	1	135
+	2	2	130
+	0	11	11
+	2	2	0
+	2	1	0
+	0	11	53
+	0	21	104
+	-1
+
+3	12	31
+	0	5	34
+	0	6	34
+	0	21	109
+	0	11	81
+	0	11	82
+	0	21	101
+	0	21	102
+	0	21	103
+	-1
+
+3	12	32
+	0	21	120
+	0	21	121
+	0	13	55
+	0	21	122
+	-1
+
+3	12	33
+	0	2	104
+	0	8	22
+	0	12	63
+	0	12	65
+	-1
+
+3	12	41
+	2	1	141
+	2	2	130
+	0	7	1
+	2	1	00
+	2	2	00
+	-1
+
+3	12	42
+	0	21	77
+	0	21	78
+	0	21	79
+	0	21	80
+	0	21	81
+	0	21	82
+	-1
+
+3	13	9
+	0	21	1
+	1	1	0
+	0	31	1
+	0	21	1
+	-1
+
+3	13	10
+	0	21	36
+	1	1	0
+	0	31	1
+	0	21	36
+	-1
+
+3	13	31
+	0	6	2
+	0	6	12
+	1	1	0
+	0	31	2
+	0	30	1
+	-1
+
+3	13	32
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	31
+	-1
+
+3	13	41
+	0	6	2
+	1	10	0
+	0	31	1
+	1	4	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	12
+	0	30	1
+	0	6	12
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+
+3	13	42
+	0	5	2
+	0	5	12
+	1	1	0
+	0	31	2
+	3	13	41
+	-1
+
+3	13	43
+	0	6	2
+	0	5	2
+	0	5	12
+	1	12	0
+	0	31	1
+	1	10	0
+	0	31	1
+	1	04	0
+	0	31	1
+	0	6	12
+	1	1	0
+	0	31	11
+	0	30	1
+	1	1	0
+	0	31	1
+	0	30	1
+	-1
+	
+3	15	1
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	1
+	-1
+
+3	15	2
+	0	1	11
+	3	1	11
+	3	1	12
+	3	1	23
+	3	6	4
+	-1
+
+3	16	1
+	3	1	11
+	0	4	4
+	3	1	23
+	0	1	21
+	0	2	41
+	0	19	1
+	0	10	51
+	0	19	2
+	0	19	3
+	0	19	4
+	-1
+
+3	16	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	1	33
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	7	2
+	0	7	2
+	-1
+
+3	16	3
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	11	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	4
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	11	31
+	0	8	7
+	0	8	11
+	-1
+
+3	16	5
+	1	8	0
+	0	31	1
+	0	8	5
+	0	8	7
+	0	5	2
+	0	6	2
+	0	1	26
+	0	19	1
+	0	8	7
+	0	8	5
+	-1
+
+3	16	6
+	1	12	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	11
+	0	20	12
+	0	8	7
+	0	8	11
+	-1
+
+3	16	7
+	1	10	0
+	0	31	1
+	0	8	11
+	0	8	7
+	1	4	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	19	5
+	0	19	6
+	0	8	7
+	0	8	11
+	-1
+
+3	16	8
+	1	11	0
+	0	31	1
+	0	8	1
+	0	8	7
+	0	8	23
+	1	3	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	10	2
+	0	8	23
+	0	8	7
+	0	8	1
+	-1
+
+3	16	9
+	1	11	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	7	2
+	0	7	2
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	20	41
+	0	8	7
+	0	8	11
+	-1
+
+3	16	10
+	1	7	0
+	0	31	1
+	0	8	11
+	0	8	7
+	0	1	22
+	0	5	2
+	0	6	2
+	0	8	7
+	0	8	11
+	-1
+
+3	16	11
+	1	16	0
+	0	31	1
+	0	8	11
+	0	1	22
+	0	8	7
+	1	2	0
+	0	31	1
+	0	5	2
+	0	6	2
+	0	8	21
+	0	4	1
+	0	4	2
+	0	4	3
+	0	4	4
+	0	4	5
+	0	20	90
+	0	8	21
+	0	8	7
+	0	8	11
+	-1
+
+3	18	1
+	3	1	25
+	0	24	11
+	-1
+
+3	18	3
+	3	1	26
+	0	24	5
+	0	24	4
+	0	24	21
+	-1
+
+3	18	4
+	3	1	25
+	0	4	23
+	0	13	11
+	0	24	5
+	0	24	4
+	0	24	22
+	-1
+
+3	21	1
+	0	2	101
+	0	2	114
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	121
+	-1
+
+3	21	3
+	0	21	51
+	0	21	14
+	0	21	17
+	0	21	30
+	-1
+
+3	21	4
+	3	1	31
+	0	2	3
+	1	1	0
+	0	31	1
+	3	21	3
+	-1
+
+3	21	5
+	0	25	4
+	0	2	121
+	0	2	122
+	0	2	123
+	0	2	124
+	0	2	125
+	0	2	126
+	0	2	127
+	0	2	128
+	0	2	129
+	0	2	130
+	0	2	131
+	-1
+
+3	21	6
+	0	25	1
+	0	25	2
+	0	25	3
+	0	25	5
+	-1
+
+3	21	7
+	0	25	9
+	0	25	10
+	0	25	11
+	0	25	12
+	0	25	13
+	0	25	15
+	0	25	16
+	0	25	17
+	-1
+
+3	21	8
+	0	25	6
+	0	25	7
+	0	25	8
+	-1
+
+3	21	9
+	0	25	18
+	0	25	19
+	-1
+
+3	21	10
+	0	2	101
+	0	7	2
+	0	2	102
+	0	2	103
+	0	2	104
+	0	2	105
+	0	2	106
+	0	2	107
+	0	2	108
+	0	2	109
+	0	2	110
+	0	2	132
+	0	2	133
+	-1
+
+3	21	11
+	0	30	31
+	0	30	32
+	0	29	2
+	-1
+
+3	21	12
+	1	1	0
+	0	31	1
+	0	2	135
+	-1
+
+3	21	21	
+	0	2	3
+	0	2	101
+	2	1	130
+	0	2	106
+	2	1	0
+	2	1	132
+	2	2	130
+	0	2	121
+	2	2	0
+	2	1	0
+	2	1	133
+	2	2	129
+	0	25	1
+	2	2	0
+	2	1	0
+	-1
+
+3	21	22
+	0	10	7
+	2	4	1
+	0	31	21
+	0	11	1
+	2	4	0
+	0	11	2
+	2	4	1
+	0	31	21
+	0	11	6
+	2	4	0
+	0	21	30
+	-1		
+
+3	21	23
+	0	7	7
+	0	21	91
+	0	21	30
+	2	2	129
+	0	21	14
+	2	1	129
+	0	21	17
+	2	2	0
+	2	1	0
+	-1		
+
+3	21	24
+	0	7	7
+	2	4	1
+	0	31	21
+	0	12	7
+	0	11	6
+	2	4	0
+	0	21	30
+	-1		
+
+3	21	025
+	0	07	7
+	0	21	91
+	0	21	30
+	2	02	129
+	0	21	14
+	2	01	129
+	0	21	17
+	2	02	0
+	2	01	0
+	0	21	92
+	0	21	30
+	0	25	92
+	2	01	129
+	2	02	129
+	0	21	17
+	2	02	0
+	2	01	0
+	-1		
+
+3	21	26
+	0	10	7
+	2	4	1
+	0	31	21
+	0	12	7
+	0	25	91
+	0	11	71
+	0	11	72
+	0	11	73
+	0	11	74
+	2	4	0
+	-1
+
+3	21	27
+	0	21	118
+	2	2	129
+	2	1	132
+	0	2	112
+	2	1	0
+	2	1	131
+	0	2	111
+	2	1	0
+	2	2	0
+	0	2	104
+	0	21	105
+	0	21	106
+	0	21	107
+	0	21	114
+	0	21	115
+	0	21	116
+	0	8	18
+	0	21	117
+	-1
+
+3	21	28
+	0	21	118
+	2	2	129
+	2	1	132
+	0	2	112
+	2	1	0
+	2	1	131
+	0	2	111
+	2	1	0
+	2	2	0
+	0	2	104
+	0	21	123
+	0	21	106
+	0	21	107
+	0	21	114
+	0	21	115
+	0	21	116
+	0	8	18
+	0	21	117
+	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-000-D
@@ -0,0 +1,27 @@
+#
+# B2L-058-000-D - Special local BUFR Table D for center 058 (FNMOC) for those
+# cases when an FNOC-generated BUFR message uses local descriptors but has a
+# value of 0 in Section 1, Octet 12 (thus indicating that it does not use
+# local descriptors).
+#
+# Descriptor sequences are terminated with -1
+#
+# Sequences do not need to appear in any order.  Sequence A
+# which includes sequence B, may appear before sequence B
+# is defined.
+#
+
+# Phony local descriptors left over from debuggin
+#
+#3	5	1
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	0	2	104		# Antenna polarization            (4 bits)
+#	0	2	113		# Number of azimuth looks         (4 bits)
+#	-1
+#
+#3	5	1
+#	0	2	 11		# Radiosonde type                 (8 bits)
+#	0	2	 22		# Satellite DP technique used     (8 bits)
+#	0	2	102		# Antenna height above tower base (8 bits)
+#	-1
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-003-A
@@ -0,0 +1,259 @@
+#
+# BUFR Table A - Data Category
+#
+  0	Surface data - land
+  1	Surface data - sea
+  2	Vertical soundings (other than satellite)
+  3	Vertical soundings (satellite)
+  4	Single level upper-air data (other than satellite)
+  5	Single level upper-air data (satellite)
+  6	Radar data
+  7	Synoptic features
+  8	Physical/chemical constituents
+  9	Dispersal and transport
+ 10	Radiological data
+ 11	BUFR tables, complete replacement or update
+ 12	Surface data (satellite)
+ 13	RESERVED
+ 14	RESERVED
+ 15	RESERVED
+ 16	RESERVED
+ 17	RESERVED
+ 18	RESERVED
+ 19	RESERVED
+ 20	Status information
+ 21	Radiances (satellite measured)
+ 22	RESERVED
+ 23	RESERVED
+ 24	RESERVED
+ 25	RESERVED
+ 26	RESERVED
+ 27	RESERVED
+ 28	RESERVED
+ 29	RESERVED
+ 30	RESERVED
+ 31	Oceanographic data
+ 32	RESERVED
+ 33	RESERVED
+ 34	RESERVED
+ 35	RESERVED
+ 36	RESERVED
+ 37	RESERVED
+ 38	RESERVED
+ 39	RESERVED
+ 40	RESERVED
+ 41	RESERVED
+ 42	RESERVED
+ 43	RESERVED
+ 44	RESERVED
+ 45	RESERVED
+ 46	RESERVED
+ 47	RESERVED
+ 48	RESERVED
+ 49	RESERVED
+ 50	RESERVED
+ 51	RESERVED
+ 52	RESERVED
+ 53	RESERVED
+ 54	RESERVED
+ 55	RESERVED
+ 56	RESERVED
+ 57	RESERVED
+ 58	RESERVED
+ 59	RESERVED
+ 60	RESERVED
+ 61	RESERVED
+ 62	RESERVED
+ 63	RESERVED
+ 64	RESERVED
+ 65	RESERVED
+ 66	RESERVED
+ 67	RESERVED
+ 68	RESERVED
+ 69	RESERVED
+ 70	RESERVED
+ 71	RESERVED
+ 72	RESERVED
+ 73	RESERVED
+ 74	RESERVED
+ 75	RESERVED
+ 76	RESERVED
+ 77	RESERVED
+ 78	RESERVED
+ 79	RESERVED
+ 80	RESERVED
+ 81	RESERVED
+ 82	RESERVED
+ 83	RESERVED
+ 84	RESERVED
+ 85	RESERVED
+ 86	RESERVED
+ 87	RESERVED
+ 88	RESERVED
+ 89	RESERVED
+ 90	RESERVED
+ 91	RESERVED
+ 92	RESERVED
+ 93	RESERVED
+ 94	RESERVED
+ 95	RESERVED
+ 96	RESERVED
+ 97	RESERVED
+ 98	RESERVED
+ 99	RESERVED
+100	RESERVED
+101	Image data
+102	RESERVED
+103	RESERVED
+104	RESERVED
+105	RESERVED
+106	RESERVED
+107	RESERVED
+108	RESERVED
+109	RESERVED
+110	RESERVED
+111	RESERVED
+112	RESERVED
+113	RESERVED
+114	RESERVED
+115	RESERVED
+116	RESERVED
+117	RESERVED
+118	RESERVED
+119	RESERVED
+120	RESERVED
+121	RESERVED
+122	RESERVED
+123	RESERVED
+124	RESERVED
+125	RESERVED
+126	RESERVED
+127	RESERVED
+128	RESERVED
+129	RESERVED
+130	RESERVED
+131	RESERVED
+132	RESERVED
+133	RESERVED
+134	RESERVED
+135	RESERVED
+136	RESERVED
+137	RESERVED
+138	RESERVED
+139	RESERVED
+140	RESERVED
+141	RESERVED
+142	RESERVED
+143	RESERVED
+144	RESERVED
+145	RESERVED
+146	RESERVED
+147	RESERVED
+148	RESERVED
+149	RESERVED
+150	RESERVED
+151	RESERVED
+152	RESERVED
+153	RESERVED
+154	RESERVED
+155	RESERVED
+156	RESERVED
+157	RESERVED
+158	RESERVED
+159	RESERVED
+160	RESERVED
+161	RESERVED
+162	RESERVED
+163	RESERVED
+164	RESERVED
+165	RESERVED
+166	RESERVED
+167	RESERVED
+168	RESERVED
+169	RESERVED
+170	RESERVED
+171	RESERVED
+172	RESERVED
+173	RESERVED
+174	RESERVED
+175	RESERVED
+176	RESERVED
+177	RESERVED
+178	RESERVED
+179	RESERVED
+180	RESERVED
+181	RESERVED
+182	RESERVED
+183	RESERVED
+184	RESERVED
+185	RESERVED
+186	RESERVED
+187	RESERVED
+188	RESERVED
+189	RESERVED
+190	RESERVED
+191	RESERVED
+192	RESERVED
+193	RESERVED
+194	RESERVED
+195	RESERVED
+196	RESERVED
+197	RESERVED
+198	RESERVED
+199	RESERVED
+200	RESERVED
+201	RESERVED
+202	RESERVED
+203	RESERVED
+204	RESERVED
+205	RESERVED
+206	RESERVED
+207	RESERVED
+208	RESERVED
+209	RESERVED
+210	RESERVED
+211	RESERVED
+212	RESERVED
+213	RESERVED
+214	RESERVED
+215	RESERVED
+216	RESERVED
+217	RESERVED
+218	RESERVED
+219	RESERVED
+220	RESERVED
+221	RESERVED
+222	RESERVED
+223	RESERVED
+224	RESERVED
+225	RESERVED
+226	RESERVED
+227	RESERVED
+228	RESERVED
+229	RESERVED
+230	RESERVED
+231	RESERVED
+232	RESERVED
+233	RESERVED
+234	RESERVED
+235	RESERVED
+236	RESERVED
+237	RESERVED
+238	RESERVED
+239	RESERVED
+240	FOR EXPERIMENTAL USE
+241	FOR EXPERIMENTAL USE
+242	FOR EXPERIMENTAL USE
+243	FOR EXPERIMENTAL USE
+244	FOR EXPERIMENTAL USE
+245	FOR EXPERIMENTAL USE
+246	FOR EXPERIMENTAL USE
+247	FOR EXPERIMENTAL USE
+248	FOR EXPERIMENTAL USE
+249	FOR EXPERIMENTAL USE
+250	FOR EXPERIMENTAL USE
+251	FOR EXPERIMENTAL USE
+252	FOR EXPERIMENTAL USE
+253	FOR EXPERIMENTAL USE
+254	FOR EXPERIMENTAL USE
+255	Indicator for local use, with sub-category
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-128-001-B
@@ -0,0 +1,95 @@
+#
+# B2L-128-001-B.001 - Local BUFR Table B for center 128 (NRL Monterey),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      0;      0;           0;    0;        undef; undefined used for SSMI - temporary
+
+  0;    1;     50;      0;           0;   48;    CCITT_IA5; NMC report identifier
+  0;    1;     62;      0;           0;   40;    CCITT_IA5; National assigned station identifier
+
+  0;    2;     28;      0;           0;   32;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;     29;      0;           0;    8;   Flag_Table; Geostationary sounder satellite channels used
+  0;    2;    190;      0;           0;    8;   Code_Table; U, v quality indicator
+  0;    2;    191;      0;           0;    4;   Code_Table; W quality indicator
+
+  0;    4;     44;      0;           0;    3;   Code_Table; Day of the week
+
+  0;    5;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;    5;     50;      5;           0;   17;      Numeric; Sigma level
+
+  0;    6;      3;      2;      -18000;   16;          deg; Alternate longtiude
+
+  0;    8;      0;      0;           0;    4;   Code_Table; Vertical significance (forecast soundings)
+  0;    8;     31;      0;           0;    8;         BUFR; Table A	Data category
+  0;    8;     32;      0;           0;   14;   Code_Table; Data significance for simulated forecast
+  0;    8;     33;      0;           0;    3;   Code_Table; Data significance for corrected forecast
+  0;    8;     34;      0;           0;    3;   Code_Table; Data significance for simulated retrievals
+  0;    8;     35;      0;           0;    3;   Code_Table; Data significance for corrected retrievals
+  0;    8;     36;      0;           0;    3;   Code_Table; Data significance for simulated analysis
+  0;    8;     37;      0;           0;    3;   Code_Table; Data significance for corrected analysis
+  0;    8;     38;      0;           0;    3;   Code_Table; Data significance for sigma level data
+
+  0;   12;     20;      2;       -2000;   12;    deg_K/day; Radiative heating profile
+  0;   12;     40;     -3;       -2048;   12;       W/m**2; Sensible heat flux
+
+  0;   13;     40;     -3;       -2048;   12;       W/m**2; Latent heat flux
+
+  0;   14;     41;      0;           0;    7;      percent; Short wave albedo
+
+  0;   20;      9;     -1;         -40;   11;            m; Ceiling
+  0;   20;     18;     -1;          40;   11;            m; Low estimated height of cloud top
+  0;   20;     19;     -1;          40;   11;            m; High estimated height of cloud top
+  0;   20;     20;      0;           0;    4;   Code_Table; Low cloud amount
+  0;   20;     21;      0;           0;    4;   Code_Table; Middle cloud amount
+  0;   20;     22;      0;           0;    4;   Code_Table; High cloud amount
+  0;   20;     23;      0;           0;    7;      percent; Satellite sensed effective cloud amount
+  0;   20;     49;      0;           0;   10;   Code_Table; Type of stability measure
+  0;   20;     50;      0;           0;   10;      Numeric; Value of stability
+
+  0;   22;    105;     -1;           0;    6;     deg_true; Direction of waves
+  0;   22;    143;      2;        2650;   13;        deg_K; Sea temperature
+
+  0;   25;     31;      0;           0;    2;   Code_Table; 15 day SST availability
+  0;   25;     35;      0;           0;    3;   Code_Table; First guess adjustment
+  0;   25;     36;      3;       -5000;   14;      Numeric; NSTAR average value
+  0;   25;     37;      0;           0;    2;   Code_Table; HIRS-8 surface air temperature
+  0;   25;     38;      0;           0;    3;   Code_Table; TOVS filter flags
+
+  0;   50;    200;      2;      636700;   24;           km; Altitude(km)
+  0;   50;    201;      6;           0;   24;  Rad(Si)/sec; Dosage
+  0;   50;    202;      6;           0;   24;        Gauss; B-Field
+  0;   50;    203;      3;      -20000;   24;           Re; Coordinate
+  0;   50;    204;      3;           0;   24;            -; L-Shell
+
+  0;   51;    200;     -2;           0;   24; KeV/(cm2-s-Sr); e-Energy Flux
+  0;   51;    201;     -2;           0;   24; #/(cm2-s-Sr); e-Number Flux
+  0;   51;    202;     -2;           0;   24; KeV/(cm2-s-Sr); i-Energy Flux
+  0;   51;    203;     -2;           0;   24; #/(cm2-s-Sr); i-Number Flux
+  0;   51;    204;      6;         -10;   24;         mhos; Ped Conduct.
+  0;   51;    205;      6;         -10;   24;         mhos; Hall Conduct.
+
+  0;   52;    200;      5;           0;   26;            -; S4
+  0;   52;    201;      5;           0;   25;            -; SI
+  0;   52;    202;      5;           0;   24;            -; PCT
+  0;   52;    203;      5;           0;   24;            -; PRMS
+
+  0;   53;    200;     -1;           0;   25;       cm**-3; Ne
+  0;   53;    201;      3;           0;   24;          MHz; FE
+  0;   53;    202;      3;           0;   24;          MHz; FoF2
+  0;   53;    203;      3;           0;   20;           km; HE
+  0;   53;    204;      3;           0;   20;           km; HF2
+
+#
+# Table definitions
+#
+  0;   63;      0;      0;           0;    0;            -; End of Table Descriptors
+  0;   63;      1;      0;           0;    8;      Numeric; Number of Dimensions
+  0;   63;      2;      0;           0;    8;      Numeric; Dimension Size
+  0;   63;      3;      0;           0;    8;   Code_Table; Object Type
+  0;   63;      4;      0;           0;    8;   Flag_Table; Flags
+  0;   63;      5;      0;           0;   16;      Numeric; Object Count
+  0;   63;      6;      0;           0;   16;      Numeric; Object Offset
+  0;   63;      7;      0;           0;    8;   Code_Table; Axis Label
+  0;   22;    203;      2;      -18000;   16;      summary; break angle
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-003-B
@@ -0,0 +1,482 @@
+#
+# BUFR Table B - Classification of Elements
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+  0;    0;      1;      0;           0;   24;    CCITT_IA5; Table A: entry
+  0;    0;      2;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 1
+  0;    0;      3;      0;           0;  256;    CCITT_IA5; Table A: data category description, line 2
+  0;    0;      5;      0;           0;   24;    CCITT_IA5; BUFR edition number
+  0;    0;     10;      0;           0;    8;    CCITT_IA5; F descriptor to be added or defined
+  0;    0;     11;      0;           0;   16;    CCITT_IA5; X descriptor to be added or defined
+  0;    0;     12;      0;           0;   24;    CCITT_IA5; Y descriptor to be added or defined
+  0;    0;     13;      0;           0;  256;    CCITT_IA5; Element name, line 1
+  0;    0;     14;      0;           0;  256;    CCITT_IA5; Element name, line 2
+  0;    0;     15;      0;           0;  192;    CCITT_IA5; Units name
+  0;    0;     16;      0;           0;    8;    CCITT_IA5; Units scale sign
+  0;    0;     17;      0;           0;   24;    CCITT_IA5; Units scale
+  0;    0;     18;      0;           0;    8;    CCITT_IA5; Units reference sign
+  0;    0;     19;      0;           0;   80;    CCITT_IA5; Units reference value
+  0;    0;     20;      0;           0;   24;    CCITT_IA5; Element data width
+  0;    0;     30;      0;           0;   48;    CCITT_IA5; Descriptor defining sequence
+
+  0;    1;      1;      0;           0;    7;      Numeric; WMO block number
+  0;    1;      2;      0;           0;   10;      Numeric; WMO station number
+  0;    1;      3;      0;           0;    3;      Numeric; WMO region number
+  0;    1;      4;      0;           0;    3;      Numeric; WMO region sub-area
+  0;    1;      5;      0;           0;   17;      Numeric; Buoy/platform identifier
+  0;    1;      6;      0;           0;   64;    CCITT_IA5; Aircraft identifier (flight number)
+  0;    1;      7;      0;           0;   10;   Code_Table; Satellite identifier
+  0;    1;      8;      0;           0;   64;    CCITT_IA5; Aircraft registration number (tail number)
+  0;    1;      9;      0;           0;   64;    CCITT_IA5; Type of commerical aircraft
+  0;    1;     10;      0;           0;   64;    CCITT_IA5; Stationary buoy platform identifier
+  0;    1;     11;      0;           0;   72;    CCITT_IA5; Ship's call sign
+  0;    1;     12;      0;           0;    9;     deg_true; Direction of motion of moving observing platform
+  0;    1;     13;      0;           0;   10;          m/s; Speed of motion of moving observing platform
+  0;    1;     14;      2;           0;   10;          m/s; Platform drift speed (high precision)
+  0;    1;     21;      0;           0;   14;      Numeric; Synoptic feature identifier
+  0;    1;     25;      0;           0;   24;    CCITT_IA5; Storm identifier
+  0;    1;     26;      0;           0;   64;    CCITT_IA5; WMO storm name
+  0;    1;     31;      0;           0;   16;   Code_Table; Generating center
+  0;    1;     63;      0;           0;   64;    CCITT_IA5; ICAO location indicator
+
+  0;    2;      1;      0;           0;    2;   Code_Table; Type of station
+  0;    2;      2;      0;           0;    4;   Flag_Table; Type of instrumentation for wind measurement
+  0;    2;      3;      0;           0;    4;   Code_Table; Type of measuring instrumentation used
+  0;    2;      4;      0;           0;    4;   Code_Table; Type of instrumentation for evaporation measurement or type of crop for which evapotranspiration is reported
+  0;    2;      5;      2;           0;    7;          deg; Precision of temperature observed
+  0;    2;     11;      0;           0;    8;   Code_Table; Radiosonde type
+  0;    2;     12;      0;           0;    4;   Code_Table; Radiosonde computational method
+  0;    2;     13;      0;           0;    4;   Code_Table; Solar and infrared radiation correction
+  0;    2;     14;      0;           0;    7;   Code_Table; Tracking technique/status of system
+  0;    2;     15;      0;           0;    4;   Code_Table; Radiosonde completeness
+  0;    2;     21;      0;           0;    9;   Flag_Table; Satellite instrumentation data used in processing
+  0;    2;     22;      0;           0;    8;   Flag_Table; Satellite data processing technique used
+  0;    2;     23;      0;           0;    4;   Code_Table; Satellite derived wind computation method
+  0;    2;     24;      0;           0;    4;   Code_Table; Integrated mean humidity computational method
+  0;    2;     25;      0;           0;   25;   Flag_Table; Satellite channel(s) used in computation
+  0;    2;     26;      2;           0;   12;            m; Cross track resolution
+  0;    2;     27;      2;           0;   12;            m; Along track resolution
+  0;    2;     30;      0;           0;    3;   Code_Table; Method of current measurement
+  0;    2;     31;      0;           0;    5;   Code_Table; Duration and time of current measurement
+  0;    2;     32;      0;           0;    2;   Code_Table; Indicator for digitization
+  0;    2;     33;      0;           0;    3;   Code_Table; Method of salinity/depth measurement
+  0;    2;     34;      0;           0;    5;   Code_Table; Drogue type
+  0;    2;     35;      0;           0;    9;            m; Cable length
+  0;    2;     36;      0;           0;    2;   Code_Table; Buoy type
+  0;    2;     37;      0;           0;    3;   Code_Table; Method of tidal observation
+  0;    2;     38;      0;           0;    4;   Code_Table; Method of sea-surface temperature measurement
+  0;    2;     39;      0;           0;    3;   Code_Table; Method of wet-buld temperature measurement
+  0;    2;     40;      0;           0;    4;   Code_Table; Method of removing velocity and motion of platform from current
+  0;    2;     41;      0;           0;    6;   Code_Table; Method for estimating reports related to synoptic features
+  0;    2;     42;      0;           0;    6;   Code_Table; Method of report construction
+  0;    2;     43;      0;           0;    6;   Code_Table; Precision of latitude/longitude report
+  0;    2;     51;      0;           0;    4;   Code_Table; Indicator ro specify observing method for extreme temperatures
+  0;    2;     61;      0;           0;    3;   Code_Table; Aircraft navigation system
+  0;    2;     62;      0;           0;    4;   Code_Table; Type of aircraft data relay system
+  0;    2;     63;      2;      -18000;   16;          deg; Aircraft roll angle
+  0;    2;     70;      0;           0;    4;   Code_Table; Original specification of latitude/longitude
+  0;    2;    100;      1;           0;   12;           dB; Radar constant
+  0;    2;    101;      0;           0;    4;   Code_Table; Type of antenna
+  0;    2;    102;      0;           0;    8;            m; Antenna height above tower
+  0;    2;    103;      0;           0;    2;   Flag_Table; Radome
+  0;    2;    104;      0;           0;    4;   Code_Table; Antenna polarisation
+  0;    2;    105;      0;           0;    6;           dB; Maximum antenna gain
+  0;    2;    106;      1;           0;    6;          deg; 3-dB bandwidth
+  0;    2;    107;      0;           0;    6;           dB; Sidelobe suppression
+  0;    2;    108;      0;           0;    6;           dB; Crosspol discrimination (on axis)
+  0;    2;    109;      2;           0;   12;        deg/s; Antenna speed (azimuth)
+  0;    2;    110;      2;           0;   12;        deg/s; Antenna speed (elevation)
+  0;    2;    111;      1;           0;   10;          deg; Radar incidence angle
+  0;    2;    112;      1;           0;   12;          deg; Radar azimuth angle
+  0;    2;    113;      0;           0;    4;      Numeric; Number of azimuth looks
+  0;    2;    114;      0;           0;   15;         m**2; Antenna effective surface area
+  0;    2;    121;     -8;           0;    7;           Hz; Mean frequency
+  0;    2;    122;     -6;        -128;    8;           Hz; Frequency agility range
+  0;    2;    123;     -4;           0;    7;            W; Peak power
+  0;    2;    124;     -1;           0;    7;            W; Average power
+  0;    2;    125;     -1;           0;    8;           Hz; Pulse repetition frequency
+  0;    2;    126;      7;           0;    6;            s; Pulse width
+  0;    2;    127;     -6;           0;    7;           Hz; Receiver intermediate frequency
+  0;    2;    128;     -5;           0;    6;           Hz; Intermediate frequency bandwidth
+  0;    2;    129;      0;        -150;    5;           dB; Minimum detectable signal
+  0;    2;    130;      0;           0;    7;           dB; Dynamic range
+  0;    2;    131;      0;           0;    2;   Flag_Table; Sensitivity time control
+  0;    2;    132;      2;           0;    6;          deg; Azimuth pointing accuracy
+  0;    2;    133;      2;           0;    6;          deg; Elevation pointing accuracy
+  0;    2;    134;      2;           0;   16;          deg; Antenna beam azimuth
+  0;    2;    135;      2;       -9000;   15;          deg; Antenna elevation
+  0;    2;    136;     -3;           0;   16;            m; Range processed by range attenuation correction
+  0;    2;    141;      0;           0;   24;    CCITT_IA5; Measurement type
+  0;    2;    142;      0;           0;   32;    CCITT_IA5; Ozone instrument serial number/identification
+  0;    2;    143;      0;           0;    7;      Numeric; Instrument type
+
+  0;    4;      1;      0;           0;   12;         Year; Year
+  0;    4;      2;      0;           0;    4;           mo; Month
+  0;    4;      3;      0;           0;    6;          Day; Day
+  0;    4;      4;      0;           0;    5;           hr; Hour
+  0;    4;      5;      0;           0;    6;          min; Minute
+  0;    4;      6;      0;           0;    6;            s; Second
+  0;    4;     11;      0;       -1024;   11;         Year; Time increment
+  0;    4;     12;      0;       -1024;   11;           mo; Time increment
+  0;    4;     13;      0;       -1024;   11;         Days; Time increment
+  0;    4;     14;      0;       -1024;   11;           hr; Time increment
+  0;    4;     15;      0;       -2048;   12;          min; Time increment
+  0;    4;     16;      0;       -4096;   13;            s; Time increment
+  0;    4;     21;      0;       -1024;   11;         Year; Time period or displacement
+  0;    4;     22;      0;       -1024;   11;           mo; Time period or displacement
+  0;    4;     23;      0;       -1024;   11;         Days; Time period or displacement
+  0;    4;     24;      0;       -2048;   12;           hr; Time period or displacement
+  0;    4;     25;      0;       -2048;   12;          min; Time period or displacement
+  0;    4;     26;      0;       -4096;   13;            s; Time period or displacement
+  0;    4;     31;      0;           0;    8;           hr; Duration of time relative to followinG value
+  0;    4;     41;      0;       -1440;   12;       Minute; Time Difference, UTC-LMT
+  0;    4;     43;      0;           0;    9;          Day; Day of the year
+  0;    4;     53;      0;           0;    6;      Numeric; Number of days with precipition equal to or more than 1mm
+  0;    4;    192;      0;           0;    3;   Code_Table; Season
+
+  0;    5;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;    5;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;    5;     11;      5;    -9000000;   25;          deg; Latitude increment (high accuracy)
+  0;    5;     12;      2;       -9000;   15;          deg; Latitude increment (coarse accuracy)
+  0;    5;     21;      2;           0;   16;     deg_true; Bearing or azimuth
+  0;    5;     22;      2;           0;   16;     deg_true; Solar azimuth
+  0;    5;     30;      0;           0;   12;          deg; Direction (spectral)
+  0;    5;     31;      0;           0;   12;      Numeric; Row number
+  0;    5;     33;     -1;           0;   16;            m; Pixel size on horizontal - 1
+  0;    5;     40;      0;           0;   24;      Numeric; Orbit number
+  0;    5;     41;      0;           0;    8;      Numeric; Scan line number
+  0;    5;     42;      0;           0;    6;      Numeric; Channel number
+  0;    5;     43;      0;           0;    8;      Numeric; Field of view number
+  0;    5;     52;      0;           0;    5;      Numeric; Channel number increment
+  0;    5;     53;      0;           0;    5;      Numeric; Field of view number increment
+
+  0;    6;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;    6;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;    6;     11;      5;   -18000000;   26;          deg; Longitude increment (high accuracy)
+  0;    6;     12;      2;      -18000;   16;          deg; Longitude increment (coarse accuracy)
+  0;    6;     21;     -1;           0;   13;            m; Distance
+  0;    6;     30;      5;           0;   13;        rad/m; Wavenumber (spectral)
+  0;    6;     31;      0;           0;   12;      Numeric; Column number
+  0;    6;     33;     -1;           0;   16;            m; Pixel size on horizontal - 2
+
+  0;    7;      1;      0;        -400;   15;            m; Height of station
+  0;    7;      2;     -1;         -40;   16;            m; Height or altitude
+  0;    7;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;    7;      4;     -1;           0;   14;           Pa; Pressure
+  0;    7;      5;      0;        -400;   12;            m; Height increment
+  0;    7;      6;      0;           0;   15;            m; Height above station
+  0;    7;      7;      0;       -1000;   17;            m; Height
+  0;    7;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;    7;     21;      2;       -9000;   15;          deg; Elevation
+  0;    7;     22;      2;       -9000;   15;          deg; Solar elevation
+  0;    7;     61;      2;           0;   14;            m; Depth below land surface
+  0;    7;     62;      1;           0;   17;            m; Depth below sea surface
+  0;    7;    190;      0;           0;   12;            m; Height increment
+
+  0;    8;      1;      0;           0;    7;   Flag_Table; Vertical sounding significance
+  0;    8;      2;      0;           0;    6;   Code_Table; Vertical significance (surface observations)
+  0;    8;      3;      0;           0;    6;   Code_Table; Vertical significance (satellite observations)
+  0;    8;      4;      0;           0;    3;   Code_Table; Phase of aircraft flight
+  0;    8;      5;      0;           0;    4;   Code_Table; Surface synoptic features significance
+  0;    8;     11;      0;           0;    6;   Code_Table; Horizontal significance
+  0;    8;     12;      0;           0;    2;   Code_Table; land/sea qualifier
+  0;    8;     13;      0;           0;    2;   Code_Table; Day/night qualifier
+  0;    8;     20;      0;           0;   16;      Numeric; Total number of missing entities (with respect to accumulation or average)
+  0;    8;     21;      0;           0;    5;   Code_Table; Time significance
+  0;    8;     22;      0;           0;   16;      Numeric; Total number (with respect to accumulation or average)
+  0;    8;     51;      0;           0;    3;   Code_Table; Qualifier for number of missing values in calculation of statistic
+  0;    8;     52;      0;           0;    5;   Code_Table; Condition for which number of days of occurance follows
+  0;    8;     53;      0;           0;    2;   COde_Table; Day of occurance qualifier
+
+  0;   10;      1;      0;        -400;   15;            m; Height of land surface
+  0;   10;      2;     -1;         -40;   16;            m; Height
+  0;   10;      3;     -1;        -400;   17;    m**2/s**2; Geopotential
+  0;   10;      4;     -1;           0;   14;           Pa; Pressure
+  0;   10;      7;      0;       -1000;   17;            m; Height
+  0;   10;      8;      0;      -10000;   20;    m**2/s**2; Geopotential
+  0;   10;     50;      2;           0;   16;            m; Standard deviation altitude
+  0;   10;     51;     -1;           0;   14;           Pa; Pressure reduced to mean sea level
+  0;   10;     52;     -1;           0;   14;           Pa; Altimeter setting (QNH)
+  0;   10;     60;     -1;       -1024;   11;           Pa; Pressure change
+  0;   10;     61;     -1;        -500;   10;           Pa; 3 hour pressure change
+  0;   10;     62;     -1;       -1000;   11;           Pa; 24 hour pressure change
+  0;   10;     63;      0;           0;    4;   Code_Table; Characteristic of pressure tendency
+
+  0;   11;      1;      0;           0;    9;     deg_true; Wind direction
+  0;   11;      2;      1;           0;   12;          m/s; Wind speed
+  0;   11;      3;      1;       -4096;   13;          m/s; U-component
+  0;   11;      4;      1;       -4096;   13;          m/s; V-component
+  0;   11;      5;      1;        -512;   10;         Pa/s; W-component
+  0;   11;      6;      2;       -4096;   13;          m/s; W-component
+  0;   11;     11;      0;           0;    9;     deg_true; Wind direction at 10 m
+  0;   11;     12;      1;           0;   12;          m/s; Wind speed at 10 m
+  0;   11;     13;      0;           0;    9;     deg_true; Wind direction at 5 m
+  0;   11;     14;      1;           0;   12;          m/s; Wind speed at 5 m
+  0;   11;     21;      9;      -65536;   17;        s**-1; Relative vorticity
+  0;   11;     22;      9;      -65536;   17;        s**-1; Divergence
+  0;   11;     23;     -2;      -65536;   17;       m**2/s; Velocity potential
+  0;   11;     31;      0;           0;    4;   Code_Table; Degree of turbulence
+  0;   11;     32;     -1;         -40;   16;            m; Height of base of turbulence
+  0;   11;     33;     -1;         -40;   16;            m; Height of top of turbulence
+  0;   11;     34;      1;       -1024;   11;          m/s; Vertical gust velocity
+  0;   11;     35;      2;       -8192;   14;       m/s**2; Vertical gust acceleration
+  0;   11;     36;      1;           0;   10;          m/s; Maximum derived equivalent vertical gust speed
+  0;   11;     41;      1;           0;   12;          m/s; Maximum wind speed (gusts)
+  0;   11;     42;      1;           0;   12;          m/s; Maximum wind speed (10 minute mean wind)
+  0;   11;     43;      0;           0;    9;     deg_true; Maximum wind gust direction
+  0;   11;     49;      0;           0;    9;     deg_true; Standard deviation of wind direction
+  0;   11;     50;      1;           0;   12;          m/s; Standard deviation horizontal wind speed
+  0;   11;     51;      1;           0;    8;          m/s; Standard deviation vertical wind speed
+  0;   11;     61;      1;           0;   12;          m/s; Absolute wind shear in 1 kilometer layer below
+  0;   11;     62;      1;           0;   12;          m/s; Absolute wind shear in1 kilometer layer above
+
+  0;   12;      1;      1;           0;   12;        deg_K; Temperature/dry bulb temperature
+  0;   12;      2;      1;           0;   12;        deg_K; Wet bulb temperature
+  0;   12;      3;      1;           0;   12;        deg_K; Dewpoint temperature
+  0;   12;      4;      1;           0;   12;        deg_K; Dry bulb temperature at 2 meters
+  0;   12;      5;      1;           0;   12;        deg_K; Wet bulb temperature at 2 meters
+  0;   12;      6;      1;           0;   12;        deg_K; Dewpoint temperature at 2 meters
+  0;   12;      7;      1;           0;   12;        deg_K; Virtual temperature
+  0;   12;     11;      1;           0;   12;        deg_K; Maximum temperature
+  0;   12;     12;      1;           0;   12;        deg_K; Minimum temperature
+  0;   12;     13;      1;           0;   12;        deg_K; Ground minimum temperature past 12 hours
+  0;   12;     14;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 12 hours
+  0;   12;     15;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 12 hours
+  0;   12;     16;      1;           0;   12;        deg_K; Maximum temperature at 2 meters, past 24 hours
+  0;   12;     17;      1;           0;   12;        deg_K; Minimum temperature at 2 meters, past 24 hours
+  0;   12;     30;      1;           0;   12;        deg_K; Soil temperature
+  0;   12;     51;      1;           0;   10;        deg_K; Standard deviation of temperature
+  0;   12;     52;      1;           0;   12;        deg_K; Highest daily mean temperature
+  0;   12;     53;      1;           0;   12;        deg_K; Lowest daily mean temperature
+  0;   12;     61;      1;           0;   12;        deg_K; Skin temperature
+  0;   12;     62;      1;           0;   12;        deg_K; Equivalent black body temperature
+  0;   12;     63;      1;           0;   12;        deg_K; Brightness temperature
+
+  0;   13;      1;      5;           0;   14;        kg/kg; Specific humidity
+  0;   13;      2;      5;           0;   14;        kg/kg; Mixing ratio
+  0;   13;      3;      0;           0;    7;      percent; Relative humidity
+  0;   13;      4;     -1;           0;   10;           Pa; Vapor pressure
+  0;   13;      5;      3;           0;    7;      kg/m**3; Vapor density
+  0;   13;      6;     -1;         -40;   16;            m; Mixing heights
+  0;   13;     11;      4;          -1;   14;      kg/m**2; Total precipitation/total water equivalent
+  0;   13;     12;      2;          -2;   12;            m; Depth of fresh snow
+  0;   13;     13;      2;          -2;   16;            m; Total snow depth
+  0;   13;     14;      4;           0;   12;    kg/m**2/s; Rainfall/water equivalent of snow (average rate)
+  0;   13;     15;      7;           0;   12;          m/s; Snowfall (averaged rate)
+  0;   13;     16;      0;           0;    7;      kg/m**2; Precipitable water
+  0;   13;     19;      1;          -1;   14;      kg/m**2; Total precipitation past 1 hour
+  0;   13;     20;      1;          -1;   14;      kg/m**2; Total precipitation past 3 hours
+  0;   13;     21;      1;          -1;   14;      kg/m**2; Total precipitation past 6 hours
+  0;   13;     22;      1;          -1;   14;      kg/m**2; Total precipitation past 12 hours
+  0;   13;     23;      1;          -1;   14;      kg/m**2; Total precipitation past 24 hours
+  0;   13;     31;      0;           0;    7;      kg/m**2; Evapotranspiration
+  0;   13;     32;      1;           0;    8;      kg/m**2; Evaporation/evapotranspiration
+  0;   13;     41;      0;           0;    4;   Code_Table; Pasquill-Gifford stability category
+  0;   13;     42;      0;         -20;    6;        deg_K; Parcel lifted index (to 500 hPa)
+  0;   13;     43;      0;         -20;    6;        deg_K; Best lifted index (to 500 hPa)
+  0;   13;     51;      0;           0;    4;   Code_Table; Frequency group, precipition
+  0;   13;     52;      1;          -1;   14;      kg/m**2; Highest daily amount of precipition
+
+  0;   14;      1;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over 24 hours
+  0;   14;      2;     -3;       -2048;   12;  Joules/m**2; Longwave radiation, integrated over period specified
+  0;   14;      3;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over 24 hours
+  0;   14;      4;     -3;       -2048;   12;  Joules/m**2; Shortwave radiation, integrated over period specified
+  0;   14;     11;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over 24 hours
+  0;   14;     12;     -3;       -2048;   12;  Joules/m**2; Net longwave radiation, integrated over period specified
+  0;   14;     13;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over 24 hours
+  0;   14;     14;     -3;       -2048;   12;  Joules/m**2; Net shortwave radiation, integrated over period specified
+  0;   14;     15;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over 24 hours
+  0;   14;     16;     -4;      -16384;   15;  Joules/m**2; Net radiation, integrated over period specified
+  0;   14;     17;     -3;       -2048;   12;       W/m**2; Instantaneous long wave radiation
+  0;   14;     18;     -3;       -2048;   12;       W/m**2; Instantaneous short wave radiation
+  0;   14;     19;      0;           0;    7;      percent; Surface albedo
+  0;   14;     20;     -4;           0;   15;  Joules/m**2; Global solar radiation, integrated over 24 hours
+  0;   14;     21;     -4;           0;   15;  Joules/m**2; Global radiation, integrated over period specified
+  0;   14;     22;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integrated over 24 hours
+  0;   14;     23;     -4;           0;   15;  Joules/m**2; Diffuse solar radiation, integratedi over period specified
+  0;   14;     24;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over 24 hours
+  0;   14;     25;     -4;           0;   15;  Joules/m**2; Direct solar radiation, integrated over period specified
+  0;   14;     31;      0;           0;   11;          min; Total sunshine
+  0;   14;     32;      0;           0;   10;           hr; Total sunshine
+  0;   14;     33;      0;           0;    9;      percent; Total sunshine
+  0;   14;     42;      0;           0;    7;      percent; Bi-directional reflectance
+
+  0;   15;      1;      0;           0;   10;       Dobson; units	Ozone
+  0;   15;      2;      2;           0;   10;      Numeric; Air mass (slant path at 22km)
+
+  0;   19;      1;      0;           0;    6;   Code_Table; Type of synoptic features
+  0;   19;      2;     -2;           0;   12;            m; Effective radius of feature
+  0;   19;      3;      0;           0;    8;          m/s; Wind speed threshold
+  0;   19;      4;     -2;           0;   12;            m; Effective radius of feature with respect to wind speeds above threshold
+  0;   19;      5;      0;           0;    9;     deg_true; Direction of motion of features
+  0;   19;      6;      2;           0;   14;          m/s; Speed of motion of features
+  0;   19;      7;     -3;           0;   12;            m; Effective radius of features
+  0;   19;      8;      0;           0;    3;   Code_Table; Vertical extent of circulation
+  0;   19;      9;     -3;           0;   12;            m; Effective radius with respect to wind speed above threshold (large storms)
+
+  0;   20;      1;     -1;           0;   13;            m; Horizontal visibility
+  0;   20;      2;     -1;           0;    7;            m; Vertical visibility
+  0;   20;      3;      0;           0;    9;   Code_Table; Present weather
+  0;   20;      4;      0;           0;    5;   Code_Table; Past weather (1)
+  0;   20;      5;      0;           0;    5;   Code_Table; Past weather (2)
+  0;   20;     10;      0;           0;    7;      percent; Cloud cover (total)
+  0;   20;     11;      0;           0;    4;   Code_Table; Cloud amount
+  0;   20;     12;      0;           0;    6;   Code_Table; Cloud type
+  0;   20;     13;     -1;         -40;   11;            m; Height of base of cloud
+  0;   20;     14;     -1;         -40;   11;            m; Height of top of cloud
+  0;   20;     15;     -1;           0;   14;           Pa; Pressure at the base of cloud
+  0;   20;     16;     -1;           0;   14;           Pa; Pressure at the top of cloud
+  0;   20;     17;      0;           0;    4;   Code_Table; Cloud top description
+  0;   20;     31;      2;           0;    7;            m; Ice deposit (thickness)
+  0;   20;     32;      0;           0;    3;   Code_Table; Rate of ice accretion
+  0;   20;     33;      0;           0;    4;   Flag_Table; Cause of ice accretion
+  0;   20;     34;      0;           0;    5;   Code_Table; Sea ice concentration
+  0;   20;     35;      0;           0;    4;   Code_Table; Amount and type of ice
+  0;   20;     36;      0;           0;    5;   Code_Table; Ice situation
+  0;   20;     37;      0;           0;    5;   Code_Table; Ice development
+  0;   20;     38;      0;           0;   12;     deg_true; Bearing of ice edge
+  0;   20;     39;     -1;           0;   13;            m; Ice distance
+  0;   20;     41;      0;           0;    4;   Code_Table; Airframe icing
+  0;   20;     51;      0;           0;    7;      percent; Amount of low clouds
+  0;   20;     52;      0;           0;    7;      percent; Amount of middle clouds
+  0;   20;     53;      0;           0;    7;      percent; Amount of high clouds
+  0;   20;     61;      0;           0;   12;            m; Runway visual range (RVR)
+  0;   20;     62;      0;           0;    5;   Code_Table; State of the ground(with or without snow)
+  0;   20;     63;      0;           0;   10;   Code_Table; Special phenomena
+
+  0;   21;      1;      0;         -64;    7;           dB; Horizontal reflectivity
+  0;   21;      2;      0;         -64;    7;           dB; Vertical reflectivity
+  0;   21;      3;      1;          -5;    7;           dB; Differential reflectivity
+  0;   21;      5;      0;         -65;    6;           dB; Linear depolarization ratio
+  0;   21;      6;      0;         -65;    6;           dB; Circular depolarization ratio
+  0;   21;     11;      0;        -128;    8;          m/s; Doppler mean velocity in X direction
+  0;   21;     12;      0;        -128;    8;          m/s; Doppler mean velocity in Y direction
+  0;   21;     13;      0;        -128;    8;          m/s; Doppler mean velocity in Z direction
+  0;   21;     14;      1;       -4096;   13;          m/s; Doppler mean velocity (radiational)
+  0;   21;     17;      1;           0;    8;          m/s; Doppler velocity spectral width
+  0;   21;     21;     -3;           0;    4;            m; Echo tops
+  0;   21;     30;      0;         -32;    8;           dB; Signal to noise ratio
+  0;   21;     31;      0;           0;    7;      kg/m**2; Vertical integrated liquid water content
+  0;   21;     36;      7;           0;   12;          m/s; Radar rainfall intensity
+  0;   21;     41;     -2;           0;    8;            m; Bright band height
+  0;   21;     51;      0;        -256;    8;           dB; Signal power above 1 MW
+
+  0;   22;      1;      0;           0;    9;     deg_true; Direction of waves
+  0;   22;      2;      0;           0;    9;     deg_true; Direction of wind waves
+  0;   22;      3;      0;           0;    9;     deg_true; Direction of swell waves
+  0;   22;      4;      0;           0;    9;     deg_true; Direction of current waves
+  0;   22;     11;      0;           0;    6;            s; Period of waves
+  0;   22;     12;      0;           0;    6;            s; Period of wind waves
+  0;   22;     13;      0;           0;    6;            s; Period of swell waves
+  0;   22;     21;      1;           0;   10;            m; Height of waves
+  0;   22;     22;      1;           0;   10;            m; Height of wind waves
+  0;   22;     23;      1;           0;   10;            m; Height of swell waves
+  0;   22;     25;      2;           0;   10;            m; Standard deviation wave
+  0;   22;     31;      2;           0;   13;          m/s; Speed of current
+  0;   22;     37;      3;      -10000;   15;            m; Tidal elevation with respect to national chart datum
+  0;   22;     38;      3;      -10000;   15;            m; Tidal elevation with respect to local chart datum
+  0;   22;     39;      3;       -5000;   12;            m; Meteorological residual tidal elevation (surge or offset)
+  0;   22;     41;      1;           0;   12;        deg_K; Sea surface temperature (15 day running mean)
+  0;   22;     42;      1;           0;   12;        deg_K; Sea temperature
+  0;   22;     43;      2;           0;   15;        deg_K; Sea temperature
+  0;   22;     44;      1;           0;   14;          m/s; Sound velocity
+  0;   22;     50;      2;           0;    8;            K; Standard deviation sea surface temperature
+  0;   22;     61;      0;           0;    4;   Code_Table; State of sea
+  0;   22;     62;      2;           0;   14;          ppt; Salinity
+  0;   22;     63;      0;           0;   14;            m; Total water depth
+
+  0;   23;      1;      0;           0;    3;   Code_Table; Accident early notification - article applicable
+  0;   23;      2;      0;           0;    5;   Code_Table; Activity or facility involved in incident
+  0;   23;      3;      0;           0;    3;   Code_Table; Type of release
+  0;   23;      4;      0;           0;    3;   Code_Table; Countermeasures taken near border
+  0;   23;      5;      0;           0;    2;   Code_Table; Cause of incident
+  0;   23;      6;      0;           0;    3;   Code_Table; Incident situation
+  0;   23;      7;      0;           0;    3;   Code_Table; Characteristic of release
+  0;   23;      8;      0;           0;    2;   Code_Table; State of current release
+  0;   23;      9;      0;           0;    2;   Code_Table; State of expected release
+  0;   23;     16;      0;           0;    2;   Code_Table; Possibility of significant chemical toxic health effect
+  0;   23;     17;      6;           0;   20;       m**3/s; Flow discharge of major recipient
+  0;   23;     18;      0;           0;    3;   Code_Table; release behavior over time
+  0;   23;     19;      0;      -15000;   17;            m; Actual release height
+  0;   23;     21;      0;      -15000;   17;            m; Effective release height
+  0;   23;     22;      0;           0;   24;            m; Distance of relative point or site of incident
+  0;   23;     23;      1;           0;   12;          m/s; Main transport speed in atmosphere
+  0;   23;     24;      2;           0;   13;          m/s; Main transport speed in water
+  0;   23;     25;      2;           0;   13;          m/s; Main transport speed in ground water
+  0;   23;     27;      0;           0;    9;     deg_true; Main transport direction in atmosphere
+  0;   23;     28;      0;           0;    9;     deg_true; Main transport direction in water
+  0;   23;     29;      0;           0;    9;     deg_true; Main transport direction in ground water
+  0;   23;     31;      0;           0;    2;   Code_Table; Possibility that plume will encounter precipitation cwin state in which incident occurred
+  0;   23;     32;      0;           0;    2;   Code_Table; Plume will encounter ichange in wind direction and/or speed flag
+
+  0;   24;      1;     -1;           0;   28;           Bq; Estimate of radiatioactivity released up to specified time
+  0;   24;      2;     -1;           0;   28;           Bq; Estimated maximum potential release
+  0;   24;      3;      0;           0;    5;   Code_Table; Composition of release
+  0;   24;      4;      0;           0;   16;    CCITT_IA5; Element name
+  0;   24;      5;      0;           0;    9;      Numeric; Isotope mass
+  0;   24;     11;      2;           0;   32;          mSv; Dose
+  0;   24;     12;      2;           0;   32;          mSv; Trajectory dose (defined location and expected time of arrival)
+  0;   24;     13;      2;           0;   32;          mSv; Gamma dose in air along the main transport path (defined location and time period
+  0;   24;     21;      2;           0;   32;      Bq/m**3; Air concentration (named isotope type including gross beta)
+  0;   24;     22;      2;           0;   32;         Bq/l; Concentration in precipitation (of named isotope type)
+
+  0;   25;      1;     -1;           0;    6;            m; Range gate length
+  0;   25;      2;      0;           0;    4;      Numeric; Number of gates averaged
+  0;   25;      3;      0;           0;    8;      Numeric; Number of integrated pulses
+  0;   25;      4;      0;           0;    2;   Code_Table; Echo processing
+  0;   25;      5;      0;           0;    2;   Code_Table; Echo integration
+  0;   25;      6;      0;           0;    3;   Code_Table; Z to R conversion
+  0;   25;      7;      0;           0;   12;      Numeric; Z to R conversion factor
+  0;   25;      8;      2;           0;    9;      Numeric; Z to R conversion exponent
+  0;   25;      9;      0;           0;    4;   Flag_Table; Calibration method
+  0;   25;     10;      0;           0;    4;   Code_Table; Clutter treatment
+  0;   25;     11;      0;           0;    2;   Code_Table; Ground occultation correction (screening)
+  0;   25;     12;      0;           0;    2;   Code_Table; Range attenuation correction
+  0;   25;     13;      0;           0;    2;   Flag_Table; Bright band correction
+  0;   25;     15;      0;           0;    2;   Flag_Table; Radome attenuation correction
+  0;   25;     16;      5;           0;    6;         dB/m; Clear air attenuation correction
+  0;   25;     17;      0;           0;    2;   Flag_Table; Precipitation attenuation correction
+  0;   25;     18;      7;           0;    6;      Numeric; A to Z law for attenuation factor
+  0;   25;     19;      2;           0;    7;      Numeric; A to Z law for attenuation exponent
+  0;   25;     20;      0;           0;    2;   Code_Table; Mean speed estimation
+  0;   25;     21;      0;           0;    8;   Flag_Table; Wind computation enhancement
+  0;   25;     30;      0;           0;    2;   Code_Table; SST usage
+  0;   25;     32;      0;           0;    2;   Code_Table; NOAA wind profiler high/low mode data
+  0;   25;     33;      0;           0;    2;   Code_Table; NOAA wind profiler submode
+  0;   25;     34;      0;           0;    4;   Code_Table; NOAA wind profiler Q/C test results
+  0;   25;     40;      0;           0;    4;   Code_Table; CO2 wind product derivation
+  0;   25;     41;      0;           0;    2;   Code_Table; Moving platform direction reporting method
+  0;   25;     42;      0;           0;    2;   Code_Table; Moving platform speed reporting method
+
+  0;   26;      1;      1;           0;   12;         Hour; Principal time of daily reading in UTC of maximum temperature
+  0;   26;      2;      1;           0;   12;         Hour; Principal time of daily reading in UTC of minimum temperature
+
+  0;   27;      1;      5;    -9000000;   25;          deg; Latitude (high accuracy)
+  0;   27;      2;      2;       -9000;   15;          deg; Latitude (coarse accuracy)
+  0;   27;      3;      2;       -9000;   15;          deg; Alternate latitude
+  0;   27;     20;      0;           0;   16;      Numeric; Satellite locationon counter
+  0;   27;     21;      0;           0;   16;      Numeric; Satellite sub-locationon dimensions
+
+  0;   28;      1;      5;   -18000000;   26;          deg; Longitude (high accuracy)
+  0;   28;      2;      2;      -18000;   16;          deg; Longitude (coarse accuracy)
+  0;   28;      3;      2;      -18000;   16;          deg; Alternate longtiude
+
+  0;   29;      1;      0;           0;    3;   Code_Table; Projection type
+  0;   29;      2;      0;           0;    2;   Code_Table; Coordinate grid type
+
+  0;   30;      1;      0;           0;    4;      Numeric; Pixel value (4 bits)
+  0;   30;      2;      0;           0;    8;      Numeric; Pixel value (8 bits)
+  0;   30;      4;      0;           0;   16;      Numeric; Pixel value (16 bits)
+  0;   30;     21;      0;           0;   12;      Numeric; Number of pixels per row
+  0;   30;     22;      0;           0;   12;      Numeric; Number of pixels per column
+  0;   30;     31;      0;           0;    4;   Code_Table; Picture type
+  0;   30;     32;      0;           0;   16;   Flag_Table; Combined picture
+
+  0;   31;      0;      0;           0;    1;   Flag_Table; Delayed descriptor replication switch
+  0;   31;      1;      0;           0;    8;      Numeric; Delayed descriptor replication factor
+  0;   31;      2;      0;           0;   16;      Numeric; Extended delayed descriptor replication factor
+  0;   31;     11;      0;           0;    8;      Numeric; Delayed descriptor and data repetion factor
+  0;   31;     12;      0;           0;   16;      Numeric; Extended delayed descriptor and data repitition factor
+  0;   31;     21;      0;           0;    6;   Code_Table; Associated field significance
+
--- /dev/null
+++ grads-2.0.a9/data/tables/B2L-058-001-B.001
@@ -0,0 +1,779 @@
+#
+# B2L-058-001-B.001 - Local BUFR Table B for center 058 (FNMOC),
+# Minor Local Version 1
+#
+#					Data
+#F	X	Y	Scale	RefVal	Width	Units	Element Name
+0	0	1	0	0	24	CCITT_IA5	Table A: entry
+0	0	2	0	0	256	CCITT_IA5	Table A: data category description, line 1
+0	0	3	0	0	256	CCITT_IA5	Table A: data category description, line 2
+0	0	5	0	0	24	CCITT_IA5	BUFR edition number
+0	0	10	0	0	8	CCITT_IA5	F descriptor to be added or defined
+0	0	11	0	0	16	CCITT_IA5	X descriptor to be added or defined
+0	0	12	0	0	24	CCITT_IA5	Y descriptor to be added or defined
+0	0	13	0	0	256	CCITT_IA5	Element name, line 1
+0	0	14	0	0	256	CCITT_IA5	Element name, line 2
+0	0	15	0	0	192	CCITT_IA5	Units name
+0	0	16	0	0	8	CCITT_IA5	Units scale sign
+0	0	17	0	0	24	CCITT_IA5	Units scale (u)
+0	0	18	0	0	8	CCITT_IA5	Units reference sign
+0	0	19	0	0	80	CCITT_IA5	Units reference value
+0	0	20	0	0	24	CCITT_IA5	Element data width
+0	0	30	0	0	40	CCITT_IA5	Descriptor defining sequence
+0	1	1	0	0	7	Numeric	WMO block number (II)
+0	1	2	0	0	10	Numeric	WMO station number (iii)
+0	1	3	0	0	3	Numeric	WMO region number
+0	1	4	0	0	3	Numeric	WMO region sub-area
+0	1	5	0	0	17	Numeric	Buoy/platform identifier
+0	1	6	0	0	64	CCITT_IA5	Aircraft identifier (flight number) (Ia...Ia)
+0	1	7	0	0	10	Code_Table	Satellite identifier (I1I2I2)
+0	1	8	0	0	64	CCITT_IA5	Aircraft registration number (tail number)
+0	1	9	0	0	64	CCITT_IA5	Type of commerical aircraft
+0	1	10	0	0	64	CCITT_IA5	Stationary buoy platform identifier
+0	1	11	0	0	72	CCITT_IA5	Ship call sign (D...D)
+0	1	12	0	0	9	deg_true	Direction of motion of moving observing platform (dBdB)
+0	1	13	0	0	10	m/s	Speed of motion of moving observing platform
+0	1	14	2	0	10	m/s	Platform drift speed (high precision) (VBVB)
+0	1	21	0	0	14	Numeric	Synoptic feature identifier
+0	1	25	0	0	24	CCITT_IA5	Storm identifier
+0	1	26	0	0	64	CCITT_IA5	WMO storm name
+0	1	31	0	0	16	Numeric	Generating center
+0	1	50	0	0	48	CCITT_IA5	NMC report identifier
+0	1	62	0	0	40	CCITT_IA5	National assigned station identifier
+0	1	63	0	0	64	CCITT_IA5	ICAO location indicator (CCCC)
+0	1	192	0	0	24	CCITT_IA5	Receiving circuit
+0	1	193	0	0	4	Code_Table	global octant
+0	1	195	0	0	10	Numeric	Marsden square number
+0	1	197	0	0	6	Numeric	Runway number
+0	1	198	0	0	16	Code_Table	Sea station type
+0	1	200	0	0	2	Code_Table	Radar Capability indicator (XXX)
+0	1	201	0	0	8	Code_Table	Country or agency that operates the satellite
+0	1	203	0	0	16	CCITT_IA5	Satellite name
+0	1	204	0	0	16	CCITT_IA5	Satellite series
+0	1	206	0	0	32	CCITT_IA5	TOVS generating center name
+0	1	207	0	0	72	CCITT_IA5	File name
+0	1	208	0	0	4	Code_Table	Satellite data type
+0	1	209	0	0	8	Code_Table	Observation type for MCSST
+0	1	210	0	0	7	Code_Table	Observation source
+0	1	211	0	0	4	Numeric	Beam position
+0	1	212	0	0	24	Numeric	Data processing block number
+0	1	213	0	0	3	Code_Table	Tip source type identifier
+0	1	214	0	0	32	CCITT_IA5	Header originator
+0	1	215	0	0	48	CCITT_IA5	Bulletin header update or correction indicator
+0	1	216	0	0	14	Numeric	Engineering status
+0	1	217	0	0	5	Numeric	Satellite number
+0	1	218	0	0	176	CCITT_IA5	Sequence (report) type
+0	1	219	0	0	40	CCITT_IA5	Mission number
+0	1	220	0	0	7	Numeric	Observation number
+0	1	221	0	0	8	Code_Table	Surface type
+0	1	222	0	0	32	CCITT_IA5	Report modifier
+0	1	223	0	0	3	Code_Table	Runway parallel indicator
+0	1	224	0	0	5	Code_Table	Terrain code identifier
+0	2	1	0	0	2	Code_Table	Type of station (ix)
+0	2	2	0	0	4	Flag_Table	Type of instrumentation for wind measurement (ewew)
+0	2	3	0	0	4	Code_Table	Type of measuring instrumentation used (a4, I3, or I4)
+0	2	4	0	0	4	Code_Table	Type of instrumentation for evaporation measur
+0	2	5	2	0	7	deg_K	Precision of temperature observed (s3)
+0	2	11	0	0	8	Code_Table	Radiosonde type (rara)
+0	2	12	0	0	4	Code_Table	Radiosonde computational method
+0	2	13	0	0	4	Code_Table	Solar and infrared radiation correction (Sr)
+0	2	14	0	0	7	Code_Table	Tracking technique/status of system (sasa)
+0	2	15	0	0	4	Code_Table	Radiosonde completeness
+0	2	21	0	0	9	Flag_Table	Satellite instrumentation data used in processing
+0	2	22	0	0	8	Flag_Table	Satellite data processing technique used
+0	2	23	0	0	4	Code_Table	Cloud motion computational method
+0	2	24	0	0	4	Code_Table	Integrated mean humidity computational method
+0	2	25	0	0	25	Flag_Table	Satellite channel(s) used in computation
+0	2	26	2	0	12	m	Cross track resolution
+0	2	27	2	0	12	m	Along track resolution
+0	2	28	0	0	32	Flag_Table	Geostationary sounder satellite channels used
+0	2	29	0	0	8	Flag_Table	Geostationary sounder satellite channels used
+0	2	30	0	0	3	Code_Table	Method of current measurement (k5)
+0	2	31	0	0	5	Code_Table	Duration and time of current measurement
+0	2	32	0	0	2	Code_Table	Indicator for digitization (k1)
+0	2	33	0	0	3	Code_Table	Method of salinity/depth measurement (k2)
+0	2	34	0	0	5	Code_Table	Drogue type (id)
+0	2	35	0	0	9	m	Cable length (ZdZdZd)
+0	2	36	0	0	2	Code_Table	Buoy type (Ip or Vi...Vi)
+0	2	38	0	0	4	Code_Table	Sea surface temperature method indicator
+0	2	39	0	0	4	Code_Table	Wet bulb temperature method indicator
+0	2	40	0	0	4	Code_Table	Method of removing velocity and motion
+0	2	41	0	0	6	Code_Table	Method for estimating reports related to synoptic features
+0	2	42	0	0	6	Code_Table	Method of report construction (Qn)
+0	2	43	0	0	6	Code_Table	Precision of latitude/longitude report (At or QL)
+0	2	47	0	0	4	Code_Table	Method of removing ship velocity
+0	2	51	0	0	4	Code_Table	Indicator to specify observing method for extreme temperatures
+0	2	61	0	0	3	Code_Table	Aircraft navigation system (s1)
+0	2	62	0	0	4	Code_Table	Type of aircraft data relay system
+0	2	63	2	-18000	16	deg	Aircraft roll angle
+0	2	70	0	0	4	Code_Table	Original specification of latitude/longitude
+0	2	101	0	0	4	Code_Table	Type of antenna
+0	2	102	0	0	8	m	Antenna height above tower
+0	2	103	0	0	2	Flag_Table	Radome
+0	2	104	0	0	4	Code_Table	Antenna polarisation
+0	2	105	0	0	6	dB	Maximum antenna gain
+0	2	106	1	0	6	deg	3-dB bandwidth
+0	2	107	0	0	6	dB	Sidelobe suppression
+0	2	108	0	0	6	dB	Crosspol discrimination (on axis)
+0	2	109	2	0	12	deg/s	Antenna speed (azimuth)
+0	2	110	2	0	12	deg/s	Antenna speed (elevation)
+0	2	111	1	0	10	deg	Radar incidence angle
+0	2	112	1	0	12	deg	Radar azimuth angle
+0	2	113	0	0	4	Numeric	Number of azimuth looks
+0	2	114	0	0	15	m**2	Antenna effective surface area
+0	2	121	-8	0	7	Hz	Mean frequency
+0	2	122	-6	-128	8	Hz	Frequency agility range
+0	2	123	-4	0	7	W	Peak power
+0	2	124	-1	0	7	W	Average power
+0	2	125	-1	0	8	Hz	Pulse repetition frequency
+0	2	126	7	0	6	s	Pulse width
+0	2	127	-6	0	7	Hz	Receiver intermediate frequency
+0	2	128	-5	0	6	Hz	Intermediate frequency bandwidth
+0	2	129	0	-150	5	dB	Minimum detectable signal
+0	2	130	0	0	7	dB	Dynamic range
+0	2	131	0	0	2	Flag_Table	Sensitivity time control
+0	2	132	2	0	6	deg	Azimuth pointing accuracy
+0	2	133	2	0	6	deg	Elevation pointing accuracy
+0	2	134	2	0	16	deg	Antenna beam azimuth
+0	2	135	2	-9000	15	deg	Antenna elevation
+0	2	141	0	0	24	CCITT_IA5	Measurement type serial number/identifier
+0	2	142	0	0	8	Code_Table	Ozone instrument
+0	2	143	0	0	7	Numeric	Instrument type
+0	2	190	0	0	8	Code_Table	U, v quality indicator
+0	2	191	0	0	4	Code_Table	W quality indicator
+0	2	194	0	0	8	Code_Table	Spectral calculation method
+0	2	199	0	0	4	Numeric	grp_pos_ind
+0	2	203	0	0	3	Code_Table	Method of determining direction of moving platform
+0	2	204	0	0	3	Code_Table	Method of determining speed of moving platform
+0	2	205	0	0	3	Code_Table	Ozone flag
+0	2	206	0	0	4	Code_Table	Algorithm identifier
+0	2	207	0	0	5	Code_Table	Equation identifier
+0	2	208	0	0	2	Code_Table	Type of method for measuring pressure
+0	2	209	0	0	10	Code_Table	Xbt instrument type (IxIxIx)
+0	2	210	0	0	7	Code_Table	Recorder type (XRXR)
+0	2	211	0	0	8	Flag_Table	Sensor status flag
+0	2	212	0	0	2	Flag_Table	Maintenance Check flag
+0	4	1	0	0	12	yr	Year (4-digit)
+0	4	2	0	0	4	mo	Month
+0	4	3	0	0	6	day	Day
+0	4	4	0	0	5	hr	Hour
+0	4	5	0	0	6	min	Minute
+0	4	6	0	0	6	s	Second
+0	4	11	0	-1024	11	yr	Time increment - year
+0	4	12	0	-1024	11	mo	Time increment - month
+0	4	13	0	-1024	11	day	Time increment - day
+0	4	14	0	-1024	11	hr	Time increment - hour
+0	4	15	0	-2048	12	min	Time increment - minutes
+0	4	16	0	-4096	13	s	Time increment - seconds
+0	4	21	0	-1024	11	yr	Time period or displacement - year
+0	4	22	0	-1024	11	mo	Time period or displacement - month
+0	4	23	0	-1024	11	day	Time period or displacement - month
+0	4	24	0	-2048	12	hr	Time period or displacement - hour
+0	4	25	0	-2048	12	min	Time period or displacement - minutes
+0	4	26	0	-4096	13	s	Time period or displacement - seconds
+0	4	31	0	0	8	hr	Duration of time relative to following value (TT)
+0	4	41	0	-1440	12	min	Time difference, UTC - LMT
+0	4	43	0	0	9	day	Day of the year
+0	4	44	0	0	3	Code_Table	Day of the week (Y)
+0	4	53	0	0	6	Numeric	Number of days with precipitation equal or more than 1 mm
+0	4	70	0	0	8	Numeric	Sample number
+0	4	192	0	0	4	Code_Table	Precipitation time period (tR)
+0	4	193	0	0	31	Code_Table	Last time that this observation record was updated
+0	4	200	0	0	12	yr	Time of receipt - year
+0	4	201	0	0	4	mo	Time of receipt - month
+0	4	202	0	0	6	day	Time of receipt - day
+0	4	203	0	0	5	hr	Time of receipt - hour
+0	4	204	0	0	6	min	Time of receipt - minute
+0	4	206	3	0	27	s	GMT seconds
+0	5	1	5	-9000000	25	deg	Latitude (high accuracy)
+0	5	2	2	-9000	15	deg	Latitude (coarse accuracy) (La...La)
+0	5	3	2	-9000	15	deg	Alternate latitude
+0	5	11	5	-9000000	25	deg	Latitude increment (high accuracy)
+0	5	12	2	-9000	15	deg	Latitude increment (coarse accuracy)
+0	5	21	2	0	16	deg_true	Bearing or azimuth
+0	5	22	2	0	16	deg_true	Solar azimuth
+0	5	30	0	0	12	deg	Direction (spectral)
+0	5	31	0	0	12	Numeric	Row number
+0	5	33	-1	0	16	m	Pixel size on horizontal - 1
+0	5	40	0	0	24	Numeric	Orbit number
+0	5	41	0	0	8	Numeric	Scan line number
+0	5	42	0	0	6	Numeric	Channel number
+0	5	43	0	0	8	Numeric	Field of view number
+0	5	50	5	0	17	Numeric	Sigma level
+0	5	52	0	0	5	Numeric	Channel number increment
+0	5	53	0	0	5	Numeric	Field of view number increment
+0	5	192	0	0	3	Numeric	Image line number
+0	5	193	0	0	4	Numeric	Image sample number
+0	5	194	0	0	14	Numeric	Orbit number
+0	5	196	0	0	16	Numeric	Orbit number
+0	5	197	0	0	8	Numeric	Frame number
+0	5	199	0	0	20	Numeric	Orbit number
+0	6	1	5	-18000000	26	deg	Longtiude (high accuracy)
+0	6	2	2	-18000	16	deg	Longtiude (coarse accuracy) (Lo...Lo)
+0	6	3	2	-18000	16	deg	Alternate longtiude
+0	6	11	5	-18000000	26	deg	Longtiude increment (high accuracy)
+0	6	12	2	-18000	16	deg	Longtiude increment (coarse accuracy)
+0	6	21	-1	0	13	m	Distance
+0	6	30	5	0	13	rad/m	Wavenumber (spectral)
+0	6	31	0	0	12	Numeric	Column number
+0	6	33	-1	0	16	m	Pixel size on horizontal - 2
+0	7	1	0	-400	15	m	Height of station (hohohoho)
+0	7	2	-1	-40	16	m	Height or altitude (hahaha, hIhIhI, HmHmHm, HH, tnu2, or tnu3)
+0	7	3	-1	-400	17	m**2/s**2	Geopotential
+0	7	4	-1	0	14	Pa	Pressure (Pa...Pa, Paob...Paob, Po...Po, PtPtPt, or PAPA)
+0	7	5	0	-400	12	m	Height increment
+0	7	6	0	0	15	m	Height above station
+0	7	7	0	-1000	17	m	Geopotential height
+0	7	21	2	-9000	15	deg	Elevation
+0	7	22	2	-9000	15	deg	Solar elevation
+0	7	61	2	0	14	m	Depth below land surface
+0	7	62	1	0	17	m	Depth below sea surface
+0	7	190	0	0	12	m	Height increment
+0	7	192	2	0	13	deg	Local zenith angle
+0	7	196	0	0	4	Code_Table	Station height precision
+0	7	197	1	0	11	deg	Solar zenith angle
+0	7	198	2	-6000	14	deg	Satellite zenith angle
+0	7	199	1	0	11	deg	Solar azimuth angle
+0	7	223	2	0	14	deg	Solar zenith angle
+0	7	224	1	0	14	m	Surface elevation
+0	8	0	0	0	4	Code_Table	Vertical significance (forecast soundings)
+0	8	1	0	0	7	Flag_Table	Vertical sounding significance
+0	8	2	0	0	6	Code_Table	Vertical significance (surface observations)
+0	8	3	0	0	6	Code_Table	Vertical significance (satellite observations)
+0	8	4	0	0	3	Code_Table	Phase of aircraft flight (ipipip)
+0	8	5	0	0	4	Code_Table	Surface synoptic features significance
+0	8	11	0	0	6	Code_Table	Horizontal significance
+0	8	12	0	0	2	Code_Table	land/sea qualifier
+0	8	13	0	0	2	Code_Table	Day/night qualifier
+0	8	21	0	0	5	Code_Table	Time significance
+0	8	22	0	0	16	Numeric	Total number (with respect to accumulation or average)
+0	8	24	0	0	8	Code_Table	Type of difference
+0	8	31	0	0	8	CCITT_IA5	Data category
+0	8	32	0	0	14	Code_Table	Data significance for simulated forecast
+0	8	33	0	0	3	Code_Table	Data significance for corrected forecast
+0	8	34	0	0	3	Code_Table	Data significance for simulated retrievals
+0	8	35	0	0	3	Code_Table	Data significance for corrected retrievals
+0	8	36	0	0	3	Code_Table	Data significance for simulated analysis
+0	8	37	0	0	3	Code_Table	Data significance for corrected analysis
+0	8	38	0	0	3	Code_Table	Data significance for sigma level data
+0	8	51	0	0	3	Code_Table	Qualifier for number of missing values in calculation of statistic
+0	8	52	0	0	5	Code_Table	Condition for which number of days of occurrence follows
+0	8	53	0	0	2	Code_Table	Day of occurrence qualifier
+0	8	70	0	0	8	Code_Table	Surface Type Code ID
+0	8	194	0	0	4	Code_Table	Flight condition (fc)
+0	10	1	0	-400	15	m	Height of land surface
+0	10	2	-1	-40	16	m	Height (HHH)
+0	10	3	-1	-400	17	m**2/s**2	Geopotential
+0	10	4	-1	0	14	Pa	Pressure
+0	10	7	0	-1000	17	m	Geopotential height
+0	10	50	2	0	16	m	Standard deviation altitude
+0	10	51	-1	0	14	Pa	Pressure reduced to mean sea level (PPPP)
+0	10	52	-1	0	14	Pa	Altimeter setting (QNH) (PH...PH)
+0	10	60	-1	-1024	11	Pa	Pressure change (ppp)
+0	10	61	-1	-500	10	Pa	3 hour pressure change
+0	10	62	-1	-1000	11	Pa	24 hour pressure change
+0	10	63	0	0	4	Code_Table	Characteristic of pressure tendency (a, w, or w'w')
+0	10	103	0	0	4	Code_Table	Geopotential thickness QC ID
+0	10	197	0	0	4	Code_Table	Index pertaining to geopotential height (j)
+0	10	199	0	-1024	16	m	Geopotential height difference
+0	10	200	0	-1024	16	m	Geopotental height correction
+0	10	201	0	0	14	Code_Table	Pressure tendency QC ID
+0	10	203	0	0	4	Code_Table	Geopotential height quality control flag
+0	10	213	0	-1024	16	m	Geopotential height
+0	10	224	0	0	4	Code_Table	Station level pressure QC ID
+0	10	251	0	0	4	Code_Table	Mean sea level pressure QC ID
+0	11	1	0	0	9	deg_true	Wind direction (dd, dodo>dndn, dmagdmag)
+0	11	2	1	0	12	m/s	Wind speed (ff, fff, or fofofo>fnfnfn)
+0	11	3	1	-4096	13	m/s	U-component
+0	11	4	1	-4096	13	m/s	V-component
+0	11	5	1	-512	10	Pa/s	W-component
+0	11	6	2	-4096	13	m/s	W-component
+0	11	11	0	0	9	deg_true	Wind direction at 10 m
+0	11	12	1	0	12	m/s	Wind speed at 10 m
+0	11	13	0	0	9	deg_true	Wind direction at 5 m
+0	11	14	1	0	12	m/s	Wind speed at 5 m
+0	11	21	9	-65536	17	1/s	Relative vorticity
+0	11	22	9	-65536	17	1/s	Divergence
+0	11	23	-2	-65536	17	m**2/s	Velocity potential
+0	11	31	0	0	4	Code_Table	Degree of turbulence (B...B or BA)
+0	11	32	-1	-40	16	m	Height of base of turbulence (BabBabBab or B1B1B1)
+0	11	33	-1	-40	16	m	Height of top of turbulence (BatBatBat or B1B1B1)
+0	11	34	1	-1024	11	m/s	Vertical gust velocity
+0	11	35	2	-8192	14	m/s**2	Vertical gust acceleration
+0	11	36	1	0	10	m/s	Maximum derived equivalent vertical gust
+0	11	41	1	0	12	m/s	Maximum wind speed (gusts) (fm...fm)
+0	11	42	1	0	12	m/s	Maximum wind speed (10 minute mean wind)
+0	11	43	1	0	12	m/s	Surface - 5000 feet mean LYR wind speed (dmdm)
+0	11	44	0	0	9	deg_true	Surface - 5000 feet mean LYR wind direction
+0	11	45	0	0	9	deg_true	Maximum wind (gust) direction
+0	11	50	1	0	12	m/s	Standard deviation horizontal wind speed
+0	11	51	1	0	8	m/s	Standard deviation vertical wind component
+0	11	61	1	0	12	m/s	Absolute wind shear (1 kilometer layer below)
+0	11	62	1	0	12	m/s	Absolute wind shear (1 kilometer layer above)
+0	11	195	0	0	2	Code_Table	Wind type at flight altitude (dt)
+0	11	200	0	0	4	Code_Table	Wind QC ID
+0	11	203	1	-4096	13	m/s	Wind u-component difference
+0	11	204	1	-4096	13	m/s	Wind v-component difference
+0	11	205	0	0	4	Code_Table	Turbulence (B) (WMO code table 0300)
+0	11	206	0	0	2	Code_Table	Flight level wind method (da)
+0	11	207	0	0	2	Code_Table	Extreme wind speed ID
+0	11	213	1	-4096	13	m/s	Wind u-component correction
+0	11	214	1	-4096	13	m/s	Wind v-component correction
+0	11	244	0	0	16	deg_true	Direction of wind
+0	11	245	2	0	16	m/s	wnd_spd
+0	11	246	1	0	8	m/s	Ocean surface wind speed
+0	12	1	1	0	12	deg_K	Temperature/dry bulb temperature (Ta, TsTsTs, TtTt, or TxTxTx)
+0	12	2	1	0	12	deg_K	Wet bulb temperature (TbTbTb)
+0	12	3	1	0	12	deg_K	Dewpoint (TdTdTd or T'dT'd)
+0	12	4	1	0	12	deg_K	Dry bulb temperature at 2 meters (Tao>Tan, ToTo>tnTn, or TT)
+0	12	5	1	0	12	deg_K	Wet bulb temperature at 2 meters
+0	12	6	1	0	12	deg_K	Dewpoint temperature at 2 meters
+0	12	7	1	0	12	deg_K	Virtual temperature
+0	12	11	1	0	12	deg_K	Maximum temperature
+0	12	12	1	0	12	deg_K	Minimum temperature (TnTnTn)
+0	12	13	1	0	12	deg_K	Ground minimum temperature past 12 hours
+0	12	14	1	0	12	deg_K	Maximum temperature at 2 meters, past 12 hours
+0	12	15	1	0	12	deg_K	Minimum temperature at 2 meters, past 12 hours
+0	12	16	1	0	12	deg_K	Maximum temperature at 2 meters, past 24 hours
+0	12	17	1	0	12	deg_K	Minimum temperature at 2 meters, past 24 hours
+0	12	20	2	-2000	12	deg_K/day	Radiative heating profile
+0	12	30	1	0	12	deg_K	Soil temperature (ToTo)
+0	12	40	-3	-2048	12	W/m**2	Sensible heat flux
+0	12	48	0	-200	8	deg_K	Land/snow surface temperature
+0	12	51	1	0	10	deg_K	Standard deviation temperature
+0	12	52	1	0	12	deg_K	Highest daily mean temperature
+0	12	53	1	0	12	deg_K	Lowest daily mean temperature
+0	12	61	1	0	12	deg_K	Skin temperature
+0	12	62	1	0	12	deg_K	Equivalent black body temperature
+0	12	63	1	0	12	deg_K	Brightness temperature
+0	12	70	2	0	16	deg_K	Vertical polarization 19GHz brightness temperature
+0	12	71	2	0	16	deg_K	Horizontal polarization 19GHz brightness temperature
+0	12	72	2	0	16	deg_K	Vertical polarization 22GHz brightness temperature
+0	12	73	2	0	16	deg_K	Vertical polarization 37GHz brightness temperature
+0	12	74	2	0	16	deg_K	Horizontal polarization 37GHz brightness temperature
+0	12	75	2	0	16	deg_K	Vertical polarization 85GHz brightness temperature
+0	12	76	2	0	16	deg_K	Horizontal polarization 85GHz brightness temperature
+0	12	192	0	0	4	Code_Table	Wet bulb temperature indicator
+0	12	193	2	0	16	deg_K	SSU brightness temperature
+0	12	194	2	0	16	deg_K	Dewpoint
+0	12	195	0	0	4	Code_Table	Dewpoint, aircraft altitude, air temperature indicator (id)
+0	12	196	2	0	16	deg_K	Dewpoint difference
+0	12	201	0	0	4	Code_Table	Air temperature QC ID
+0	12	213	0	0	4	Code_Table	Dewpoint QC ID
+0	12	215	0	0	2	Code_Table	Temperature precision flag
+0	12	220	2	0	16	deg_K	HIRS brightness temperature
+0	12	221	2	0	16	deg_K	MSU brightness temperature
+0	13	1	5	0	14	kg/kg	Specific humidity
+0	13	2	5	0	14	kg/kg	Mixing ratio
+0	13	3	0	0	7	percent	Relative humidity (U1>Un or U...U)
+0	13	4	-1	0	10	Pa	Vapor pressure
+0	13	5	3	0	7	kg/m**3	Vapor density (p1p1p1)
+0	13	6	-1	-40	16	m	Mixing heights
+0	13	11	1	-1	14	kg/m**2	Total precipitation/total water equivalent (Aw or R...R)
+0	13	12	2	-2	12	m	Depth of fresh snow
+0	13	13	2	-2	16	m	Total snow depth (sss)
+0	13	14	4	0	12	kg/m**2/s	Rainfall/water equivalent of snow (average rate)
+0	13	15	7	0	12	m/s	Snowfall (averaged rate)
+0	13	16	0	0	7	kg/m**2	Precipitable water (www)
+0	13	19	1	-1	14	kg/m**2	Total precipitation past 1 hour
+0	13	20	1	-1	14	kg/m**2	Total precipitation past 3 hours
+0	13	21	1	-1	14	kg/m**2	Total precipitation past 6 hours
+0	13	22	1	-1	14	kg/m**2	Total precipitation past 12 hours
+0	13	23	1	-1	14	kg/m**2	Total precipitation past 24 hours (R24...R24)
+0	13	31	0	0	7	kg/m**2	Evapotranspiration
+0	13	32	1	0	8	kg/m**2	Evaporation/evapotranspiration
+0	13	40	-3	-2048	12	W/m**2	Latent heat flux
+0	13	41	0	0	4	Code_Table	Pasquill-Gifford stability category
+0	13	42	0	-20	6	deg_K	Parcel lifted index (to 500 hPa)
+0	13	43	0	-20	6	deg_K	Best lifted index (to 500 hPa)
+0	13	51	0	0	4	Code_Table	Frequency group, precipitation
+0	13	52	1	-1	14	kg/m**2	Highest daily amount of precipiation
+0	13	71	1	0	7	kg/m**2	Liquid water
+0	13	75	0	0	8	percent	Land snow cloud
+0	13	76	2	0	6	m	Snow-water equivalent
+0	13	176	0	0	7	Code_Table	Precipitable water precision flag
+0	13	192	0	0	4	Code_Table	Precipitation identifier (iR)
+0	13	193	0	0	10	Code_Table	Precipitation amount
+0	13	194	3	0	16	g/kg	First guess mixing ratios
+0	13	197	0	0	3	Code_Table	Rain indicator
+0	13	203	0	0	4	Code_Table	Relative hunidity QC ID
+0	13	217	0	0	8	Numeric	Precipitation flag (SSM/T)
+0	13	218	2	0	11	kg/(m**2)	Cloud water
+0	13	219	2	0	10	cm	Total precipitable water
+0	13	220	1	0	9	mm/hr	Rain rate
+0	13	221	2	0	14	kg/(m**2)	Cloud Liquid Water
+0	14	1	-3	-2048	12	J/m**2	Longwave radiation, integrated over 24 hours (FLFLFL)
+0	14	3	-3	-2048	12	J/m**2	Shortwave radiation, integrated over 24 hours (FiFiFi)
+0	14	4	-3	-2048	12	J/m**2	Shortwave radiation, integrated over period specified (FsFsFs)
+0	14	11	-3	-2048	12	J/m**2	Net longwave radiation, integrated over 24 hours
+0	14	12	-3	-2048	12	J/m**2	Net longwave radiation, integrated over period specified
+0	14	13	-3	-2048	12	J/m**2	Net shortwave radiation, integrated over 24 hours
+0	14	14	-3	-2048	12	J/m**2	Net shortwave radiation, integrated over period specified
+0	14	15	-4	-16384	15	J/m**2	Net radiation, integrated over 24 hours
+0	14	16	-4	-16384	15	J/m**2	Net radiation, integrated over period specified
+0	14	17	-3	-2048	12	W/m**2	Instantaneous long wave radiation
+0	14	18	-3	-2048	12	W/m**2	Instantaneous short wave radiation
+0	14	19	0	0	7	percent	Surface albedo
+0	14	20	-4	0	15	J/m**2	Global solar radiation, integrated over 24 hours
+0	14	21	-4	0	15	J/m**2	Global radiation, integrated over period specified
+0	14	22	-4	0	15	J/m**2	Diffuse solar radiation, integrated over 24 hours
+0	14	23	-4	0	15	J/m**2	Diffuse solar radiation, integratedi over period specified
+0	14	24	-4	0	15	J/m**2	Direct solar radiation, integrated over 24 hours
+0	14	25	-4	0	15	J/m**2	Direct solar radiation, integrated over period specified
+0	14	31	0	0	11	min	Total sunshine
+0	14	32	0	0	10	hr	Total sunshine
+0	14	33	0	0	9	percent	Total sunshine (precentage)
+0	14	41	0	0	7	percent	Short wave albedo
+0	14	42	0	0	7	percent	Bi-directional reflectance
+0	15	1	0	0	10	dobson_unit	Ozone
+0	15	2	2	0	10	Numeric	Air-mass (slant path at 22 km)
+0	19	1	0	0	6	Code_Table	Type of synoptic features
+0	19	2	-2	0	12	m	Effective radius of feature
+0	19	3	0	0	8	m/s	Wind speed threshold
+0	19	4	-2	0	12	m	Effective radius of feature with respect to wind speeds above threshold
+0	19	5	0	0	9	deg_true	Direction of motion of features (dsds)
+0	19	6	2	0	14	m/s	Speed of motion of features
+0	19	7	-3	0	12	m	Effective radius of features
+0	19	8	0	0	3	Code_Table	Vertical extent of circulation
+0	19	9	-3	0	12	m	Effective radiation with respect to FFF above threshold
+0	20	1	-1	0	13	m	Horizontal visibility (Dv, Vi, V...V, or VxVxVxVx)
+0	20	2	-1	0	7	m	Vertical visibility
+0	20	3	0	0	9	Code_Table	Present weather (ww or w'w')
+0	20	4	0	0	5	Code_Table	Past weather (1) (Wa1Wa2 or W1W2)
+0	20	5	0	0	5	Code_Table	Past weather (2) (wawa)
+0	20	9	-1	-40	11	m	Ceiling
+0	20	10	0	0	7	percent	Cloud cover (total) (N, NcNc, or Ns...Ns)
+0	20	11	0	0	4	Code_Table	Cloud amount (N or Ns...Ns)
+0	20	12	0	0	6	Code_Table	Cloud type (C, Ct, CH, CL, or CM)
+0	20	13	-1	-40	11	m	Height of base of cloud (h, hshs, hshshs, or H'H')
+0	20	14	-1	-40	11	m	Height of top of cloud (HfHfHf or HtHt)
+0	20	15	-1	0	14	Pa	Pressure at the base of cloud
+0	20	16	-1	0	14	Pa	Pressure at the top of cloud (PcPcPc)
+0	20	17	0	0	4	Code_Table	Cloud top description
+0	20	18	-1	40	11	m	Low estimated height of cloud top
+0	20	19	-1	40	11	m	High estimated height of cloud top (H1>Hn)
+0	20	21	0	0	4	Code_Table	Middle cloud amount
+0	20	22	0	0	4	Code_Table	High cloud amount
+0	20	23	0	0	7	percent	Satellite sensed effective cloud amount
+0	20	30	0	0	4	Code_Table	Total ice concentration
+0	20	31	2	0	7	m	Ice deposit (thickness) (EsEs)
+0	20	32	0	0	3	Code_Table	Rate of ice accretion (Rs)
+0	20	33	0	0	4	Flag_Table	Cause of ice accretion (Is)
+0	20	34	0	0	5	Code_Table	Sea ice concentration (Ci)
+0	20	35	0	0	4	Code_Table	Amount and type of ice (zii...zii)
+0	20	36	0	0	5	Code_Table	Ice situation
+0	20	37	0	0	5	Code_Table	Ice development (bi)
+0	20	38	0	0	12	deg_true	Bearing of ice edge
+0	20	39	-1	0	13	m	Ice distance
+0	20	41	0	0	4	Code_Table	Rate of icing (Ir)
+0	20	49	0	0	10	Code_Table	Type of stability measure
+0	20	50	0	0	10	Numeric	Value of stability
+0	20	51	0	0	7	percent	Amount of low clouds
+0	20	52	0	0	7	percent	Amount of middle clouds
+0	20	53	0	0	7	percent	Amount of high clouds
+0	20	61	0	0	12	m	Runway visual range (RVR) (VR...VR)
+0	20	62	0	0	5	Code_Table	State of the ground (with or without snow) (E')
+0	20	63	0	0	10	Code_Table	Special phenomena
+0	20	71	0	0	2	Code_Table	Ice age code ID
+0	20	72	0	0	2	Code_Table	Ice edge code ID
+0	20	196	0	0	8	CCITT_IA5	Runway visibility tendency
+0	20	197	0	0	2	Flag_Table	Landing wind shear indicator
+0	20	199	0	0	8	deg_true	Visibility direction
+0	20	205	0	0	24	CCITT_IA5	Cloud significant convection
+0	20	206	0	0	64	CCITT_IA5	Significant present weather conditions
+0	20	207	0	0	4	Code_Table	Pressure and altitude significance
+0	20	208	0	0	4	Code_Table	Significant weather changes (Ws)
+0	20	209	0	0	4	Code_Table	Distance of weather changes (Ss)
+0	20	210	0	0	4	Code_Table	Distant weather (Wd)
+0	20	211	0	0	4	Code_Table	Bearing of distant weather (dw)
+0	20	213	0	0	4	Code_Table	Icing and contrail types (It)
+0	20	216	0	0	7	Code_Table	Altitude of layer base where icing occurred (hihi)
+0	20	219	0	0	4	Code_Table	Distance to center or line midpoint
+0	20	220	0	0	4	Code_Table	Orientation of ellipse (Sr)
+0	20	221	-3	0	16	m	Echo width or diameter (Ew)
+0	20	222	-3	0	16	m	Echo axis length (El)
+0	20	223	0	0	8	Code_Table	Echo character (ce)
+0	20	224	0	0	4	Code_Table	Intensity of echo (Ie)
+0	20	225	0	0	3	Code_Table	In flight horizontal visibility (Vi)
+0	20	236	0	0	8	CCITT_IA5	Cloud base height
+0	20	237	0	0	7	Code_Table	Horizontal visbility
+0	20	240	0	0	4	Code_Table	Present weather (w)
+0	20	242	0	0	5	Code_Table	Bearing of ice edge
+0	20	244	0	0	4	Code_Table	cloud base height
+0	20	245	0	0	640	CCITT_IA5	Remarks in plain language
+0	20	246	0	0	7	percent	Ice coverage
+0	20	247	0	0	1656	CCITT_IA5	Ice plain language text remarks
+0	20	248	0	0	7	Code_Table	Height of base of cloud (hshs)
+0	20	249	0	0	7	Code_Table	Height of top of cloud (HtHt)
+0	20	254	0	0	8	CCITT_IA5	Extreme value indicator
+0	20	255	0	0	2040	CCITT_IA5	Plain language text remarks
+0	21	1	0	-64	7	dB	Horizontal reflectivity
+0	21	2	0	-64	7	dB	Vertical reflectivity
+0	21	3	1	-5	7	dB	Differential reflectivity
+0	21	5	0	-65	6	dB	Linear depolarization ratio
+0	21	6	0	-65	6	dB	Circular depolarization ratio
+0	21	11	0	-128	8	m/s	Doppler mean velocity in X direction
+0	21	12	0	-128	8	m/s	Doppler mean velocity in Y direction
+0	21	13	0	-128	8	m/s	Doppler mean velocity in Z direction
+0	21	14	1	-4096	13	m/s	Doppler mean velocity (radiational)
+0	21	17	1	-4096	8	m/s	Doppler velocity spectral width
+0	21	21	-3	0	4	m	Echo tops
+0	21	30	0	-32	8	dB	Signal to noise ratio
+0	21	31	0	0	7	kg/m**2	Vertical integrated liquid water content
+0	21	36	7	0	12	m/s	Radar rainfall intensity
+0	21	41	-2	0	8	m	Bright band height
+0	21	51	0	-256	8	dB	Signal power above 1 MW
+0	21	192	0	0	14	m	Heave sensor spectral peak length
+0	21	193	1	0	14	s	Heave sensor spectral peak period
+0	21	194	2	0	14	percent	AVHRR channel average
+0	21	195	2	0	14	percent	Space view channel standard deviation
+0	21	196	2	0	15	deg_K	Algorithm identifier
+0	21	197	2	0	15	deg_K	AVHRR channel average
+0	21	198	2	-5000	13	dB	Backscatter
+0	21	199	1	0	10	percent	Noise figure percentage
+0	22	1	0	0	9	deg_true	Direction of waves (dddd, da1da1, or d1d1>dndn)
+0	22	2	0	0	9	deg_true	Direction of wind waves
+0	22	3	0	0	9	deg_true	Direction of swell waves (dw1dw1 or dw2dw2)
+0	22	4	0	0	9	deg_true	Direction of current (dodo>dndn or DcDc))
+0	22	11	0	0	6	s	Period of waves (D'D'D'D', PaPaPaPa, or PwPw)
+0	22	12	0	0	6	s	Period of wind waves
+0	22	13	0	0	6	s	Period of swell waves (Pw1Pw1 or Pw2Pw2)
+0	22	21	1	0	10	m	Height of waves (D'D'D'D' or HsHsHsHs)
+0	22	22	1	0	10	m	Height of wind waves (HwHw)
+0	22	23	1	0	10	m	Height of swell waves (Hw1Hw1 or Hw2Hw2)
+0	22	25	2	0	10	m	Standard deviation wave
+0	22	31	2	0	13	m/s	Speed of current (cococo>cncncn or VcVc)
+0	22	41	1	0	12	deg_K	Sea surface temperature (15 day running mean)
+0	22	42	1	0	12	deg_K	Sea temperature (T1T1T1>TnTnTn)
+0	22	43	2	0	15	deg_K	Sea temperature (ToToToTo>TnTnTnTn)
+0	22	44	1	0	14	m/s	Sound velocity
+0	22	50	2	0	8	deg_K	Standard deviation sea surface temperature
+0	22	61	0	0	4	Code_Table	State of sea
+0	22	62	2	0	14	ppt	Salinity (SoSoSoSo>SnSnSnSn)
+0	22	63	0	0	14	m	Total water depth (hhh or ZdZdZdZd)
+0	22	105	-1	0	6	deg_true	Direction of waves (da2da2)
+0	22	143	2	0	13	deg_K	Sea temperature
+0	22	192	0	0	14	m	Wave length
+0	22	193	2	0	14	m	Slope sensor significant wave height
+0	22	194	0	0	14	m	Slope sensor spectral peak length
+0	22	195	1	0	14	s	Slope sensor spectral peak period
+0	22	196	1	0	14	s	Slope sensor mean wave period
+0	22	197	0	0	14	m	Slope sensor mean wave length
+0	22	198	0	0	7	deg_true	Wave directional spread
+0	22	199	1	0	14	s	Time sample interval
+0	22	200	0	0	14	m	Distance sample interval
+0	22	201	1	0	14	s	Recorded wave duration
+0	22	202	0	0	14	m	Recorded wave length
+0	22	203	0	0	7	Numeric	Count of bands described
+0	22	204	0	0	4	Code_Table	Wave expiration
+0	22	205	3	0	20	m**2/(Hz*rad)	Wave spectra
+0	22	206	4	0	10	Numeric	Drag coefficient
+0	22	207	2	0	16	m	Maximum wave height
+0	22	208	2	0	16	m	Significant wave height
+0	22	209	0	0	7	Code_Table	directional spread
+0	22	211	0	0	8	Code_Table	Bogus water mass classification
+0	22	212	0	0	8	Code_Table	Discriminant water mass classification
+0	22	213	1	0	10	percent	Classification probability
+0	22	214	0	0	10	m**2/Hz	Heave sensor spectral density frequency
+0	22	215	0	0	10	m**3	Heave sensor spectral density number
+0	22	216	0	0	7	Numeric	Heave sensor band number
+0	22	217	0	0	7	percent	Heave sensor ratio
+0	22	218	0	0	7	Numeric	Slope sensor band number
+0	22	219	0	0	7	percent	Slope sensor ratio
+0	22	220	0	0	8	Code_Table	Front number
+0	22	224	-2	0	14	m	Distance to front
+0	22	229	0	0	7	Code_Table	Wave direction
+0	22	232	0	0	4	Code_Table	Sea surface temperature method indicator
+0	22	233	0	0	3	Code_Table	Sea temperature averaging period
+0	22	236	0	0	8	Code_Table	Swell wave direction
+0	22	237	-2	0	14	m	Significant wave height
+0	22	238	-2	0	14	m	Maximum wave height
+0	22	239	0	0	6	Numeric	Wave spectra direction count
+0	22	240	0	0	6	Numeric	Wave spectra frequency count
+0	22	241	3	-32768	16	Nt/m**2	Wave stress u-component
+0	22	242	3	-32768	16	Nt/m**2	Wave stress v-component
+0	22	243	0	0	7	percent	Whitecap probability
+0	22	244	0	0	7	Code_Table	Estimated wave direction of spectral wave
+0	22	245	2	0	16	deg_K	Surface temperature
+0	22	246	3	-32768	16	Nt/m**2	Wind stress u-component
+0	22	247	3	-32768	16	Nt/m**2	Wind stress v-component
+0	22	248	0	0	16	deg_true	Wind wave direction
+0	22	249	2	0	16	m	Height of wind wave
+0	22	250	1	0	16	s	Period of wind waves
+0	22	251	0	0	6	Numeric	Wave spectra direction
+0	22	252	0	0	6	Numeric	Wave spectra frequency
+0	22	253	0	0	16	deg_true	Direction of swell waves
+0	22	254	2	0	16	m	Height of swell waves
+0	22	255	1	0	16	s	Period of swell waves
+0	23	1	0	0	3	Code_Table	Accident early notification - article applicable
+0	23	2	0	0	5	Code_Table	Activity or facility involved in incident
+0	23	3	0	0	3	Code_Table	Type of release
+0	23	4	0	0	3	Code_Table	Countermeasures taken near border
+0	23	5	0	0	2	Code_Table	Cause of incident
+0	23	6	0	0	3	Code_Table	Incident situation
+0	23	7	0	0	3	Code_Table	Characteristic of release
+0	23	8	0	0	2	Code_Table	State of current release
+0	23	9	0	0	2	Code_Table	State of expected release
+0	23	16	0	0	2	Code_Table	Possibility of significant chemical toxic health effect
+0	23	17	6	0	20	m**3/s	Flow discharge of major recipient
+0	23	18	0	0	3	Code_Table	release behavior over time
+0	23	19	0	-15000	17	m	Actual release height
+0	23	21	0	-15000	17	m	Effective release height
+0	23	22	0	0	24	m	Distance of relative point or site of incident
+0	23	23	1	0	12	m/s	Main transport speed in atmosphere
+0	23	24	2	0	13	m/s	Main transport speed in water
+0	23	25	2	0	13	m/s	Main transport speed in ground water
+0	23	27	0	0	9	deg_true	Main transport direction in atmosphere
+0	23	28	0	0	9	deg_true	Main transport direction in water
+0	23	29	0	0	9	deg_true	Main transport direction in ground water
+0	23	31	0	0	2	Code_Table	Possibility that plume will encounter precip
+0	23	32	0	0	2	Code_Table	Plume will encounter change in wind direction and/or speed flag
+0	24	1	-11	0	28	Bq	Estimate of radioactivity released up to specified time
+0	24	2	-11	0	28	Bq	Estimated maximum potential release
+0	24	3	0	0	5	Code_Table	Composition of release
+0	24	4	0	0	16	CCITT_IA5	Element name
+0	24	5	0	0	9	Numeric	Isotope mass
+0	24	11	2	0	32	mSv	Dose
+0	24	12	2	0	32	mSv	Trajectory dose (defined location and expected time of arrival)
+0	24	13	2	0	32	mSv	Gamma dose in air along the main transport path
+0	24	21	2	0	32	Bq/m**3	Air concentration (named isotope type including gross beta)
+0	24	22	2	0	32	Bq/l	Concentration in precipitation (of named isotope type)
+0	25	1	-1	0	6	m	Range gate length
+0	25	2	0	0	4	Numeric	Number of gates averaged
+0	25	3	0	0	8	Numeric	Number of integrated pulses
+0	25	4	0	0	2	Code_Table	Echo processing
+0	25	5	0	0	2	Code_Table	Echo integration
+0	25	6	0	0	3	Code_Table	Z to R conversion
+0	25	7	0	0	12	Numeric	Z to R conversion factor
+0	25	8	2	0	9	Numeric	Z to R conversion exponent
+0	25	9	0	0	4	Flag_Table	Calibration method
+0	25	10	0	0	4	Code_Table	Clutter treatment
+0	25	11	0	0	2	Code_Table	Ground occultation correction (screening)
+0	25	12	0	0	2	Code_Table	Range attenuation correction
+0	25	13	0	0	2	Flag_Table	Bright band correction
+0	25	15	0	0	2	Flag_Table	Radome attenuation correction
+0	25	16	5	0	6	dB/m	Clear air attenuation correction
+0	25	17	0	0	2	Flag_Table	Precipitation attenuation correction
+0	25	18	7	0	6	Numeric	A to Z law for attenuation factor
+0	25	19	2	0	7	Numeric	A to Z law for attenuation exponent
+0	25	20	0	0	2	Code_Table	Mean speed estimation
+0	25	21	0	0	8	Flag_Table	Wind computation enhancement
+0	25	30	0	0	2	Code_Table	SST usage
+0	25	31	0	0	2	Code_Table	15 day SST availability
+0	25	32	0	0	2	Code_Table	NOAA wind profiler high/low mode data
+0	25	33	0	0	2	Code_Table	NOAA wind profiler submode
+0	25	34	0	0	4	Code_Table	NOAA wind profiler Q/C test results
+0	25	35	0	0	3	Code_Table	First guess adjustment
+0	25	36	3	-5000	14	Numeric	NSTAR average value
+0	25	37	0	0	2	Code_Table	HIRS-8 surface air temperature
+0	25	38	0	0	3	Code_Table	TOVS filter flags
+0	25	41	0	0	3	Code_Table	Method of determining direction of moving platform
+0	25	42	0	0	3	Code_Table	Method of determining speed of moving platform
+0	25	192	0	0	8	Code_Table	Type of correction
+0	25	193	0	0	3	Code_Table	Land/sea flag
+0	25	194	0	0	2	Code_Table	Day/night flag
+0	25	195	0	0	6	Numeric	Surface model pressure
+0	25	196	0	0	16	Numeric	Scan line count
+0	25	197	0	0	5	Numeric	Box counter
+0	25	198	0	0	3	Numeric	Minibox counter
+0	25	199	0	0	3	Code_Table	Water vapor flag
+0	25	200	0	0	3	Code_Table	TOVS retrieval low 20
+0	25	201	0	0	3	Code_Table	TOVS retrieval temps high 20
+0	25	202	0	0	2	Code_Table	TOVS super adiabatic flag
+0	25	203	0	0	2	Code_Table	TOVS skin temperature flag
+0	25	204	0	0	2	Code_Table	Stratospheric sounding unit flag
+0	25	205	0	0	4	Code_Table	Latitude zones
+0	25	206	0	0	4	Code_Table	TOVS instrument combinations
+0	25	208	0	0	8	Code_Table	TARM flag
+0	25	209	0	0	4	Code_Table	DMSP flag
+0	25	211	0	0	17	Numeric	B-scan start time
+0	25	212	0	0	7	Numeric	Counter (1-64)
+0	25	213	0	0	5	Code_Table	Calculated surface type
+0	25	214	0	0	3	Code_Table	Season flag
+0	25	215	0	-127	8	Numeric	Missing packet counter
+0	25	216	0	0	3	Code_Table	Observation Quality Code
+0	26	1	1	0	12	hr	Principle time of daily reading in UTC of maximum temperature
+0	26	2	1	0	12	hr	Principle time of daily reading in UTC of minimum temperature
+0	27	1	5	-9000000	25	deg	Latitude (high accuracy)
+0	27	2	2	-9000	15	deg	Latitude (coarse accuracy)
+0	27	3	2	-9000	15	deg	Alternate latitude
+0	27	20	0	0	16	Numeric	Satellite location counter
+0	27	21	0	0	16	Numeric	Satellite sub-location dimensions
+0	28	1	5	-18000000	26	deg	Longtiude (high accuracy)
+0	28	2	2	-18000	16	deg	Longtiude (coarse accuracy)
+0	28	3	2	-18000	16	deg	Alternate longtiude
+0	29	1	0	0	3	Code_Table	Projection type
+0	29	2	0	0	2	Code_Table	Coordinate grid type (Wr)
+0	30	1	0	0	4	Numeric	Pixel value (4 bits)
+0	30	21	0	0	12	Numeric	Number of pixels per row
+0	30	22	0	0	12	Numeric	Number of pixels per column
+0	30	31	0	0	4	Code_Table	Picture type
+0	30	32	0	0	16	Flag_Table	Combined picture
+0	31	0	0	0	1	Flag_Table	Delayed descriptor replication switch (1 bit)
+0	31	1	0	0	8	Numeric	Delayed descriptor replication factor (255 or less)
+0	31	2	0	0	16	Numeric	Extended delayed descriptor replication factor (65536 or less)
+0	31	11	0	0	8	Numeric	Delayed descriptor and data replication factor
+0	31	12	0	0	16	Numeric	Extended delayed descriptor and data replication factor
+0	31	21	0	0	6	Code_Table	Associated field significance
+0	31	192	0	0	8	Code_Table	Associated QC indicator
+0	31	193	0	0	8	Code_Table	QC description identifier, indicates why a value is bad
+0	31	194	2	0	7	Numeric	Associated correlation
+0	31	195	2	0	7	Numeric	Associated probability of error
+0	31	196	0	0	13	Flag_Table	UWI product confidence flag
+0	31	197	0	0	12	Numeric	Solution probability
+0	31	201	0	0	10	Numeric	Delayed replication factor (1023 or less)
+0	31	211	0	0	3	Numeric	Delayed replication factor (15 or less)
+0	31	221	0	0	5	Numeric	Delayed replication count (31 or less)
+0	31	231	0	0	6	Numeric	Delayed replication factor (63 or less)
+0	31	241	0	0	4	Numeric	Delayed replication factor (15 or less)
+0	48	1	0	0	128	CCITT_IA5	Classification
+0	48	2	0	0	128	CCITT_IA5	Classification modifier
+0	48	3	0	0	552	CCITT_IA5	Release as
+0	48	4	0	0	12	yr	Declassification - year
+0	48	5	0	0	4	mo	Declassification - month
+0	48	6	0	0	6	day	Declassification - day
+0	48	7	0	0	552	CCITT_IA5	Release not
+0	48	8	0	0	64	CCITT_IA5	Sender of original observation data
+0	48	9	0	0	80	CCITT_IA5	Declassification instructions
+0	48	10	0	0	12	yr	Send - year
+0	48	11	0	0	4	mo	Send - month
+0	48	12	0	0	6	day	Send - day
+0	48	13	0	0	4	hr	Send - hour
+0	48	14	0	0	6	min	Send - minutes
+0	48	15	0	0	552	CCITT_IA5	Release to information
+0	48	16	0	0	5	hr	Send - hour
+0	48	17	0	0	1104	CCITT_IA5	Release to
+0	48	18	0	0	552	CCITT_IA5	Release not
+0	48	19	0	0	552	CCITT_IA5	Declassification instructions
+0	48	20	0	0	552	CCITT_IA5	Classification modifier
+0	48	21	0	0	552	CCITT_IA5	Sender of observational data
+0	48	22	0	0	160	CCITT_IA5	Classification
+0	48	27	0	0	12	yr	Receipt - year
+0	48	28	0	0	4	mo	Receipt - month
+0	48	29	0	0	6	day	Receipt - day
+0	48	30	0	0	5	hr	Receipt - hour
+0	48	31	0	0	6	min	Receipt - minutes
+0	48	32	0	0	48	CCITT_IA5	Bulletin header update or correction indicator
+0	48	33	0	0	24	CCITT_IA5	Receiving circuit
+0	48	34	0	0	6	Numeric	Near-duplicate combination count
+0	50	1	0	0	2	Code_Table	Quality of measurement of pressure, sst,
+0	50	2	0	0	2	Code_Table	Quality of buoy satellite transmission (QN)
+0	50	3	0	0	4	Code_Table	IGOSS quality codes (Qd, Qd1, Qd2, Q1, Qt)
+0	50	6	0	0	3	Code_Table	Location quality codes (QL)
+0	50	10	2	0	15	deg_K	GDEM temperature
+0	50	14	2	0	15	deg_K	Feature model temperature
+0	50	18	0	0	16	Numeric	Reliability
+0	50	33	0	0	8	Numeric	Count of boundary points
+0	50	34	3	0	16	Numeric	Frequency ratio
+0	50	35	0	0	12	s	Time step of data (time increment)
+0	50	42	2	0	12	Numeric	Mean wave direction
+0	50	43	3	0	12	Numeric	Mean wave frequency
+0	50	44	4	0	12	Numeric	First frequency
+0	50	100	0	0	12	yr	Analysis DTG - year
+0	50	101	0	0	4	mo	Analysis DTG - month
+0	50	102	0	0	6	day	Analysis DTG - day
+0	50	103	0	0	5	hr	Analysis DTG - hour
+0	50	104	0	0	6	Numeric	Last observed sea depth
+0	51	3	0	0	5	Flag_Table	Processing status
+0	51	6	0	0	6	Numeric	Combination count
+0	51	7	0	0	2	Code_Table	Quality control process status
--- /dev/null
+++ grads-2.0.a9/data/tables/B2M-000-002-0
@@ -0,0 +1,308 @@
+##############################################################################
+# BUFR Table 0
+#
+#
+# Notes
+# -----
+#
+# * This table comes from GRIB Code Table 0 (Identification of center)
+#
+# * A value of 1 in the first column indicates a center that uses minor
+#   version numbers with local tables.  Since minor local table version
+#   numbers are stored in Section 1, Octet 18, the value in the first
+#   column must not be set if a center uses Section 1, Octet 18 for other
+#   purposes (i.e., ECMWF).
+#
+#
+##############################################################################
+
+0	  0	RESERVED
+
+# 1-9: WMCs
+
+0	  1	Melbourne
+0	  2	Melbourne
+0	  3	Melbourne
+0	  4	Moscow
+0	  5	Moscow
+0	  6	Moscow
+0	  7	US Weather Service - National Meteorological Center (NMC)
+0	  8	US National Weather Service Telecommunications Gateway (NWSTG)
+0	  9	Reserved for USA
+
+# 10-25: Centers in Region I
+
+0	 10	Cairo (RSMC/RAFC)
+0	 11	Cairo (RSMC/RAFC)
+0	 12	Dakar (RSMC/RAFC)
+0	 13	Dakar (RSMC/RAFC)
+0	 14	Nairobi (RSMC/RAFC)
+0	 15	Nairobi (RSMC/RAFC)
+0	 16	Antananarivo (RSMC)
+0	 17	Antananarivo (RSMC)
+0	 18	Tunis-Casablanca (RSMC/RAFC)
+0	 19	Tunis-Casablanca (RSMC/RAFC)
+0	 20	Las Palmas (RAFC)
+0	 21	Algiers (RSMC)
+0	 22	Lagos (RSMC)
+0	 23	Lagos (RSMC)
+0	 24	Reserved for other centers in Region I
+0	 25	Reserved for other centers in Region I
+
+# 26-40 Centers in Region II
+
+0	 26	Khabarovsk (RSMC)
+0	 27	Khabarovsk (RSMC)
+0	 28	New Delhi (RSMC/RAFC)
+0	 29	New Delhi (RSMC/RAFC)
+0	 30	Novosibirsk (RSMC)
+0	 31	Novosibirsk (RSMC)
+0	 32	Tashkent (RSMC)
+0	 33	Tashkent (RSMC)
+0	 34	Tokyo (RSMC), Japan Meteorological Agency
+0	 35	Tokyo (RSMC/RAFC)
+0	 36	Bangkok (RAFC)
+0	 37	Ulan Bator
+0	 38	Beijing (RSMC)
+0	 39	Beijing (RSMC)
+0	 40	Reserved for other centers in Region II
+
+# 41-50: Centers in Region III
+
+0	 41	Buenos Aires (RSMC/RAFC)
+0	 42	Buenos Aires (RSMC/RAFC)
+0	 43	Brasilia (RSMC/RAFC)
+0	 44	Brasilia (RSMC/RAFC)
+0	 45	Santiago
+0	 46	Brazilian Space Agency - INPE
+0	 47	Reserved for other centers in Region III
+0	 48	Reserved for other centers in Region III
+0	 49	Reserved for other centers in Region III
+0	 50	Reserved for other centers in Region III
+
+# 51-63: Centers in Region IV
+
+0	 51	Miami (RSMC/RAFC)
+0	 52	Miami (RSMC), National Hurricane Center
+0	 53	Montreal (RSMC)
+0	 54	Montreal (RSMC)
+0	 55	San Francisco
+0	 56	RESERVED
+0	 57	US Air Force - Air Force Global Weather Central (AFGWC)
+1	 58	Fleet Numerical Oceanography Center (FNOC), Monterey, CA, USA
+0	 59	The NOAA Forecast Systems Laboratory, Boulder, CO, USA
+0	 60	Reserved for other centers in Region IV
+0	 61	Reserved for other centers in Region IV
+0	 62	Reserved for other centers in Region IV
+0	 63	Reserved for other centers in Region IV
+
+# 64-73: Centers in Region V
+
+0	 64	Honolulu (RAFC)
+0	 65	Darwin (RSMC/RAFC)
+0	 66	Darwin (RSMC/RAFC)
+0	 67	Melbourne (RSMC)
+0	 68	RESERVED
+0	 69	Wellington (RSMC/RAFC)
+0	 70	Wellington (RSMC/RAFC)
+0	 71	Reserved for other centers in Region V
+0	 72	Reserved for other centers in Region V
+0	 73	Reserved for other centers in Region V
+
+# 74-98: Centers in Region VI
+
+0	 74	UK Meteorological Office - Bracknell
+0	 75	UK Meteorological Office - Bracknell
+0	 76	Moscow (RSMC/RAFC)
+0	 77	RESERVED
+0	 78	Offenbach (RSMC)
+0	 79	Offenbach (RSMC)
+0	 80	Rome (RSMC/RAFC)
+0	 81	Rome (RSMC/RAFC)
+0	 82	Norrkoping (RSMC)
+0	 83	Norrkoping (RSMC)
+0	 84	Paris (RAFC)
+0	 85	Toulouse
+0	 86	Helsinki
+0	 87	Belgrade
+0	 88	Oslo
+0	 89	Prague
+0	 90	Episkopi
+0	 91	Ankara
+0	 92	Francfort/Main (RAFC)
+0	 93	London (WAFC)
+0	 94	Copenhagen
+0	 95	Rota
+0	 96	Athens
+0	 97	European Space Agency (ESA)
+
+# ECMWF (Center 98) does not support minor local table version numbers
+# so DO NOT set the first value to 1.
+
+0	 98	European Center for Medium Range Weather Forecasts (ECMWF)(RSMC)
+0	 99	De Bilt
+
+# 100-127: RESERVED
+
+0	100	RESERVED
+0	101	RESERVED
+0	102	RESERVED
+0	103	RESERVED
+0	104	RESERVED
+0	105	RESERVED
+0	106	RESERVED
+0	107	RESERVED
+0	108	RESERVED
+0	109	RESERVED
+0	110	RESERVED
+0	111	RESERVED
+0	112	RESERVED
+0	113	RESERVED
+0	114	RESERVED
+0	115	RESERVED
+0	116	RESERVED
+0	117	RESERVED
+0	118	RESERVED
+0	119	RESERVED
+0	120	RESERVED
+0	121	RESERVED
+0	122	RESERVED
+0	123	RESERVED
+0	124	RESERVED
+0	125	RESERVED
+0	126	RESERVED
+0	127	RESERVED
+
+# 128-254: NATIONAL USE
+
+1	128	Naval Research Laboratory (NRL), Monterey CA
+0	129	CAST
+0	130	AFCCC
+0	131	PL
+0	132	ARL
+0	133	WES
+0	134	NATIONAL USE
+0	135	NATIONAL USE
+0	136	NATIONAL USE
+0	137	NATIONAL USE
+0	138	NATIONAL USE
+0	139	NATIONAL USE
+0	140	NATIONAL USE
+0	141	NATIONAL USE
+0	142	NATIONAL USE
+0	143	NATIONAL USE
+0	144	NATIONAL USE
+0	145	NATIONAL USE
+0	146	NATIONAL USE
+0	147	NATIONAL USE
+0	148	NATIONAL USE
+0	149	NATIONAL USE
+0	150	NATIONAL USE
+0	151	NATIONAL USE
+0	152	NATIONAL USE
+0	153	NATIONAL USE
+0	154	NATIONAL USE
+0	155	NATIONAL USE
+0	156	NATIONAL USE
+0	157	NATIONAL USE
+0	158	NATIONAL USE
+0	159	NATIONAL USE
+0	160	NATIONAL USE
+0	161	NATIONAL USE
+0	162	NATIONAL USE
+0	163	NATIONAL USE
+0	164	NATIONAL USE
+0	165	NATIONAL USE
+0	166	NATIONAL USE
+0	167	NATIONAL USE
+0	168	NATIONAL USE
+0	169	NATIONAL USE
+0	170	NATIONAL USE
+0	171	NATIONAL USE
+0	172	NATIONAL USE
+0	173	NATIONAL USE
+0	174	NATIONAL USE
+0	175	NATIONAL USE
+0	176	NATIONAL USE
+0	177	NATIONAL USE
+0	178	NATIONAL USE
+0	179	NATIONAL USE
+0	180	NATIONAL USE
+0	181	NATIONAL USE
+0	182	NATIONAL USE
+0	183	NATIONAL USE
+0	184	NATIONAL USE
+0	185	NATIONAL USE
+0	186	NATIONAL USE
+0	187	NATIONAL USE
+0	188	NATIONAL USE
+0	189	NATIONAL USE
+0	190	NATIONAL USE
+0	191	NATIONAL USE
+0	192	NATIONAL USE
+0	193	NATIONAL USE
+0	194	NATIONAL USE
+0	195	NATIONAL USE
+0	196	NATIONAL USE
+0	197	NATIONAL USE
+0	198	NATIONAL USE
+0	199	NATIONAL USE
+0	200	NATIONAL USE
+0	201	NATIONAL USE
+0	202	NATIONAL USE
+0	203	NATIONAL USE
+0	204	NATIONAL USE
+0	205	NATIONAL USE
+0	206	NATIONAL USE
+0	207	NATIONAL USE
+0	208	NATIONAL USE
+0	209	NATIONAL USE
+0	210	NATIONAL USE
+0	211	NATIONAL USE
+0	212	NATIONAL USE
+0	213	NATIONAL USE
+0	214	NATIONAL USE
+0	215	NATIONAL USE
+0	216	NATIONAL USE
+0	217	NATIONAL USE
+0	218	NATIONAL USE
+0	219	NATIONAL USE
+0	220	NATIONAL USE
+0	221	NATIONAL USE
+0	222	NATIONAL USE
+0	223	NATIONAL USE
+0	224	NATIONAL USE
+0	225	NATIONAL USE
+0	226	NATIONAL USE
+0	227	NATIONAL USE
+0	228	NATIONAL USE
+0	229	NATIONAL USE
+0	230	NATIONAL USE
+0	231	NATIONAL USE
+0	232	NATIONAL USE
+0	233	NATIONAL USE
+0	234	NATIONAL USE
+0	235	NATIONAL USE
+0	236	NATIONAL USE
+0	237	NATIONAL USE
+0	238	NATIONAL USE
+0	239	NATIONAL USE
+0	240	NATIONAL USE
+0	241	NATIONAL USE
+0	242	NATIONAL USE
+0	243	NATIONAL USE
+0	244	NATIONAL USE
+0	245	NATIONAL USE
+0	246	NATIONAL USE
+0	247	NATIONAL USE
+0	248	NATIONAL USE
+0	249	NATIONAL USE
+0	250	NATIONAL USE
+0	251	NATIONAL USE
+0	252	NATIONAL USE
+0	253	NATIONAL USE
+0	254	NATIONAL USE
+
+# 255: Used to indicate missing or unknown center
+
+0	255	MISSING VALUE
--- grads-2.0.a9.orig/src/Makefile.in
+++ grads-2.0.a9/src/Makefile.in
@@ -1,8 +1,9 @@
-# Makefile.in generated by automake 1.10 from Makefile.am.
+# Makefile.in generated by automake 1.11.1 from Makefile.am.
 # @configure_input@
 
 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-# 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
+# Inc.
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
 # with or without modifications, as long as this notice is preserved.
@@ -24,8 +25,9 @@
 
 VPATH = @srcdir@
 pkgdatadir = $(datadir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 install_sh_DATA = $(install_sh) -c -m 644
 install_sh_PROGRAM = $(install_sh) -c
@@ -49,6 +51,7 @@ DIST_COMMON = $(noinst_HEADERS) $(srcdir
 	$(srcdir)/Makefile.in $(srcdir)/config.h.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/m4/Xaw.m4 \
+	$(top_srcdir)/m4/as-needed.m4 \
 	$(top_srcdir)/m4/ga_lib_readline.m4 $(top_srcdir)/m4/gd.m4 \
 	$(top_srcdir)/m4/geotiff.m4 $(top_srcdir)/m4/grib2.m4 \
 	$(top_srcdir)/m4/gui.m4 $(top_srcdir)/m4/hdf4.m4 \
@@ -61,14 +64,13 @@ am__configure_deps = $(am__aclocal_m4_de
 mkinstalldirs = $(SHELL) $(top_srcdir)/etc/mkinstalldirs
 CONFIG_HEADER = config.h
 CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
 am__installdirs = "$(DESTDIR)$(bindir)"
-binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
 PROGRAMS = $(bin_PROGRAMS)
 am_bufrscan_OBJECTS = bufrscan.$(OBJEXT) gabufr.$(OBJEXT) \
 	gabufrtbl.$(OBJEXT) gamach.$(OBJEXT)
 bufrscan_OBJECTS = $(am_bufrscan_OBJECTS)
 bufrscan_LDADD = $(LDADD)
-bufrscan_DEPENDENCIES =
 am__grads_SOURCES_DIST = grads.c gxsubs.c gxmeta.c gxchpl.c gxcntr.c \
 	gxstrm.c gxwmap.c gxshad.c gaexpr.c gafunc.c gautil.c gagx.c \
 	gscrpt.c gamach.c bufrstn.c gabufr.c gabufrtbl.c gxX.c \
@@ -88,8 +90,7 @@ am_grads_OBJECTS = grads.$(OBJEXT) gxsub
 	gatxt.$(OBJEXT)
 grads_OBJECTS = $(am_grads_OBJECTS)
 am__DEPENDENCIES_1 =
-am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1)
+am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
 grads_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
@@ -100,39 +101,34 @@ am_grib2scan_OBJECTS = grib2scan.$(OBJEX
 	galloc.$(OBJEXT)
 grib2scan_OBJECTS = $(am_grib2scan_OBJECTS)
 grib2scan_DEPENDENCIES = gautil.sa.o gatxt.o $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1)
 am_gribmap_OBJECTS = gribmap.$(OBJEXT) gagmap.$(OBJEXT) \
 	gamach.$(OBJEXT) galloc.$(OBJEXT)
 gribmap_OBJECTS = $(am_gribmap_OBJECTS)
 gribmap_DEPENDENCIES = gaddes.sa.o gautil.sa.o gatxt.o \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
 am_gribscan_OBJECTS = gribscan.$(OBJEXT) gamach.$(OBJEXT) \
 	galloc.$(OBJEXT)
 gribscan_OBJECTS = $(am_gribscan_OBJECTS)
-gribscan_DEPENDENCIES = gautil.sa.o gatxt.o $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1)
+gribscan_DEPENDENCIES = gautil.sa.o gatxt.o $(am__DEPENDENCIES_1)
 am_gxeps_OBJECTS = gxeps.$(OBJEXT)
 gxeps_OBJECTS = $(am_gxeps_OBJECTS)
 gxeps_LDADD = $(LDADD)
-gxeps_DEPENDENCIES =
 am_gxps_OBJECTS = gxps.$(OBJEXT)
 gxps_OBJECTS = $(am_gxps_OBJECTS)
 gxps_LDADD = $(LDADD)
-gxps_DEPENDENCIES =
 am_gxtran_OBJECTS = gxtran.$(OBJEXT) gxsubs.$(OBJEXT) gxchpl.$(OBJEXT) \
 	gxX.$(OBJEXT) gxdxwd.$(OBJEXT) galloc.$(OBJEXT)
 gxtran_OBJECTS = $(am_gxtran_OBJECTS)
 gxtran_DEPENDENCIES = gxmeta.sa.o $(am__DEPENDENCIES_1) \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1)
 am_stnmap_OBJECTS = stnmap.$(OBJEXT) gamach.$(OBJEXT) galloc.$(OBJEXT)
 stnmap_OBJECTS = $(am_stnmap_OBJECTS)
 stnmap_DEPENDENCIES = gaddes.sa.o gautil.sa.o gatxt.o \
-	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+	$(am__DEPENDENCIES_1)
 am_wgrib_OBJECTS = wgrib.$(OBJEXT)
 wgrib_OBJECTS = $(am_wgrib_OBJECTS)
 wgrib_LDADD = $(LDADD)
-wgrib_DEPENDENCIES =
 DEFAULT_INCLUDES = -I.@am__isrc@
 depcomp =
 am__depfiles_maybe =
@@ -210,13 +206,21 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 PACKAGE_NAME = @PACKAGE_NAME@
 PACKAGE_STRING = @PACKAGE_STRING@
 PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
 PACKAGE_VERSION = @PACKAGE_VERSION@
 PATH_SEPARATOR = @PATH_SEPARATOR@
 PKG_CONFIG = @PKG_CONFIG@
 SET_MAKE = @SET_MAKE@
 SHELL = @SHELL@
 STRIP = @STRIP@
-SUPPLIBS = @SUPPLIBS@
+
+######################################################################
+#
+# Compiler and linker settings
+#
+
+# Default SUPPLIBS
+SUPPLIBS = /usr
 UDUNITS_LIBS = @UDUNITS_LIBS@
 VERSION = @VERSION@
 XAW7_CFLAGS = @XAW7_CFLAGS@
@@ -298,27 +302,19 @@ shp_libs = @shp_libs@
 srcdir = @srcdir@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
-
-######################################################################
-#
-# Compiler and linker settings
-#
-
-# Paths to external headers and libraries
-supp_include_dir = /usr/include
-supp_lib_dir = /usr/lib
+supp_include_dir = $(SUPPLIBS)/include
 
 # Settings used for all binaries
-LDADD = -L$(supp_lib_dir) 
 INCLUDES = $(readline_inc) $(printim_inc) $(grib2_inc) $(gui_inc) $(nc_inc) \
 			  $(hdf_inc) $(hdf5_inc) $(geotiff_inc) $(shp_inc) $(gadap_inc) \
                           $(X_CFLAGS) $(XAW_CFLAGS) $(GD_CFLAGS) $(HDF4_CFLAGS)
 
 
 # Settings used for all GrADS binaries
-common_ldadd = $(LDADD) $(X_LIBS) $(host_ldadd) -lX11
+common_ldadd = $(X_LIBS) $(host_ldadd) -lX11
 
 ######################################################################
 #
@@ -453,14 +449,14 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_
 	@for dep in $?; do \
 	  case '$(am__configure_deps)' in \
 	    *$$dep*) \
-	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
-		&& exit 0; \
+	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+	        && { if test -f $@; then exit 0; else break; fi; }; \
 	      exit 1;; \
 	  esac; \
 	done; \
-	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  --ignore-deps src/Makefile'; \
-	cd $(top_srcdir) && \
-	  $(AUTOMAKE) --gnu  --ignore-deps src/Makefile
+	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps src/Makefile'; \
+	$(am__cd) $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu --ignore-deps src/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
 	@case '$?' in \
@@ -478,6 +474,7 @@ $(top_srcdir)/configure: @MAINTAINER_MOD
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
 
 config.h: stamp-h1
 	@if test ! -f $@; then \
@@ -489,7 +486,7 @@ stamp-h1: $(srcdir)/config.h.in $(top_bu
 	@rm -f stamp-h1
 	cd $(top_builddir) && $(SHELL) ./config.status src/config.h
 $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
-	cd $(top_srcdir) && $(AUTOHEADER)
+	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
 	rm -f stamp-h1
 	touch $@
 
@@ -498,23 +495,37 @@ distclean-hdr:
 install-binPROGRAMS: $(bin_PROGRAMS)
 	@$(NORMAL_INSTALL)
 	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
-	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
-	  if test -f $$p \
-	  ; then \
-	    f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
-	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
-	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
-	  else :; fi; \
-	done
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+	for p in $$list; do echo "$$p $$p"; done | \
+	sed 's/$(EXEEXT)$$//' | \
+	while read p p1; do if test -f $$p; \
+	  then echo "$$p"; echo "$$p"; else :; fi; \
+	done | \
+	sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+	    -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
+	sed 'N;N;N;s,\n, ,g' | \
+	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
+	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
+	    if ($$2 == $$4) files[d] = files[d] " " $$1; \
+	    else { print "f", $$3 "/" $$4, $$1; } } \
+	  END { for (d in files) print "f", d, files[d] }' | \
+	while read type dir files; do \
+	    if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
+	    test -z "$$files" || { \
+	      echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
+	      $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
+	    } \
+	; done
 
 uninstall-binPROGRAMS:
 	@$(NORMAL_UNINSTALL)
-	@list='$(bin_PROGRAMS)'; for p in $$list; do \
-	  f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
-	  echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
-	  rm -f "$(DESTDIR)$(bindir)/$$f"; \
-	done
+	@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
+	files=`for p in $$list; do echo "$$p"; done | \
+	  sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
+	      -e 's/$$/$(EXEEXT)/' `; \
+	test -n "$$list" || exit 0; \
+	echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
+	cd "$(DESTDIR)$(bindir)" && rm -f $$files
 
 clean-binPROGRAMS:
 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
@@ -566,45 +577,49 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
 	mkid -fID $$unique
 tags: TAGS
 
 TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
-	tags=; \
+	set x; \
 	here=`pwd`; \
 	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
-	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	shift; \
+	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
 	  test -n "$$unique" || unique=$$empty_fix; \
-	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
-	    $$tags $$unique; \
+	  if test $$# -gt 0; then \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      "$$@" $$unique; \
+	  else \
+	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	      $$unique; \
+	  fi; \
 	fi
 ctags: CTAGS
 CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
 		$(TAGS_FILES) $(LISP)
-	tags=; \
-	here=`pwd`; \
 	list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
 	unique=`for i in $$list; do \
 	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
 	  done | \
-	  $(AWK) '    { files[$$0] = 1; } \
-	       END { for (i in files) print i; }'`; \
-	test -z "$(CTAGS_ARGS)$$tags$$unique" \
+	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
+	      END { if (nonempty) { for (i in files) print i; }; }'`; \
+	test -z "$(CTAGS_ARGS)$$unique" \
 	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
-	     $$tags $$unique
+	     $$unique
 
 GTAGS:
 	here=`$(am__cd) $(top_builddir) && pwd` \
-	  && cd $(top_srcdir) \
-	  && gtags -i $(GTAGS_ARGS) $$here
+	  && $(am__cd) $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) "$$here"
 
 distclean-tags:
 	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
@@ -625,13 +640,17 @@ distdir: $(DISTFILES)
 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
 	  if test -d $$d/$$file; then \
 	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+	    if test -d "$(distdir)/$$file"; then \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+	    fi; \
 	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
-	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
 	    fi; \
-	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
 	  else \
-	    test -f $(distdir)/$$file \
-	    || cp -p $$d/$$file $(distdir)/$$file \
+	    test -f "$(distdir)/$$file" \
+	    || cp -p $$d/$$file "$(distdir)/$$file" \
 	    || exit 1; \
 	  fi; \
 	done
@@ -662,6 +681,7 @@ clean-generic:
 
 distclean-generic:
 	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
 	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
 
 maintainer-clean-generic:
@@ -682,6 +702,8 @@ dvi-am:
 
 html: html-am
 
+html-am:
+
 info: info-am
 
 info-am:
@@ -690,18 +712,28 @@ install-data-am:
 
 install-dvi: install-dvi-am
 
+install-dvi-am:
+
 install-exec-am: install-binPROGRAMS
 
 install-html: install-html-am
 
+install-html-am:
+
 install-info: install-info-am
 
+install-info-am:
+
 install-man:
 
 install-pdf: install-pdf-am
 
+install-pdf-am:
+
 install-ps: install-ps-am
 
+install-ps-am:
+
 installcheck-am:
 
 maintainer-clean: maintainer-clean-am
@@ -722,7 +754,7 @@ ps-am:
 
 uninstall-am: uninstall-binPROGRAMS
 
-.MAKE: install-am install-strip
+.MAKE: all install-am install-strip
 
 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
 	clean-generic ctags distclean distclean-compile \
@@ -755,6 +787,7 @@ gautil.sa.o: $(srcdir)/gautil.c
 
 gxmeta.sa.o: $(srcdir)/gxmeta.c
 	$(COMPILE) -DSTNDALN -o gxmeta.sa.o -c $(srcdir)/gxmeta.c
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
--- grads-2.0.a9.orig/src/config.h.in
+++ grads-2.0.a9/src/config.h.in
@@ -1,5 +1,8 @@
 /* src/config.h.in.  Generated from configure.ac by autoheader.  */
 
+/* Define if building universal (internal helper macro) */
+#undef AC_APPLE_UNIVERSAL_BUILD
+
 /* little_endian machine */
 #undef BYTEORDER
 
@@ -132,6 +135,9 @@
 /* Define to the one symbol short name of this package. */
 #undef PACKAGE_TARNAME
 
+/* Define to the home page for this package. */
+#undef PACKAGE_URL
+
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
@@ -165,9 +171,17 @@
 /* Enable shapefile */
 #undef USESHP
 
-/* Define to 1 if your processor stores words with the most significant byte
-   first (like Motorola and SPARC, unlike Intel and VAX). */
-#undef WORDS_BIGENDIAN
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+#  define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+#  undef WORDS_BIGENDIAN
+# endif
+#endif
 
 /* Define to 1 if the X Window System is missing or not being used. */
 #undef X_DISPLAY_MISSING
