ncss-tech / SoilTaxonomy

A System of Soil Classification for Making and Interpreting Soil Surveys
https://ncss-tech.github.io/SoilTaxonomy/
GNU General Public License v3.0
14 stars 2 forks source link

Fixes for Great Groups of Histels v.s. Suborders of Histosols #26

Closed brownag closed 3 years ago

brownag commented 3 years ago

These calls have run without error since the expansion of explainST to be less picky about non-subgroup input... but the result would often match the "wrong" explanation/formative element where *ist* is used as a suborder formative element.

Now these Great Groups of Histels and Suborders of Histosols work as expected.

library(SoilTaxonomy)

cat(explainST("saprists"))
#> saprists
#> |   |                                                                                               
#> most decomposed stage of organic matter                                                             
#>     |                                                                                               
#>     soils with more than 30% organic matter content to a depth of 40cm or more
cat(explainST("sapristels"))
#> sapristels
#> |   |  |                                                                                            
#> most decomposed stage                                                                               
#>     |  |                                                                                            
#>     presence of organic soil materials                                                              
#>        |                                                                                            
#>        soils with permafrost or gelic material within 100cm

cat(explainST("hemists"))
#> hemists
#> |  |                                                                                                
#> intermediate state of decomposition                                                                 
#>    |                                                                                                
#>    soils with more than 30% organic matter content to a depth of 40cm or more
cat(explainST("hemistels"))
#> hemistels
#> |  |  |                                                                                             
#> intermediate decomposition                                                                          
#>    |  |                                                                                             
#>    presence of organic soil materials                                                               
#>       |                                                                                             
#>       soils with permafrost or gelic material within 100cm

cat(explainST("fibrists"))
#> fibrists
#> |   |                                                                                               
#> least decomposed stage of organic material                                                          
#>     |                                                                                               
#>     soils with more than 30% organic matter content to a depth of 40cm or more
cat(explainST("fibristels"))
#> fibristels
#> |   |  |                                                                                            
#> least decomposed stage                                                                              
#>     |  |                                                                                            
#>     presence of organic soil materials                                                              
#>        |                                                                                            
#>        soils with permafrost or gelic material within 100cm

cat(explainST("folists"))
#> folists
#> |  |                                                                                                
#> mass of leaves                                                                                      
#>    |                                                                                                
#>    soils with more than 30% organic matter content to a depth of 40cm or more
cat(explainST("folistels"))
#> folistels
#> |  |  |                                                                                             
#> mass of leaves                                                                                      
#>    |  |                                                                                             
#>    presence of organic soil materials                                                               
#>       |                                                                                             
#>       soils with permafrost or gelic material within 100cm