Skip to content

Instantly share code, notes, and snippets.

View engeir's full-sized avatar
🚗

Eirik Rolland Enger engeir

🚗
View GitHub Profile
@engeir
engeir / cesm-lme-aodvis.md
Last active March 20, 2023 13:53
Comparison between CESM LME AOD and CESM2(WACCM6) AOD

The AODVIS field from the CESM LME data set has very small perturbations, or at least much smaller than the corresponding fields that I get form my own CESM2 simulations. It is also worth noting that the perturbations of the CESM LME AODVIS is in the negative direction, while in CESM2 all AOD values and perturbations from equilibrium is to positive values.

Let us first have a look at the fields that can be found in CESM2 that says something about aerosol optical depth. This include:

| Legend | Short Name | Long name |

Generate references in reveal-md and reveal-js

Inspired by this blog post.

Usage

The shell script is what does the work, and what you call with the source file as the first argument. For example, let us name the shell script revealjs-make-reflist.sh and the source file for the slide example.md (can also be .html, or actually anything else as long as it contains html code the the script understands). Then we call the script with

#!/bin/sh
##########################################################################
# The MIT License
#
# Copyright (c) engeir
#
# Permission is hereby granted, free of charge,
# to any person obtaining a copy of this software and
# associated documentation files (the "Software"), to