Hi all,
I need (hopefully just a little) help from someone who knows matlab! I have a bunch of output from matlab code that I need to be able to read in python for my own analysis. I'm wondering if someone would be able to help me with this? Happy to sign up for an office hour too, just because this is not your typical python / dask / xarray question I thought I'd ask ahead of time who would be able to help me. Thanks!
Anna-Lena Deppenmeier said:
Hi all,
I need (hopefully just a little) help from someone who knows matlab! I have a bunch of output from matlab code that I need to be able to read in python for my own analysis. I'm wondering if someone would be able to help me with this? Happy to sign up for an office hour too, just because this is not your typical python / dask / xarray question I thought I'd ask ahead of time who would be able to help me. Thanks!
It's been a while since I spent a lot of time in MATLAB, but happy to help how I can (on here or office hours).
What format is the output in?
It looks like SciPy does have some functionality for reading *.mat files https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.loadmat.html
Thanks @Katelyn FitzGerald ! I think it would be best to meet during office hours and have a look together, I'm not sure I can explain it well enough on here. I'll get something on the calendar.
Might be useful: https://github.com/dcherian/dcpy/blob/7fb24b50410422ab9fc3257721c2727a075a34cb/dcpy/oceans.py#L941
Thanks @Deepak Cherian I'll have a look. this is output created from a BHM though that is not standard ocean data
Last updated: May 16 2025 at 17:14 UTC