Open mdpiper opened 3 years ago
When redimensionalizing a BMI array from a Fortran model with numpy.reshape, the order keyword is needed, as shown here in line 59:
order
https://github.com/mdpiper/pymt_heatf/blob/62b4973b98470db2dced1dde0be4a2e770eb6df0/examples/heatf_ex.py#L53-L59
This problem exists in both the BMI example (above) and the pymt example (line 55):
https://github.com/mdpiper/pymt_heatf/blob/62b4973b98470db2dced1dde0be4a2e770eb6df0/examples/pymt_heatf_ex.py#L50-L55
A user shouldn't have to know what language a wrapped model is written in.
When redimensionalizing a BMI array from a Fortran model with numpy.reshape, the
order
keyword is needed, as shown here in line 59:https://github.com/mdpiper/pymt_heatf/blob/62b4973b98470db2dced1dde0be4a2e770eb6df0/examples/heatf_ex.py#L53-L59
This problem exists in both the BMI example (above) and the pymt example (line 55):
https://github.com/mdpiper/pymt_heatf/blob/62b4973b98470db2dced1dde0be4a2e770eb6df0/examples/pymt_heatf_ex.py#L50-L55
A user shouldn't have to know what language a wrapped model is written in.