Title: elementArea field in mesh files has wrong units · Issue #40 · ACCESS-NRI/om3-scripts · GitHub
Open Graph Title: elementArea field in mesh files has wrong units · Issue #40 · ACCESS-NRI/om3-scripts
X Title: elementArea field in mesh files has wrong units · Issue #40 · ACCESS-NRI/om3-scripts
Description: It looks like we should be using units of radians^2 for elementArea for in ESMF unstructed mesh files. e.g. double elementArea(elementCount) ; elementArea:units = "radians^2" ; elementArea:long_name = "area weights" ; See: https://earths...
Open Graph Description: It looks like we should be using units of radians^2 for elementArea for in ESMF unstructed mesh files. e.g. double elementArea(elementCount) ; elementArea:units = "radians^2" ; elementArea:long_nam...
X Description: It looks like we should be using units of radians^2 for elementArea for in ESMF unstructed mesh files. e.g. double elementArea(elementCount) ; elementArea:units = "radians^2" ; elementAre...
Opengraph URL: https://github.com/ACCESS-NRI/om3-scripts/issues/40
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"elementArea field in mesh files has wrong units","articleBody":"It looks like we should be using units of radians^2 for _elementArea_ for in ESMF unstructed mesh files.\r\n\r\ne.g.\r\n```\r\n double elementArea(elementCount) ;\r\n elementArea:units = \"radians^2\" ;\r\n elementArea:long_name = \"area weights\" ;\r\n```\r\n\r\nSee:\r\n\r\nhttps://earthsystemmodeling.org/docs/release/ESMF_8_0_1/ESMF_refdoc/node3.html#SECTION03028200000000000000\r\n\r\nSaying that, we are not currently using this field. e.g. \r\n\r\nhttps://github.com/CICE-Consortium/CICE/blob/3ebdef778bded4b10d628a179ea746d091e21150/cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90#L732-L733\r\n\r\nwould need [another argument](https://github.com/esmf-org/esmf/blob/bd7a15d782b6f2ba044f197a49b87278224feaf5/src/Infrastructure/Mesh/interface/ESMF_Mesh.F90#L1860C58-L1860C69) ( `addUserArea = .true.` ) to actually load this. (See https://github.com/COSIMA/access-om3/issues/240)\r\n\r\n\r\nIt also looks like the cells at the north poles on the grid, should be using numElementConn = 3 , not 4. \r\n\r\ni.e.\r\n\r\n_elementConn can be either a 2D array or a 1D array. If it is a 2D array, the second dimension of the elementConn variable has to be the size of the largest number of nodes in any element (i.e. maxNodePElement), the actual number of nodes in an element is given by the numElementConn variable._\r\n\r\n\u003cimg width=\"1555\" alt=\"Screenshot 2024-11-01 at 10 48 54 AM\" src=\"https://github.com/user-attachments/assets/e3a35b93-c492-4151-9387-b3b77c32626e\"\u003e\r\n\r\nPresumable the last element in the _elementConn_ field is set the the `_FillValue` when there are only three corners to an element\r\n\r\n```\r\n int elementConn(elementCount, maxNodePElement) ;\r\n elementConn:long_name = \"Node Indices that define the element /\r\n connectivity\";\r\n elementConn:_FillValue = -1 ;\r\n elementConn:start_index = 1 ;\r\n```","author":{"url":"https://github.com/anton-seaice","@type":"Person","name":"anton-seaice"},"datePublished":"2024-11-01T02:09:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/40/om3-scripts/issues/40"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d2078be-2bb4-2519-d598-2c7b48d67c3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CAB0:8F4AB:56B839:7BA5EF:6A4BCB9E |
| html-safe-nonce | 53f7995941c30341f453a7dee0fe8452163c816740aac5e67f4133960f993f63 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQUIwOjhGNEFCOjU2QjgzOTo3QkE1RUY6NkE0QkNCOUUiLCJ2aXNpdG9yX2lkIjoiMTk0NjMzODIxNTIwODkzMDIwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 32e6f2839e7feff38cc30465ab4f0e8dc29d5ca59cbb172147f6fbc6a62bfbb4 |
| hovercard-subject-tag | issue:2628155420 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ACCESS-NRI/om3-scripts/40/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3bb5c69b43b67321bbf0944dca7ea291c35704db813dfec6b8725b34f13191c/ACCESS-NRI/om3-scripts/issues/40 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3bb5c69b43b67321bbf0944dca7ea291c35704db813dfec6b8725b34f13191c/ACCESS-NRI/om3-scripts/issues/40 |
| og:image:alt | It looks like we should be using units of radians^2 for elementArea for in ESMF unstructed mesh files. e.g. double elementArea(elementCount) ; elementArea:units = "radians^2" ; elementArea:long_nam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anton-seaice |
| hostname | github.com |
| expected-hostname | github.com |
| None | 14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7 |
| turbo-cache-control | no-preview |
| go-import | github.com/ACCESS-NRI/om3-scripts git https://github.com/ACCESS-NRI/om3-scripts.git |
| octolytics-dimension-user_id | 105186864 |
| octolytics-dimension-user_login | ACCESS-NRI |
| octolytics-dimension-repository_id | 747465275 |
| octolytics-dimension-repository_nwo | ACCESS-NRI/om3-scripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 747465275 |
| octolytics-dimension-repository_network_root_nwo | ACCESS-NRI/om3-scripts |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 58b8f89190447502561829f30862aa0a99d53367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width