Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Dec 12, 2022
1 parent c123e61 commit a3a9963
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
11 changes: 9 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion test/bcreader_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down
2 changes: 1 addition & 1 deletion test/mpi_tests/bcreader_mpi_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit a3a9963

Please sign in to comment.