set

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: 11 Imported by: 0

Documentation

Overview

Package set implements a command to set pixel values to a time pixelation.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.Command{
	Usage: `set [--from <age>] [--to <age>] [--at <age>] [--nozero]
	[-f|--format <format>] --in <model-file> <time-pix-file>`,
	Short: "set pixels of a time pixelation",
	Long: `
Command set reads pixels from time pixelation file, and set that values into a
time pixelation.

The flag --in is required and is used to provide the name of the input file.
By default, the input file is a time pixelation file, other kind of files can
be defined using the flag --format, or -f. Valid format are:

	latlon	 a location file
	timepix  default value, a time pixelation file

All pixels defined in the input file, and inside the indicated time frame will
be to the indicated values. If a pixel has a value of 0, then it will be
deleted from the time pixelation. With the flag --nozero, zero value will be
skipped.

The locations file is a tab-delimited text file with the following columns:
	
	- age        the age for the value in years
	- latitude   the geographic latitude of the location,
	             at the indicated age
	- longitude  the geographic longitude of the location,
	             at the indicated age
	- value      the value to be set

The argument of the command is the file that contains the time pixelation.
This argument is required.

By default, all time stages of the source pixels (as defined by --in) will be
set. With the flags --from and --to, it will use only the stages inside of the
indicated ages (in million years). Another possibility is using the flag --at
to set a particular time stage.
	`,
	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