-
Notifications
You must be signed in to change notification settings - Fork 4
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
Reuse baroclinic_instability_model
in sharding script and add test
#116
Conversation
baroclinic_instability_model
in sharding script and add test
@@ -68,9 +61,30 @@ jobs: | |||
uses: ./.github/workflows/CompileOrRun.yml | |||
with: | |||
sim_type: ${{ matrix.sim_type }} | |||
grid_type: ${{ matrix.sim_type == 'baroclinic_instability' && 'simple_lat_lon' || 'gaussian_islands' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/PRONTOLab/GB-25/actions/runs/14148328037?pr=116
The workflow is not valid. .github/workflows/Run.yml (Line: 64, Col: 18): Invalid input, grid_type is not defined in the referenced workflow.
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops, its grid_name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually I will just change them all to grid_type, its better
dammit foiled again |
@giordano shall we merge this? |
Yes, I'm ok with that, although we're always very close to fill up the memory on CI: https://github.com/PRONTOLab/GB-25/actions/runs/14153264969?pr=116#summary-39649233194. Can we slightly reduce the size of the problem? |
Ah, thanks for noticing that, there was actually a mistake in the default (resolution of "2 degrees" implies "resolution fraction" of 1/2). I change the default to resolution of 4 degrees. I also changed the way we compute grid points from resolution to be more friendly to division by powers of 2 (now we use factors of (3 * 2^n) from which we do have a roughly equivalent resolutions in degrees --- the difference between 360 and 384). |
Generalizes
CompileAndRun.yml
.