-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more get_fields to ClimaAtmosSimulation
Add diffuse_fraction, SW_d, LW_d, and cos of the zenith_angle to get_field on AtmosModelSimulation in Interfacer.jl. Add get_field methods for the above values in ClimaAtmosSimulation Remove safe_div and use anonymous func Only calculate on first level for diffuse_frac Add update_field for emissivity in AtmosModelSim Add emissivity to update_field in the Interfacer, and add a method definition for it in climaatmos.jl All 16 bands are set to the same values. Clamp diffuse_fraction to [0,1] Remove :co2 from atmos update_field :co2 is removed from the default AtmosModelSimulation update_field. The method definition is also removed for ClimaAtmosSimulation. Add atmos get_field for :co2 Add a default get_field for :co2 with AtmosModelSimulation, and a method definition for ClimaAtmosSimulation. Note that this returns a scalar. Add new fields to interfacer_tests Revert to returning zero when dividing by zero In get_field(::ClimaAtmosSimulation, ::Val{:diffuse_fraction}
- Loading branch information
1 parent
969653e
commit df5d7b6
Showing
4 changed files
with
50 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters