mapcmd

package
v0.0.0-...-26dca7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package mapcmd implements a command to draw a plate motion model as an image map.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `map [-c|--columns <value>] [--at <age>]
	-o|--output <out-image-file> <model-file>`,
	Short: "draw a map from a plate motion model",
	Long: `
Command map reads a plate motion model and draw the reconstruction at the
indicated time stage as a png image, using a plate carrée projection.

The argument of the command is the name of the file that contains the plate
motion model.

The flag --output, or -o, is required and sets the name of the output image. If
multiple stages are used, the time stage will append to the name of the image.
In the image all pixels of a given plate will have the same color (selected at
random). By default the image will be 3600 pixels wide, use the flag --columns,
or -c, to define a different number of image columns.

By default all time stages will be produced. Use the flag --at to define a
particular time stage to be draw (in million years).
	`,
	SetFlags: setFlags,
	Run:      run,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL