https://github.com/darothen/128.806_cme

Computational Methods Exercise developed for MIT Course 12.806 circe 2015

https://github.com/darothen/128.806_cme

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 (8.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Computational Methods Exercise developed for MIT Course 12.806 circe 2015

Basic Info
  • Host: GitHub
  • Owner: darothen
  • Language: Jupyter Notebook
  • Default Branch: master
  • Size: 5.1 MB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 6 years ago · Last pushed about 6 years ago
Metadata Files
Readme

README.md

Computational Methods Exercise

Author: Daniel Rothenberg Latest Version: Spring, 2015

This is a problem set for MIT course 12.806/12.306/10.571, "Atmospheric Physics and Chemistry", designed to give students a chance to practice solving the types of problems they'll encounter later on in the course. Enclosed is a solution implemented in an IPython notebook.

To build:

The writeup can be compiled to LaTeX by running make. The python code is self-contained; for instance, the following code block instantiates and runs the model using a pre-packaged, time-varying emissions function:

```python from integrator import RK4 from carbonmodel import CarbonModel, emissions22p6

y0 = np.array([612, 730, 140, 37000, 580, 1500, 5300, 1.0])
emis_func = lambda t: emissions_22p6(t, 100.)
model = CarbonModel(*y0, emis_func=emis_func)

o = model.integrate(RK4, 150.)
o.atm_ppm.plot()

```

To build solution:

  1. Run the IPython notebook solution_with_notes.ipynb to generate static content

  2. Generate the basic markdown file from the ipython notebook by running

shell ipython nbconvert --to markdown solution_with_notes.ipynb

  1. Edit the markdown:
- Replace all the indented code blocks with backtick style Python/shell blocks
- Remove superfluous configuration code
- Tweak environments so that all the LaTeX is nice
  1. Convert the markdown to tex using pandoc via the provided Makefile

shell make pdf

  1. Compile using xelatex

shell xelatex -shell-escape solution_with_notes.tex

Owner

  • Name: Daniel Rothenberg
  • Login: darothen
  • Kind: user
  • Location: Frederick, CO
  • Company: Waymo

Tech Lead @ Waymo | Weather/Climate Scientist | Pythonista | ex-Chief Scientist @ ClimaCell/Tomorrow.io | Formerly Postdoc Associate @ MIT EAPS/IDSS/CGCS

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels