Troubleshooting

Pyharp should be properly guarded against most common input errors and most states are printable. However, there are issues that may arise from configuring radiation bands or from the underlying C++ code, which makes debugging more difficult.

Here are a collection of common issues and how to resolve them:

  1. bidir_reflectivity issue. If you encounter an issue that looks like this:

    bidir_reflectivity--surface BDRF model .... not known
      ******* ERROR >>>>>> Existing...
    

    This is an error emitted by the pydisort.Disort radiative transfer solver. It means that you forgot to turn on lamber flag in the YAML configuration file. To fix this, add the lamber flag to your band configuration:

    flags: lamber