Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modify amplitude storage
  • Loading branch information
AntSimi committed Jun 22, 2021
commit 7e72eff64f9a801de882f177d074b85ed32ce937
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changed
- Now time will be allow second precision in storage on uint32 from 01/01/1950 to 01/01/2086
new identification will be produce with this type, old file could be still loaded.
If you use old identification to track use `--unraw` option to unpack old time and store in new format.
- Now amplitude is stored with .1 mm of precision, same advice than time.

Fixed
^^^^^
Expand Down
3 changes: 2 additions & 1 deletion share/tracking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ PATHS:
# Path for saving of outputs
SAVE_DIR: '/home/emason/toto/'

# Minimum number of observations to store eddy
# Minimal number of timesteps to consider as a long track
TRACK_DURATION_MIN: 4
# Number of timesteps for missing detection
VIRTUAL_LENGTH_MAX: 0

CLASS:
Expand Down
2 changes: 1 addition & 1 deletion src/py_eddy_tracker/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ def parse_args(self, *args, **kwargs):
old_nc_name=["A"],
nc_type="float32",
output_type="uint16",
scale_factor=0.001,
scale_factor=0.0001,
nc_dims=("obs",),
nc_attr=dict(
long_name="Amplitude",
Expand Down
Binary file modified src/py_eddy_tracker/data/Anticyclonic_20190223.nc
Binary file not shown.