-
Notifications
You must be signed in to change notification settings - Fork 113
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
DataTree tutorial with GPM_3IMERGHH_07 #307
base: main
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
for more information, see https://pre-commit.ci
🎊 PR Preview 16cb113 has been successfully built and deployed to https://xarray-contrib-xarray-tutorial-preview-pr-307.surge.sh 🕐 Build time: 0.01s 🤖 By surge-preview |
DataTree/DataTree_Tutorial.ipynb
Outdated
"outputs": [], | ||
"source": [ | ||
"gpm_imerghh_7 = open_datatree(\n", | ||
" '~/Downloads/3B-HHR.MS.MRG.3IMERG.20210829-S073000-E075959.0450.V07B.HDF5', engine='h5netcdf'\n", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line is going to change once this is merged pydata/xarray-data#31
Thanks for this @eni-awowale, looks great! It'll be great to have DataTree included on this website. For your notebook to be rendered, please include a link to it in the table of contents. Organizationally I think it makes sense to add the notebook under 'fundamentals' here alongside the existing data structures notebook Lines 16 to 18 in 869be4a
We'll have to add metpy to the environment as well. |
For a fundamental data structure notebook, I would skip the complex colormap setup. IME it's best to skip extraneous details, that kind of thing really confuses new users. |
Thanks @scottyhq! Is there a specific naming convention I should follow then? Maybe something like |
No convention currently, whatever seems reasonable to you! Also, I recommend merging with the main branch b/c I updated the contributing guide last week with more details on the environment. Any additions you think would be useful there would be welcome: |
I would suggest something short and descriptive. Maybe something like
"satellite_precipitation" or "imerg"?
…On Wed, Feb 26, 2025 at 2:29 PM Scott Henderson ***@***.***> wrote:
Thanks @scottyhq <https://github.com/scottyhq>! Is there a specific
naming convention I should follow then? Maybe something like
01_datastructures_datatree
No convention currently, whatever seems reasonable to you! Also, I
recommend merging with the main branch b/c I updated the contributing guide
last week with more details on the environment. Any additions you think
would be useful there would be welcome:
https://github.com/xarray-contrib/xarray-tutorial/blob/main/CONTRIBUTING.md
—
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJJFVWZXNMJEELJWX64UU32RY54NAVCNFSM6AAAAABXL3TBLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBWGM2TEMJVGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: scottyhq]*scottyhq* left a comment
(xarray-contrib/xarray-tutorial#307)
<#307 (comment)>
Thanks @scottyhq <https://github.com/scottyhq>! Is there a specific
naming convention I should follow then? Maybe something like
01_datastructures_datatree
No convention currently, whatever seems reasonable to you! Also, I
recommend merging with the main branch b/c I updated the contributing guide
last week with more details on the environment. Any additions you think
would be useful there would be welcome:
https://github.com/xarray-contrib/xarray-tutorial/blob/main/CONTRIBUTING.md
—
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJJFVWZXNMJEELJWX64UU32RY54NAVCNFSM6AAAAABXL3TBLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOBWGM2TEMJVGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sorry for the slow input here. After @eni-awowale showed me the printed representation of this IMERG data yesterday, we discussed how ideally we would have our tutorial dataset more obviously show something that can only be done with My understanding of this data is that it contains multiple groups, but only as grandparent-parent-child, without multiple siblings at any level. The requirement for parent-child alignment means that by definition these 3 groups could be collapsed into one, meaning this data doesn't really need a Instead, I suggested we want our example to be something that cannot even be represented without |
I am still waiting on this to get merged pydata/xarray-data#31 so I can fetch the data with
pooch
. Some other ideas, I want to add an example ofDataTree.from_dict
to make a time series tree of the hurricane going inland. This would mean I would need to add a few more granules to the data repository. I was also thinking it could be good to add an example ofopen_groups
.Let me know what you all think
@TomNicholas, @shoyer, @flamingbear, @keewis, @owenlittlejohns and @aladinor