calcey.functions_UI_to_BW

Module Contents

Classes

calcey

class calcey.functions_UI_to_BW.calcey[source]
ISO3_country_from_coordinates(Latitude: float, Longitude: float)[source]
country_fertilizer_proxy_location(Latitude: float, Longitude: float)[source]
country_from_coordinates(Latitude: float, Longitude: float)[source]
create_final_dataframe(yield_data, fert_data, water_data, pest_data, pest_total)[source]
crop_proxy_excelwithsheet(crop: str, sheet_name: str, level: int = 1)[source]

crop_mapping_file should be something like crop_mapping_file = pd.read_excel([path_file], sheet_name = [sheet_name], index_col = 0)

get_background_data_fert(Latitude: float, Longitude: float, crop: str)[source]

Latitude, Longitude, crop

get_background_data_pest(input_lat: float, input_lon: float, crop: str)[source]

test

get_background_data_water(input_lat: float, input_lon: float, crop: str)[source]
get_background_data_yield(input_lat: float, input_lon: float, crop: str)[source]
get_crop_mapping_file(sheet_name: str)[source]