Skip to content

Commit 5114253

Browse files
committed
modify amplitude storage
1 parent e662ec8 commit 5114253

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Changed
1313
- Now time will be allow second precision in storage on uint32 from 01/01/1950 to 01/01/2086
1414
new identification will be produce with this type, old file could be still loaded.
1515
If you use old identification to track use `--unraw` option to unpack old time and store in new format.
16+
- Now amplitude is stored with .1 mm of precision, same advice than time.
1617

1718
Fixed
1819
^^^^^

share/tracking.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ PATHS:
44
# Path for saving of outputs
55
SAVE_DIR: '/home/emason/toto/'
66

7-
# Minimum number of observations to store eddy
7+
# Minimal number of timesteps to consider as a long track
88
TRACK_DURATION_MIN: 4
9+
# Number of timesteps for missing detection
910
VIRTUAL_LENGTH_MAX: 0
1011

1112
#CLASS:

src/py_eddy_tracker/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def parse_args(self, *args, **kwargs):
258258
old_nc_name=["A"],
259259
nc_type="float32",
260260
output_type="uint16",
261-
scale_factor=0.001,
261+
scale_factor=0.0001,
262262
nc_dims=("obs",),
263263
nc_attr=dict(
264264
long_name="Amplitude",
1.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)