GEOS-ESM / GEOS-ESM/GOCART

Unnecessary error messages issued when 470nm or 870nm channels are missing in GOCART resource file.

Open
#247 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Fortran
Stars
29
Forks
22
Avg merge
1d 16h
Merged PRs (30d)
4

Description

Error messages are printed to standard output if either the 470nm or the 870nm channel (or both) are missing in GOCART2G_GridComp.rc:

wavelength of   4.7000000E-07  is an invalid value.
wavelength of   8.7000001E-07  is an invalid value.

The errors are not warranted since these wavelength channels are used to compute optional diagnostics (Angstrom exponent).

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the code that reads GOCART2G_GridComp.rc and validates the 470nm and 870nm wavelengths. Confirm the behavior when either optional channel is absent; done means those cases no longer print invalid-value errors while the optional diagnostics remain handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
fortran
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.