support_scripts package

This is some script that didn’t fit in any other places, the scripts supports the other scripts

add_field module

add_layer_to_canvas module

create_guiding_file module

create_layer module

generate_reports module

multiedit module

populate_lists module

radio_box module

class geodatafarm.support_scripts.radio_box.RadioComboBox

Bases: PyQt5.QtWidgets.QComboBox

check_others(target_row)
handle_item_pressed(index)

rain_dancer module

class geodatafarm.support_scripts.rain_dancer.MyRainDancer(client='000001', username='Demo', password='Demo')

Bases: object

Creates a Raindancer object with auth

Parameters
  • client (str) –

  • username (str) –

  • password (str) –

get_operation_data()

Collects data from crops returns a list of list with guid and names for the crops

Returns

  • dict

  • or str = Failed

RG module

geodatafarm.support_scripts.RG.rg(percent)

A colour map with 100 colours, from green(0) to yellow to red(1)

Parameters

percent (float) – Anywhere between 0 and 1

Returns

The RGB code corresponding to the percentage, 0=red, 0.5 yellow and 1=green

Return type

list

fix_rows module