Skip to content

Generate atmos target grid for wxquest_initial_conditions#156

Merged
nefrathenrici merged 1 commit intomainfrom
ne/wxquest
Apr 10, 2026
Merged

Generate atmos target grid for wxquest_initial_conditions#156
nefrathenrici merged 1 commit intomainfrom
ne/wxquest

Conversation

@nefrathenrici
Copy link
Copy Markdown
Member

This PR updates the wxquest_initial_conditions artifact.

Previously the atmosphere grid file was assumed to exist at a hardcoded /net/sampo path. Now we generate it programmatically from equispaced lon/lat (linspace -180:180 x384, -90:90 x192, verified against the original file on sampo), download ERA5 at model levels, and pass the grid file explicitly to preprocessing.jl.

Comment on lines +40 to +41
defDim(ds, "lon", 384)
defDim(ds, "lat", 192)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I was wondering if you knew why these exact numbers were chosen.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is the number of points in the grid at /net/sampo/data1/wxquest_data/coupler_grids/zg_3h_inst_helem_32_zelem_63_output_at_levels_true.nc, which was originally used to generate the initial condition files.

@nefrathenrici nefrathenrici merged commit f0f2169 into main Apr 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants