# Documentation of m_tba2b

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

## Function Synopsis

    m_tba2b(fnam);

## Help text

     M_TBA2B Converts the ASCII TerrainBase 5-minute bathymetry database
             (size 56Mb) available from
               ftp://ncardata.ucar.edu/datasets/ds759.2/tbase.Z
             into a binary file of 2-byte integers that can be read by
             M_TBASE to provide high-resolution global bathymetry.

             To use this file, first

             a) get and uncompress the tbase.Z file from the above URL into the
                current directory.

             b) run this function:

                m_tba2b(PATHNAME)

             to store the resulting binary (of size 18Mb) as PATHNAME/tbase.int

             c) Edit the PATHNAME setting in M_TBASE to point to the
                location of this file.

             d) delete the ASCII file tbase.

Pierre-Michel THEVENY <theveny@dt.insu.cnrs.fr>