ClimaLand.jl icon indicating copy to clipboard operation
ClimaLand.jl copied to clipboard

`PrescribedAtmosphere` allows `Nothing` entries

Open Sbozzolo opened this issue 1 year ago • 0 comments

Currently, PrescribedAtmosphere optionally take nothing as an entry. This is almost never used. It is used in setting up tests https://github.com/CliMA/ClimaLSM.jl/blob/058a66b39652cf72477fbcd174c5fbb4066d8703/test/shared_utilities/drivers.jl#L8-L17, and here https://github.com/CliMA/ClimaLSM.jl/blob/058a66b39652cf72477fbcd174c5fbb4066d8703/src/shared_utilities/drivers.jl#L662

We should have something more robust and handle these cases without requiring PrescribedAtmosphere to accept Nothing.

Sbozzolo avatar Jan 23 '24 00:01 Sbozzolo