Skip to content

Commit b3a8dc6

Browse files
committed
differences for PR #29
1 parent df3e268 commit b3a8dc6

File tree

10 files changed

+2227
-222
lines changed

10 files changed

+2227
-222
lines changed

02-variables.md

Lines changed: 482 additions & 0 deletions
Large diffs are not rendered by default.

03-maths.md

Lines changed: 586 additions & 0 deletions
Large diffs are not rendered by default.

04-logic.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: 'Logic'
3+
teaching: 15
4+
exercises: 15
5+
---
6+
7+
::::::::::::::::::::::::::::::::::::: questions
8+
9+
- How do we declare and assign values to variables?
10+
11+
::::::::::::::::::::::::::::::::::::::::::::::::
12+
13+
::::::::::::::::::::::::::::::::::::: objectives
14+
15+
- Understand the different intrinsic data types.
16+
- Declare and assign variables and parameters.
17+
18+
::::::::::::::::::::::::::::::::::::::::::::::::
19+
20+
Variables store information we can use in our
21+
22+
:::::::::::::::::::::::::::::::::::::::: keypoints
23+
24+
- Th
25+
26+
::::::::::::::::::::::::::::::::::::::::::::::::::

05-strings.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: 'Strings'
3+
teaching: 15
4+
exercises: 15
5+
---
6+
7+
::::::::::::::::::::::::::::::::::::: questions
8+
9+
- How do we declare and assign values to variables?
10+
11+
::::::::::::::::::::::::::::::::::::::::::::::::
12+
13+
::::::::::::::::::::::::::::::::::::: objectives
14+
15+
- Understand the different intrinsic data types.
16+
- Declare and assign variables and parameters.
17+
18+
::::::::::::::::::::::::::::::::::::::::::::::::
19+
20+
Variables store information we can use in our
21+
22+
:::::::::::::::::::::::::::::::::::::::: keypoints
23+
24+
- Th
25+
26+
::::::::::::::::::::::::::::::::::::::::::::::::::

config.yaml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
#------------------------------------------------------------
2+
# Values for this lesson.
3+
#------------------------------------------------------------
4+
5+
# Which carpentry is this (swc, dc, lc, or cp)?
6+
# swc: Software Carpentry
7+
# dc: Data Carpentry
8+
# lc: Library Carpentry
9+
# cp: Carpentries (to use for instructor training for instance)
10+
# incubator: The Carpentries Incubator
11+
carpentry: 'incubator'
12+
13+
# Overall title for pages.
14+
title: 'Introduction to Modern Fortran'
15+
16+
# Date the lesson was created (YYYY-MM-DD, this is empty by default)
17+
created: '2023-08-04'
18+
19+
# Comma-separated list of keywords for the lesson
20+
keywords: 'software, data, lesson, The Carpentries, Fortran'
21+
22+
# Life cycle stage of the lesson
23+
# possible values: pre-alpha, alpha, beta, stable
24+
life_cycle: 'pre-alpha'
25+
26+
# License of the lesson materials (recommended CC-BY 4.0)
27+
license: 'CC-BY 4.0'
28+
29+
# Link to the source repository for this lesson
30+
# source: 'https://github.com/carpentries/fortran'
31+
source: 'https://github.com/astroDimitrios/intro-to-modern-fortran'
32+
33+
# Default branch of your lesson
34+
branch: 'main'
35+
36+
# Who to contact if there are any issues
37+
contact: 'd.theodorakis@metoffice.gov.uk'
38+
39+
# Navigation ------------------------------------------------
40+
#
41+
# Use the following menu items to specify the order of
42+
# individual pages in each dropdown section. Leave blank to
43+
# include all pages in the folder.
44+
#
45+
# Example -------------
46+
#
47+
# episodes:
48+
# - introduction.md
49+
# - first-steps.md
50+
#
51+
# learners:
52+
# - setup.md
53+
#
54+
# instructors:
55+
# - instructor-notes.md
56+
#
57+
# profiles:
58+
# - one-learner.md
59+
# - another-learner.md
60+
61+
# Order of episodes in your lesson
62+
episodes:
63+
- 02-variables.md
64+
- 03-maths.md
65+
- 04-logic.md
66+
- 05-strings.md
67+
68+
# Information for Learners
69+
learners:
70+
71+
# Information for Instructors
72+
instructors:
73+
74+
# Learner Profiles
75+
profiles:
76+
77+
# Customisation ---------------------------------------------
78+
#
79+
# This space below is where custom yaml items (e.g. pinning
80+
# sandpaper and varnish versions) should live
81+
sandpaper: astroDimitrios/sandpaper
82+
pegboard: astroDimitrios/pegboard
83+
varnish: astroDimitrios/varnish

data/exercises.tar.gz

5.28 KB
Binary file not shown.

discuss.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Discussion
3+
---
4+
5+
## Frequently Asked Questions
6+
7+
People often have questions about Fortran beyond the scope of the core material.
8+
Students who have completed episodes early
9+
might find value in looking through the following topics.
10+
11+
Note that since this material isn't essential for most Fortran usage,
12+
it won't be covered by the instructor.
13+
14+
## Floating point precision
15+
16+
There is a great article
17+
[Examples of floating point problems](https://jvns.ca/blog/2023/01/13/examples-of-floating-point-problems/)
18+
by Julia Evans.
19+
The article outlines what floating points numbers are
20+
and common problems with precision.

introduction.md

Lines changed: 0 additions & 220 deletions
This file was deleted.

md5sum.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
"file" "checksum" "built" "date"
22
"CODE_OF_CONDUCT.md" "73c327429a7c0012906d22e387647edd" "site/built/CODE_OF_CONDUCT.md" "2025-04-22"
33
"LICENSE.md" "b80cb8e2c26302d673fe38f95f8f22d0" "site/built/LICENSE.md" "2025-04-22"
4-
"config.yaml" "7442cc2a537f5ebdaefb64e0c4f273d1" "site/built/config.yaml" "2025-04-22"
4+
"config.yaml" "f3bf5486051f85a4d1fa60bc262d8fe8" "site/built/config.yaml" "2025-04-25"
55
"index.md" "0f6046500e1734988ea78bc271254a37" "site/built/index.md" "2025-04-22"
66
"links.md" "ea31e03dc1a9c78d8adbacc3c53aa216" "site/built/links.md" "2025-04-22"
7-
"episodes/introduction.Rmd" "82188ceeb809ba0eeb51ec3918a65b95" "site/built/introduction.md" "2025-04-22"
7+
"episodes/02-variables.md" "c3a0600ef1a52c955c1dcdeac3c873e9" "site/built/02-variables.md" "2025-04-25"
8+
"episodes/03-maths.md" "d8411727ec9157c31ed6c7be84c0e3d7" "site/built/03-maths.md" "2025-04-25"
9+
"episodes/04-logic.md" "ce2cde708377779ccfd2a8eaee121a8e" "site/built/04-logic.md" "2025-04-25"
10+
"episodes/05-strings.md" "1be7fb723ee22fef60163d42071b1597" "site/built/05-strings.md" "2025-04-25"
811
"instructors/instructor-notes.md" "89611d09d83ff70a904c268a4e50023e" "site/built/instructor-notes.md" "2025-04-22"
12+
"learners/discuss.md" "b9947e124d206e785f828884493dff40" "site/built/discuss.md" "2025-04-25"
913
"learners/reference.md" "527a12e217602daae51c5fd9ef8958df" "site/built/reference.md" "2025-04-22"
1014
"learners/setup.md" "fb70c224c7781b78035b5266a1ed7d18" "site/built/setup.md" "2025-04-22"
1115
"profiles/learner-profiles.md" "73bb792eb734245d45ca4421eae955f0" "site/built/learner-profiles.md" "2025-04-22"

0 commit comments

Comments
 (0)