From b711e08a64ccf6aa091956ca9091b0ec13293c89 Mon Sep 17 00:00:00 2001 From: Christopher Tessum Date: Thu, 5 Sep 2024 13:48:42 -0500 Subject: [PATCH] FastJX-GEOSFP coupling: remove redundant deg2rad conversions --- ext/EarthSciDataExt.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/EarthSciDataExt.jl b/ext/EarthSciDataExt.jl index b5855056..39678d0d 100644 --- a/ext/EarthSciDataExt.jl +++ b/ext/EarthSciDataExt.jl @@ -49,13 +49,13 @@ end function EarthSciMLBase.couple2(f::GasChem.FastJXCoupler, g::EarthSciData.GEOSFPCoupler) f, g = f.sys, g.sys - + f = param_to_var(f, :T, :lat, :long) ConnectorSystem([ f.T ~ g.I3₊T, - f.lat ~ deg2rad(g.lat), - f.long ~ deg2rad(g.lon), + f.lat ~ g.lat, + f.long ~ g.lon, ], f, g) end -end \ No newline at end of file +end