Skip to content

Possible bug in patchy cloud implementation for reflected light #408

@Nicholaswogan

Description

@Nicholaswogan

When do_holes == True, then get_reflected_1d is called with input optical properties representing a clear-sky atmosphere. Possible issue is that this call takes in the CLOUDY variants of GCOS2, ftau_cld, and ftau_ray.

This may have been intentional, but maybe not. I don't understand these terms enough to know for sure.

To test if it was a bug I did the following experiment:

  • Computed a reflected light spectrum where I never called inputs.clouds.
  • Computed a reflected light spectrum where I called inputs.clouds, but with do_holes=True, fhole=1.0 and fthin_cld=0.0

These two calculations do not produce the same result (even though intuition says they should), suggesting it is possibly a bug.

GCOS2[:,:,ig],ftau_cld[:,:,ig],ftau_ray[:,:,ig],

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions