Skip to content

mkscripgrid.ncl generates corners in CW rather than CCW order #938

@billsacks

Description

@billsacks

Brief summary of bug

It looks like https://github.com/ESCOMP/CTSM/blob/master/tools/mkmapgrids/mkscripgrid.ncl generates corners in clockwise rather than counter-clockwise order. According to ESMF documentation it is a requirement that corners be in counter-clockwise order.

General bug information

CTSM version you are using: master

Does this bug cause significantly incorrect results in the model's science? Probably not

Configurations affected: N/A

Details of bug

Both from examining the code and from running NCL's scrip_check_input on a generated grid, it appears that corners are in the wrong order. I'm not sure whether this actually causes problems with the generated mapping files.

Metadata

Metadata

Labels

bugsomething is working incorrectly

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions