AttributeError:'tuple' object has no attribute 'rank' #262
-
Requirements
Affiliation(s)Universidad de Santiago de Chile ESMF Versionesmpy IssueHello The python lines are: As far as I can tell the mesh has been successfully created. The esmpy documentation says: I appreciate any suggestions. Thanks Fer Autotag |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My first guess is that your
You should get:
You might also want to compare your code and result with the example here: https://earthsystemmodeling.org/esmpy_doc/release/latest/html/examples.html#create-a-5-element-mesh |
Beta Was this translation helpful? Give feedback.
My first guess is that your
create_2D_sph_mesh
function is not actually returning an ESMPy mesh object but instead is returning a tuple. What do you get if you run this?:You should get:
You might also want to compare your code and result with the example here:
https://earthsystemmodeling.org/esmpy_doc/release/latest/html/examples.html#create-a-5-element-mesh