カスタム関数のカタログ
これらの関数は複雑なPythonコードをカプセル化しており、高度なデータ操作や計算を容易に実装できます。
方程式を入力

fill_gaps_with_k_neighbors
determine_data_similarity
layer_1_norm = geopard.normalize_data(layer_1)
zones = geopard.determine_low_high_similarity(soil_ph, yield_layer)
zone_3_values = geopard.get_value_for_zone(yield_layer, zone_map, zone_id=3)
clean_layer = geopard.drop_value(elevation_layer, value_to_drop=0)
normalize_data
applications = [urea_rate, map_rate]
applications = [urea_rate, uan_rate]
yield_wet_tha=yield_layer,
NUE_pct = geopard.calculate_nitrogen_use_efficiency(N_total_applied, N_uptake)
prices = [1.2, 0.8] # 各レートレイヤーの単位当たり価格
revenue = geopard.calculate_revenue(yield_as_mass=yield_layer, yield_price_per_unit=0.25)
profit = geopard.calculate_profit(revenue, costs)
# 10から20の間の値のみを保持し、残りを0に置き換える
calculate_per_pixel_mae
calculate_per_pixel_relative_deviation
difference = geopard.calculate_difference(yield_2024, yield_2023)
relative_diff = geopard.calculate_relative_difference(yield_2024, yield_2023)
この関数は、両方のデータセットをグローバル最大値でスケーリングして各ピクセルの正規化差を計算します。この処理により、元々レンジが異なる場合でもデータセットを直接比較可能にします。
intervals = [
target_nutrient_option1 = 50 # 定数値
corrected_coefficient = 1.5 # 定数係数
sand_pct_layer,
出力はFAO/WRBのクラスコード(例:
土壌のバルク密度(g/cm³)を計算します。
最終更新
役に立ちましたか?