Skip to content

What does this Id value in the Modus v1 JSON output represent? #5

@jbielski

Description

@jbielski

Hi, I tried converting the a csv file from a Grower to modus json v1 using the web app's drag and drop functionality. I got back a result that had some ids in it that I don't understand.

For a row that looks like this in the csv file:

Date, Longitude, Latitude, Sample ID, Lab Number, OM [%]
3/31/21, -98.217732, 41.957938, 21567, 0.8

I got back this in the Modus v1 JSON:

"samples": {
"": {
"results": {
"-453dfa18bbb16cd0a1bb8249f3ce8aca": {
"analyte": "OM",
"units": "%",
"value": 0.8
},

What is "-453dfa18bbb16cd0a1bb8249f3ce8aca"? How was it derived? What could I add to the csv to make it look more like it does in equivalent XML:
<Depths> <Depth DepthID="1"> <NutrientResults> <NutrientResult> <Element>OM</Element> <Value>0.8</Value> <ValueDesc>VL</ValueDesc> <ModusTestID>S-SOM-LOI.15</ModusTestID> <ValueType>Measured</ValueType> <ValueUnit>%</ValueUnit> </NutrientResult>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions