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

Update Observation_Levels.rst #607

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions docs/docs/best_practices/Observation_Levels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,19 @@ Observation Unit.
attached Observation Unit. This should include a ``levelCode`` for
every level above the current ``observationLevel``. This is where
things like Field number, Block, Rep, etc should be recorded for an
Observation Unit.
Observation Unit. If a level has an ``ObservationUnit`` associated
with it, include the ``observationUnitDbId``. This is intended to
construct a strict hierarchy of observationUnits. If there is no
``ObservationUnit`` associated with this level, the
``observationUnitDbId`` field can set to NULL or omitted from the
response.

Example: With the ``observationLevel`` above declaring this Observation
Unit to be a Plot, then the Field and Block numbers might be defined
like this.
like this. In this example, the Block level has an associated
``ObservationUnit`` so the ``observationUnitDbId`` is included, while
the Field level has no associated ``ObservationUnit``, so the
``observationUnitDbId`` is null for the Field level.


.. code-block:: json
Expand All @@ -157,12 +165,14 @@ like this.
{
"levelCode": "Field_01",
"levelName": "field",
"levelOrder": 1
"levelOrder": 1,
"observationUnitDbId": null
},
{
"levelCode": "Block_012",
"levelName": "block",
"levelOrder": 2
"levelOrder": 2,
"observationUnitDbId": "017f17d5-c420-4723-94ea-64d4379975b2"
}
]
}
}