diff --git a/docs/source/index.rst b/docs/source/index.rst index 3e50d0c..a7ca0fa 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -154,6 +154,7 @@ Parameter settings * soc: Soil organic carbon content * ocs: Soil organic carbon stock * ocd: Organic carbon densities + * wrb: World Reference Base (WRB) classes and probabilities * **coverage_id**: The identifier of a coverage(map) from a map service. Each map service supports multiple coverages. To get a list of the coverage id from a map service, use "get_coverage_list()" method. diff --git a/soilgrids/soilgrids.py b/soilgrids/soilgrids.py index 1bb9e9c..fde1c58 100755 --- a/soilgrids/soilgrids.py +++ b/soilgrids/soilgrids.py @@ -74,6 +74,12 @@ class SoilGrids: 'units': 'hg/dm3' }, + 'wrb': { + 'name': 'World Reference Base (WRB) classes and probabilities', + 'link': 'https://maps.isric.org/mapserv?map=/map/wrb.map', + 'units': 'none' + }, + } # service info at http://maps.isric.org/ https://www.isric.org/explore/soilgrids/faq-soilgrids def __init__(self): @@ -92,8 +98,8 @@ def metadata(self): def map_services(self): string_list = [] for key, value in SoilGrids.MAP_SERVICES.items(): - string_list.append('service id: {} \nvariable name: {} \nservice link: {}\n'. - format(key, value['name'], value['link'])) + string_list.append('service id: {} \nvariable name: {} \nvariable units: {}\nservice link: {}\n'. + format(key, value['name'], value['units'], value['link'])) print('\n'.join(string_list)) return None