Closed darianboggs closed 1 month ago
Currently, the rank-3 pointer is in a separate public procedure pending feedback on the location.
I still need to fix the failing Exception test, and move the public interface for the fptr to FieldCondensedArray.F90 with the rank-3 return type.
Also, I am cleaning up comments and _HERE lines.
For the test that is failing with an expected exception, please post more details here. What error message do you actually get from the framework?
Here is the message for the failing exception test:
Failure in <
Test_FieldCondensedArray_private_suite.test_get_fptr_shape_wrong_order>
F end: <Test_FieldCondensedArray_private_suite.test_get_fptr_shape_wrong_order
>
Time: 0.034 seconds
Failure
in:
Test_FieldCondensedArray_private_suite.test_get_fptr_shape_wrong_order
Location:
[FieldCondensedArray_private.F90:37]
MAPL expects geom dims before ungridded.```
Types of change(s)
Checklist
make tests
)Description
We need a rank-agnostic way to interface with
ESMF_Field
instances. (See #3021 for more details.) The resulting array pointer will have rank-3 with dimensions(h, v, u)
.h
: horizontal dimensions collapsed to rank-1v
: vertical dimensionu
: ungridded dimensions collapsed to rank-1.Related Issue
3021