Skip to content
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

Use ClimaUtilities FileReading/Inputs/Regridding #560

Merged
merged 4 commits into from
Mar 28, 2024

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Mar 26, 2024

In CliMA/ClimaUtilities.jl#19, I extracted #465 as well as other components and put them into a separate package. This PR uses that package for Space and Time Varying Inputs.

This PR supersedes #465.

Closes #392.

@Sbozzolo Sbozzolo force-pushed the gb/regriddeer_in_climautilities branch 5 times, most recently from 5115937 to c2f4aef Compare March 27, 2024 15:02
@Sbozzolo Sbozzolo marked this pull request as ready for review March 27, 2024 15:08
@Sbozzolo Sbozzolo force-pushed the gb/regriddeer_in_climautilities branch from c2f4aef to 41fc97d Compare March 27, 2024 18:15
@kmdeck kmdeck requested review from kmdeck and juliasloan25 March 27, 2024 22:49
@Sbozzolo Sbozzolo force-pushed the gb/regriddeer_in_climautilities branch 2 times, most recently from cfbb297 to 25e9601 Compare March 28, 2024 15:28
@@ -3,6 +3,13 @@ using DocStringExtensions
using Thermodynamics
using Dates
using NCDatasets
import ClimaUtilities.TimeVaryingInputs
import ClimaUtilities.DataHandling
import ClimaUtilities.SpaceVaryingInputs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need both import statements?

import ClimaUtilities.SpaceVaryingInputs
import ClimaUtilities.SpaceVaryingInputs: SpaceVaryingInput

and similar for TVI?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need the first line for SpaceVaryingInputs, but we need it for TimeVaryingInputs. I want to leave TimeVaryingInput.evaluate! so that it is clear where evaluate! comes from.

Copy link
Member

@kmdeck kmdeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good! nice changes to have.

@Sbozzolo Sbozzolo force-pushed the gb/regriddeer_in_climautilities branch from 25e9601 to 2d2ed0f Compare March 28, 2024 17:28
@Sbozzolo Sbozzolo enabled auto-merge March 28, 2024 18:07
@Sbozzolo Sbozzolo merged commit df81d88 into main Mar 28, 2024
9 checks passed
@juliasloan25 juliasloan25 changed the title Use ClimaUtilities Use ClimaUtilities FileReading/Inputs Apr 24, 2024
@juliasloan25 juliasloan25 changed the title Use ClimaUtilities FileReading/Inputs Use ClimaUtilities FileReading/Inputs/Regridding Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add GPU compatibility in ClimaLSM
3 participants