https://github.com/cambridge-iccs/training-cats-for-programming
Training material on 'What can abstract mathematics tell us about programming climate models?'
https://github.com/cambridge-iccs/training-cats-for-programming
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.2%) to scientific vocabulary
Repository
Training material on 'What can abstract mathematics tell us about programming climate models?'
Basic Info
- Host: GitHub
- Owner: Cambridge-ICCS
- License: mit
- Language: Python
- Default Branch: main
- Size: 2.98 MB
Statistics
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 0
Metadata Files
README.md

Training material for 'What can abstract mathematics tell us about programming climate models?'
This is a short training session that gives an introduction to basic concepts in category theory and how they can be used to structure common programming patterns in numerical programming (e.g., in climate mdoels), informing both testing and optimization. This training was initially delivered at the ICCS Summer School 2024.
Contents
The repository contains a number of examples that are then guided through via slides and blackboard.
- [src/category.py] - The analogy of a category of Python types as objects and functions as morphisms;
- [src/functor.py] - Analogy of lists and arrays as functors
- [src/nat_trans.py] - Examples of natural transformations on lists.
- [src/comonad.py] - Analogy of comonads for arrays
Alongside these files are tests based on the expected axioms from the category theory structures being used as analogies:
- [src/test_functors.py] - Tests functor axioms
- [src/testnatfunctors.py] - Tests naturality axiom
Owner
- Name: Institute of Computing for Climate Science
- Login: Cambridge-ICCS
- Kind: organization
- Website: https://cambridge-iccs.github.io/
- Twitter: Cambridge_ICCS
- Repositories: 8
- Profile: https://github.com/Cambridge-ICCS
Institute of Computing for Climate Science at the University of Cambridge
GitHub Events
Total
- Watch event: 2
- Push event: 2
Last Year
- Watch event: 2
- Push event: 2