-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
One of the lower-level API functions is using a as_double_ptr_array presumably supposed to be in cinterop, but is not yet implemented.
I cannot remember whether GetEnsembleForecastEnsembleRecorded is supposed to be in the python codegen or not, too, so may be a case of unwanted codegen-ed bits.
def GetEnsembleForecastEnsembleRecorded_py(efSimulation:'EnsembleForecastSimulation', variableIdentifier:str, leadTimeIndex:int, values:np.ndarray) -> None:
"""GetEnsembleForecastEnsembleRecorded_py
GetEnsembleForecastEnsembleRecorded_py: generated wrapper function for API function GetEnsembleForecastEnsembleRecorded
Args:
efSimulation ('EnsembleForecastSimulation'): efSimulation
variableIdentifier (str): variableIdentifier
leadTimeIndex (int): leadTimeIndex
values (np.ndarray): values
"""
efSimulation_xptr = wrap_as_pointer_handle(efSimulation)
variableIdentifier_c_charp = wrap_as_pointer_handle(as_bytes(variableIdentifier))
values_doublepp = wrap_as_pointer_handle(as_double_ptr_array(values))
_GetEnsembleForecastEnsembleRecorded_native(efSimulation_xptr.ptr, variableIdentifier_c_charp.ptr, leadTimeIndex, values_doublepp.ptr)
# no cleanup for const char*
# delete[] values_doubleppMetadata
Metadata
Assignees
Labels
No labels