-
Notifications
You must be signed in to change notification settings - Fork 9
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
Levels #21
base: master
Are you sure you want to change the base?
Levels #21
Conversation
This is looking really cool @Geet-George! Do you want to make talk us through how you see it working? We could do that after the "kitchen-meetup" today 😄 |
Ja really great Geet! We can go through it and distribute the missing parts to get it filled!? |
Sure Leif! I can do that... |
Yep... After the kitchen meeting and our group's meeting!? |
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 looks great @Geet-George! The only thing I'd suggest is to split the code into more individual functions:
-
pass in dataset -> return the dataset "annotated" so that there is a new variable (say
layer
) with dimensions of the underlying dataset that describes which layer each point (in space and time) belongs to. Having this functionality lets the user do.groupby("layer").mean()
operations them selves and get the values out. This also makes it possible to do plots likeds.rh.plot(hue="layer")
for example -
make the plotting function use this annotated dataset, I think that should mean you could avoid the
eval(...)
calls you have :)
Oh yeah.. An annotated dataset makes so much more sense. I'll add this functionality and this will also let me avoid using |
@Geet-George should we just merge this? Then I can take a stab at making it work with the changes in #30 |
Or are you working on the changes we talked about above? |
This is unfinished... I'll probably change it quite a bit, but won't be able to do it before next week. Could we wait until then before merging? I'll make sure changes are compatible with #30 |
Yes, great. Let's leave it for now, just wanted to check :) |
Template function to estimate values at given atmospheric level and given definition of said level.