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

Offset not returned by Dendra-wof #56

Open
martinseul opened this issue Apr 18, 2023 · 2 comments
Open

Offset not returned by Dendra-wof #56

martinseul opened this issue Apr 18, 2023 · 2 comments

Comments

@martinseul
Copy link

martinseul commented Apr 18, 2023

Offsetvalue and OffsetTypeCode are not returned:

image

I tested this with Justin's compare tool at https://wof-test.netlify.app/, left column hydroportal - right column dendra-wof for site: ccbepdap:12964 variable: ccbepdap:82553

offset tag not returned"
image

@cbode
Copy link
Member

cbode commented May 4, 2023

The offsetTypeCode does not exist in the ODM extract. So in this case it is the offsetTypeID that is being returned.
The offsetValue is part of the Annotation set as an attribute. Example,

"attrib": {
        "depth": {
          "value": 0.3,
          "unit_tag": "dt_Unit_Meter"
        }
  }

Where the term "depth" can be any single word.

@martinseul
Copy link
Author

right I did not notice until you mentioned it there is no field in ODM , so we can safely ignore it and return the offsetid in the value tag and the offset itself in the offset tag

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

2 participants