Skip to main content
U.S. FlagAn official website of the United States government
icon dot gov
Official websites use .gov

A .gov website belongs to an official government organization in the United States.

icon https
Secure .gov websites use HTTPS

A lock () or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

data.shift

data.shift can change the station and time of all records in its input. It can be used to transplant one station's data into another station's archive at a different time. This operation should only be done with an inactive target station/time.

All input is read from standard input.

Command Line Usage

data.shift [station] [offset]

Arguments

station

The output station identifier code. For example 'brw'. If blank or omitted then the station is not changed.

offset

The time offset in seconds. If blank or zero then the data are not time shifted. Positive shifts forward in time.

Example Usage

data.get amf S11a 2009:264 2009:265 | data.shift SFA 86400