-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Using the main branch this MWE
using Oceananigans
using OceanBioME
grid = RectilinearGrid(Float32,
topology = (Bounded, Bounded, Bounded),
size = (10, 10, 3),
x = (0, 100),
y = (0, 100),
z = (-10, 0)
)
LOBSTER(; grid, surface_photosynthetically_active_radiation = (x, y, t) -> 100.0f0)fails with
ERROR: MethodError: no method matching var"#TwoBandPhotosyntheticallyActiveRadiation#1"(::RectilinearGrid{…}, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::Float64, ::var"#9#10", ::Type{…})
Closest candidates are:
var"#TwoBandPhotosyntheticallyActiveRadiation#1"(::Oceananigans.Grids.AbstractGrid{FT}, ::FT, ::FT, ::FT, ::FT, ::FT, ::FT, ::FT, ::FT, ::SPAR, ::Type{TwoBandPhotosyntheticallyActiveRadiation}) where {FT, SPAR}
@ OceanBioME ~/.julia/packages/OceanBioME/7c6HZ/src/Light/2band.jl:97
Stacktrace:
[1] top-level scope
@ REPL[11]:1
Some type information was truncated. Use `show(err)` to see complete types.Environment:
julia> versioninfo()
Julia Version 1.10.9
Commit 5595d20a287 (2025-03-10 12:51 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 48 × AMD Ryzen Threadripper 7960X 24-Cores
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 48 virtual cores)
Environment:
LD_PRELOAD = /usr/NX/lib/libnxegl.soMetadata
Metadata
Assignees
Labels
No labels