Skip to content
Snippets Groups Projects
Commit 55af0d9e authored by Rene Redler's avatar Rene Redler
Browse files

[lecture-materials:debugging-strategies] minor changes

parent 9351e174
No related branches found
No related tags found
1 merge request!56Debugging Strategies lecture notes
Pipeline #66839 passed
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment