Select dimension towards creating transects #224
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I created a way to select slices along the dimension or drop them. This is an intermediate step towards creating transects and I'm very open to suggestions. I'm hoping this might be useful for insitu data visulazions, especially for Tropical arrays.
These dimensions are in tripolar coordinates for SOCA, but I asked
xesmf
to be added to spack-stack, so we could regrid within EVA in the future. Maybe.Obviously I only tested selection with only SOCA data but should work for prognostic fv3-jedi vars too? Would require creating cumulative pressure levels (sorry, not an atm. scientist) I suppose.
For instance, to create a vertical transect along the equator:
This produces the following. @kevindougherty-noaa this is what I meant in here:
Wow, I just realized copilot can be a reviewer now. I'm scared to give it a try 😄
TODO: