soilstats
Documentation about soilstats.
Subpackages
Submodules
Package Contents
Classes
Class for collecting soil data for multiple locations within a grid. |
|
Class for collecting and analyzing soil data. |
Attributes
- class soilstats.SoilCollect(properties, depths, values, lat_bounds, lon_bounds, n=50)[source]
Bases:
soilstats.analysis.analysis.AnalyseClass for collecting soil data for multiple locations within a grid.
- property locations
Return locations.
- property soildatapoints
Return SoilData objects.
- class soilstats.SoilData(lat: float, lon: float, properties: list, depths: list, values: list)[source]
Bases:
soilstats.analysis.analysis.AnalyseClass for collecting and analyzing soil data.
- _property_key = 'properties'
- _layer_key = 'layers'
- _record_path = ['depths']
- _meta = ['name', ['unit_measure', 'mapped_units']]
- _boundaries
- _clean_columns
- _first_columns = ['lat', 'lon', 'property']
- _get_data()[source]
Get data from the SoilGrids API.
Use the properties to call the SoilGrids API. Generate a data frame fom the API response.