Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDMAmz_amazon grid fails in reading in mesh file #382

Open
ekluzek opened this issue May 17, 2023 · 3 comments
Open

HDMAmz_amazon grid fails in reading in mesh file #382

ekluzek opened this issue May 17, 2023 · 3 comments
Labels
bug cesm-coupling For cesm coupling low priority no immediate attention needed

Comments

@ekluzek
Copy link
Collaborator

ekluzek commented May 17, 2023

the HDMAmz_amazon grid is failing in reading the mesh file:rof/mizuRoute/meshes/HDMAmz_5x5_amazon_ctrcrd_cdf5_ESMFmesh_c20200731.nc

This is with using mapping files:

LND2ROF_FMAPNAME: /glade/p/cesmdata/cseg/inputdata/rof/mizuRoute/gridmaps/map_5x5_amazon_TO_HDMAmz_5x5_amazon_aave.201028.nc
ROF2LND_FMAPNAME: /glade/p/cesmdata/cseg/inputdata/rof/mizuRoute/gridmaps/map_HDMAmz_5x5_amazon_TO_5x5_amazon_aave.201028.nc

PET file gives:

20230517 124819.229 ERROR            PET71 /glade/p/cesmdata/cseg/PROGS/build/42450/esmf-8.4.0/src/Infrastructure/Mesh/src/ESMCI_Mesh_Glue.C:687 triangulate_warea() Arguments are incompatible  -  - there was a problem (e.g. repeated points, clockwise poly, etc.) with the triangulation of the element with id=4288
20230517 124819.230 ERROR            PET71 /glade/p/cesmdata/cseg/PROGS/build/42450/esmf-8.4.0/src/Infrastructure/Mesh/src/ESMCI_Mesh_Glue.C:1587 ESMCI_meshaddelements() Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 /glade/p/cesmdata/cseg/PROGS/build/42450/esmf-8.4.0/src/Infrastructure/Mesh/src/ESMCI_Mesh_FileIO.C:634 ESMCI_mesh_create_from_ESMFMesh_ Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 /glade/p/cesmdata/cseg/PROGS/build/42450/esmf-8.4.0/src/Infrastructure/Mesh/src/ESMCI_Mesh_FileIO.C:670 ESMCI_mesh_create_from_ESMFMesh_ Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 /glade/p/cesmdata/cseg/PROGS/build/42450/esmf-8.4.0/src/Infrastructure/Mesh/src/ESMCI_Mesh_FileIO.C:284 ESMCI_mesh_create_from_file() Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 ESMCI_MeshCap.C:2594 MeshCap::meshcreatefromfilenew() Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 ESMF_Mesh.F90:1969 ESMF_MeshCreateFromFile() Arguments are incompatible  - Internal subroutine call returned Error
20230517 124819.230 ERROR            PET71 rof_comp_nuopc.F90:590 Arguments are incompatible  - Passing error in return code
20230517 124819.230 ERROR            PET71 ESM0001:src/addon/NUOPC/src/NUOPC_Driver.F90:2725 Arguments are incompatible  - Phase 'IPDv01p3' Initialize for modelComp 4: ROF did not return ESMF_SUCCESS
20230517 124819.230 ERROR            PET71 ESM0001:src/addon/NUOPC/src/NUOPC_Driver.F90:1891 Arguments are incompatible  - Passing error in return code
20230517 124819.230 ERROR            PET71 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:2725 Arguments are incompatible  - Phase 'IPDv02p3' Initialize for modelComp 1: ESM0001 did not return ESMF_SUCCESS
20230517 124819.230 ERROR            PET71 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:1895 Arguments are incompatible  - Passing error in return code
20230517 124819.230 ERROR            PET71 ensemble:src/addon/NUOPC/src/NUOPC_Driver.F90:481 Arguments are incompatible  - Passing error in return code
20230517 124819.230 ERROR            PET71 esmApp.F90:134 Arguments are incompatible  - Passing error in return code
20230517 124819.230 INFO             PET71 Finalizing ESMF
@ekluzek ekluzek added the bug label May 17, 2023
@ekluzek
Copy link
Collaborator Author

ekluzek commented May 17, 2023

Maybe we need a polygon-centroid mesh file to read in? Is this grid important enough to keep?

@nmizukami
Copy link
Collaborator

If i remember, amazon HDMA used to use this unstructured mesh and do online remapping? so not using mapping files? Error seems to indicate some topology error in the mesh.

Also if I remember, this online mapping used to work, but not any more? if so, with some ESMF update (if any), it get pickier?

I guess a polygon centroid mesh with the mapping files could work.

ekluzek added a commit to ekluzek/mizuRoute that referenced this issue May 17, 2023
@ekluzek
Copy link
Collaborator Author

ekluzek commented Aug 7, 2024

This failed in the latest baseline:

/glade/campaign/cgd/tss/ctsm_baselines//mizu_c-cpl.n02_v2.1.1_ctsm5.1.dev159/SMS_D.5x5_amazon_rHDMA.I2000Clm50SpMizGs.derecho_intel.mizuroute-default

@nmizukami nmizukami added the low priority no immediate attention needed label Aug 7, 2024
@ekluzek ekluzek added the cesm-coupling For cesm coupling label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cesm-coupling For cesm coupling low priority no immediate attention needed
Projects
None yet
Development

No branches or pull requests

2 participants