Learn GIS and data science in our courses and tutorials
FAQs
Account
Latest Tutorials
10 Ways to Initialize a Numpy Array (How to create numpy arrays)
In Python, matrix-like data structures are most commonly represented with numpy arrays. The numpy Python package has been well-developed for efficient computation of matrices. The first step to using...
With Python, there is a multitude of methods to iterate through lists and tuples. Some of these methods can be complicated. If you're just learning about iteration in Python, you'll be best served by...
Read and Plot NetCDF Data in Python with xarray and rioxarray
Recently, I've started using rioxarray to read NetCDF data into xarray format. If you're not familiar with the xarray python package it's basically a wrapper (for lack of a better term) around numpy...
This tutorial demonstrates how to install QGIS, set up and locate functions and tools in the QGIS interface, add spatial and tabular data to QGIS, perform simple GIS analysis, and create a formal map.
npwhere ¶ The where function from numpy is a powerful way to vectorize if/else statements across entire arrays. There are two primary ways to use...
The most used python package for reading and writing raster data is probably rasterio. The rasterio package wraps around the Geospatial Data Abstraction Library (GDAL, also available as a python...