Skip to content

Commit

Permalink
Remove not always required fields default get_field
Browse files Browse the repository at this point in the history
remove from interfacer tests
  • Loading branch information
imreddyTeja committed Mar 5, 2025
1 parent 97044ba commit c8329ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
8 changes: 0 additions & 8 deletions src/Interfacer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,12 @@ an atmosphere component model.
get_field(
sim::AtmosModelSimulation,
val::Union{
Val{:air_pressure},
Val{:air_temperature},
Val{:cos_zenith},
Val{:co2},
Val{:diffuse_fraction},
Val{:height_int},
Val{:height_sfc},
Val{:specific_humidity},
Val{:liquid_precipitation},
Val{:LW_d},
Val{:radiative_energy_flux_sfc},
Val{:radiative_energy_flux_toa},
Val{:snow_precipitation},
Val{:SW_d},
Val{:turblent_energy_flux},
Val{:turbulent_moisture_flux},
Val{:thermo_state_int},
Expand Down
8 changes: 0 additions & 8 deletions test/interfacer_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -155,20 +155,12 @@ end

# Test that get_field gives correct warnings for unextended fields
for value in (
:air_pressure,
:air_temperature,
:cos_zenith,
:co2,
:diffuse_fraction,
:height_int,
:height_sfc,
:specific_humidity,
:liquid_precipitation,
:LW_d,
:radiative_energy_flux_sfc,
:radiative_energy_flux_toa,
:snow_precipitation,
:SW_d,
:turbulent_energy_flux,
:turbulent_moisture_flux,
:thermo_state_int,
Expand Down

0 comments on commit c8329ff

Please sign in to comment.