rotate

package
v0.0.0-...-96ee72c Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package rotate implements a command to add new pixel rotations (i.e. pixel locations in the past) to a plate motion model.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `rotate [--from <age>] [--to <age>] [--step <age>]
	--pix <pix-file> --rot <rotation-file>
	<model-file> [<age>...]`,
	Short: "rotate pixels of a plate motion model",
	Long: `
Command rotate reads a rotation file and updates the pixel locations from a
pixelated plate file, and write them into a plate motion model.

The flag --pix is required and sets the file with pixelated plates. The
resolution (i.e. the number of pixels in the equator) of the pixelation must
be equal to the plate motion model (if the model already exists). It will add
any plate or pixel absent in the model.

The flag --rot is required and indicates the file containing a rotation model.
Rotation model files are the standard files for rotations used in tectonic
modelling software such as GPlates.

The first argument of the command is the name of the file that contains the
model. If the file does not exists, it will create a new empty model and store
it in that file.

One or more time stages (in million years) can be given as additional
arguments for the command. Each age is used to set the locations of pixels in
the model to its paleo-location, given the rotation model. If no stages are
defined, the flags --from, --to, and --step, can be used to define the oldest
stage (--from), the most recent stage (--to, default is 0), and the size of
each time interval (--step, default is 5).
	`,
	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