add

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package add implements a command to add a paleogeographic reconstruction model to a PhyGeo project.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: "add --type <file-type> <project-file> <model-file>",
	Short: "add a paleogeographic reconstruction model",
	Long: `
Command add adds the path of a paleogeographic reconstruction model to a
PhyGeo project. The model can be a plate motion model, or a paleolandscape.

The first argument of the command is the name of the project file. If no
project exists, a new project will be created.

The second argument is the valid path of a model file. If there is a model
already defined in the project, its path will be replaced by the path of the
added file. The model can be either a plate motion model (pixels locations in
time), or a paleolandscape pixelation (pixel values on time). Both kind of
models must be compatible, i.e. based on the same underlying pixelation, and
have the same time stages.

The type of the added model must be explicitly defined using the flag --type
with one of the following values:

	geomotion	for a plate motion model
	landscape	for a paleolandscape
	`,
	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