Replies: 1 comment
-
The dfs0 file is invalid. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm not very familiar with dfs0 or mike (although I am from DHI), so this quite possibly has a simple answer, however I don't quite know what to do next so I thought I'd see if anyone else has seen this kind of problem.
I am converting a large amount of files from dfs0 into pandas DataFrames and then into .json format (not important for the problem, just a context).
Multiple files (more than 20) are throwing me errors when I read them using
mikeio.read(inputfile)
.The error is the following:
I've tried to figure out what is going on, I think python doesn't like indexing 'raw_data' because it cannot detect that it is an iterable, so maybe the dfs0 is empty? But that's just a hunch based on the error, python is more my expertise, not mike.
Here's a ftp to one of the files which is creating the error:
ftp://tea42@ftp.dhigroup.com/pub/JAEL/NO_TS_MO_FINO2WR_waves.dfs0
Cheers, Jannik
Beta Was this translation helpful? Give feedback.
All reactions