-
Notifications
You must be signed in to change notification settings - Fork 24
deprecate tot_nitro slot #751
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -14360,29 +14360,6 @@ slots: | |||||||||
| syntax: ^{scientific_float}( *- *{scientific_float})? *{text}$ | ||||||||||
| interpolated: true | ||||||||||
| partial_match: true | ||||||||||
| tot_nitro: | ||||||||||
| annotations: | ||||||||||
| Preferred_unit: | ||||||||||
| tag: Preferred_unit | ||||||||||
| value: microgram per liter, micromole per liter, milligram per liter | ||||||||||
| description: 'Total nitrogen concentration of water samples, calculated by: total | ||||||||||
| nitrogen = total dissolved nitrogen + particulate nitrogen. Can also be measured | ||||||||||
| without filtering, reported as nitrogen' | ||||||||||
| title: total nitrogen concentration | ||||||||||
| examples: | ||||||||||
| - value: 50 micromole per liter | ||||||||||
| keywords: | ||||||||||
| - concentration | ||||||||||
| - nitrogen | ||||||||||
| - total | ||||||||||
| slot_uri: MIXS:0000102 | ||||||||||
| range: string | ||||||||||
| pattern: ^[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?( *- *[-+]?[0-9]*\.?[0-9]+(?:[eE][-+]?[0-9]+)?)? | ||||||||||
| *([^\s-]{1,2}|[^\s-]+.+[^\s-]+)$ | ||||||||||
| structured_pattern: | ||||||||||
| syntax: ^{scientific_float}( *- *{scientific_float})? *{text}$ | ||||||||||
| interpolated: true | ||||||||||
| partial_match: true | ||||||||||
| tot_nitro_cont_meth: | ||||||||||
| description: Reference or method used in determining the total nitrogen | ||||||||||
| title: total nitrogen content method | ||||||||||
|
|
@@ -19124,7 +19101,8 @@ classes: | |||||||||
| - nitrate | ||||||||||
| - nitrite | ||||||||||
| - ammonium | ||||||||||
| - tot_nitro | ||||||||||
| - tot_nitro_content | ||||||||||
| - tot_nitro_cont_meth | ||||||||||
| - diss_iron | ||||||||||
| - sodium | ||||||||||
| - chloride | ||||||||||
|
|
@@ -19252,7 +19230,8 @@ classes: | |||||||||
| - nitrate | ||||||||||
| - nitrite | ||||||||||
| - ammonium | ||||||||||
| - tot_nitro | ||||||||||
| - tot_nitro_content | ||||||||||
|
||||||||||
| - tot_nitro_content | |
| - tot_nitro |
Copilot
AI
Mar 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR description lists updates for HydrocarbonResources* / Water / WastewaterSludge, but this diff also adds tot_nitro_cont_meth to the MicrobialMatBiofilm extension. Please either update the PR description/scope to include this extension or revert this additional change if it’s unintended.
Copilot
AI
Mar 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tot_nitro (removed) was a concentration term for water samples, while tot_nitro_content is defined as a sample “content” term. Replacing it in WastewaterSludge likely changes semantics/expected units; consider keeping a concentration-oriented slot (or adding a new generalized one) instead of mapping to the “content” slot.
| - tot_nitro_content | |
| - tot_nitro_cont_meth | |
| - tot_nitro | |
| - tot_nitro_meth |
Copilot
AI
Mar 11, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the Water extension, replacing tot_nitro (concentration) with tot_nitro_content (content) changes the meaning of the field and likely the expected units. If the intent is to make total nitrogen applicable beyond water, consider generalizing the existing concentration slot (MIXS:0000102) and deprecating/aliasing names, rather than switching to a different “content” slot.
| - tot_nitro_content | |
| - tot_nitro |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tot_nitro_contentis defined as “Total nitrogen content of the sample” (mass per mass examples), whereas the removedtot_nitroterm was explicitly a concentration term (mass per volume) with water-oriented preferred units. Swappingtot_nitro→tot_nitro_contentin this extension changes the semantics/expected units; consider instead generalizingtot_nitro’s description (removing the water-specific wording) or introducing a new generalized concentration term rather than reusing a “content” slot.