In offline (land-only) runs, ClimaLand passes a land/sea mask to its ClimaCore space, so that the land model is only evaluated where land is actually present. By contrast, in coupled runs we currently evaluate the land model over the entire surface of the planet. This is an easy way we can improve the performance of the land model by 3x.
Work involved
In offline (land-only) runs, ClimaLand passes a land/sea mask to its ClimaCore space, so that the land model is only evaluated where land is actually present. By contrast, in coupled runs we currently evaluate the land model over the entire surface of the planet. This is an easy way we can improve the performance of the land model by 3x.
Work involved
make_land_domainto take in a land/sea mask (this might need to be a NetCDF file, unless we change how ClimaLand/ClimaCore accepts the mask), and pass it toCL.Domains.global_domain. To avoid gaps along continent boundaries, the threshold for the mask should be 0 - i.e. anywhere that any amount of land is present, evaluate both the land model and the ocean model)