4 |
michaesp |
1 |
.TH timeres
|
|
|
2 |
.SH NAME
|
|
|
3 |
.B timeres - change the time resolution of a trajectory
|
|
|
4 |
.SH SYNOPSIS
|
|
|
5 |
.B timeres
|
|
|
6 |
.I inpfile
|
|
|
7 |
.I outfile
|
|
|
8 |
.I -[h|min] value
|
|
|
9 |
.I [-cubic|-linear]
|
|
|
10 |
.SH DESCRIPTION
|
|
|
11 |
Change the time resolution of an input trajectory file "inpfile" through interpolation and write a new trajectory file "outfile". The new time resolution "value" is given either in hours "-h" or in minutes "-min". The interpolation is performed on the trajectory file either in linear mode ("-linear") or in cubic spline mode ("-cubic"). The default is "-cubic".
|
|
|
12 |
.SH PARAMETERS
|
|
|
13 |
.TP 15
|
|
|
14 |
.I inpfile
|
|
|
15 |
input trajectory file
|
|
|
16 |
.TP 15
|
|
|
17 |
.I outfile
|
|
|
18 |
output trajectory file (can be the same as inpfile).
|
|
|
19 |
.TP 15
|
|
|
20 |
.I -h value
|
|
|
21 |
new time resolution in hours (e.g. "-h 1").
|
|
|
22 |
.TP 15
|
|
|
23 |
.I -min value
|
|
|
24 |
new time resolution in minutes (e.g. "-min 15").
|
|
|
25 |
.TP 15
|
|
|
26 |
.I -linear
|
|
|
27 |
linear interpolation between two trajectory times; note that this mode conserves the sign between two trajectory times - possibly of important for specific humidity, relative humidity,...
|
|
|
28 |
.TP 15
|
|
|
29 |
.I -linear
|
|
|
30 |
subic spline interpolation between two trajectory times; note that this mode conserves can change the sign between two trajectory times!
|
|
|
31 |
.SH EXAMPLES
|
|
|
32 |
.TP 5
|
|
|
33 |
.B [1] timeres trafile trafile -min 15 -linear
|
|
|
34 |
changes the time resolution to 15 minutes, using linear interpolation, and overwrites the old trajectory file.
|
|
|
35 |
.SH AUTHOR
|
|
|
36 |
Written by Michael Sprenger and Heini Wernli (January 2011
|