Skip to content

Commit 6d17111

Browse files
committed
Initial commit
0 parents  commit 6d17111

24 files changed

+129884
-0
lines changed

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright (c) [year] [fullname]
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include *.txt
2+
include Makefile
3+
recursive-include tests *.txt *.py
4+
recursive-include oceanloading *.dat

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
init:
2+
pip install -r requirements.txt
3+
4+
test:
5+
nosetests tests

PyOL/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
from .dataload import *
2+
from .processing import *
196 Bytes
Binary file not shown.
8.18 KB
Binary file not shown.
8.71 KB
Binary file not shown.

PyOL/data/ONSALA_FES2004.blq

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.00303 .00118 .00071 .00029 .00240 .00124 .00080 .00014 .00094 .00055 .00048
2+
.00145 .00037 .00032 .00009 .00047 .00046 .00016 .00008 .00015 .00008 .00008
3+
.00069 .00025 .00021 .00006 .00033 .00019 .00012 .00004 .00002 .00001 .00001
4+
-63.4 -40.0 -104.9 -47.8 -51.2 -117.1 -53.6 175.7 16.9 11.1 2.0
5+
88.5 125.7 56.6 114.9 103.5 36.6 98.9 -6.4 -167.0 -170.1 -177.7
6+
108.5 140.6 82.6 147.9 44.5 -40.4 43.9 -118.5 61.8 45.2 4.5

PyOL/data/ONSALA_GOT00.2.blq

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.00359 .00127 .00089 .00033 .00221 .00115 .00070 .00008 .00093 .00049 .00043
2+
.00147 .00035 .00040 .00009 .00046 .00043 .00015 .00009 .00014 .00006 .00007
3+
.00068 .00028 .00020 .00004 .00029 .00015 .00009 .00004 .00003 .00001 .00000
4+
-60.1 -50.6 -92.6 -39.3 -57.8 -113.0 -60.5 -172.1 10.2 6.0 2.1
5+
87.2 114.8 57.6 127.1 102.2 35.0 96.8 -7.6 -166.2 -169.8 -177.7
6+
113.0 151.8 88.4 148.7 49.6 -57.5 46.1 178.3 -38.3 -5.0 12.2

PyOL/data/ONSALA_TPXO.7.2.blq

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.00351 .00117 .00074 .00032 .00226 .00129 .00078 .00014 .00090 .00054 .00045
2+
.00149 .00035 .00035 .00009 .00046 .00041 .00015 .00010 .00014 .00009 .00008
3+
.00069 .00022 .00018 .00006 .00031 .00009 .00009 .00003 .00002 .00001 .00001
4+
-69.2 -40.9 -88.4 -40.3 -54.3 -103.7 -58.8 -169.7 21.0 12.6 2.1
5+
82.8 119.1 58.8 124.2 102.7 37.6 103.0 -7.0 -162.3 -165.0 -177.7
6+
103.2 143.9 81.2 144.1 46.6 -66.3 42.7 -176.4 69.3 38.5 8.8

PyOL/data/brst_tg_10m-prl.txt

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
1RESULTS: ADMITTANCES, LOCAL COPHASES OCEANOGRAPHER'S PHASE CONVENTION
2+
0SITE/FILE: refmar_BREST_2012.ts lon/lat: 355.5034 48.3805
3+
0Normalized Chi^2 of fit : 3.43D-04, R= 1.85D-02 , X_1 X_2 = 1.00 2.30, Nev=38
4+
The error information below is compatible with a unit normalized Chi^2.
5+
Gain factor appears rectified for the NDR
6+
<rslist>d> rmsu= 1.850962628078300E-002 weff= 1.00000000000000 rchi= 1.00064265727997
7+
0 #b Dominating tide Frequ. Amplit. Phase Co..admittance parameter..Quad +- 68.3% conf Gain Cophase
8+
argum.numbers [cyc/d] [m] [deg]
9+
SSA 1 2 0 0 2 0 0 0 0 0.0054758 6.508D-03 20.13 3.880 +- 0.273 -9.708 +- 0.284 10.454 291.78 2
10+
MM 3 2 0 1 0-1 0 0 0 0.0362916 7.390D-03 332.31 1.045 +- 0.221 -3.637 +- 0.220 3.784 286.03 2
11+
MF 5 2 0 2 0 0 0 0 0 0.0732022 1.399D-02 187.77 2.122 +- 0.154 0.227 +- 0.151 2.134 6.10 2
12+
MTM 7 2 0 3 0-1 0 0 0 0.1094938 2.678D-03 340.08 2.053 +- 0.777 6.161 +- 0.785 6.494 71.57 2
13+
MSQM 9 2 0 4-2 0 0 0 0 0.1409286 4.276D-04 355.42 -24.011 +- 3.834 23.485 +- 3.851 33.587 135.63 2
14+
Q1 11 2 1-2 0 1 0 0-1 0.8932441 1.924D-02 25.48 -0.146 +- 0.090 -0.936 +- 0.090 0.948 261.17 2
15+
O1 13 2 1-1 0 0 0 0-1 0.9295357 1.005D-01 177.79 0.506 +- 0.018 -0.370 +- 0.018 0.626 323.82 2
16+
P1K1 15 2 1 1 0 0 0 0 1 1.0027379 1.493D-01 5.33 0.146 +- 0.011 0.417 +- 0.011 0.442 70.65 2
17+
J1 17 2 1 2 0-1 0 0 1 1.0390296 7.860D-03 157.87 -0.032 +- 0.216 0.121 +- 0.216 0.126 104.75 2
18+
OO1 19 2 1 3 0 0 0 0 1 1.0759401 4.309D-03 13.34 -0.061 +- 0.474 -0.582 +- 0.475 0.585 263.98 2
19+
3N2 21 2 2-3 2 1 0 0 0 1.8282556 8.006D-04 223.41 3.664 +- 1.560 19.207 +- 1.559 19.554 79.20 2
20+
2N2 23 2 2-2 2 0 0 0 0 1.8645472 3.314D-03 15.71 2.154 +- 0.320 21.751 +- 0.320 21.858 84.35 2
21+
N2 25 2 2-1 0 1 0 0 0 1.8959820 2.075D-02 31.05 2.944 +- 0.066 20.131 +- 0.066 20.345 81.68 2
22+
M2 27 2 2 0 0 0 0 0 0 1.9322736 1.084D-01 183.36 -3.208 +- 0.013 18.571 +- 0.013 18.846 99.80 2
23+
L2 29 2 2 1 0-1 0 0 2 1.9685653 3.063D-03 155.67 0.974 +- 0.385 16.080 +- 0.385 16.109 86.54 2
24+
S2K2 31 2 2 2-2 0 0 0 0 2.0000000 5.042D-02 351.00 -11.379 +- 0.027 9.726 +- 0.027 14.969 139.48 2
25+
M3 33 3 3 0 0 0 0 0 2 2.8984104 9.462D-04 275.04 20.763 +- 1.138 0.441 +- 1.137 20.768 1.22 2
26+
M4 35 4 4 0 0 0 0 0 0 3.8645472 8.611D-06 6.72 3.663D+02 +-1.0D+02 6.076D+03 +-1.0D+02 6.0870D+03 86.55 1
27+
/ 37 Linear [m]/(52696*1.66667D-01[h]) 0.257194 +-0.003058
28+
/ 37 Linear [m]/[year] ~/[h] 0.256706 +-0.003052 2.9284D-05 +-3.48D-07
29+
-- 38 Const 1.000D+00 0.000255 +-0.000084
30+
;
31+
; Take only the part below
32+
0RESULTS: MAJOR TIDE AMPLITUDES, GREENWICH COPHASES
33+
#pot.dvlp frequ. core-factor amplitude cophase +- 68.3% conf
34+
OT_EFFEC [m] [deg]
35+
; just note: [cyc/d] Core resonance dA = 1-sigma error
36+
; Real Imag for AMP (for phase, you'd take arcsin(dA/A) * 180/pi
37+
; take: AMP PHA
38+
SSA 022 0.005476 1.00000 0.00 0.068036 291.8 +- 0.001847
39+
MM 058 0.036292 1.00000 0.00 0.027963 286.0 +- 0.001632
40+
MF 127 0.073202 1.00000 0.00 0.029846 6.1 +- 0.002151
41+
MTM 182 0.109494 1.00000 0.00 0.017389 71.6 +- 0.002103
42+
MSQM 218 0.140929 1.00000 0.00 0.014363 135.6 +- 0.001647
43+
Q1 387 0.893244 0.99943 0.00 0.018226 265.7 +- 0.001739
44+
O1 442 0.929536 1.00000 0.00 0.062974 328.3 +- 0.001791
45+
P1K1 554 1.002738 1.05584 -0.24 0.065961 75.4 +- 0.001651
46+
J1 603 1.039030 0.99430 0.00 0.000987 109.2 +- 0.001699
47+
OO1 648 1.075940 0.99635 0.00 0.002522 268.5 +- 0.002046
48+
3N2 769 1.828256 1.00000 0.00 0.015654 88.2 +- 0.001249
49+
2N2 809 1.864547 1.00000 0.00 0.072425 93.3 +- 0.001061
50+
N2 844 1.895982 1.00000 0.00 0.422134 90.7 +- 0.001364
51+
M2 894 1.932274 1.00000 0.00 2.042415 108.8 +- 0.001384
52+
L2 946 1.968565 1.00000 0.00 0.049345 95.5 +- 0.001179
53+
S2K2 977 2.000000 1.00000 0.00 0.754744 148.5 +- 0.001341
54+
M3 1141 2.898410 1.00000 0.00 0.019651 14.7 +- 0.001077
55+
M4 1186 3.864547 1.00000 0.00 0.052414 104.5 +- 0.000858
56+
0

0 commit comments

Comments
 (0)