-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix land albedo regridding #764
Comments
If you have the scripts, can you also try with the |
Is your conclusion that it works in Land but not in the Coupler? Or are the white boxes a concern? |
I don't know what conclusion to draw yet. I'm a bit concerned about the white boxes, and I'm also confused why these plots have them but the ones you sent earlier don't |
I went back to ClimaLand 0.11, pre-ClimaUtilities, and found that the issue was already there: To reproduce, change - horztopology = ClimaCore.Topologies.Topology2D(comms_ctx, horzmesh)
+ horztopology = ClimaCore.Topologies.Topology2D(comms_ctx, horzmesh, ClimaCore.Topologies.spacefillingcurve(horzmesh)) Run using ClimaLand, ClimaCoreTempestRemap, Plots, ClimaCorePlots
domain = ClimaLand.Domains.SphericalShell(radius=6e6, depth=1., nelements=(50, 10), npolynomial=3)
albedo = ClimaLand.Bucket.PrescribedBaregroundAlbedo{Float64}(1.0, domain.space.surface)
plot(albedo.α_bareground) (cc: @sriharshakandala) The issue is probably with ClimaUtilities.TempestRemapper (which inherited the land remapper) given that the ClimaCoupler is using ClimaCoreTempestRemap with spacefilledcurves, right? |
comment copied from #818:
ClimaAtmos and ClimaCoupler both create spaces using a I had to add a TempestRemap GPU workaround in ClimaLand to force the regridding to happen on the CPU (this involves creating a new CPU context and space), and I noticed that if I created the undistributed space with a |
Using the fix implemented in CliMA/ClimaUtilities.jl#66, we can regrid the land albedo using There are still some things that aren't ideal in this implementation (i.e. we still need The other fields that are currently regridded using TempestRemap (SST, SIC, CO2, land_area_fraction) will be investigated as part of #860 |
This is the output of
CL.surface_albedo(sim.model, sim.integrator.u, sim.integrator.p)
when usingmap_temporal
We checked the original nc file and this seems to be fine:
This seems to be a problem in ClimaLand, but it would be good to check that this is still the case for the latest ClimaLand tag.
The text was updated successfully, but these errors were encountered: