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

DOC: Add cfradial2 read example #1700

Merged
merged 7 commits into from
Dec 4, 2024

Conversation

mgrover1
Copy link
Collaborator

@mgrover1 mgrover1 commented Dec 3, 2024

Add a cfradial2 example and associated improvements

@mgrover1 mgrover1 requested a review from zssherman as a code owner December 3, 2024 20:57

# Locate the test data and read in using xradar
filename = get_test_data("cfrad2.20080604_002217_000_SPOL_v36_SUR.nc")
tree = xd.io.open_cfradial1_datatree(filename)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be cfradial2? Or does xradar handle both for that datatree?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I fixed it in the example - we can use xarray open datatree directly!

@zssherman
Copy link
Collaborator

@mgrover1 Looks good to me! Just one comment/clarification question

@mgrover1 mgrover1 changed the title Add cfradial2 read example DOC: Add cfradial2 read example Dec 3, 2024
@mgrover1 mgrover1 merged commit f43533c into ARM-DOE:main Dec 4, 2024
15 checks 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.

ENH: Reading WMO-FM301 (CfRadial2) files
2 participants