mesh_maker needs to calculate correct mask (i.e. not 1 everywhere)

Open
#4,152 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@slevis-lmwg is already working on this.

Since Aug 6, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement usability
Brief summary of bug

I used mesh_maker to generate the ndep stream mesh for TRENDY2026, and we found that it didn't work because the mask was set to 1 everywhere.

@swensosc used his script to generate a mesh that worked. Sean's script calculates the correct mask using the fill values from the input file (e.g. ndep stream in this case).

Definition of DONE:

  • Bring Sean's mask algorithm or similar into the mesh_maker tool.
General bug information

CTSM version you are using: ctsm5.4...

Does this bug cause significantly incorrect results in the model's science? No, but mesh_maker has limited use.

Configurations affected: Making mesh files for streams.

Details of bug

Interim solutions:

  • Run Sean's script
  • Possibly run mesh_maker followed by mesh_mask_modifier...
Dominant language
Fortran
Stars
362
Forks
372
Avg merge
1d 11h
Merged PRs (30d)
9

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ESCOMP/CTSM

All issues in ESCOMP/CTSM

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.