-
Notifications
You must be signed in to change notification settings - Fork 14
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
Question about params in mpr metadata #190
Comments
Hi Carla, yes, this is something that I know about. In the Any contribution here is welcome. Basically, the As a side note, any parameter value highter than 256 is likely to be a bug (most parameters are supposedly 1 byte unsigned integers, so 0 - 255). Please let me know about any case where you get such high values in a separate issue. |
Hello Peter, I'm beginning to understand the structure of your code. So I can add the mapping to the param_map for the EC-Lab files I currently have. But for this I would have to get the authorization to push on a branch in this repo. Or I can simply share my current status here.
As you can see, the values I can contribute are unfortunately far from complete. I am therefore a bit afraid that if the mapping is added like this, a wave of people will come with the error |
The values above 255 for Is_vs occur in some GEIS measurements. But I have not yet been able to find out anything more precise. I'll see if I can open another issue when I understand more. |
That's a great start, thank you. We can work around the current limitations down the line. Please feel free to fork, make a branch with changes in your own fork, and then submit a PR to upstream via github. We can also move the discussion there. |
I am fairly certain that must be a bug. It might be that the byte-length of the parameter data structure is not correct, so the first parameter set gets parsed "correctly", but the following ones are broken. Let's have a look at the offending GEIS file. |
Please find PR #191 with all reasonable values below 255 that are currently available to me. |
Hello, I am using
data = yadg.extractors.extract(filetype='eclab.mpr', path=file_path)
to extract data from mpr files. It works like a charm, but I have a question about the meaning of some of the values in the metadata.As far as I understand it,
data.attrs.get('original_metadata')
consists of 3 parts: settings, params and log.Currently I am interested in the
params
and in all items with_vs
.From my mps files I know that under "vs." there are the 3 possibilities
Ref
,<None>
,Eoc
.However, when I read my mpr files with yadg, I get numbers in the _vs entries.
The most common numbers so far are 0, 2, 3, 4, 50, 110, 112, 123, 82838, 2147483648, 2516582400.
So far, the mapping from number to
Ref, <None>, Eoc
is not yet clear to me. For example, the 0 can sometimes meanRef
orNone
. Unfortunately, I have not yet been able to find a correct pattern. Is the mapping known or does anyone know where to look up the mapping from number toRef, <None>, Eoc
? Or are there any plans to integrate this mapping into yadg?PS: I hope it is ok to ask questions in this issues section. If there is some kind of forum or so I can also ask there.
The text was updated successfully, but these errors were encountered: