import_data package

handle_irrigation module

class geodatafarm.import_data.handle_irrigation.IrrigationHandler(parent_widget)

Bases: object

A widget that enables the possibility to insert data from a text file into a shapefile

create_grid_year()

Creates a 2x2 grid over all fields

get_grid_data()

Function that loops though all irrigation operations during the selected year. It adds the precipitation amount to each 2x2 cell that the operation “covers”.

run()

handle_text_data module

handle_input_shp_data module

handle_raster module

save_fertilizing_data module

save_harrowing_data module

class geodatafarm.import_data.save_harrowing_data.SaveHarrowing(parent)

Bases: object

A class for storing harrowing data

Parameters

parent (GeoDataFarm) –

check_input()

Some simple checks that ensure that the basic data is filled in.

Returns

Return type

bool

reset_widget()

Resets the widget to the default values

save_manual_data()

Saves the manual data.

set_widget_connections()

A simple function that sets the buttons on the harrowing tab

save_harvest_data module

save_other_data module

class geodatafarm.import_data.save_other_data.SaveOther(parent)

Bases: object

A class for storing other data

Parameters

parent (GeoDataFarm) –

check_input()

Some simple checks that ensure that the basic data is filled in.

Returns

Return type

bool

reset_widget()

Resets the widget to the default values

save_manual_data()

Saves manual data.

set_widget_connections()

A simple function that sets the buttons on the planting tab

save_planting_data module

save_plowing_data module

class geodatafarm.import_data.save_plowing_data.SavePlowing(parent)

Bases: object

A class for storing plowing data

Parameters

parent (GeoDataFarm) –

check_input()

Some simple checks that ensure that the basic data is filled in.

Returns

Return type

bool

reset_widget()

Resets the widget to the default values

save_manual_data()

Saves manual data.

set_widget_connections()

A simple function that sets the buttons on the plowing tab

save_soil_data module

save_spraying_data module