From a3a99636eeb7d792c2dcb4461e0eeef6f822436f Mon Sep 17 00:00:00 2001 From: Julia Sloan Date: Mon, 12 Dec 2022 14:29:10 -0800 Subject: [PATCH] format --- docs/make.jl | 11 +++++++++-- test/bcreader_tests.jl | 2 +- test/mpi_tests/bcreader_mpi_tests.jl | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 4bad849e6e..379ca8007a 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -56,8 +56,15 @@ experiment_pages = [ "Sea Breeze" => map(s -> "generated/sea_breeze/$(s)", readdir(joinpath(@__DIR__, "src/generated/sea_breeze"))), "AMIP" => map(s -> "generated/amip/$(s)", readdir(joinpath(@__DIR__, "src/generated/amip"))), ] -interface_pages = - ["couplerstate.md", "timestepping.md", "regridder.md", "conservation.md", "utilities.md", "bcreader.md", "testhelper.md"] +interface_pages = [ + "couplerstate.md", + "timestepping.md", + "regridder.md", + "conservation.md", + "utilities.md", + "bcreader.md", + "testhelper.md", +] pages = Any["Home" => "index.md", "Examples" => experiment_pages, "Coupler Interface" => interface_pages] diff --git a/test/bcreader_tests.jl b/test/bcreader_tests.jl index a97c412d08..098ffd6180 100644 --- a/test/bcreader_tests.jl +++ b/test/bcreader_tests.jl @@ -294,7 +294,7 @@ for FT in (Float32, Float64) outfile = hd_outfile_root * ".nc" outfile_root = mono ? outfile[1:(end - 3)] * "_mono" : outfile[1:(end - 3)] weightfile = joinpath(regrid_dir, outfile_root * "_remap_weights.nc") - + # test monotone remapping (all weights in [0, 1]) nt = NCDataset(weightfile) do weights max_weight = maximum(weights["S"]) diff --git a/test/mpi_tests/bcreader_mpi_tests.jl b/test/mpi_tests/bcreader_mpi_tests.jl index ac5dd906d6..49a28ddf12 100644 --- a/test/mpi_tests/bcreader_mpi_tests.jl +++ b/test/mpi_tests/bcreader_mpi_tests.jl @@ -63,7 +63,7 @@ ClimaComms.barrier(comms_ctx) outfile = hd_outfile_root * ".nc" outfile_root = mono ? outfile[1:(end - 3)] * "_mono" : outfile[1:(end - 3)] weightfile = joinpath(regrid_dir, outfile_root * "_remap_weights.nc") - + # test monotone remapping (all weights in [0, 1]) nt = NCDataset(weightfile) do weights max_weight = maximum(weights["S"])