snowpit.Snowpit

Snowpit

class snowpit.Snowpit(layers=[], weather=[], tests=[], observations=[], datetime=None, time=None, date=None, point=None, latitude=None, longitude=None)[source]

Bases: object

Snowpit object

add_layer(layer)[source]

Adds a layer to the snowpit’s existing layers

get_date_str()[source]

Returns a legible date for the snowpit

get_datetime()[source]

Returns a datetime object for the Snowpit

get_datetime_str()[source]

Returns a formatted datetime string

get_geojson()[source]

Returns geojson/python geo interface for Snowpit

get_lat_str()[source]

Returns latitude

get_layers()[source]

Returns a list of snowpit layers

get_lon_str()[source]

Returns longitude

get_time_str()[source]

Returns a string for time of snowpit

set_datetime(datetimestring)[source]

Set time from a string that arrow can understand