Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ask a question #1

Open
ssp20190918 opened this issue Nov 15, 2019 · 0 comments
Open

ask a question #1

ssp20190918 opened this issue Nov 15, 2019 · 0 comments

Comments

@ssp20190918
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant