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

adding datatree parameters #165

Closed
wants to merge 2 commits into from
Closed

Conversation

aladinor
Copy link
Member

adding datatree parameters sweep_group_name, sweep_fixed_angle, and radar_parameters to the iris datatree following the FM301 standard WMO data model

@kmuehlbauer
Copy link
Collaborator

@aladinor Can you rebase on latest main? Your changes are currently on top of xradar 0.2.0.

root.attrs.pop(k, None)

# handle sweep variables and dimension
root = root.rename_vars({"sweep_number": "sweep_group_name"})
Copy link
Collaborator

Choose a reason for hiding this comment

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

@aladinor Please see further discussion in #164. We should remove sweep_group_name and sweep_fixed_angle from xradar data model.

Copy link
Member Author

@aladinor aladinor Mar 25, 2024

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, but this might show usages in other parts of xradar. If you need any help cleaning up the mess, let us know.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will close this PR and open a new one since I was working on an outdated folk. I can handle on my side.

@mgrover1
Copy link
Collaborator

@aladinor - I can open an issue on the Py-ART side making those fields not required.

@aladinor
Copy link
Member Author

I will open a new PR since I was working on an outdated folk and I need to work on the required root variables.

@kmuehlbauer
Copy link
Collaborator

@aladinor You could just force-push the needed changes to your branch. No need to open a new PR. But do as you feel most comfortable with.

@aladinor
Copy link
Member Author

I was worried about messing everything up. I just decided to start over.

@aladinor aladinor deleted the sigmet_root branch August 11, 2024 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'DataTree' object has no attribute 'sweep_group_name'
3 participants