calcey.GUI_test

Module Contents

Classes

calcey

class calcey.GUI_test.calcey[source]
ISO3_country_from_coordinates(Latitude: float, Longitude: float)[source]
brightway_checkin()[source]
calculate_LCA_results()[source]
calculate_pest_emissions(pest_name, amount)[source]
code_node_ei(input_name, mapping_flows_uuid)[source]
country_fertilizer_proxy_location(Latitude: float, Longitude: float)[source]
country_from_coordinates(Latitude: float, Longitude: float)[source]
create_edge(amount, name)[source]
create_final_dataframe(yield_data, fert_data, water_data, pest_data, pest_total)[source]
create_main_process(name_database, Latitude, Longitude, crop)[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)

dataframe_exchanges(latitude, longitude, crop, yield_=None, n_fert_input=None, p2o5_fert_input=None, k2o_fert_input=None)[source]
generate_edges_to_product()[source]
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_background_data_yield(input_lat: float, input_lon: float, crop: str)[source]
get_crop_mapping_file(sheet_name: str)[source]
print_result()[source]
run()[source]
type_flow_node_ei(input_name, mapping_flows_uuid)[source]