Prepending commands


The program package GMT is used by MB-System to create the maps out of grids (digital terrain models/DTM) or backscatter mosaics (postscript/geotiff). Release the following commands en bloc in a notebook cell to:

  • create a gmt.conf file out of the GMT defaults in the users homedirectory

  • to accomplish the gmt.conf with proper NetCDF settings and the current path for the GMT-libraries

  • to move back to the working directory where to upload data and to release the follow up commands.


!gmt defaults -D > ~/gmt.conf
!gmt set IO_NC4_CHUNK_SIZE=classic
!gmt set GMT_CUSTOM_LIBS /usr/local/lib/
%cd work/