Subversion Repositories lagranto.um

Rev

Rev 3 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 10
1
.TH geo2rot
1
.TH geo2rot
2
.SH NAME 
2
.SH NAME 
3
.B geo2rot - rotate from true to rotated longitude and latitude
3
.B geo2rot - rotate from true to rotated longitude and latitude
4
.SH SYNOPSIS
4
.SH SYNOPSIS
5
.TP 9 
5
.TP 9 
6
.B geo2rot
6
.B geo2rot
7
.I [ inpfile outfile ] [optional parameters] 
7
.I [ inpfile outfile ] [optional parameters] 
8
.TP 9
8
.TP 9
9
.B geo2rot
9
.B geo2rot
10
.I [ lon lat ] [optional parameters]
10
.I [ lon lat ] [optional parameters]
11
.TP 9
11
.TP 9
12
.B geo2rot 
12
.B geo2rot 
13
.I [optional parameters]
13
.I [optional parameters]
14
.SH DESCRIPTION
14
.SH DESCRIPTION
15
Rotate the longitude and latitude coordinates from their true geographical values into their values in a rotated coordinate system. The rotation can be done either for a single <lon/lat> point or for a complete trajectory file <inpfile>. In the latter case, a new trajectory <outfile> file with rotated longitude and latitude is written.
15
Rotate the longitude and latitude coordinates from their true geographical values into their values in a rotated coordinate system. The rotation can be done either for a single <lon/lat> point or for a complete trajectory file <inpfile>. In the latter case, a new trajectory <outfile> file with rotated longitude and latitude is written.
16
.SH PARAMETERS
16
.SH PARAMETERS
17
.TP 15
17
.TP 15
18
.I inpfile 
18
.I inpfile 
19
input trajectory file (with true lon/lat)
19
input trajectory file (with true lon/lat)
20
.TP 15
20
.TP 15
21
.I outfile
21
.I outfile
22
output trajectory file (with rotated lon/lat)
22
output trajectory file (with rotated lon/lat)
23
.TP 15
23
.TP 15
24
.I lon lat
24
.I lon lat
25
true longitude and latitude
25
true longitude and latitude
26
.SH OPTIONAL PARAMETERS
26
.SH OPTIONAL PARAMETERS
27
.TP 15
27
.TP 15
28
.I -lonlat pollon pollat
28
.I -lonlat pollon pollat
29
specify the coordinates (pollon, pollat) of the rotated north pole
29
specify the coordinates (pollon, pollat) of the rotated north pole
30
.TP 15
30
.TP 15
31
.I -file filename
31
.I -file filename
32
get the coordinates of the rotated north pole from the file <filename>. The file must be a netCDF file, either a constants or a P,S file.
32
get the coordinates of the rotated north pole from the file <filename>. The file must be a netCDF file, either a constants or a P,S file.
33
.SH EXAMPLES
33
.SH EXAMPLES
34
.TP 15
34
.TP 15
35
.B [1] geo2rot -lonlat -170 45
35
.B [1] geo2rot -lonlat -170 45
36
sets the rotated north pole to 170 W and 45 N. The new position is written to the file <geo2rot.pole>.
36
sets the rotated north pole to 170 W and 45 N. The new position is written to the file <geo2rot.pole>.
37
.TP 15
37
.TP 15
38
.B [2] geo2rot 45 50 
38
.B [2] geo2rot 45 50 
39
takes coordinate (lon/lat)=(45/50) and rotates it to the rotated coordainte system. The position of the rotated pole is read from the file <geo2rot.pole>.
39
takes coordinate (lon/lat)=(45/50) and rotates it to the rotated coordainte system. The position of the rotated pole is read from the file <geo2rot.pole>.
40
.TP 15
40
.TP 15
41
.B [3] geo2rot 45 50 -file eraint_cst
41
.B [3] geo2rot 45 50 -file eraint_cst
42
rotates (lon/lat) = (45/50) to the new system - the new pole position is read from the file <eraint_cst>. 
42
rotates (lon/lat) = (45/50) to the new system - the new pole position is read from the file <eraint_cst>. 
43
.TP 15
43
.TP 15
44
.B [4] geo2rot trainp traout
44
.B [4] geo2rot trainp traout
45
read the trajectory file <trainp> and rotate all coordinates. The trajectory file with rotated coordinates is written to <traout>. 
45
read the trajectory file <trainp> and rotate all coordinates. The trajectory file with rotated coordinates is written to <traout>. 
46
.TP 15
46
.TP 15
47
.B [5] geo2rot
47
.B [5] geo2rot
48
write the pole position to screen.
48
write the pole position to screen.
49
.SH AUTHOR
49
.SH AUTHOR
50
Written by Michael Sprenger and Heini Wernli (July 2011)
50
Written by Michael Sprenger and Heini Wernli (July 2011)