Skip to content

make_sfc_restore_from_regridded_woa.py: Generalise to support temp#127

Merged
dougiesquire merged 2 commits into
mainfrom
126-temp-sfc-restore
May 19, 2026
Merged

make_sfc_restore_from_regridded_woa.py: Generalise to support temp#127
dougiesquire merged 2 commits into
mainfrom
126-temp-sfc-restore

Conversation

@dougiesquire
Copy link
Copy Markdown
Collaborator

@dougiesquire dougiesquire commented May 19, 2026

This PR modifies the surface_restoring_generation/make_salt_sfc_restore_from_regridded_woa.py script to support creating smoothed surface fields from any variable in the regridded WOA23 files.

Also ensures that a _FillValue is set

Example output here

/g/data/tm70/ds0092/model/inputs/access-om3/restoring/salt_sfc_restore.nc
/g/data/tm70/ds0092/model/inputs/access-om3/restoring/temp_sfc_restore.nc

Closes #126, closes #123

@dougiesquire dougiesquire self-assigned this May 19, 2026
@dougiesquire dougiesquire force-pushed the 126-temp-sfc-restore branch from 8f765d2 to 12960ed Compare May 19, 2026 03:32
@dougiesquire
Copy link
Copy Markdown
Collaborator Author

@anton-seaice I'm curious on your thoughts about moving/renaming scripts in this repo? I think my opinion is that it's okay as long as old functionality is retained.

@dougiesquire dougiesquire requested a review from anton-seaice May 19, 2026 03:32
@anton-seaice
Copy link
Copy Markdown
Contributor

This all looks innocuous - did you diff the old vs new sfc_restore file ?

@dougiesquire
Copy link
Copy Markdown
Collaborator Author

This all looks innocuous - did you diff the old vs new sfc_restore file ?

Screenshot 2026-05-19 at 2 09 17 pm

@anton-seaice
Copy link
Copy Markdown
Contributor

I am convinced

@dougiesquire dougiesquire merged commit 7b4ae0d into main May 19, 2026
4 checks passed
@dougiesquire dougiesquire deleted the 126-temp-sfc-restore branch May 19, 2026 04:20
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.

Generalise make_salt_sfc_restore_from_regridded_woa.py Set _FillValue in salt_sfc_restore.nc

2 participants