We will be looking at the EXTENSIONS/monthlydata C library in this section. I’ve chosen to leave the program listings as one large block rather than interleave comments. This is so that experienced programmers can just “see the code” and read it.
This is a very long library of functions complete with an extensive “make file” to install it into a production computer system. It’s well made and production quality; but don’t expect to just read it unless you have some decent programming experience. I don’t put much commentary in this page, it’s mostly just to let the curious see what’s in the library.
This program is complied by and run by “make” files in STEP1/EXTENSIONS/monthlydata directory. They are identical to the ones in the “stationstring” directory. Just remember that, though identical, this is a second copy in a second directory.
There are three of these, named “make_clean”, “make_shared”, and “Makefile.pre.in”. There is also a file named “Setup.in” in the same directory.
Here are The Make Files should you wish to see them.
This program looks to me like a very well written set of stock library functions. I’m not going to put time into documenting them until the very end. It’s the broken bits I care about finding the most, not the well designed parts. The “good bits” you just compile and run.
My only complaint would be that there isn’t a companion document to tell you what each function is and what it is used for. But there seems to be no real documentaton with GIStemp at all.
E. M. I have sent you e-mail about my attempt to get GISSTemp operational.
I need some assistance with Python installation for STEP1.
I was in one of those focused world blocked out coding fenzies (as you can tell by all the pages that suddenly popped up here!) to build this source code documentations pages. I’ve had a few hours sleep now (after a couple of all nighters…).
What problem are you hitting?
It looks like Macs don’t have a C compiler already installed. One can be downloaded from Apple for free, but you need to get a “free” account to do it. It’s part of the xcode bundle.