This post is just a reference for myself about how did I modify the E3SM 2-way coupling source code.
Today I saw a great blog that use GMT’s color setup file (.cpt) in Matlab
Different ways to store notes
- Write them down on notebooks
- Save them in word documents
- Use online service such as Google Doc, Evernote, Onenote, etc.
Some tips for E3SM users about create new cases and modify the setups.
So when you save more and more matlab plotting scripts you starat to lose track of them. You thought you have a script that can generate a plot but just can’t find it.
Now I have migrated my notebook from Wordpress to Github page. Markdown is brilliant! Here are some examples for future use.
This is an instruction about how to clone the E3SM model from Github and how to create a case.
I like interpreted languages such as Matlab or Python, mostly because I’m more like a software user, not developer. These languages usually come with an Integrated Development Environment (IDE) for easy code editing and debugging. However, for compiled languages such as Fortran, there isn’t many choices for IDEs but Eclipse has some potential to be a good alternative.
I always have needs to find numbers from a formatted string using Matlab. For example, find the lats and longs for all the grid cells of a river basin based on a bunch of input files, something like
forcings_35.25_-100.75. Then in Matlab you have two ways to read these numbers out.
This is kinda stupid and I’m sure there are much more elegant ways to do this. But for a quick and dirty job it’s good enough to me.