Skip to content

Commit

Permalink
Remove interpolation F2C
Browse files Browse the repository at this point in the history
We don't need this, as we are already interpolating in the Remapper

We also need the newer version of ClimaCore because it contains the fix
for interpolation on face spaces
  • Loading branch information
Sbozzolo committed Jan 4, 2024
1 parent 8e3b4a6 commit e2c29d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Artifacts = "1"
AtmosphericProfilesLibrary = "0.1"
CLIMAParameters = "0.7.25"
ClimaComms = "0.5.6"
ClimaCore = "0.11.5"
ClimaCore = "0.11.7"
ClimaTimeSteppers = "0.7.14"
CloudMicrophysics = "0.15.0"
Colors = "0.12"
Expand Down
5 changes: 0 additions & 5 deletions src/diagnostics/netcdf_writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -517,11 +517,6 @@ function write_field!(

var = diagnostic.variable

# If we have a face-valued field, we interpolate it to the centers
if axes(field) isa Spaces.FaceExtrudedFiniteDifferenceSpace
field = ᶜinterp.(field)
end

space = axes(field)
FT = Spaces.undertype(space)

Expand Down

0 comments on commit e2c29d6

Please sign in to comment.