Skip to content

Commit 7e72eff

Browse files
committed
modify amplitude storage
1 parent 1f21d33 commit 7e72eff

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
@@ -256,7 +256,7 @@ def parse_args(self, *args, **kwargs):
256256
old_nc_name=["A"],
257257
nc_type="float32",
258258
output_type="uint16",
259-
scale_factor=0.001,
259+
scale_factor=0.0001,
260260
nc_dims=("obs",),
261261
nc_attr=dict(
262262
long_name="Amplitude",
1.21 KB
Binary file not shown.

0 commit comments

Comments
 (0)