CliMA / ClimaLand.jl

Clima's Land Model
Apache License 2.0
35 stars 9 forks source link

O2.3.5 Enable global runs (on GPU) #398

Open juliasloan25 opened 9 months ago

juliasloan25 commented 9 months ago

Is your feature request related to a problem? Please describe. We want to be able to run ClimaLSM globally. To do this, there are a few structural changes we need to make first.

Main changes

  1. need global prescribed atmosphere
  2. forcings over the globe read in from files
  3. spatially-varying quantities over the globe

1. unified interface for site and global prescribed atmosphere types (see #451)

2. forcings over the globe - store these in p and update via callback (see https://github.com/CliMA/ClimaLSM.jl/issues/370)

3. spatially-varying parameters read in over time globally (See https://github.com/CliMA/ClimaLand.jl/issues/126)

4. Handle file IO

### prescribed atmos/forcings/parameters infrastructure
- [ ] https://github.com/CliMA/ClimaLand.jl/pull/451
- [ ] https://github.com/CliMA/ClimaLand.jl/issues/477
- [ ] https://github.com/CliMA/ClimaLand.jl/issues/126
### GPU compatibility + performance
- [ ] #392
- [ ] https://github.com/CliMA/ClimaLand.jl/issues/587
- [ ] #586
- [ ] https://github.com/CliMA/ClimaLand.jl/issues/593
### Add target run
- [ ] https://github.com/CliMA/ClimaLand.jl/issues/644
kmdeck commented 9 months ago

Hi Julia,

thanks for putting this together. Some small comments/questions:

kmdeck commented 9 months ago

SLIM is a model quite like our bucket model which can be run in standalone or coupled: https://github.com/marysa/SimpleLand

braghiere commented 9 months ago

Can we add info about the ocean mask here? I.e., a way to save time in calculations by avoiding running the land model over the oceans. The advantage of the land models in comparison to atmos or oceans is that we can run the model in single grid cells.

juliasloan25 commented 9 months ago

I asked @simonbyrne about this, and he said there isn't yet a plan to add this in to ClimaCore, and that implementing this will depend on what type of grid ClimaLSM uses going forward

braghiere commented 9 months ago

What do you mean by type of grid? It is usually regular grids, i.e., 0.25deg, 0.50 deg, 1.0deg, 2.0deg, lats and lons have same shape and the globe is divided into squares.

kmdeck commented 9 months ago

many details point 2 can be found here #370 (SDI)