This is the errata file for Python Recipes for Earth Sciences (Springer 2022). The authors apologize for these errors, which were unintentional. The file is constantly updated on this webpage.
Please let me know if you find any mistakes, misunderstandings in the text, or general suggestions for additions and extensions. No book is as good as its next edition!
I just published a new textbook “Python Recipes for Earth Sciences” with Springer. After several books based on the MATLAB programming environment, I now present a book on data analysis with Python.
Continue reading “New Book “Python Recipes for Earth Sciences” (Springer 2022)”
In many projects it is necessary to share the result of programming work with other colleagues – or to work together on these projects. In the MRDAES book, Chapter 2.8.5 describes how to collaborate on MATLAB projects with collaborators with four different levels of MATLAB skills: (1) no software installed and no experience with MATLAB, (2) software installed but only limited MATLAB skills, and (3) software installed and good MATLAB skills. Below you find an update of this chapter, which now also includes using (4) MATLAB Projects to organize and collaborate on large programming projects together with Git, the most popular version control system for programming projects.
Continue reading “Collaborative Coding with Git and MATLAB Projects”
The Principal Component Analysis (PCA) is equivalent to fitting an n-dimensional ellipsoid to the data, where the eigenvectors of the covariance matrix of the data set are the axes of the ellipsoid. The eigenvalues represent the distribution of the variance among each of the eigenvectors. To understand the method, it is helpful to know something about matrix algebra, eigenvectors, and eigenvalues. Here is a n=2 dimensional example to perform a PCA without the use of the NumPy function pca, but with the function of eig for the calculation of eigenvectors and eigenvalues. Continue reading “Principal Component Analysis in 6 Steps – the Python Version”
Nearly 30 years ago, I began teaching compact courses on data analysis in the earth sciences. Almost 20 years ago, I started thinking about writing textbooks. Now there are five textbooks and many different course formats for you. Here is an overview of the current options! Continue reading “Online Courses in Modern Data Analysis Methods in Earth Sciences with Python and MATLAB”
Soon, the popular book MATLAB Recipes for Earth Sciences (MRES) will be available in a version for Python (PRES). You can then put both books side by side, like a dictionary, MATLAB to Python and back. Continue reading “MATLAB and Python Recipes for Earth Sciences”