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 xarray-beam to append derived Replay variables #24

Merged
merged 12 commits into from
Oct 16, 2024

Conversation

timothyas
Copy link
Member

This adds two python scripts that allow one to append derived variables to the smaller 1 degree and subsampled 1/4 degree Replay datasets.

Example usage can be found in submit_geopotential_append.sh, and it's very similar for the static variables.

Scaling up to append variables to the 1/4 degree datasets is future work, note that I couldn't even append the static variables to the 1/4 degree dataset. It seems like the steps of just opening the dataset and building the graph associated with appending to it already takes too much memory for a c2 standard 60 node.

The localzarr.py file has some modifications to the xarray_beam.zarr module necessary for appending variables. I'd like to add this to that code base if the developers are interested, but I thought this would be a good place to start.

@timothyas timothyas merged commit c5582bf into NOAA-PSL:main Oct 16, 2024
3 checks passed
@timothyas timothyas deleted the feature/append_replay_derived_vars branch October 16, 2024 19:31
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.

1 participant