Skip to content
Open
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
Next Next commit
Add unraw option to network group to solve #152
  • Loading branch information
AntSimi committed Aug 2, 2022
commit 7d237ab41fa0d5919efe5e7e8b71bfd28150963f
9 changes: 7 additions & 2 deletions src/py_eddy_tracker/appli/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ def build_network():
action="store_true",
help="If True, use intersection/little polygon, else intersection/union",
)

parser.add_argument(
"--unraw",
action="store_true",
help="Load unraw data, use only for netcdf."
"If unraw is active, netcdf is loaded without apply scalefactor and add_offset.",
)
parser.contour_intern_arg()

parser.memory_arg()
Expand All @@ -49,7 +54,7 @@ def build_network():
group = n.group_observations(
min_overlap=args.min_overlap, minimal_area=args.minimal_area
)
n.build_dataset(group).write_file(filename=args.out)
n.build_dataset(group,raw_data=not args.unraw).write_file(filename=args.out)


def divide_network():
Expand Down