-
Notifications
You must be signed in to change notification settings - Fork 18
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
Surf/activation example with very different name #54
Conversation
I get an error after i instantiate:
and then call the example out of the box:
|
Right... I did release a new CloudMicrophysics.jl version this morning. Lemme fix the deps |
I updated the version of CloudMicrophysics.jl @odunbar - do you know where to put the additional dependencies for the documenter build to be aware of them? |
@trontrytel have you tried adding them to the @navidcy wrote some nice literate docs for LossMinimization, and perhaps can concur? |
Sure -- I can help out with that! :) |
hey sorry, this slipped my radar! I'll get to it now! |
A remark: when the docs are being build the use the https://clima.github.io/EnsembleKalmanProcesses.jl/previews/PR54/literated/aerosol_activation/ |
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.
I made some comments. Seems like the example is still a work in progress?
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.
Some more comments.
Thank you for taking a look and fixing the dependencies! It's great to see the example building online. I'll go through your review comments right now and finish it. |
@navidcy - Thank you for all the comments and making it work! I applied the formatter and fixed a typo in plot name. So I hope that all four plots will show up now and that the formatter won't complain any more. Can I squash/rebase and force push here to get rid of the cluttered history? |
No worries! Sure, do whatever you like! :) |
b60687b
to
7ff0aef
Compare
@trontrytel perhaps edit the first comment of the PR and possibly also its title to make it a bit more descriptive? It sort of reads a bit esoteric now. |
Right... I just noticed that too :) No Jupyter notebook survived the process. Will update |
7ff0aef
to
a773fe1
Compare
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.
I added a few more suggestions regarding some typos, some simplifications to Julia code, adding markers in the ensemble mean plots, and rounding the estimated values.
Nice example!
fed2dc4
to
12d0cfe
Compare
@trontrytel how do you run the formatter offline? Apparently some of the changes I suggested were not inline with the formatter's style. |
b82322c
to
0842bd4
Compare
fixed! |
Nice!! But still, if you know how to run the formatter offline can you tell me? |
Sure!
I'm superstitious so I run it on individual files that I know I changed. But you can look into the logs of the JuliaFormatter run and in the first command line of Apply JuliaFormatter he does the same but for all |
bors r+ |
54: Surf/activation example with very different name r=trontrytel a=trontrytel This PR adds an example to the documentation. The example shows how to calibrate the [AerosolActivation module](https://github.com/CliMA/CloudMicrophysics.jl/blob/main/src/AerosolActivation.jl) from [CloudMicrophysics.jl](https://github.com/CliMA/CloudMicrophysics.jl) package. The calibration is done in perfect model setting. Co-authored-by: Anna Jaruga <[email protected]>
bors r- |
Canceled. |
…ophysics.jl Co-authored-by: montu12345 <[email protected]> Co-authored-by: Navid C. Constantinou <[email protected]>
0842bd4
to
36db5ae
Compare
bors r+ |
Build succeeded: |
This PR adds an example to the documentation. The example shows how to calibrate the AerosolActivation module from CloudMicrophysics.jl package. The calibration is done in perfect model setting.