create_stand_parameters(
file_path="./sample_data/stand_example.csv",
lai_max=None,
latitude=None,
longitude=None,
sep=";",
)defaultdict(list, {'lai_max': 4.5, 'latitude': 48.73, 'longitude': 6.23})
create_stand_parameters (file_path:pathlib.Path=None, lai_max:float=None, latitude:float=None, longitude:float=None, sep:str=';')
Create a dictionary with stand parameters that can be used as in input in
| Type | Default | Details | |
|---|---|---|---|
| file_path | Path | None | Path to a csv file containing lai_max, latitude and longitude values i.e path/to/parameter_values.csv |
| lai_max | float | None | Value indicating the maximum leaf area index of the stand (m2/m2) |
| latitude | float | None | Value indicating the latitude of the stand |
| longitude | float | None | Value indicating the longitude of the stand |
| sep | str | ; | CSV file separator can be ‘,’ or ‘;’ |
| Returns | typing.Dict | Dictionary containing parameters |
StandFile (*args, **kwargs)
Schema for validating the input stand parameter data. The CSV must contain columns with the plot_id, lai_max, latitude, and longitude