prior

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package prior implements a command to manage pixel priors defined for a project.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: "prior [--add <file>] [--set <value>] <project-file>",
	Short: "manage pixel priors",
	Long: `
Command prior manage pixel priors defined for a PhyGeo project.

The argument of the command is the name of the project file.

By default, the command will print the currently defined pixel priors into the
standard output. If the flag --add is defined, the indicated file will be used
as the pixel prior of the project.

If the flag --set is defined, it will set a pixel prior to a raster value. Th
 sintaxis of the definition is:

	<value>=<probability>

If there is no pixel prior file defined in the project, a new file will be
created using the project file name as a prefix and "-pix-prior.tab" as a
suffix.
	`,
	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