You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[optional] [default to 'hgv_refrigerated_all_diesel']
specification
str
[optional] [default to 'average']
detail
str
[optional] [default to 'average']
value
float
The value in the given unit
unit
str
Distance a specific weight traveled in the given unit. Example: 10 metric tons travel 50 kilometers. So the right value would be 500 and the unit would be metric tons.kilometers. Need a more specific unit? See the full list of supported units (Sections 5 and 6).
[optional] [default to 'metric tons.kilometers']
Example
fromklimapi_python.models.freighting_goods_hgv_refrigerated_all_diesel_weight_and_distanceimportFreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance# TODO update the JSON string belowjson="{}"# create an instance of FreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance from a JSON stringfreighting_goods_hgv_refrigerated_all_diesel_weight_and_distance_instance=FreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance.from_json(json)
# print the JSON string representation of the objectprint(FreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance.to_json())
# convert the object into a dictfreighting_goods_hgv_refrigerated_all_diesel_weight_and_distance_dict=freighting_goods_hgv_refrigerated_all_diesel_weight_and_distance_instance.to_dict()
# create an instance of FreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance from a dictfreighting_goods_hgv_refrigerated_all_diesel_weight_and_distance_from_dict=FreightingGoodsHgvRefrigeratedAllDieselWeightAndDistance.from_dict(freighting_goods_hgv_refrigerated_all_diesel_weight_and_distance_dict)