Authors: Mathabo Malange, Phangoxolo Sishuba
3.4. Modules Relevant to Ocean Colour Data Analysis#
The following table introduces a list of modules relevant to the discussion of this manual. This list is not exhausting but enough for the data analysis that will follow in latter parts of the book.
Module Name |
Short Description |
---|---|
Python package designed for geospatial data processing in order to produce maps and other geospatial data analyses |
|
Python interface to the HDF5 (Hierarchical Data Format) binary data |
|
Python library for creating static, animated, and interactive visualisations |
|
Python interface to the NetCDF (Network Common Data Form) C library |
|
The fundamental package for scientific computing with Python |
|
Python based data analysis and manipulation tool |
|
Resampling of geospatial image data in Python |
|
Python interface to the library for cartographic projections and coordinate transformations (PROJ) |
|
Library for making HTTP/1.1 requests in Python |
3.4.1. Importing Modules into Python#
To use packages or libraries in Python, you will need to import them at the start of your Python code:
import matplotlib.pytplot as plt
import numpy as np
import pandas as pd
import h5py
Note that for the matplotlib
library we can also import it using the following
synthax from … import
as exemplified below.
from matplotlib import pyplot as plt