From c8329ff965bf092b8907f2c69c56dafe1d0f3666 Mon Sep 17 00:00:00 2001 From: imreddyTeja Date: Wed, 5 Mar 2025 08:41:12 -0800 Subject: [PATCH] Remove not always required fields default get_field remove from interfacer tests --- src/Interfacer.jl | 8 -------- test/interfacer_tests.jl | 8 -------- 2 files changed, 16 deletions(-) diff --git a/src/Interfacer.jl b/src/Interfacer.jl index 7f2fcf5498..d63f42c39e 100644 --- a/src/Interfacer.jl +++ b/src/Interfacer.jl @@ -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}, diff --git a/test/interfacer_tests.jl b/test/interfacer_tests.jl index fdea3b9f0a..ec24e03b64 100644 --- a/test/interfacer_tests.jl +++ b/test/interfacer_tests.jl @@ -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,