Skip to content

Commit 4329437

Browse files
AntSimigula
authored andcommitted
Add unraw option to network group to solve AntSimi#152
1 parent a2dd607 commit 4329437

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/py_eddy_tracker/appli/network.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ def build_network():
4040
"--hybrid-area",
4141
action="store_true",
4242
help="If True, use minimal-area method if overlap is under min overlap, else intersection/union",
43+
"--unraw",
44+
action="store_true",
45+
help="Load unraw data, use only for netcdf."
46+
"If unraw is active, netcdf is loaded without apply scalefactor and add_offset.",
4347
)
4448

4549
parser.contour_intern_arg()
@@ -58,7 +62,7 @@ def build_network():
5862
minimal_area=args.minimal_area,
5963
hybrid_area=args.hybrid_area,
6064
)
61-
n.build_dataset(group).write_file(filename=args.out)
65+
n.build_dataset(group,raw_data=not args.unraw).write_file(filename=args.out)
6266

6367

6468
def divide_network():

0 commit comments

Comments
 (0)