soilstats.soilcollect

Module Contents

Classes

SoilCollect

Class for collecting soil data for multiple locations within a grid.

class soilstats.soilcollect.SoilCollect(properties, depths, values, lat_bounds, lon_bounds, n=50)[source]

Bases: soilstats.analysis.analysis.Analyse

Class for collecting soil data for multiple locations within a grid.

property locations[source]

Return locations.

property soildatapoints[source]

Return SoilData objects.

get_data()[source]

Return data from the SoilGrids API as a data frame.

add_points(n)[source]

Add more datapoints to the existing SoilCollect object.

_init_soildata(points=None)[source]

Initialize SoilData objects for each location.

classmethod _random_points(lat_bounds, lon_bounds, n)[source]

Generate random locations within the specified boundaries.

classmethod _verify_bounds(bounds, datatype)[source]