Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
generic software skills
lecture materials
Commits
55af0d9e
Commit
55af0d9e
authored
11 months ago
by
Rene Redler
Browse files
Options
Downloads
Patches
Plain Diff
[lecture-materials:debugging-strategies] minor changes
parent
9351e174
No related branches found
No related tags found
1 merge request
!56
Debugging Strategies lecture notes
Pipeline
#66839
passed
11 months ago
Stage: test
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lectures/debugging-strategies/slides.qmd
+4
-2
4 additions, 2 deletions
lectures/debugging-strategies/slides.qmd
with
4 additions
and
2 deletions
lectures/debugging-strategies/slides.qmd
+
4
−
2
View file @
55af0d9e
...
@@ -60,7 +60,9 @@ Check the manuals
...
@@ -60,7 +60,9 @@ Check the manuals
- [GCC manuals](https://gcc.gnu.org/onlinedocs/)
- [GCC manuals](https://gcc.gnu.org/onlinedocs/)
- [Intel Fortran compiler options](https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-1/compiler-options-001.html)
- [Intel Fortran compiler options](https://www.intel.com/content/www/us/en/docs/fortran-compiler/developer-guide-reference/2024-1/compiler-options-001.html)
Also gcc compile time checks and options like `-Wall` and `-Wextra`
Also gcc compile time checks and options like
`-Wall` and `-Wextra`
## Fixing compile-time errors {.leftalign}
## Fixing compile-time errors {.leftalign}
...
@@ -288,7 +290,7 @@ def Open_File(filename):
...
@@ -288,7 +290,7 @@ def Open_File(filename):
return xr.open_dataset(filename)\
return xr.open_dataset(filename)\
.convert_calendar('standard', use_cftime=True)
.convert_calendar('standard', use_cftime=True)
def Select_Date(ds, model_date, method
='ffill'
):
def Select_Date(ds, model_date, method):
import datetime as dt
import datetime as dt
ds_elem = ds.sel(time=model_date, method=method)
ds_elem = ds.sel(time=model_date, method=method)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment