Skip to content
Snippets Groups Projects
Commit b91e55b9 authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Add option `-nodisplay` for Matlab

This is useful when we run the script through batch scheduling.
parent 32b69e8f
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ while True:
if os.access(adt_file, os.R_OK):
print("Processing", my_date, "...")
os.symlink(adt_file, "adt.mat")
pty.spawn(["matlab", "-nojvm", "-r", "inst_eddies"])
pty.spawn(["matlab", "-nojvm", "-nodisplay", "-r", "inst_eddies"])
matlab_data = sio.loadmat("adt_v6.mat", squeeze_me = True,
variable_names = ("date_num", "X", "Y",
"Anticyclonic_Cell",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment