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

Possible docs typo #23

Merged
merged 1 commit into from
May 21, 2024
Merged

Possible docs typo #23

merged 1 commit into from
May 21, 2024

Conversation

AlexisRenchon
Copy link
Member

@AlexisRenchon AlexisRenchon commented May 6, 2024

Possible typo in the docs

Purpose

To-do

Content


  • I have read and checked the items on the review checklist.

@AlexisRenchon AlexisRenchon changed the title Update user_guide.md Possible docs typo May 6, 2024
@Sbozzolo
Copy link
Member

Sbozzolo commented May 7, 2024

Thank you :)

I'll merge this once you caught all the other typos

Copy link
Member

@Sbozzolo Sbozzolo left a comment

Choose a reason for hiding this comment

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

Thank you! Feel free to merge once you incorporate the fixes below and squash the commits.

something every 10 steps, and output it the average every 100 iterations.
`schedule` functions are powerful, so there is an entire section dedicated to
them below. `compute_schedule_func` and `output_schedule_func` are likely
going to the same unless there are temporal reductions.
- an `output_writer`, an object that knows how what to do with the output.
going to the same (? same what ? output ?) unless there are temporal reductions.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
going to the same (? same what ? output ?) unless there are temporal reductions.
going to be the same unless there are temporal reductions.

@@ -137,7 +136,7 @@ function compute_if_larger_than100(integrator)
end
```

Strictly speaking, schedules do not have to functions, but callable objects. For
Strictly speaking, schedules do not have to (? be ?) functions, but callable objects. For
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Strictly speaking, schedules do not have to (? be ?) functions, but callable objects. For
Strictly speaking, schedules do not have to be functions, but callable objects. For

@@ -2,7 +2,7 @@

This page provides additional documentation on abstractions to use
`ClimaDiagnostics`. Before reading this page, make sure you are familiar with
the terminology. You know to know what a [`DiagnosticVariable`](@ref ClimaDiagnostics.DiagnosticVariables.DiagnosticVariable) and a
the terminology. You need to know what a [`DiagnosticVariable`](@ref ClimaDiagnostics.DiagnosticVariables.DiagnosticVariable) and a
[`ScheduledDiagnostic`](@ref ClimaDiagnostics.ScheduledDiagnostics.ScheduledDiagnostic) are.

There are three components needed to add support for `ClimaDiagnostics.jl` in your package.
Copy link
Member Author

Choose a reason for hiding this comment

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

@Sbozzolo Here, we say "three components", but we then only list two. (or maybe I am missing something?) - I think maybe 1. should be DiagnosticVariable?

Copy link
Member

Choose a reason for hiding this comment

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

You are right. It's 2. I guess I changed my mind halfway through.

There was a few typo in the documentation.
This PR fixed those typo.
@AlexisRenchon AlexisRenchon merged commit ccf988a into main May 21, 2024
2 of 3 checks passed
@AlexisRenchon AlexisRenchon deleted the ar/possible_typos branch May 21, 2024 22:19
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.

2 participants