You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FileNotFoundError: [Errno 2] No such file or directory: './Data/VIV_displacement_lift_drag.mat'
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
in
135
136 # Load Exact Data
--> 137 data = scipy.io.loadmat('./Data/VIV_displacement_lift_drag.mat')
138 t_star = data['t_structure'] # T x 1
139 eta_star = data['eta_structure'] # T x 1
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in loadmat(file_name, mdict, appendmat, **kwargs)
139 """
140 variable_names = kwargs.pop('variable_names', None)
--> 141 MR, file_opened = mat_reader_factory(file_name, appendmat, **kwargs)
142 matfile_dict = MR.get_variables(variable_names)
143 if mdict is not None:
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in _open_file(file_like, appendmat)
37 if appendmat and not file_like.endswith('.mat'):
38 file_like += '.mat'
---> 39 return open(file_like, 'rb'), True
40 else:
41 raise IOError('Reader needs file name or open file-like object')
FileNotFoundError: [Errno 2] No such file or directory: './Data/VIV_displacement_lift_drag.mat.'
I hope you can help me answer this question and look forward to your reply.
The text was updated successfully, but these errors were encountered:
How should I solve this problem? @maziarraissi
FileNotFoundError Traceback (most recent call last)
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in _open_file(file_like, appendmat)
32 try:
---> 33 return open(file_like, 'rb'), True
34 except IOError:
FileNotFoundError: [Errno 2] No such file or directory: './Data/VIV_displacement_lift_drag.mat'
During handling of the above exception, another exception occurred:
FileNotFoundError Traceback (most recent call last)
in
135
136 # Load Exact Data
--> 137 data = scipy.io.loadmat('./Data/VIV_displacement_lift_drag.mat')
138 t_star = data['t_structure'] # T x 1
139 eta_star = data['eta_structure'] # T x 1
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in loadmat(file_name, mdict, appendmat, **kwargs)
139 """
140 variable_names = kwargs.pop('variable_names', None)
--> 141 MR, file_opened = mat_reader_factory(file_name, appendmat, **kwargs)
142 matfile_dict = MR.get_variables(variable_names)
143 if mdict is not None:
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in mat_reader_factory(file_name, appendmat, **kwargs)
62
63 """
---> 64 byte_stream, file_opened = _open_file(file_name, appendmat)
65 mjv, mnv = get_matfile_version(byte_stream)
66 if mjv == 0:
~\anaconda3\lib\site-packages\scipy\io\matlab\mio.py in _open_file(file_like, appendmat)
37 if appendmat and not file_like.endswith('.mat'):
38 file_like += '.mat'
---> 39 return open(file_like, 'rb'), True
40 else:
41 raise IOError('Reader needs file name or open file-like object')
FileNotFoundError: [Errno 2] No such file or directory: './Data/VIV_displacement_lift_drag.mat.'
I hope you can help me answer this question and look forward to your reply.
The text was updated successfully, but these errors were encountered: